Update sparc ulps
[glibc.git] / ChangeLog
blob0f06fe4ce8314e9ef2273c0523565b386cf4df0f
1 2017-07-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
6         passing to syscall exit.
8 2017-07-19  DJ Delorie  <dj@delorie.com>
10         * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
12 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
14         [BZ #21741]
15         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
16         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
17         in libc.so.
19 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
21         [BZ #21740]
22         * debug/Makefile (elide-routines.o): New.
24 2017-07-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
27         (_dl_aarch64_cap_flags): Update.
28         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
29         (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
31 2017-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
34         (_dl_hwcap_string): Check range.
36 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38         [BZ #21707]
39         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
40         relocations before or after initializing the TCB on statically
41         linked executables.  That's a per-architecture definition.
42         * elf/rtld.c (dl_main): Add a comment about thread-local
43         variables initialization.
44         * sysdeps/generic/libc-start.h: New file.  Define
45         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
46         * sysdeps/powerpc/Makefile:
47         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
48         tst-tlsifunc-static.
49         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
50         (tests-internal): Add tst-tlsifunc.
51         * sysdeps/powerpc/tst-tlsifunc.c: New file.
52         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
53         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
54         variable.
55         [$(subdir) = math] (test-float128% test-ifloat128%): Force
56         linking to the loader after linking to libgcc.
57         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
58         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
59         (tst-strfrom-locale strfrom-skeleton): Likewise.
60         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
61         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
63 2017-07-17  DJ Delorie  <dj@redhat.com>
65         * nss/nss_test.h: New.
66         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
67         tests.  Parameterize to allow multiple instances.
68         * nss/nss_test2.h: New.  Second instance.
69         * nss/nss_test.ver: New.
70         * nss/nss_test1.c: Update to use new framework.
71         * nss/nss_test2.c: New.
72         * nss/nss_test3.c: New.
73         * nss/nss_test4.c: New.
74         * nss/nss_test5.c: New.
75         * nss/Makefile: Build new tests.
76         * shlib-versions: Add libnss_test2.
78 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
80         [BZ #21512]
81         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
82         passing to syscall exit.
84 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
86         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
87         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
89 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
91         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
92         if _dl_fixup fails.
94         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
95         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
96         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
97         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
99         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
100         offset for r19 load.
102         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
104         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
105         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
106         pointer offset.  Correct PIC register offset.  Don't mention frame
107         related instructions in epilogue.
108         (PUSHARGS_1): Correct offset.
109         (PUSHARGS_2): Likewise.
110         (PUSHARGS_3): Likewise.
111         (PUSHARGS_4): Likewise.
112         (PUSHARGS_5): Likewise.
113         (PUSHARGS_6): Likewise.
114         (POPARGS_1): Don't mention register restore.
115         (POPARGS_2): Likewise.
116         (POPARGS_3): Likewise.
117         (POPARGS_4): Likewise.
118         (POPARGS_5): Likewise.
119         (POPARGS_6): Likewise.
120         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
121         copy of PIC register.
122         (LOAD_PIC): Likewise don't mention restore.
123         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
124         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
125         offset.  Don't mention frame related instructions in epilogue.
127         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
129         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
131         [BZ 20098]
132         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
133         (_dl_lookup_address): Return address if it is not consistent with
134         being a linker defined function pointer.  Likewise, return address
135         if address and function descriptor addresses are not accessible.
137 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
139         * po/libc.pot: Regenerate.
141 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
143         [BZ locale/19838]
144         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
146         * nptl/allocatestack.c (allocate_stack): Align old and new guard
147         addresses to page boundaries when the stack grows up.
149         * sysdeps/hppa/math-tests.h: New.
151 2017-07-14  DJ Delorie  <dj@redhat.com>
153         [BZ #21654]
154         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
155         alignment not char alignment.
156         (__merge_grp): Likewise.
158 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
159             Florian Weimer  <fweimer@redhat.com>
161         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
162         * libio/wmemstream.c (open_wmemstream): Likewise.
163         * nptl/tst-memstream.c: New.
165 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
167         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
168         of pcrel_address under Thumb mode.
170 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
172         [BZ #21207]
173         * locale/iso-639.def: Add Fiji Hindi (hif).
175 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
177         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
179 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
181         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
182         -fstack-protector-all.
184 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
186         [BZ #20496]
187         * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
189 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
191         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
192         to iterate over all possible object suffixes.  Add a comment
193         explaining the use of sysdep-CFLAGS instead of CFLAGS.
195 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
197         [BZ #12189]
198         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
199         (tests): Add tst-ssp-1 if -fstack-protector works.
200         * debug/fortify_fail.c: Include <stdbool.h>.
201         (_fortify_fail_abort): New function.
202         (__fortify_fail): Call _fortify_fail_abort.
203         (__fortify_fail_abort): Add a hidden definition.
204         * debug/stack_chk_fail.c: Include <stdbool.h>.
205         (__stack_chk_fail): Call __fortify_fail_abort, instead of
206         __fortify_fail.
207         * debug/tst-ssp-1.c: New file.
208         * include/stdio.h (__libc_message_action): New enum.
209         (__libc_message): Replace int with enum __libc_message_action.
210         (__fortify_fail_abort): New hidden prototype.
211         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
212         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
213         with enum __libc_message_action.  Call BEFORE_ABORT only if
214         action includes do_backtrace.
215         (__libc_fatal): Update __libc_message call.
217 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
219         [BZ #21738]
220         * manual/llio.texi (RWF_NOWAIT): New item.
221         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
222         Add RWF_NOWAIT check.
223         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
225 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
227         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
228         Support running on kernels without PTRACE_SINGLEBLOCK.
230 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
232         [BZ #21742]
233         * elf/Makefile (dl-routines): Move dl-conflict to ...
234         (rtld-routines): Here.
236 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
238         [BZ #21741]
239         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
240         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
241         in libc.so.
243 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
245         * sysdeps/hppa/fpu/libm-test-ulps: Update.
247         [BZ #21016]
248         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
249         Fix typo.
250         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
251         bits/types/struct_timespec.h.
252         (PTHREAD_MUTEX_INITIALIZER): Revise define.
253         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
254         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
255         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
256         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
257         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
258         (PTHREAD_COND_INITIALIZER): Likewise.
259         Remove old definitions.
260         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
262         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
263         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
265         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
267 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
269         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
270         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
271         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
272         * sysdeps/x86_64/multiarch/memset.c: Likewise.
273         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
274         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
275         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
276         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
277         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
278         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
279         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
280         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
281         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
282         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
283         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
284         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
286 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
290 2017-07-09  Helge Deller  <deller@gmx.de>
292         [BZ #21049]
293         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
294         up to avoid clobbering r26.
296 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
298         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
299         profiled objects.
301 2017-07-06  DJ Delorie  <dj@redhat.com>
303         * manual/tunables.texi: Add missing @end deftp.
305 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
307         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
308         (do_test): Call it.
310 2017-07-06  DJ Delorie  <dj@redhat.com>
312         * config.make.in: Enable experimental malloc option.
313         * configure.ac: Likewise.
314         * configure: Regenerate.
315         * manual/install.texi: Document it.
316         * INSTALL: Regenerate.
317         * malloc/Makefile: Likewise.
318         * malloc/malloc.c: Add per-thread cache (tcache).
319         (tcache_put): New.
320         (tcache_get): New.
321         (tcache_thread_freeres): New.
322         (tcache_init): New.
323         (__libc_malloc): Use cached chunks if available.
324         (__libc_free): Initialize tcache if needed.
325         (__libc_realloc): Likewise.
326         (__libc_calloc): Likewise.
327         (_int_malloc): Prefill tcache when appropriate.
328         (_int_free): Likewise.
329         (do_set_tcache_max): New.
330         (do_set_tcache_count): New.
331         (do_set_tcache_unsorted_limit): New.
332         * manual/probes.texi: Document new probes.
333         * malloc/arena.c: Add new tcache tunables.
334         * elf/dl-tunables.list: Likewise.
335         * manual/tunables.texi: Document them.
336         * NEWS: Mention the per-thread cache.
338 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
340         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
341         * misc/tst-tsearch.c (TIMEOUT): Remove.
342         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
343         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
344         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
345         * string/tst-cmp.c (TIMEOUT): Define to 600.
347 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
349         [BZ #21715]
350         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
351         on definition.
353 2017-07-06  Florian Weimer  <fweimer@redhat.com>
354             H.J. Lu  <hongjiu.lu@intel.com>
356         [BZ #21609]
357         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
358         (gen-as-const-headers): Add rtld-offsets.sym.
359         * sysdeps/x86_64/dl-tls.c: New file.
360         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
361         * sysdeps/x86_64/tls_get_addr.S: Likewise.
362         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
363         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
364         (TI_OFFSET_OFFSET): Likwise.
366 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
368         [BZ# 21697]
369         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
371 2017-07-05  Florian Weimer  <fweimer@redhat.com>
373         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
374         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
375         * resolv/tst-resolv-threads.c: New file.
377 2017-07-05  Florian Weimer  <fweimer@redhat.com>
379         support: Add resolver testing mode which does not patch _res.
380         * support/resolv_test.h (struct resolv_redirect_config): Add
381         disable_redirect, server_address_overrides.
382         * support/resolv_test.c (make_server_sockets_for_address): New
383         function.
384         (resolv_test_start): Call it.
386 2017-07-05  Florian Weimer  <fweimer@redhat.com>
388         * support/namespace.h (struct support_chroot_configuration)
389         (struct support_chroot): Define.
390         (support_chroot_create, support_chroot_free): New functions.
391         * support/support_chroot.c: New file.
392         * support/Makefile (libsupport-routines): Add support_chroot.
393         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
394         (path_resolv_conf): Remove definitions.
395         (chroot_env): New variable.
396         (prepare): Call support_chroot_create.
397         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
398         (special_test_callback, do_test): Likewise.
400 2017-07-05  Florian Weimer  <fweimer@redhat.com>
402         Add subtest to check isolation of multiple loopback addresses.
403         * support/tst-support-namespace.c (test_localhost_bind): New function.
404         (do_test): Call it.
406 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
408         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
409         * libio/libioP.h (_IO_enable_locks): Declare.
410         * libio/Versions (_IO_enable_locks): New symbol.
411         * libio/genops.c (_IO_enable_locks): Define.
412         (_IO_old_init): Initialize flags2.
413         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
414         * libio/ferror.c (_IO_ferror): Likewise.
415         * libio/fputc.c (fputc): Likewise.
416         * libio/putc.c (_IO_putc): Likewise.
417         * libio/getc.c (_IO_getc): Likewise.
418         * libio/getchar.c (getchar): Likewise.
419         * libio/ioungetc.c (_IO_ungetc): Likewise.
420         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
421         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
422         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
424 2017-07-04  Florian Weimer  <fweimer@redhat.com>
426         [BZ #21542]
427         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
428         two if no accurate information is available.
429         * posix/tst-sysconf-empty-chroot.c: New file.
430         * posix/Makefile (tests): Add it.
432 2017-07-04  Florian Weimer  <fweimer@redhat.com>
434         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
435         server and sort list counts.  Fix improper check for empty search
436         path (completely missing domain name) leading to assertion failure
437         in update_from_conf.
438         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
439         hostname member.
440         (run_res_init): Set host name if requested.
441         (test_cases): Update.
443 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
445         * scripts/build-many-glibcs.py (Context.checkout): Default
446         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
447         kernel version to 4.12.
449 2017-07-04  Florian Weimer  <fweimer@redhat.com>
451         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
452         list management and the role of free_list_start.
453         (decrement_at_index): Put zero at the end of the free list.
454         (__resolv_conf_attach): Fix bogus assert.
455         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
456         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
458 2017-07-03  Florian Weimer  <fweimer@redhat.com>
460         resolv: Introduce free list for resolv_conf index slosts.
461         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
462         type to uintptr_t.
463         (struct resolv_conf_global): Add free_list_start member.
464         (resolv_conf_get_1): Check for free list entry.
465         (decrement_at_index): Put freed slot on the free list.
466         (__resolv_conf_attach): Obtain new slot from the free list.
467         * resolv/tst-resolv-res_ninit.c: New file.
468         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
469         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
470         (generated): Add mtrace-tst-resolv-res_ninit.out,
471         tst-resolv-res_ninit.mtrace.
472         (mtrace-tst-resolv-res_ninit.out): Add target.
474 2017-06-30  Florian Weimer  <fweimer@redhat.com>
476         [BZ #984]
477         Reload /etc/resolv.conf if has been changed on disk.
478         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
479         (__resolv_conf_load, __resolv_conf_get_current): Declare.
480         * resolv/resolv_conf.c (struct resolv_conf_global): Add
481         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
482         (__resolv_conf_get_current): New function.
483         (__resolv_conf_allocate): Do not initialize initstamp.
484         (freeres): Deallocate global->conf_current.
485         * resolv/resolv.h (RES_NORELOAD): Define.
486         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
487         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
488         * resolv/resolv_context.c (replicated_configuration_matches): New.
489         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
490         the current configration.
491         * resolv/res_init.c (__res_initstamp): Remove variable definition.
492         (has_preinit_values): New function.
493         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
494         parameter and do not call __resolv_conf_attach.
495         (__res_vinit): Reimplement based __resolv_conf_load.
496         (res_options): Handle no-reload.
497         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
498         (lock): Remove.
499         (res_int): Do not update __res_initstamp.
500         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
501         RES_NORELOAD.
502         (test_cases): Test no-reload.
503         (special_test_call_res_init): Remove.
504         (special_test_callback): Rely on automated reloading.  Add tests
505         for no-reload.
507 2017-06-30  Florian Weimer  <fweimer@redhat.com>
509         Mirror the entire resolver configuration in struct resolv_conf.
510         * resolv/resolv_context.h (__resolv_context_nameserver_count)
511         (__resolv_context_nameserver): New functions.
512         (__resolv_context_sort_count, __resolv_context_sort_entry):
513         Likewise.
514         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
515         resolv_context parameter.
516         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
517         (addrsort): Switch to struct resolv_context.
518         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
519         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
520         sort_list, sort_list_size, options, retrans, retry, ndots members.
521         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
522         (same_address): New functions.
523         (resolv_conf_matches): Compare the new array members.
524         (__resolv_conf_allocate): Allocate and copy the new array members.
525         (update_from_conf): Copy the entire configuration.
526         * resolv/res_init.c (struct nameserver_list, struct sort_list):
527         Define using dynarray.
528         (struct resolv_conf_parser): Add nameserver_list, sort_list,
529         template members.
530         (resolv_conf_parser_init): Add preinit argument.  Initialize the
531         new members.
532         (resolv_conf_parser_free): Deallocate the new arrays.
533         (allocate_address_v4): New function.
534         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
535         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
536         the parser object instead.  Use allocate_address_v4 to allocate
537         IPv4 addresses.
538         (__res_vinit): Adjust.
539         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
540         extended name server list.
541         (test_cases): Adjust.
543 2017-06-30  Florian Weimer  <fweimer@redhat.com>
545         [BZ #19569]
546         [BZ #21475]
547         Support an arbitrary number of search domains.
548         * resolv/resolv_context.h (__resolv_context_search_list): New.
549         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
550         search_list_size members.
551         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
552         (__resolv_conf_allocate): Allocate and and copy search list.
553         (update_from_conf): Copy the search list.
554         * resolv/res_init.c (struct search_list): Define using dynarray.
555         (struct resolv_conf_parser): Define.
556         (resolv_conf_parser_init, resolv_conf_parser_free)
557         (domain_from_hostname): New functions.
558         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
559         struct search_list to collect search list entries.  Call
560         domain_from_hostname to obtain the fallback domain name.
561         (__res_vinit): Create and destroy parser object.  Pass search list
562         to __resolv_conf_allocate.
563         * resolv/res_query.c (__res_context_search): Use
564         __resolv_context_search_list to obtain search list entries.
565         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
566         from extended resolver context.
567         (test_cases): Update.
569 2017-06-30  Florian Weimer  <fweimer@redhat.com>
571         Add extended resolver state/configuration (struct resolv_conf).
572         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
573         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
574         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
575         (__res_vinit): Call __resolv_conf_allocate and
576         __resolv_conf_attach.
577         * resolv/resolv_context.h (struct resolv_context): Add conf member
578         of type struct resolv_conf.
579         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
580         resolv_conf.  Update conf member after initialization.
581         * resolv/Makefile (routines): Add resolv_conf.
582         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
583         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
584         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
585         _u._ext.__glibc_reserved.
587 2017-06-30  Florian Weimer  <fweimer@redhat.com>
589         [BZ #21668]
590         Introduce temporary resolver contexts (struct resolv_conf).
591         * resolv/resolv-internal.h (__res_context_mkquery)
592         (__res_context_searchl __res_context_query, __res_context_send)
593         (__res_context_hostalias): Declare.
594         (__res_nopt): Switch to struct resolv_context.
595         * resolv/res_use_inet6.h: New file.
596         * resolv/resolv_context.h: Likewise.
597         * resolv/resolv_context.c: Likewise.
598         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
599         Renamed from res_gethostbyname2.  Use struct resolv_context.
600         (res_gethostbyname2): New function.  Implement using
601         res_gethostbyname2_context.
602         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
603         struct resolv_context.
604         (res_gethostbyaddr): New function.  Implement using
605         res_gethostbyaddr_context.
606         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
607         resolv_context.
608         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
609         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
610         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
611         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
612         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
613         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
614         (_nss_dns_getnetbyaddr_r): Likewise.
615         * resolv/res-close.c (res_thread_freeres): Call
616         __resolv_context_freeres.
617         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
618         maybe_init in resolv/resolv_context.c.
619         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
620         res_nmkquery.  Use struct resolv_context.
621         (context_mkquery_common): New function.
622         (res_nmkquery, res_mkquery): Use it.
623         (res_nopt): Switch to struct resolv_context.
624         * resolv/res_query.c (__res_context_querydomain): Renamed from
625         __libc_res_nquerydomain.  Use struct resolv_context.
626         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
627         resolv_context.
628         (context_query_common): New function.
629         (res_nquery, res_query): Use it.
630         (__res_context_search): Renamed from __libc_res_nsearch.  Use
631         struct resolv_context.
632         (context_search_common): New function.
633         (res_nsearch, res_search): Use it.
634         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
635         Use struct resolv_context.
636         (context_querydomain_common): New function.
637         (res_nquerydomain, res_querydomain): Use it.
638         (__res_context_hostalias): Rename from res_hostalias.  Use struct
639         resolv_context.
640         (context_hostalias_common): New function.
641         (res_hostalias, hostalias): Use it.
642         * resolv/res_send.c (__res_context_send): Renamed from
643         __libc_res_nsend.  Use struct resolv_context.
644         (context_send_common): New function.
645         (res_nsend, res_send): Use it.
646         * resolv/Makefile (routines): Add resolv_context.
647         * resolv/Versions (libc): Export __resolv_context_get,
648         __resolv_context_get_preinit, __resolv_context_get_override,
649         __resolv_context_put.  Remove __res_maybe_init.
650         (libresolv): Export __res_context_query, __res_context_search,
651         __res_context_hostalias.  Remove __libc_res_nquery,
652         __libc_res_nsearch.
653         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
654         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
655         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
656         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
657         prototypes.
658         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
659         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
660         from __nss_hostname_digits_dots.  Use struct resolv_context.
661         (__nss_hostname_digits_dots): New function.
662         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
663         struct resolv_context object.  Call new function
664         __nss_hostname_digits_dots_context.
665         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
666         * nss/getnssent_r.c (__nss_setent): Likewise.
667         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
668         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
669         instead of direct _res manipulation.
670         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
672 2017-07-03  Florian Weimer  <fweimer@redhat.com>
674         * resolv/tst-resolv-res_init-skeleton.c
675         (special_tests_count, special_test_call_res_init)
676         (special_test_callback, special_test_thread_func)
677         (run_special_test_on_thread, special_test): Define.
678         (do_test): call special_test.
679         (test_init_names): Fix typo.
681 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
683         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
684         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
686 2017-07-01  Florian Weimer  <fweimer@redhat.com>
687             H.J. Lu  <hongjiu.lu@intel.com>
689         [BZ #21696]
690         * posix/sched_cpucount.c: Don't include <limits.h>.
691         (__sched_cpucount): Use __builtin_popcount.
693 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
695         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
696         Fix typo.
698 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
700         * include/math.h (__signbitf128): Define as hidden.
701         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
702         Reimplement without builtins.
703         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
704         (__builtin_signbitf128): Define to __signbitf128.
705         * sysdeps/powerpc/bits/floatn.h: Likewise.
706         * sysdeps/x86/bits/floatn.h: Likewise.
708 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
710         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
711         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
712         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
713         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
714         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
715         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
716         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
717         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
719         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
720         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
721         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
722         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
723         fcntl_common and add check for F_GETOWN.
724         (__libc_fcntl): Use SYSCALL_CANCEL macro.
725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
726         use default implementation.
728 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
730         * elf/dl-tunables.h (tunable_is_name): Move from...
731         * elf/dl-tunables.c (is_name): ... here.
732         (parse_tunables, __tunables_init): Adjust.
733         * manual/tunables.texi: Document glibc.tune.cpu.
734         * sysdeps/aarch64/dl-tunables.list: New file.
735         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
736         cpu_list): New type.
737         (cpu_list): New list of CPU names and their MIDR.
738         (get_midr_from_mcpu): New function.
739         (init_cpu_features): Override MIDR if necessary.
741         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
742         (__libc_ifunc_impl_list): Unconditionally select thunderx
743         routine for testing.
745 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
747         [BZ #21120]
748         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
749         * sysdeps/generic/malloc-alignment.h: Here.  New file.
750         * sysdeps/i386/malloc-alignment.h: Likewise.
751         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
753 2017-06-30  Florian Weimer  <fweimer@redhat.com>
755         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
756         variable.
757         (test_file_contents): Use it.
759 2017-06-30  Florian Weimer  <fweimer@redhat.com>
761         * resolv/res_init.c (res_setoptions): Remove source argument.
762         (res_vinit_1): Adjust.
764 2017-06-30  Florian Weimer  <fweimer@redhat.com>
766         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
768 2017-06-30  Florian Weimer  <fweimer@redhat.com>
770         * resolv/res_data.c: Reformat to GNU style.
771         (res_close): Update comments.
773 2017-06-30  Florian Weimer  <fweimer@redhat.com>
775         * resolv/res_data.c (res_query, res_search, res_querydomain)
776         (hostalias): Move to ...
777         * resolv/res_Send.c (res_query, res_search, res_querydomain)
778         (hostalias): here.
780 2017-06-30  Florian Weimer  <fweimer@redhat.com>
782         * resolv/res_data.c (res_isourserver, res_send): Move to ...
783         * resolv/res_send.c (res_isourserver, res_send): here.
785 2017-06-30  Florian Weimer  <fweimer@redhat.com>
787         * resolv/res_debug.c (_res_opcodes): Rename ...
788         (res_opcodes): ... as compatibility symbol.
789         (fp_nquery): Use res_opcodes.
790         * include/resolv.h (_res_opcodes): Remove declaration.
792 2017-06-30  Florian Weimer  <fweimer@redhat.com>
794         * include/resolv.h (res_pquery): Remove declaration.
795         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
796         functions.
797         (_res_opcodes): Remove variable.
798         * resolv/res_debug.c (do_section): Receive pfcode instead of
799         statp.
800         (res_pquery): Rename ...
801         (fp_nquery): to this function.  Skip unnecessary _res
802         initialization.
803         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
805 2017-06-30  Florian Weimer  <fweimer@redhat.com>
807         * resolv/res_debug.h: Remove file.
808         * resolv/README: Adjust.
810 2017-06-30  Florian Weimer  <fweimer@redhat.com>
812         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
813         conditionals.
814         (Aerror, Perror): Remove function definitions.
816 2017-06-30  Florian Weimer  <fweimer@redhat.com>
818         * resolv/res_data.c (res_mkquery): Move ...
819         * resolv/res_mkquery.c (res_mkquery): to here.
821 2017-06-30  Florian Weimer  <fweimer@redhat.com>
823         * resolv/res_mkquery.c: Reformat to GNU style.
824         (T_OPT): Remove definition.  It is present in the header file.
826 2017-06-30  Florian Weimer  <fweimer@redhat.com>
828         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
829         conditionals.
831 2017-06-30  Florian Weimer  <fweimer@redhat.com>
833         * support/support_capture_subprocess_check.c
834         (support_capture_subprocess_check): Report actual exit status.
836 2017-06-30  Florian Weimer  <fweimer@redhat.com>
838         [BZ #19570]
839         * resolv/res_send.c (nameserver_offset): New function.
840         (__libc_res_nsend): Use it to implement RES_ROTATE.
841         (get_nsaddr): Add assert with name server
842         range check.
843         * resolv/Makefile (xtests): Add tst-resolv-rotate.
844         (tst-resolv-rotate): Link against libpthread.
845         * resolv/tst-resolv-rotate.c: New file.
847 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
849         [BZ #21457]
850         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
851         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
852         [__WORDSIZE == 64] (MC_PC): Likewise.
853         [__WORDSIZE == 64] (MC_NPC): Likewise.
854         [__WORDSIZE == 64] (MC_Y): Likewise.
855         [__WORDSIZE == 64] (MC_G1): Likewise.
856         [__WORDSIZE == 64] (MC_G2): Likewise.
857         [__WORDSIZE == 64] (MC_G3): Likewise.
858         [__WORDSIZE == 64] (MC_G4): Likewise.
859         [__WORDSIZE == 64] (MC_G5): Likewise.
860         [__WORDSIZE == 64] (MC_G6): Likewise.
861         [__WORDSIZE == 64] (MC_G7): Likewise.
862         [__WORDSIZE == 64] (MC_O0): Likewise.
863         [__WORDSIZE == 64] (MC_O1): Likewise.
864         [__WORDSIZE == 64] (MC_O2): Likewise.
865         [__WORDSIZE == 64] (MC_O3): Likewise.
866         [__WORDSIZE == 64] (MC_O4): Likewise.
867         [__WORDSIZE == 64] (MC_O5): Likewise.
868         [__WORDSIZE == 64] (MC_O6): Likewise.
869         [__WORDSIZE == 64] (MC_O7): Likewise.
870         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
871         __MC_NGREG if [__USE_MISC].
872         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
873         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
874         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
875         Define fields using __ctx.
876         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
877         using __ctx.
878         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
879         (REG_PSR): Define only for [__USE_MISC].
880         (REG_PC): Likewise.
881         (REG_nPC): Likewise.
882         (REG_Y): Likewise.
883         (REG_G1): Likewise.
884         (REG_G2): Likewise.
885         (REG_G3): Likewise.
886         (REG_G4): Likewise.
887         (REG_G5): Likewise.
888         (REG_G6): Likewise.
889         (REG_G7): Likewise.
890         (REG_O0): Likewise.
891         (REG_O1): Likewise.
892         (REG_O2): Likewise.
893         (REG_O3): Likewise.
894         (REG_O4): Likewise.
895         (REG_O5): Likewise.
896         (REG_O6): Likewise.
897         (REG_O7): Likewise.
898         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
899         [__WORDSIZE == 64] (REG_FPRS): Likewise.
900         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
901         (gregset_t): Define using __NGREG.
902         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
903         __SPARC_MAXREGWINDOW if [__USE_MISC].
904         (struct rwindow): Rename to struct __rwindow.  Define fields using
905         __ctx.
906         (rw_fp): Define only for [__USE_MISC].
907         (rw_rtn): Likewise.
908         (gwindows_t): Remove struct tag.  Define fields using __ctx and
909         __SPARC_MAXREGWINDOW.
910         (MAXFPQ): Define only for [__USE_MISC].
911         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
912         (struct fq): Rename to struct __fq.  Define fields using __ctx.
913         (FPU_REGS_TYPE): Define only for [__USE_MISC].
914         (FPU_DREGS_TYPE): Likewise.
915         (V7_FPU_FSR_TYPE): Likewise.
916         (V9_FPU_FSR_TYPE): Likewise.
917         (V9_FPU_FPRS_TYPE): Likewise.
918         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
919         using __ctx.
920         [__WORDSIZE != 64] (fpregset_t): Likewise.
921         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
922         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
923         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
924         Rename field filler to __glibc_reserved1.
925         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
926         (MC_FILLER): Remove.
928 2017-06-29  Florian Weimer  <fweimer@redhat.com>
930         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
931         Adjust format string.
932         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
933         dependency.
935 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
937         * sysdeps/posix/spawni.c (__spawni_child): New function.
938         (__spawni): Rename to __spawnix.
940 2017-06-29  Florian Weimer  <fweimer@redhat.com>
942         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
943         Use it to make the temporary copy at the start of the work buffer.
944         (process_arg): Adjust call to group_number.
946 2017-06-29  Florian Weimer  <fweimer@redhat.com>
948         * stdio-common/vfprintf.c (printf_positional): Use struct
949         scratch_buffer to allocate backing storage for the args_value,
950         args_size, args_type arrays.
952 2017-06-29  Florian Weimer  <fweimer@redhat.com>
954         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
955         scratch_buffer.
957 2017-06-29  Florian Weimer  <fweimer@redhat.com>
959         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
960         wchar_t builds.
962 2017-06-29  Florian Weimer  <fweimer@redhat.com>
964         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
965         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
967 2017-06-29  Florian Weimer  <fweimer@redhat.com>
969         * stdio-common/tst-vfprintf-user-type.c: New file.
970         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
972 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
974         * posix/tst-spawn2.c (do_test): Use libsupport.
975         * posix/tst-spawn3.c (do_test): Likewise.
977 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
979         * math/gen-tgmath-tests.py (Tests.__init__): Define
980         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
982         * math/tgmath.h: Include <bits/libc-header-start.h> and
983         <bits/floatn.h>.
984         (__TGMATH_F128): New macro.
985         (__TGMATH_CF128): Likewise.
986         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
987         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
988         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
989         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
990         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
991         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
992         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
993         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
994         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
995         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
996         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
997         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
998         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
999         (__TGMATH_BINARY_REAL_IMAG): Likewise.
1000         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1001         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1002         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1003         _FloatNx types if the corresponding HUGE_VAL macros are defined.
1005         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1006         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1007         complex arguments.
1009         [BZ #21687]
1010         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1011         (totalorder): Use it.
1012         (totalordermag): Likewise.
1013         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1014         totalorder and totalordermag.
1015         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1016         totalordermag in arguments of calls to those functions.
1017         (NCALLS): Change to 134.
1019         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1020         cast to return type argument.
1021         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1022         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1023         (llrint): Likewise.
1024         (lround): Likewise.
1025         (llround): Likewise.
1026         (ilogb): Likewise.
1027         (llogb): Likewise.
1028         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1029         (ufromfp): Likewise.
1030         (fromfpx): Likewise.
1031         (ufromfpx): Likewise.
1033         [BZ #21607]
1034         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1035         [LDBL_MANT_DIG > DBL_MANT_DIG].
1036         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1037         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1038         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1039         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1040         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1041         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1042         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1043         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1044         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1045         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1046         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1047         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1048         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1049         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1050         * math/test-tgmath.c: Include <float.h>.
1051         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1052         DBL_MANT_DIG].
1053         * math/test-tgmath2.c: Include <float.h>.
1054         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1055         DBL_MANT_DIG].
1057         * math/gen-tgmath-tests.py: New file.
1058         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1059         [PYTHON] (generated): Add test-tgmath3.c.
1060         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1061         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1063         * configure.ac (AS): Require binutils 2.25 or later.
1064         (LD): Likewise.
1065         * configure: Regenerated.
1066         * sysdeps/s390/configure.ac (AS): Remove version check.
1067         * sysdeps/s390/configure: Regenerated.
1068         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1069         * sysdeps/x86_64/configure: Regenerated.
1070         * manual/install.texi (Tools for Compilation): Document
1071         requirement for binutils 2.25 or later.
1072         * INSTALL: Regenerated.
1074 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1076         [BZ #14995]
1077         * configure.ac: Allow gold 1.14 or above to configire glibc
1078         * configure: Regenerated.
1080 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1082         [BZ #21457]
1083         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1084         struct tag.
1085         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1086         Likewise.
1087         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1088         Likewise.
1089         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1090         Declare struct type with __ctx.
1091         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1092         tag.
1093         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1094         and regs field name.
1096 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1098         * elf/loadtest.c (OUT): Define using do { } while (0).
1100         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1101         (DO_NUMBER_SPACEPAD): Likewise.
1103 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1105         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1106         sysdep_routines.
1107         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1108         __memchr_neon.
1109         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1110         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1111         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1112         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1114 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1116         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1117         Use vector and cu21 instruction.
1118         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1119         Add __to_utf8_loop_vx_cu in ifunc resolver.
1121 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1123         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1124         Use vector and cu24 instruction.
1126 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1128         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1129         Use vector and cu42 instruction.
1130         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1131         Add __to_utf16_loop_vx_cu in ifunc resolver.
1133 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1135         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1136         Use vector and cu41 instruction.
1137         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1138         in ifunc resolver.
1140 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1142         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1143         Add vxd, vxe, gs flag.
1144         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1145         HWCAP_S390_GS capability.
1146         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1147         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1149 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1151         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1152         the first 32 bytes before checking size when size >= 32 bytes.
1153         Replace vpmovmskb/subl/jnz with vptest/jnc.
1155 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1157         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1158         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1160 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1162         Work around test timeouts with ICMP rate limiting on localhost.
1163         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1164         function.
1165         (do_test): Call it.
1167 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1169         Call _res_hconf_init from __res_vinit.
1170         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1171         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1172         (NEED__RES): Define.
1173         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1174         (NEED__RES): Define.
1175         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1176         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1177         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1178         (NEED__RES): Define.
1179         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1180         _res_hconf_init.
1181         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1182         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1184         _res_hconf_init.
1186 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1188         * sysdeps/ia64/Implies: Add ieee754/float128.
1189         * sysdeps/ia64/bits/floatn.h: New file.
1190         * sysdeps/ia64/float128-abi.h: Likewise.
1191         * manual/math.texi (Mathematics): Document support for _Float128
1192         on ia64.
1193         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1194         Makefile variable.
1195         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1196         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1197         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1198         * sysdeps/ia64/math-tests.h: New file.
1199         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1200         based on TEST_COND_binary128 for [__ia64__].
1201         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1202         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1204         [BZ #21457]
1205         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1206         ucontext_t.
1207         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1208         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1209         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1210         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1211         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1212         ucontext): Likewise.
1213         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1214         Likewise.
1215         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1216         Likewise.
1217         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1218         Likewise.
1219         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1220         Likewise.
1221         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1222         Likewise.
1223         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1228         ucontext): Likewise.
1229         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1232         Likewise.
1233         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1234         Likewise.
1235         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1238         Likewise.
1239         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1240         rt_signal_frame_32): Likewise.
1241         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1242         Likewise.
1243         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1244         kernel_rt_sigframe): Likewise.
1245         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1248         Likewise.
1249         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1250         Likewise.
1251         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1252         (__profil_counter): Likewise.
1253         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1254         (SIGCONTEXT): Likewise.
1255         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1256         kernel_rt_sigframe): Likewise.
1257         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1258         kernel_rt_sigframe): Likewise.
1259         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1260         Likewise.
1261         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1262         Likewise.
1263         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1264         (__start_context): Likewise.
1265         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1266         Likewise.
1267         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1268         Likewise.
1269         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1270         Likewise.
1272         * sysdeps/i386/Implies: Add ieee754/float128.
1273         * sysdeps/x86_64/Implies: Likewise.
1274         * sysdeps/x86/bits/floatn.h: New file.
1275         * sysdeps/x86/float128-abi.h: Likewise.
1276         * manual/math.texi (Mathematics): Document support for _Float128
1277         on x86_64 and x86.
1278         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1279         (math_opt_barrier): Do not put _Float128 values in floating-point
1280         registers.
1281         (math_force_eval): Likewise.
1282         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1283         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1284         to Makefile variable.
1285         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1286         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1287         * sysdeps/x86/math-tests.h: New file.
1288         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1289         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1290         XFAIL_FLOAT128_PAYLOAD.
1291         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1292         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1293         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1294         Likewise.
1295         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1296         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1297         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1298         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1299         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1300         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1301         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1302         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1305 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1307         [BZ #21512]
1308         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1309         syscall instead of jump to _exit.
1310         (CLONE_VM_BIT): Remove unused define.
1311         (CLONE_VM): Likewise.
1312         (CLONE_THREAD_BIT): Likewise.
1313         (CLONE_THREAD): Likewise.
1314         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1315         (CLONE_VM): Remove unused define.
1316         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1317         (CLONE_VM): Remove unused define.
1318         (CLONE_THREAD): Likewise.
1319         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1320         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1321         syscall instead of jump to _exit.
1322         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1323         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1324         (CLONE_VM): Remove unused define.
1325         (CLONE_THREAD): Likewise.
1326         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1327         (CLONE_VM): Remove unused define.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1329         Likewise.
1330         (CLONE_VM): Remove unused define.
1331         (CLONE_THREAD): Likewise.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1333         Likewise.
1334         (CLONE_VM): Remove unused define.
1335         (CLONE_THREAD): Likewise.
1336         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1337         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1338         (CLONE_VM): Remove unused define.
1339         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1340         (CLONE_VM): Remove unused define.
1341         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1342         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1343         (CLONE_VM): Remove unused define.
1344         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1345         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1347 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1348             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1350         * manual/math.texi (Mathematics): Mention the enabling of float128
1351         for powerpc64le.
1352         * sysdeps/powerpc/bits/floatn.h: New file.
1353         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1354         * sysdeps/powerpc/fpu/math_private.h:
1355         (__ieee754_sqrtf128): New inline override.
1356         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1357         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1358         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1359         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1360         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1362         Updated.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1364         Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1366         New file.
1368 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1370         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1371         * sysdeps/powerpc/powerpc64le/configure: Update.
1373 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1374             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1376         * INSTALL: Regenerate.
1377         * manual/install.texi (Recommended Tools for Compilation): Mention
1378         the powerpc64le-specific requirement in the manual.
1379         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1380         for the compiler features required for building float128.
1381         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1383 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1385         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1386         before comparing with another char.
1388 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1390         * manual/math.texi: Fix a grammatical error.
1392 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1394         [BZ #21295]
1395         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1397 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1399         [BZ #21295]
1400         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1401         Append addresses at the end of the list.
1403 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1405         [BZ #21666]
1406         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1407         (loc2): Likewise.
1408         (locs): Likewise.
1410 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1412         [BZ #16637]
1413         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1414         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1415         digits between colons.
1416         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1418 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1419             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1421         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1422         (__sched_get_prioriry_min): Likewise.
1423         * include/sys/mman.h (__mmap): Likewise.
1424         (__mmap64): Likewise.
1425         (__munmap): Likewise.
1426         (__mprotect): Likewise.
1427         * include/termios.h (__tcsetattr): Likewise.
1428         * include/time.h (__nanosleep): Use hidden_proto instead of
1429         libc_hidden_proto.
1430         * posix/nanosleep.c (__nanosleep): Likewise.
1431         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1432         __sched_get_priority_min, and __sched_get_priority_max under
1433         GLIBC_PRIVATE.
1434         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1435         libc symbols.
1436         (change_stack_perm): Likewise.
1437         (change_stack_perm): Likewise.
1438         (allocate_stack): Likewise.
1439         * sysdeps/posix/gethostname.c: Likewise.
1440         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1441         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1442         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1443         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1444         (__pthread_key_delete): Likewise.
1445         (__pthread_detach): Likewise.
1446         (__pthread_cancel): Likewise.
1447         (__pthread_mutex_trylock): Likewise.
1448         (__pthread_mutexattr_init): Likewise.
1449         (__pthread_mutexattr_settype): Likewise.
1450         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1451         create alias for exported one.
1452         * nptl/pthread_join.c (pthread_join): Likewise.
1453         * nptl/pthread_detach.c (pthread_detach): Likewise.
1454         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1455         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1456         * nptl/pthread_create.c: Change static requirements for pthread
1457         symbols.
1458         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1459         for internal definition.
1460         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1461         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1462         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1463         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1464         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1465         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1466         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1467         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1468         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1469         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1470         Likewise.
1471         * nptl/pthread_self.c (__pthread_self): Likewise.
1472         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1473         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1474         * misc/mmap.c (__mmap): Add internal symbol definition.
1475         * misc/mmap.c (__mmap64): Likewise.
1476         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1477         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1478         (__mmap64): Likewise.
1479         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1480         Add __uname.
1482 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1484         * sysdeps/i386/fpu/libm-test-ulps: Update.
1485         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1487         * libm-test-support.c (check_float_internal): Clear exceptions at
1488         end of function.
1489         (check_int): Likewise.
1490         (check_long): Likewise.
1491         (check_bool): Likewise.
1492         (check_longlong): Likewise.
1493         (check_intmax_t): Likewise.
1494         (check_uintmax_t): Likewise.
1496         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1497         Do not declare.
1498         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1499         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1500         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1502 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1504         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1505         Replace movzbl and orl with movb.
1507 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1509         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1510         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1511         and HUGE_VAL_FNx.
1512         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1513         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1514         are in math.h, to avoid having to list the _FloatN and _FloatNx
1515         variants as well.  Likewise for the cabs functions.
1516         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1517         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1518         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1519         come from TS 18661-3, since this section explicitly states that
1520         these functions come from BSD.
1521         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1522         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1523         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1524         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1525         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1526         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1527         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1528         remainderfNx.
1529         (Setting and modifying single bits of FP values): Document
1530         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1531         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1532         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1533         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1534         (Floating-Point Comparison Functions): Document totalorderfN,
1535         totalorderfNx, totalordermagfN, totalordermagfNx.
1536         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1537         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1538         fdimfN, fdimfNx, fmafN, fmafNx.
1539         (Complex Numbers): Document the complex types: _FloatN complex and
1540         _FloatNx complex.
1541         (rojections, Conjugates, and Decomposing of Complex Numbers):
1542         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1543         cargfN, cargfNx, cprojfN, cprojfNx.
1544         * manual/math.texi (Mathematics): Mention that the _FloatN and
1545         _FloatNx variants of the math functions come from TS 18661-3,
1546         unless otherwise stated.
1547         (Predefined Mathematical Constants): Document the _FloatN and
1548         _FloatNx variants of the macros prefixed with M_.
1549         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1550         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1551         ccosfNx, ctanfN, ctanfNx.
1552         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1553         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1554         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1555         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1556         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1557         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1558         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1559         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1560         cpowfNx.
1561         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1562         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1563         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1564         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1565         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1566         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1567         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1568         ynfN, ynfNx.
1570 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1572         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1574 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1576         * resolv/res_libc.c: Reformat to GNU style.
1578 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1580         * resolv/resolv-internal.h (__res_initstamp): Declare.
1581         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1582         It is implied by the declaration.
1583         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1585 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1587         [BZ #21662]
1588         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1589         Use only 24 bits of the register before the subtraction.
1590         * string/test-memcmp.c (check1): Check with different lengths.
1592 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1594         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1595         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1597 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1599         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1600         Enable generation of float128 entries on the error table.
1602 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1604         * include/float.h: Include libc-header-start.h to get the
1605         definition of __GLIBC_USE.
1607 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1609         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1610         rearranged code and doubles float types.
1612 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1615         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1617 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1619         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1620         to errno, and simplify remaining related code.
1622 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1624         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1625         PPC_FEATURE2_SCV.
1626         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1627         and darn.
1629 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1631         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1632         the implementation-specific function name and remove unneeded macros
1633         definition.
1634         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1635         function name if not defined and pass as parameter to macros
1636         accordingly.
1638 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1641         (libm-sysdep_routines): Add s_llroundf-ppc64.
1642         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1643         (__llroundf): Define as strong alias of __llround.
1644         (llroundf):  Define as weak alias of __llround.
1645         (__lroundf): Define as strong alias of __llround.
1646         (lroundf):  Define as weak alias of __llround.
1647         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1648         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1651         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1652         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1655 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1657         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1658         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1660         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1661         (MATH_TESTS_TG): New macro.
1662         (SNAN_TESTS_float128): Likewise.
1663         (ROUNDING_TESTS_float128): Likewise.
1664         (EXCEPTION_TESTS_float128): Likewise.
1665         (SNAN_TESTS): Define using MATH_TESTS_TG.
1666         (ROUNDING_TESTS): Likewise.
1667         (EXCEPTION_TESTS): Likewise.
1669         * sysdeps/ieee754/float128/float128_private.h
1670         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1671         pass it to SET_RESTORE_ROUNDF128.
1673         * sysdeps/ieee754/float128/float128_private.h: Include
1674         <ieee754.h>.
1676         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1677         typeof to argument passed to __builtin_types_compatible_p.
1678         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1680         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1681         <errno.h>.
1682         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1683         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1684         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1685         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1686         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1687         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1688         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1689         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1690         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1691         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1692         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1693         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1694         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1695         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1696         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1697         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1698         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1699         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1700         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1701         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1702         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1703         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1705         * sysdeps/ieee754/float128/strtof128_l.c: Include
1706         <bits/types/locale_t.h> instead of <xlocale.h>.
1707         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1708         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1710 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1712         * benchtests/scripts/benchout_strings.schema.json: New file.
1713         * benchtests/scripts/compare_strings.py: New file.
1715         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1716         (do_one_test): Print json.
1717         (do_test): Likewise.
1718         (test_main): Likewise.
1719         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1720         (do_one_test): Print json.
1721         (do_test): Likewise.
1722         (test_main): Likewise.
1723         * benchtests/bench-memcpy.c: Include json-lib.h.
1724         (do_one_test): Print json.
1725         (do_test): Likewise.
1726         (test_main): Likewise.
1728         * benchtests/json-lib.h: Include inttypes.h.
1729         (json_attr_int, json_attr_int, json_element_string,
1730         json_element_int, json_element_uint): New functions.
1731         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1732         json_element_string, json_element_int, json_element_uint): New
1733         functions.
1735 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1737         * manual/arith.texi (Remainder Functions): Describe remainder as
1738         primary and drem as an alternative name.  Change the comment on
1739         remainder to ISO, since it is defined in ISO C99.
1741 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1743         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1744         macro expansion.
1745         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1747 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1749         [BZ #21533]
1750         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1751         201706L for Unicode 10.0.
1753 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1755         [BZ #21657]
1756         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1757         on node-local addresses.
1758         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1760 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1762         * intl/loadmsgcat.c: Remove alloca support.
1763         (_nl_load_domain): Use calloc instead of alloca.
1765 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1767         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1768         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1769         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1770         alloc_buffer_create_failure.
1771         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1772         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1773         (__libc_alloc_buffer_copy_string)
1774         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1775         * malloc/alloc_buffer_alloc_array.c: New file.
1776         * malloc/alloc_buffer_allocate.c: Likewise.
1777         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1778         * malloc/alloc_buffer_copy_string.c: Likewise.
1779         * malloc/alloc_buffer_create_failure.c: Likewise.
1780         * malloc/tst-alloc_buffer.c: Likewise.
1782 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1785         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1786         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1787         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1788         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1789         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1790         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1791         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1792         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1793         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1794         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1795         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1796         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1797         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1798         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1799         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1800         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1801         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1802         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1803         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1804         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1805         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1806         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1807         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1808         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1809         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1810         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1811         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1812         "locale-defines.h".
1813         (UPDATE_STRNCMP_COUNTER): New.
1814         (SECTION): Likewise.
1815         (GLABEL): Likewise.
1816         (LABEL): Likewise.
1817         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1818         for libc.a.
1820 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1822         [BZ #21622]
1823         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1824         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1825         __USE_MISC].
1826         (SA_NODEFER): Likewise.
1827         (SA_RESETHAND): Likewise.
1829 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1831         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1832         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1833         Remove security_level on all fields.
1834         * manual/tunables.texi: Replace ifunc with hwcaps.
1835         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1836         Renamed to ..
1837         (TUNABLE_CALLBACK (set_hwcaps)): This.
1838         (init_cpu_features): Updated.
1839         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1840         data_cache_size, data_cache_size and non_temporal_threshold to
1841         unsigned long int.
1842         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1843         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1844         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1845         use DEFAULT_STRLEN.
1847 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1849         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1850         asprintf to construct an absolute pathname.
1852 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1854         * misc/tst-preadvwritev2-common.c: New file.
1855         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1856         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1858 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1860         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1861         annotation.
1862         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1864 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1866         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1867         hidden __GI__dl_argv symbol.
1869 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1872         to parse addresses with IPv6 scope IDs.
1874 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1876         Add the __inet_pton_length helper function.
1877         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1878         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1879         Add length argument.
1880         (__inet_pton): New function.
1881         (inet_pton4): Add length argument.
1882         (hex_digit_value): New function.
1883         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1884         memmove and memset to fill :: gap.
1885         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1886         tst-inet_pton.
1887         * resolv/tst-inet_pton.c: New file.
1888         * support/Makefile (libsupport-routines): Add xmprotect.
1889         * support/xunistd.h (xmprotect): Declare.
1890         * support/xmprotect.c: New file.
1892 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1894         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1895         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1896         (call_gai, check_ai): New functions.
1897         (expect_failure, expect_success): Use them.  Add logging.
1899 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1901         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1902         (sysdep_routines): Add memchr_power8.
1903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1904         (memchr): Add __memchr_power8 to list of memchr functions.
1905         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1906         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1907         (memchr): Add __memchr_power8 to ifunc list.
1908         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1910 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1912         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1913         (__llrintf): Define as strong alias of __llrint.
1914         (llrintf):  Define as weak alias of __llrint.
1915         (__lrintf): Define as strong alias of __llrint.
1916         (lrintf):  Define as weak alias of __llrint.
1917         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1918         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1919         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1922 2017-06-20  Zack Weinberg  <zackw@panix.com>
1924         * bits/signum-generic.h: Renamed from bits/signum.h.
1925         Add proper multiple include guard and misuse check.
1926         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1927         Move definition of SIGIO to "archaic names for compatibility" section.
1928         * bits/signum.h: New file which just includes bits/signum-generic.h.
1929         * sysdeps/unix/bsd/bits/signum.h
1930         * sysdeps/unix/sysv/linux/bits/signum.h
1931         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1932         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1933         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1934         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1935         Just include <bits/signum-generic.h> and then add or adjust
1936         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1938         * signal/Makefile: Install bits/signum-generic.h.
1939         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1941         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1942         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1944         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1945         * sysdeps/unix/sysv/linux/Makefile: Run it.
1947 2017-06-20  Zack Weinberg  <zackw@panix.com>
1949         * locale/xlocale.h: Rename to...
1950         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1951         Only define struct __locale_struct and __locale_t, not locale_t.
1952         * locale/bits/types/locale_t.h: New file; define locale_t here.
1953         * locale/Makefile (headers): Update to match.
1955         * include/xlocale.h: Delete wrapper.
1956         * include/bits/types/__locale_t.h: New wrapper.
1957         * include/bits/types/locale_t.h: New wrapper.
1959         * ctype/ctype.h, include/printf.h, include/time.h
1960         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1961         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1962         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1963         Correct outdated comments regarding the standardization status of
1964         the functions that take locale_t arguments.
1966         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1967         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1968         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1969         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1970         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1971         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1972         Don't include xlocale.h. If necessary, include locale.h instead.
1974         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1976         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1977         * include/monetary.h, include/stdlib.h, include/time.h
1978         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1979         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1980         * locale/localeinfo.h, locale/newlocale.c
1981         * locale/nl_langinfo_l.c, locale/uselocale.c
1982         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1983         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1984         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1985         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1986         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1987         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1988         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1989         * sysdeps/ieee754/float128/strtof128_l.c
1990         * sysdeps/ieee754/float128/wcstof128.c
1991         * sysdeps/ieee754/float128/wcstof128_l.c
1992         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1993         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1994         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1995         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1996         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1997         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1998         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1999         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2000         * sysdeps/x86_64/strcasecmp_l-nonascii.c
2001         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2002         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2003         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2004         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2005         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2006         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2007         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2008         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2009         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2010         Change all uses of __locale_t to locale_t.
2012 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2014         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2015         for !__OFF_T_MATCHES_OFF64_T.
2016         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2017         implementation based on open64.
2018         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2019         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2021 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2023         * elf/dl-tunables.list: Move x86 specific tunables to ...
2024         * sysdeps/x86/dl-tunables.list: Here.  New file.
2026 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
2028         [BZ #21635]
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2030         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2031         * conform/data/signal.h-data (uc_mcontext): XFAIL for
2032         powerpc32-linux.
2033         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2035         [BZ #21634]
2036         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2037         (conformtest-xfail-conds): New variable.
2038         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2039         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2041 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2043         * benchtests/powf-inputs: Add reduced trace from wrf.
2045 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2046             Erich Elsen  <eriche@google.com>
2048         * elf/dl-tunables.list (tune): Add ifunc,
2049         x86_non_temporal_threshold,
2050         x86_data_cache_size and x86_shared_cache_size.
2051         * manual/tunables.texi: Document glibc.tune.ifunc,
2052         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2053         and glibc.tune.x86_non_temporal_threshold.
2054         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2055         * sysdeps/x86/cpu-tunables.c: Likewise.
2056         * sysdeps/x86/cacheinfo.c
2057         (init_cacheinfo): Check and get data cache size, shared cache
2058         size and non temporal threshold from cpu_features.
2059         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2060         New.
2061         [HAVE_TUNABLES] Include <unistd.h>.
2062         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2063         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2064         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2065         IFUNC selection, data cache size, shared cache size and non
2066         temporal threshold.
2067         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2068         shared_cache_size and non_temporal_threshold.
2070 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2072         * benchtests/README: Describe workload feature.
2073         * benchtests/bench-skeleton.c (main): Add support for
2074         benchmarking traces from workloads.
2076 2017-06-20  Zack Weinberg  <zackw@panix.com>
2078         * string/string.h (__mempcpy_inline): Delete.
2079         * sysdeps/x86_64/multiarch/mempcpy.c
2080         * sysdeps/x86_64/multiarch/stpcpy.c:
2081         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2082         before including string.h.
2084 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2086         * benchtests/Makefile (bench-math): Add powf.
2087         * benchtests/powf-inputs: New file.
2089 2017-06-20  Zack Weinberg  <zackw@panix.com>
2091         * bits/string.h, string/bits/string.h
2092         * sysdeps/aarch64/bits/string.h
2093         * sysdeps/m68k/m680x0/m68020/bits/string.h
2094         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2095         * sysdeps/x86/bits/string.h: Delete file.
2097         * string/string.h: Don't include bits/string.h.
2098         * string/bits/string3.h: Rename to bits/string_fortified.h.
2099         No need to undef various symbols that the removed headers
2100         might have defined as macros.
2101         * string/Makefile (headers): Remove bits/string.h, change
2102         bits/string3.h to bits/string_fortified.h.
2103         * string/string-inlines.c: Update commentary.  Remove definitions
2104         of various macros that nothing looks at anymore.  Don't directly
2105         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2106         compiler-predefined macros.
2107         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2108         _is_ defined, provide internal hidden alias __strncat.
2109         * include/string.h: Declare internal hidden alias __strncat.
2110         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2111         not defined.
2112         * include/bits/string3.h: Rename to bits/string_fortified.h,
2113         update to match above.
2115         * sysdeps/i386/string-inlines.c: Define compat symbols for
2116         everything formerly defined by sysdeps/x86/bits/string.h.
2117         Make existing definitions into compat symbols as well.
2118         Remove some no-longer-necessary messing around with macros.
2120         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2121         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2122         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2123         * sysdeps/s390/multiarch/mempcpy.c
2124         No need to define _HAVE_STRING_ARCH_mempcpy.
2125         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2127         * sysdeps/i386/i686/multiarch/strncat-c.c
2128         * sysdeps/s390/multiarch/strncat-c.c
2129         * sysdeps/x86_64/multiarch/strncat-c.c
2130         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2132 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2134         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2135         (LDBL_DIG): Likewise.
2136         (LDBL_MIN_EXP): Likewise.
2137         (LDBL_MIN_10_EXP): Likewise.
2138         (LDBL_MAX_EXP): Likewise.
2139         (LDBL_MAX_10_EXP): Likewise.
2140         (LDBL_MAX): Likewise.
2141         (LDBL_MIN): Likewise.
2142         (LDBL_EPSILON): Likewise.
2143         (FLT_ROUNDS): Change standard from ISO to C90.
2144         (FLT_RADIX): Likewise.
2145         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2146         (FLT_DIG, DBL_DIG): Likewise.
2147         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2148         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2149         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2150         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2151         (FLT_MAX, DBL_MAX): Likewise.
2152         (FLT_MIN, DBL_MIN): Likewise.
2153         (FLT_EPSILON, DBL_EPSILON): Likewise.
2155 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2157         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2158         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2159         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2160         * sysdeps/mips/math-tests.h
2161         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2162         conditional code.
2164 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2166         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2167         It cannot change while __libc_setlocale_lock is acquired.
2169 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2171         * elf/rtld.c (audit_list_string): New variable.
2172         (audit_list): Update comment.
2173         (struct audit_list_iter): Define.
2174         (audit_list_iter_init, audit_list_iter_next): New function.
2175         (dl_main): Use struct audit_list_iter to process audit modules.
2176         (process_dl_audit): Call dso_name_valid_for_suid.
2177         (process_envvars): Set audit_list_string instead of calling
2178         process_dl_audit.
2180 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2182         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2183         (dso_name_valid_for_suid): New function.
2184         (handle_ld_preload): Likewise.
2185         (dl_main): Call it.  Remove alloca.
2187 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2189         [BZ #21625]
2190         * posix/sys/wait.h (strust rusage forward declaration): Change
2191         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2192         !__USE_XOPEN2K].
2193         (wait3): Likewise.
2195         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2196         * configure: Regenerated.
2197         * manual/install.texi (Tools for Compilation): Document
2198         requirement for GCC 4.9 or later.
2199         * INSTALL: Regenerated.
2201 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2203         [BZ #21624]
2204         CVE-2017-1000366
2205         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2206         __libc_enable_secure.
2208 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2210         [BZ #21539]
2211         * NEWS: Mention s390 ptrace request changes.
2212         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2213         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2214         PTRACE_SETFPREGS): Remove enum constant.
2215         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2216         Remove defines.
2217         (PTRACE_SINGLEBLOCK): New enum constant.
2218         (PT_STEPBLOCK): New define.
2219         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2220         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2221         PTRACE_TE_ABORT_RAND): New enum constant and define.
2222         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2223         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2224         New file.
2225         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2227 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2229         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2230         configuration file.
2231         (__res_vinit): Adjust.
2233 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2235         * resolv/res_init.c (res_vinit_1): New function.
2236         (__res_vinit): Call it.  Handle file open and memory allocation
2237         failures.
2238         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2239         erno from __res_maybe_init failure.
2240         (_nss_dns_gethostbyname4_r): Likewise.
2241         (_nss_dns_gethostbyaddr2_r): Likewise.
2242         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2243         (_nss_dns_getnetbyaddr_r): Likewise.
2245 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2247         * resolv/res_init.c: Reformat to GNU style.
2249 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2251         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2252         (is_sort_mask): New function.
2253         (__res_vinit): Use it.
2255 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2257         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2258         conditionals.
2260 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2262         * resolv/res-close.c: New file.
2263         * resolv/res_init.c (__res_iclose, res_nclose)
2264         (res_thread_freeres): Remove definitions.
2265         * resolv/Makefile (routines): Add res-close.
2267 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2269         * resolv/res_randomid.c: New file.
2270         * resolv/res_init.c (res_randomid): Remove definition.
2271         * resolv/Makefile (routines): Add res_randomid.
2273 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2275         * include/resolv.h (__res_vinit): Declare as hidden.
2276         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2277         * resolv/res_libc.c (res_init): Likewise.
2279 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2281         [BZ #21457]
2282         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2283         _libc_xmmreg): Use __ctx in defining field.
2285         [BZ #21597]
2286         * signal/signal.h (siginterrupt): Make declaration conditional on
2287         [__USE_XOPEN_EXTENDED || __USE_MISC].
2289         [BZ #21584]
2290         * signal/signal.h: Make includes of <bits/sigstack.h> and
2291         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2292         __USE_MISC].
2293         (sigaltstack): Make declaration conditional on
2294         [__USE_XOPEN_EXTENDED || __USE_MISC].
2296         [BZ #21575]
2297         * resource/bits/types/struct_rusage.h: New file.
2298         * include/bits/types/struct_rusage.h: Likewise.
2299         * bits/resource.h (struct rusage): Include
2300         <bits/types/struct_rusage.h> instead of defining here.
2301         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2302         Likewise.
2303         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2304         Likewise.
2305         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2306         Likewise.
2307         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2308         Likewise.
2309         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2310         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2311         Include <bits/types/struct_rusage.h>
2313 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2315         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2317 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2319         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2321 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2323         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2325 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2327         [BZ #21537]
2328         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2329         Check SHARED instead of PIC.
2330         (SYSCALL_PIC_SETUP): Add missing semicolons.
2331         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2332         Check SHARED instead of PIC.
2333         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2334         (__makecontext_ret): Adjust code to jump to exit.
2336 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2338         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2339         Simplify code by always using SVC 0 instead of EX.
2340         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2342 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2344         * elf/Versions (ld): Remove _dl_out_of_memory.
2346 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2348         * timezone/private.h: Update from tzcode 2017b.
2349         * timezone/tzfile.h: Likewise.
2350         * timezone/tzselect.ksh: Likewise.
2351         * timezone/zdump.c: Likewise.
2352         * timezone/zic.c: Likewise.
2353         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2354         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2355         * time/tzset.c (SECSPERDAY): New macro.
2357 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2359         * manual/string.texi (strdup): Complete header and standards
2360         annotation.
2361         (strncpy): Likewise.
2363 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2365         * manual/arith.texi (FP_NAN): Add or complete header and standard
2366         annotations.
2367         (FP_INFINITE): Likewise.
2368         (FP_ZERO): Likewise.
2369         (FP_SUBNORMAL): Likewise.
2370         (FP_NORMAL): Likewise.
2371         (SNAN): Likewise.
2372         (SNANL): Likewise.
2373         (totalorderf): Likewise.
2374         (totalorderl): Likewise.
2375         (totalordermagf): Likewise.
2376         (totalordermagl): Likewise.
2377         (_Complex_I): Likewise.
2378         (I): Likewise.
2380 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2382         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2383         standard annotation.
2384         (ARGP_HELP_SHORT_USAGE): Likewise.
2385         (ARGP_HELP_SEE): Likewise.
2386         (ARGP_HELP_LONG): Likewise.
2387         (ARGP_HELP_PRE_DOC): Likewise.
2388         (ARGP_HELP_POST_DOC): Likewise.
2389         (ARGP_HELP_DOC): Likewise.
2390         (ARGP_HELP_BUG_ADDR): Likewise.
2391         (ARGP_HELP_LONG_ONLY): Likewise.
2392         (ARGP_HELP_EXIT_ERR): Likewise.
2393         (ARGP_HELP_EXIT_OK): Likewise.
2394         (ARGP_HELP_STD_ERR): Likewise.
2395         (ARGP_HELP_STD_USAGE): Likewise.
2396         (ARGP_HELP_STD_HELP): Likewise.
2398 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2400         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2401         use of the C locale.  Update Perl dependency comment.
2402         * manual/header.texi: Update reference to summary.awk.
2403         * manual/macros.texi: Refer authors to `summary.pl --help'.
2404         * manual/summary.awk: Remove file.
2405         * manual/summary.pl: New file.  Generate summary.texi, and check
2406         for @standards-related syntax errors.
2407         * manual/argp.texi: Convert header and standards @comments to
2408         @standards.
2409         * manual/arith.texi: Likewise.
2410         * manual/charset.texi: Likewise.
2411         * manual/conf.texi: Likewise.
2412         * manual/creature.texi: Likewise.
2413         * manual/crypt.texi: Likewise.
2414         * manual/ctype.texi: Likewise.
2415         * manual/debug.texi: Likewise.
2416         * manual/errno.texi: Likewise.
2417         * manual/filesys.texi: Likewise.
2418         * manual/getopt.texi: Likewise.
2419         * manual/job.texi: Likewise.
2420         * manual/lang.texi: Likewise.
2421         * manual/llio.texi: Likewise.
2422         * manual/locale.texi: Likewise.
2423         * manual/math.texi: Likewise.
2424         * manual/memory.texi: Likewise.
2425         * manual/message.texi: Likewise.
2426         * manual/pattern.texi: Likewise.
2427         * manual/pipe.texi: Likewise.
2428         * manual/process.texi: Likewise.
2429         * manual/resource.texi: Likewise.
2430         * manual/search.texi: Likewise.
2431         * manual/setjmp.texi: Likewise.
2432         * manual/signal.texi: Likewise.
2433         * manual/socket.texi: Likewise.
2434         * manual/startup.texi: Likewise.
2435         * manual/stdio.texi: Likewise.
2436         * manual/string.texi: Likewise.
2437         * manual/sysinfo.texi: Likewise.
2438         * manual/syslog.texi: Likewise.
2439         * manual/terminal.texi: Likewise.
2440         * manual/threads.texi: Likewise.
2441         * manual/time.texi: Likewise.
2442         * manual/users.texi: Likewise.
2444 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2446         * manual/macros.texi (@standards): New macro.  Provide placeholder
2447         for header and standards annotations.
2448         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2450 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2452         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2453         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2454         rule.
2455         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2456         sync_file_range.
2458          * support/support_test_main.c (support_test_main):  Use optstring
2459          member for option string in getopt_long.
2460          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2461          (CMDLINE_OPTSTRING): New define.
2462          * support/test-driver.h (test_config): Add optstring member.
2464 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2467         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2468         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2469         Check USE_AS_STRPBRK instead of STRPBRK_P.
2470         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2471         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2472         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2473         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2474         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2475         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2476         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2477         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2478         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2479         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2480         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2481         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2482         and "#endif".
2484 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2486         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2487         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2489 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2491         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2492         strcat-sse2.
2493         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2494         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2495         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2496         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2497         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2499 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2500             Erich Elsen  <eriche@google.com>
2502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2503         memcmp-sse2.
2504         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2505         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2506         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2507         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2508         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2509         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2511 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2512             Erich Elsen  <eriche@google.com>
2514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2515         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2517         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2518         Update comments.
2519         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2520         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2521         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2522         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2523         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2524         * sysdeps/x86_64/multiarch/memset.S: Removed.
2525         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2526         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2527         (__memset_chk_erms): New function.
2529 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2531         * configure.ac(--enable-tunables): Enable by default.
2532         * configure: Regenerate.
2533         * NEWS: Mention change.
2534         * manual/install.texi (enable-tunables): Adjust documentation.
2535         * INSTALL: Regenerate.
2537 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2539         [BZ #18988]
2540         * benchtests/thread_create-inputs: New file.
2541         * benchtests/thread_create-source.c: Likewise.
2542         * support/xpthread_attr_setguardsize.c: Likewise.
2543         * support/Makefile (libsupport-routines): Add
2544         xpthread_attr_setguardsize object.
2545         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2546         * benchtests/Makefile (bench-pthread): Add thread_create.
2547         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2548         then mprotect the required area.
2549         (guard_position): New function.
2550         (setup_stack_prot): Likewise.
2552 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2553             Erich Elsen  <eriche@google.com>
2554             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2557         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2558         mempcpy_chk-nonshared and memmove_chk-nonshared.
2559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2560         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2561         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2562         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2563         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2564         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2565         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2566         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2567         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2568         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2569         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2570         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2571         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2572         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2573         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2574         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2575         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2576         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2577         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2578         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2579         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2580         (__mempcpy_chk_erms): New function.
2581         (__memmove_chk_erms): Likewise.
2582         (__memcpy_chk_erms): New alias.
2584 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2586         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2587         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2589 2017-06-14  Zack Weinberg  <zackw@panix.com>
2591         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2592         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2593         defined, don't declare anything other than the E-constants.
2595         * include/errno.h: Change conditional for exposing internal
2596         declarations to (not _ISOMAC and not __ASSEMBLER__).
2597         * bits/errno.h: Remove logic for __need_Emath.  Document
2598         requirements for a port-specific bits/errno.h.
2600         * sysdeps/unix/sysv/linux/bits/errno.h
2601         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2602         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2603         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2604         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2605         Add multiple-include guard and check against improper inclusion.
2606         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2607         constants are defined as simple integer literals.  Consistent
2608         formatting.
2609         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2610         enum __error_t_codes if __ASSEMBLER__ is not defined.
2611         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2613         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2614         including errno.h.
2615         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2616         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2617         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2618         * sysdeps/x86_64/fpu/s_cosf.S
2619         * sysdeps/x86_64/fpu/s_sincosf.S
2620         * sysdeps/x86_64/fpu/s_sinf.S:
2621         Just include errno.h; don't define __need_Emath or include
2622         bits/errno.h directly.
2624 2017-06-14  Zack Weinberg  <zackw@panix.com>
2626         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2627         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2628         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2630         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2631         for IOV_MAX.
2632         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2633         Don't install bits/uio.h.
2634         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2635         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2636         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2638         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2639         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2640         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2643         Include bits/types/struct_iovec.h, not bits/uio.h.
2644         Use __ssize_t, not ssize_t, in function prototypes.
2645         Don't use hard TAB for double space after period in comments.
2647 2017-06-14  Alan Modra  <amodra@gmail.com>
2649         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2650         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2651         refsym and sym parameters.  Adjust callers.
2652         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2653         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2654         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2655         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2656         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2657         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2658         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2659         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2660         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2661         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2662         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2663         Likewise.
2664         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2665         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2666         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2669         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2670         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2671         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2672         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2673         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2674         Delete reloc param, add refsym and sym.  Check optimized plt
2675         call stubs for localentry:0 functions.  Adjust callers.
2676         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2677         and sym parameters.  Adjust callers.
2678         (_dl_reloc_overflow): Move attribute.
2679         (_dl_error_localentry): Declare.
2680         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2681         refsym and sym to elf_machine_fixup_plt.
2682         * elf/testobj6.c (preload): Call printf.
2684 2017-06-14  Alan Modra  <amodra@gmail.com>
2686         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2687         (NOPS, ENTRY_3): New macros.
2688         (ENTRY): Rewrite.
2689         (ENTRY_TOCLESS): Define.
2690         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2691         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2692         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2693         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2694         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2695         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2696         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2697         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2698         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2699         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2700         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2701         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2702         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2703         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2704         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2705         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2706         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2707         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2708         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2711         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2712         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2713         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2714         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2715         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2716         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2717         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2718         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2719         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2720         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2721         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2722         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2723         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2724         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2725         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2726         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2727         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2728         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2729         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2730         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2731         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2732         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2733         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2734         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2735         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2736         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2737         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2738         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2739         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2741         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2743         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2744         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2745         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2746         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2747         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2748         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2749         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2750         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2751         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2752         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2753         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2754         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2755         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2756         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2757         Likewise.
2758         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2759         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2760         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2761         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2763         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2764         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2765         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2766         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2768         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2769         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2770         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2771         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2772         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2773         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2774         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2775         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2776         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2777         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2778         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2779         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2780         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2781         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2782         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2783         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2784         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2785         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2786         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2788         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2789         add nop when SHARED.
2790         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2791         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2792         define.
2793         (ENTRY_TOCLESS): Define.
2794         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2795         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2796         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2798 2017-06-14  Alan Modra  <amodra@gmail.com>
2800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2801         MEMSET_is_local.
2802         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2803         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2804         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2805         Define MEMSET.
2806         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2807         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2808         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2809         nop after local calls.
2810         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2811         Don't add nop after local call.
2812         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2813         CALL_MCOUNT.
2815 2017-06-14  Alan Modra  <amodra@gmail.com>
2817         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2818         (FUNC_LABEL): Rename from DOT_LABEL.
2819         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2820         Use .p2align rather than .align.
2821         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2822         (ABORT_TRANSACTION): Likewise.
2823         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2824         particularly at end.  Add semicolon at invocation as necessary.
2825         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2826         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2827         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2828         END): Adjust to suit.
2830 2017-06-14  Alan Modra  <amodra@gmail.com>
2832         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2833         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2834         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2835         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2836         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2838         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2840 2017-06-14  Alan Modra  <amodra@gmail.com>
2842         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2843         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2845 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2847         [BZ #21548]
2848         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2849         8 and use it when copying general purpose registers.
2850         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2851         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2852         mips o32.
2853         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2854         new test for mips o32.
2855         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2856         8 and use it when copying general purpose registers.
2857         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2859 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2861         * configure.ac (find_cxx_header): Suppress compiler error message.
2863 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2865         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2866         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2867         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2868         begin/end.
2869         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2870         dynarray_int_end.
2871         (test_str): Test dynarray_str_begin, dynarray_str_end.
2873 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2875         [BZ #21573]
2876         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2877         $(common-objpfx)bits/std_abs.h.
2878         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2879         New target.
2880         * config.make.in (c++-bits-std_abs-h): New.
2881         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2882         (CXX_BITS_STD_ABS_H): New.
2883         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2884         * configure: Regenerated.
2886 2017-06-13  Zack Weinberg  <zackw@panix.com>
2888         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2889         directives.
2891 2017-06-12  Zack Weinberg  <zackw@panix.com>
2893         * bits/sched.h: Remove __need_schedparam logic and replace with a
2894         normal multiple-include guard.  Change field name in struct
2895         sched_param from __sched_priority to sched_priority.  Delete
2896         everything under #ifndef __cpu_set_t_defined.
2897         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2898         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2900         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2901         For compatibility, #define sched_priority to itself, and #define
2902         __sched_priority as sched_priority.
2903         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2904         that was under #ifndef __cpu_set_t_defined in
2905         sysdeps/unix/sysv/linux/bits/sched.h.
2906         * include/bits/cpu-set.h: New wrapper.
2907         * posix/Makefile: Install bits/cpu-set.h.
2909 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2910             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2911             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2913         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2914         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2915         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2916         * math/libm-test-isfinite.inc (finite_test): Likewise.
2917         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2918         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2919         (nexttoward_test_data}: Likewise.
2920         * math/libm-test-remainder.inc (drem_test): Likewise.
2921         * math/libm-test-scalb.inc (scalb_test): Likewise.
2922         (scalb_test_data): Likewise.
2923         * math/libm-test-significand.inc (significand_test): Likewise.
2924         (significand_test_data): Likewise.
2925         * math/libm-test-support.c (check_complex): Replace __complex__
2926         FLOAT with CFLOAT to get the support for old compiler.
2927         * math/libm-test-support.h (check_complex): Likewise.
2928         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2929         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2930         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2931         * math/test-float128.h: New file.
2932         * math/test-math-floatn.h: New file.
2934 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2936         * include/float.h: Allow the definition of macros prefixed with
2937         FLT128 even if _ISOMAC is defined, but provided that
2938         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2940 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2942         * manual/math.texi (Mathematics): Add description for _FloatN and
2943         _FloatNx types and mentions that they are not support in glibc for
2944         any architecture, so far.
2945         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2946         stdlib.h with wchar.h.
2947         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2948         (Printing of Floats): Add description for strfromfN.
2950 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2951             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2952             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2954         * include/gmp.h (__mpn_construct_float128): New declaration.
2955         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2956         (__strtof128_l): New declaration.
2957         (__strtof128_nan): Likewise.
2958         (__wcstof128_nan): Likewise.
2959         (__strtof128_internal): Likewise.
2960         (____strtof128_l_internal): Likewise.
2961         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2962         (__wcstof128_l): New declaration.
2963         (__wcstof128_internal): Likewise.
2965         * stdlib/Makefile (bug-strtod2): Link libm too.
2967         * stdlib/stdlib.h (strtof128): New declaration.
2968         (strtof128_l): Likewise.
2970         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2971         tst-strtod.h macros to ensure float128 gets tested too.
2973         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2975         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2976         tests.
2977         (IF_FLOAT128): New macro.
2978         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2979         the tests.
2980         (STRTOD_TEST_FOREACH): Likewise.
2982         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2983         wcstof128 functions into libc.
2985         * sysdeps/ieee754/float128/Versions: Add exports for the above
2986         new functions.
2988         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2989         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2990         * sysdeps/ieee754/float128/strtof128.c: New file.
2991         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2992         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2993         * sysdeps/ieee754/float128/wcstof128.c: New file.
2994         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2995         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2996         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2997         (CFLAGS-wcstof128_l): Likewise.
2999         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3000         (wcstof128): New declaration.
3001         (wcstof128_l): Likewise.
3003 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3005         [BZ #21552]
3006         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3007         not [__USE_XOPEN].
3008         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3010         [BZ #21550]
3011         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3013 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3015         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3016         strcpy-sse2 and stpcpy-sse2.
3017         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3018         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3019         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3020         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3021         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3022         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3023         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3024         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3025         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3026         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3027         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3028         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3029         (libc_hidden_def): Always defined as empty.
3030         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3031         Always Defined as empty.
3033 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3035         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3037 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3039         [BZ #15105]
3040         [BZ #19463]
3041         * include/string.h: Add internal redirect for __stpcpy.
3042         * string/Makefile: Remove bits/string2.h.
3043         * string/string.h: Update comment.
3044         * string/string-inlines.c: Remove bits/string2.h include and comment.
3045         * string/bits/string2.h: Remove file.
3047 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3049         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3050         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3051         * sunrpc/des_impl.c (_des_crypt): Likewise.
3052         * sunrpc/key_call.c (key_gendes): Likewise.
3053         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3054         * sunrpc/svc_simple.c (universal): Likewise.
3055         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3056         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3057         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3059 2017-06-10  Zack Weinberg  <zackw@panix.com>
3061         * stdlib/errno.h: Correct an outdated comment.
3063 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3065         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3066         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3067         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3068         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3069         New file.  Invoke newly supported sysconf values for powerpc,
3070         and report results.  If none are supported, report so.
3071         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3072         tst-sysconf.
3074 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3076         * include/sys/auxv.h (__getauxval): Add a prototype and its
3077         libc_hidden_proto.
3078         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3080 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #21561]
3083         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3084         [__USE_XOPEN_EXTENDED].
3085         (id_t): Likewise.
3086         (include of <bits/types/siginfo_t.h): Likewise.
3087         (waitid): Likewise.
3088         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3089         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3090         (WEXITED): Likewise.
3091         (WCONTINUED): Likewise.
3092         (WNOWAIT): Likewise.
3093         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3094         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3095         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3097         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3098         libc.so PLT entry optional.
3099         (__gtsf2): Likewise.
3100         (__unorddf2): Likewise.
3101         (__unordsf2): Likewise.
3102         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3103         New optional libc.so PLT entry.
3105         [BZ #21554]
3106         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3107         not [__USE_XOPEN].
3109         [BZ #21560]
3110         * posix/sys/wait.h: Condition include of <signal.h> on
3111         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3112         unconditionally.
3113         [!__pid_t_defined] (pid_t): Define typedef.
3115 2017-06-09  Zack Weinberg  <zackw@panix.com>
3117         * include/errno.h (__errno_location): Use __attribute_const__
3118         instead of bare __attribute__.
3120 2017-06-09  Zack Weinberg  <zackw@panix.com>
3122         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3123         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3124         more appropriate location. Also add dl-tunable-list.h and
3125         dl-tunable-list.stmp.
3127 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3129         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3131 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3134         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3136         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3137         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3138         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3139         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3140         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3141         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3142         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3143         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3145 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3147         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3148         memrchr-sse2 and memrchr-avx2.
3149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3150         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3151         __memrchr_sse2.
3152         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3153         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3154         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3156 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3159         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3160         wcschr-sse2 and wcschr-avx2.
3161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3162         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3163         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3164         __wcschr_sse2.
3165         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3166         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3167         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3168         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3169         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3170         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3171         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3172         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3173         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3174         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3176 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3179         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3180         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3182         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3183         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3184         __wcslen_sse2 and __wcsnlen_avx2.
3185         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3186         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3187         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3188         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3189         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3190         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3191         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3192         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3193         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3194         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3195         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3196         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3197         vzeroupper is preferred and AVX unaligned load is fast.
3199 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3201         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3202         USE_AS_WMEMCHR is defined.
3203         (PCMPEQ): Likewise.
3204         (memchr): Renamed to ...
3205         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3206         Replace pcmpeqb with PCMPEQ.
3207         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3208         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3209         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3210         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3211         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3212         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3213         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3214         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3215         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3216         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3217         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3218         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3219         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3221         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3222         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3223         __wmemchr_sse2.
3225 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3227         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3228         tst-dynarray-fail.
3230 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3232         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3233         * support/support_test_verify_impl.c
3234         (support_test_verify_exit_impl): Split from
3235         support_test_verify_impl.
3236         * support/check.h (TEST_VERIFY): Drop status argument from
3237         support_test_verify_impl call.
3238         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3239         (support_test_verify_impl): Remove status argument.
3240         (support_test_verify_exit_impl): Declare.
3242 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3244         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3245         mention of magic numbers in comments.
3246         (_dl_procinfo): Fix undefined behavior
3248 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3250         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3251         [XPG4].
3252         (WEXITED): Likewise.
3253         (WSTOPPED): Likewise.
3254         (WCONTINUED): Likewise.
3255         (WNOHANG): Likewise.
3256         (WNOWAIT): Likewise.
3257         (idtype_t): Likewise.
3258         (P_ALL): Likewise.
3259         (P_PID): Likewise.
3260         (P_PGID): Likewise.
3261         (id_t): Likewise.
3262         (siginfo_t): Likewise.
3263         (wait3): Likewise.
3264         (waitid): Likewise.
3265         (signal.h): Do not allow header for [XPG4].
3266         (sys/resource.h): Likewise.
3267         (si_*): Do not allow for [XPG4].
3268         (W*): Likewise.
3269         (P_*): Likewise.
3270         (BUS_): Likewise.
3271         (CLD_): Likewise.
3272         (FPE_): Likewise.
3273         (ILL_): Likewise.
3274         (POLL_): Likewise.
3275         (SEGV_): Likewise.
3276         (SI_): Likewise.
3277         (TRAP_): Likewise.
3278         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3279         variable.
3281 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3283         [BZ #21528]
3284         * elf/dl-minimal.c (__strtoul_internal): Removed.
3285         (strtoul): Likewise.
3286         * elf/dl-misc.c (_dl_strtoul): New function.
3287         * elf/dl-tunables.c (tunables_strtoul): Removed.
3288         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3289         * elf/rtld.c (process_envvars): Likewise.
3290         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3291         Likewise.
3292         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3294 2017-06-08  Zack Weinberg  <zackw@panix.com>
3296         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3297         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3298         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3299         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3300         between wctype.h and wchar.h.
3302         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3303         Install them.
3305         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3306         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3307         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3308         New wrappers.
3309         * include/stdio.h, include/wchar.h, include/wctype.h:
3310         No need to handle __need macros.
3312         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3313         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3314         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3315         * wcsmbs/wchar.h, wctype/wctype.h
3316         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3317         Use the new files instead of __need macros.
3319 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3321         * string/test-memrchr.c (test_main): Add tests for len == 0
3322         and tests for positions close to the beginning, which are
3323         equivalent to positions close to the end for memchr.
3325 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3328         comments.
3329         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3330         instead of wmemset.h.
3331         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3332         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3333         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3335 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3337         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3338         spec->info.is_binary128 to zero.
3339         * stdio-common/printf.h (printf_info): Add new member is_binary128
3340         to indicate that the number being converted to string is compatible
3341         with the IEC 60559 binary128 format.
3342         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3343         _Float128 numbers.
3344         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3345         ldbl-128/printf_fphex_macros.h
3346         (__printf_fphex): Add code to deal with _Float128 numbers.
3347         * stdio-common/printf_size.c (__printf_size): Likewise.
3348         * stdio-common/vfprintf.c (process_arg): Initialize member
3349         info.is_binary128 to zero.
3350         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3351         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3352         (strfromf128): New declaration.
3353         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3354         to one.
3355         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3356         * sysdeps/ieee754/float128/Versions: Likewise.
3357         * sysdeps/ieee754/float128/strfromf128.c: New file.
3359 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3361         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3362         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3363         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3364         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3365         (PRINT_FPHEX): New function-like macro that can be used for long
3366         double, as well as for _Float128
3368 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3370         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3371         (__printf_fp_l): Use the new macro to avoid duplicating code.
3372         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3373         (__printf_fphex): Use the new macro to avoid duplicating code.
3374         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3375         (__printf_size): Use the new macro to avoid duplicating code.
3377 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3379         * include/gmp.h: Include bits/floatn.h
3380         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3381         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3382         including stack-alloc.h.  It could have been defined by other header
3383         which not necessarily defines HAVE_ALLOCA.
3384         * sysdeps/ieee754/float128/Makefile: New file.
3385         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3386         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3387         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3388         redefine __mpn_extract_long_double to __mpn_extract_float128.
3389         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3390         _Float128 to allow float128_private.h overrides.
3392 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3394         * stdlib/fpioconst.h: Include bits/floatn.h.
3395         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3396         power of ten table should be.
3397         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3398         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3399         to include larger tables when _Float128 support is enabled.
3400         (_fpioconst_pow10): Likewise.
3402 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3404         * include/bits/types/clock_t.h: Use #include <path> instead of
3405         #include "../../path".
3406         * include/bits/types/clockid_t.h: Likewise.
3407         * include/bits/types/struct_iovec.h: Likewise.
3408         * include/bits/types/struct_itimerspec.h: Likewise.
3409         * include/bits/types/struct_osockaddr.h: Likewise.
3410         * include/bits/types/struct_sigstack.h: Likewise.
3411         * include/bits/types/struct_timespec.h: Likewise.
3412         * include/bits/types/struct_timeval.h: Likewise.
3413         * include/bits/types/struct_tm.h: Likewise.
3414         * include/bits/types/time_t.h: Likewise.
3415         * include/bits/types/timer_t.h: Likewise.
3417         [BZ #14096]
3418         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3419         America/New_York.
3421 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3423         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3424         into ...
3425         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3426         ifunc-sse4_1.h.
3428 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3430         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3431         Remove check for NULL 'buf'.
3432         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3434 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3436         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3437         include test-skeleton.c.
3438         Include support/check.h and support/test-driver.c.
3440 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3442         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3443         (_dl_aarch64_cap_flags): New array.
3444         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3445         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3446         functions.
3448         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3449         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3450         Likewise.
3451         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3452         up hwcap and hwcap_mask.
3454         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3455         (init_cpu_features): Use glibc.tune.hwcap_mask.
3456         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3458         * elf/dl-hwcaps.h: New file.
3459         * elf/dl-hwcaps.c: Include it.
3460         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3461         glibc.tune.hwcap_mask.
3462         * elf/dl-cache.c: Include dl-hwcaps.h.
3463         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3464         glibc.tune.hwcap_mask.
3465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3466         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3467         _dl_hwcap_mask.
3468         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3469         _dl_hwcap_mask.
3470         (process_envvars)[HAVE_TUNABLES]: Likewise.
3471         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3472         Likewise.
3473         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3474         initialize dl_hwcap_mask when tunables are enabled.
3476         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3477         guard.
3478         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3480         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3481         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3482         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3484         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3485         * elf/dl-tunables.c: Likewise.
3486         (do_tunable_update_val): New function.
3487         (__tunable_set_val): New function.
3488         (__tunable_get_val): Call CB only if the tunable was externally
3489         initialized.
3490         (tunables_strtoul): Replace strval with initialized.
3491         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3492         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3493         prevent collision.
3494         (__tunable_set_val): New function.
3495         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3496         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3497         (TUNABLE_SET_VAL): Remove.
3498         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3499         * README.tunables: Document the new macros.
3500         * malloc/arena.c (ptmalloc_init): Adjust.
3502 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3505         wcsnlen-sse4_1 and wcsnlen-c.
3506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3507         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3508         __wcsnlen_sse2.
3509         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3510         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3511         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3512         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3513         * sysdeps/x86_64/wcsnlen.S: Removed.
3515 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3517         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3518         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3519         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3520         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3522 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3524         * NEWS: Mention new spinlock implementation.
3525         * include/atomic.h:
3526         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3527         (atomic_exchange_acq): Likewise.
3528         (atomic_load_relaxed): Likewise.
3529         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3530         * nptl/pthread_spin_init.c (pthread_spin_init):
3531         Use atomic_store_relaxed.
3532         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3533         Use C11-like atomic macros.
3534         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3535         Likewise.
3536         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3537         Use atomic_store_release.
3538         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3539         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3540         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3541         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3542         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3543         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3544         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3545         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3546         * sysdeps/alpha/atomic-machine.h: Likewise.
3547         * sysdeps/arm/atomic-machine.h: Likewise.
3548         * sysdeps/i386/atomic-machine.h: Likewise.
3549         * sysdeps/ia64/atomic-machine.h: Likewise.
3550         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3551         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3552         * sysdeps/microblaze/atomic-machine.h: Likewise.
3553         * sysdeps/mips/atomic-machine.h: Likewise.
3554         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3555         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3556         * sysdeps/s390/atomic-machine.h: Likewise.
3557         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3558         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3559         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3560         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3561         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3562         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3563         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3564         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3565         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3566         * sysdeps/x86_64/atomic-machine.h: Likewise.
3568 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3570         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3571         and use it instead of dl_x86_cpu_features.
3572         (handle_intel): Replace maxidx with cpu_features.  Pass
3573         cpu_features to intel_check_word.
3574         (__cache_sysconf): Pass cpu_features to handle_intel.
3575         (init_cacheinfo): Likewise.  Use cpu_features instead of
3576         dl_x86_cpu_features.
3578 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3580         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3582         memcmp-avx2 and wmemcmp-avx2.
3583         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3584         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3585         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3586         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3587         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3588         2 machines if AVX unaligned load is fast and vzeroupper is
3589         preferred.
3590         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3591         2 machines if AVX unaligned load is fast and vzeroupper is
3592         preferred.
3594 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3596         * include/wchar.h (__wmemset_chk): New.
3597         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3598         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3599         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3600         (WMEMSET_CHK_SYMBOL): Likewise.
3601         (WMEMSET_SYMBOL): Likewise.
3602         (__wmemset): Add hidden definition.
3603         (wmemset): Add weak hidden definition.
3604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3605         wmemset_chk-nonshared.
3606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3607         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3608         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3609         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3610         and __wmemset_chk_avx512_unaligned.
3611         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3612         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3613         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3614         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3615         (WMEMSET_SYMBOL): Likewise.
3616         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3617         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3618         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3619         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3620         (WMEMSET_SYMBOL): Likewise.
3621         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3622         (WMEMSET_CHK_SYMBOL): New.
3623         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3624         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3625         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3626         (libc_hidden_builtin_def): Also define __GI_wmemset and
3627         __GI___wmemset.
3628         (weak_alias): New.
3629         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3630         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3631         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3632         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3633         * sysdeps/x86_64/wmemset.c: Likewise.
3634         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3636 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3637             H.J. Lu  <hongjiu.lu@intel.com>
3639         * sysdeps/x86/init-arch.h (PASTER1): New.
3640         (EVALUATOR1): Likewise.
3641         (PASTER2): Likewise.
3642         (EVALUATOR2): Likewise.
3643         (REDIRECT_NAME): Likewise.
3644         (OPTIMIZE): Likewise.
3645         (IFUNC_SELECTOR): Likewise.
3647 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3649         * sysdeps/x86_64/strlen.S (PMINU): New.
3650         (PCMPEQ): Likewise.
3651         (SHIFT_RETURN): Likewise.
3652         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3653         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3654         pminub with PCMPEQ and PMINU.
3655         * sysdeps/x86_64/wcsnlen.S: New file.
3657 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3659         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3660         the lower 32 bits.  Remove redundant instructions.
3662 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3665         0 as the high part of offset.
3666         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3668 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #21538]
3671         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3672         [__USE_UNIX98].
3673         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3674         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3675         Likewise.
3676         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3677         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3678         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3679         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3680         Likewise.
3682         [BZ #21517]
3683         * bits/types/stack_t.h (stack_t): Remove struct tag.
3684         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3685         Likewise.
3686         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3687         Likewise.
3688         * debug/segfault.c (install_handler): Use stack_t instead of
3689         struct sigaltstack.
3690         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3691         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3692         * include/signal.h (__sigaltstack): Likwise.
3693         * signal/sigaltstack.c (__sigaltstack): Likewise.
3694         * signal/signal.h (sigaltstack): Likewise.
3695         * sysdeps/mach/hurd/i386/signal-defines.sym
3696         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3697         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3698         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3699         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3700         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3701         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3702         elf_prstatus): Likewise.
3703         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3704         Likewise.
3705         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3706         Likewise.
3707         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3710         elf_prstatus): Likewise.
3711         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3712         Likewise.
3713         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3714         Likewise.
3716 2017-06-04  Zack Weinberg  <zackw@panix.com>
3718         * sysdeps/gnu/errlist.c: Regenerate.
3720 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3722         * benchtests/bench-memchr.c (do_test): Print out both length
3723         and position.
3724         (test_main): Also test the position close to the beginning for
3725         memrchr.
3727 2017-06-04  Zack Weinberg  <zackw@panix.com>
3729         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3730         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3731         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3732         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3733         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3734         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3735         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3736         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3737         * nis/nis_print_group_entry.c, nis/nis_remove.c
3738         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3739         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3740         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3741         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3742         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3743         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3744         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3745         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3746         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3747         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3748         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3749         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3750         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3751         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3752         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3753         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3754         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3755         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3756         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3757         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3759         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3760         abi-versions.h as well as shlib-compat.h.
3761         * sunrpc/get_myaddr.c: Remove obsolete comment.
3762         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3763         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3764         * resolv/res_libc.c: Include shlib-compat.h only once.
3766 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3768         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3769         of strdup.
3771 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3773         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3774         Set to the 3/4 of the total shared cache size.
3776 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3778         * manual/errno.texi: Remove redundant error strings.
3779         * manual/macros.texi (@errno): Render the error string in every
3780         description.
3782 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3784         [BZ #21543]
3785         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3786         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3787         [__USE_XOPEN_EXTENDED].
3789 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3791         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3792         strdupa.
3793         (getcanonname): Use __strdup instead of strdup.
3795 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3797         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3798         (CFLAGS-preadv64v2.c): Likewise.
3799         (CFLAGS-pwritev2.c): Likewise.
3800         (CFLAGS-pwritev64v2.c): Likewise.
3802 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3804         Test res_init with several configuration files.
3805         * resolv/Makefile [build-shared] (tests-internal): Add
3806         tst-resolv-res_init, tst-resolv-res_init-thread.
3807         (tst-resolv-res_init): Link against libdl, libresolv.
3808         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3809         libpthread.
3810         * resolv/tst-resolv-res_init.c: New file.
3811         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3812         * resolv/tst-resolv-res_init-thread.c: Likewise.
3813         * support/Makefile (libsupport-routines): Add support-xstat,
3814         support_can_chroot, support_capture_subprocess_check,
3815         support_isolate_in_subprocess, support_shared_allocate,
3816         support_write_file_string, xchroot, xmkdir, xopen.
3817         * support/capture_subprocess.h (enum support_capture_allow): Define.
3818         (support_capture_subprocess_check): Declare.
3819         * support/namespace.h (support_can_chroot)
3820         (support_isolate_in_subprocess): Declare.
3821         * support/support-xstat.c: New file.
3822         * support/support.h (support_shared_allocate, support_shared_free)
3823         (support_write_file_string): Declare.
3824         * support/support_can_chroot.c: New file.
3825         * support/support_capture_subprocess_check.c: Likewise.
3826         * support/support_isolate_in_subprocess.c: Likewise.
3827         * support/support_shared_allocate.c: Likewise.
3828         * support/support_write_file_string.c: Likewise.
3829         * support/xchroot.c: Likwise.
3830         * support/xmkdir.c: Likwise.
3831         * support/xopen.c: Likwise.
3832         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3834 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3836         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3837         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3839 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3841         * malloc/Makefile (routines): Add dynarray_at_failure,
3842         dynarray_emplace_enlarge, dynarray_finalize.
3843         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3844         tst-dynarray-at-fail.
3845         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3846         (tests-special): Add tst-dynarray-mem.out,
3847         tst-dynarray-mem-fail.out.
3848         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3849         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3850         mtrace.
3851         * malloc/Versions (__libc_dynarray_at_failure)
3852         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3853         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3854         GLIBC_PRIVATE.
3855         * malloc/dynarray.h: New file.
3856         * malloc/dynarray-skeleton.c: Likewise.
3857         * malloc/dynarray_at_failure.c: Likewise.
3858         * malloc/dynarray_emplace_enlarge.c: Likewise.
3859         * malloc/dynarray_finalize.c: Likewise.
3860         * malloc/dynarray_resize.c: Likewise.
3861         * malloc/dynarray_resize_clear.c: Likewise.
3862         * malloc/tst-dynarray.c: Likewise.
3863         * malloc/tst-dynarray-fail.c: Likewise.
3864         * malloc/tst-dynarray-at-fail.c: Likewise.
3865         * malloc/tst-dynarray-shared.h: Likewise.
3866         * support/Makefile (libsupport-routines): Add
3867         support_capture_subprocess, xdup2, xpipe.
3868         (tests): Add tst-support_capture_subprocess.
3869         * support/capture_subprocess.h: New file.
3870         * support/support_capture_subprocess.c: Likewise.
3871         * support/tst-support_capture_subprocess.c: Likewise.
3872         * support/xdup2.c: Likewise.
3873         * support/xpipe.c: Likewise.
3874         * support/xunistd.h (xdup2, xpipe): Declare.
3876 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3878         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3879         macros MAX and MIN.
3881 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3883         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3884         [XPG4].
3885         (SA_SIGINFO): Likewise.
3886         (SA_ONSTACK): Likewise.
3887         (SA_RESETHAND): Likewise.
3888         (SA_RESTART): Likewise.
3889         (SA_NOCLDWAIT): Likewise.
3890         (SA_NODEFER): Likewise.
3891         (SS_ONSTACK): Likewise.
3892         (SS_DISABLE): Likewise.
3893         (MINSIGSTKSZ): Likewise.
3894         (SIGSTKSZ): Likewise.
3895         (ucontext_t): Likewise.
3896         (stack_t): Likewise.
3897         (struct sigstack): Likewise.
3898         (SI_USER): Do not expect for [XPG4 || XPG42].
3899         (SI_QUEUE): Likewise.
3900         (SI_TIMER): Likewise.
3901         (SI_ASYNCIO): Likewise.
3902         (SI_MESGQ): Likewise.
3903         (bsd_signal): Do not expect for [XPG4].
3904         (killpg): Likewise.
3905         (sigaltstack): Likewise.
3906         (sighold): Likewise.
3907         (sigignore): Likewise.
3908         (siginterrupt): Likewise.
3909         (sigpause): Likewise.
3910         (sigrelse): Likewise.
3911         (sigset): Likewise.
3912         (sigwait): Do not expect for [XPG4 || XPG42].
3914 2017-06-01  Zack Weinberg  <zackw@panix.com>
3916         [BZ #21514]
3917         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3918         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3920 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3922         [BZ #21457]
3923         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3924         NGREG to __NGREG if [__USE_MISC].
3925         (gregset_t): Define using __NGREG.
3926         (__ctx): New macro.
3927         (mcontext_t): Use __ctx in defining fields.
3928         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3929         define NGREG to __NGREG if [__USE_MISC].
3930         (gregset_t): Define using __NGREG.
3931         (__ctx): New macro.
3932         (__ctxt): Likewise.
3933         (fpregset_t): Use __ctx and __ctxt in defining fields.
3934         (mcontext_t): Likewise.
3935         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3936         define NGREG to __NGREG if [__USE_MISC].
3937         (gregset_t): Define using __NGREG.
3938         (__ctx): New macro.
3939         (mcontext_t): Use __ctx in defining fields.
3940         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3941         define NGREG to __NGREG if [__USE_MISC].
3942         (gregset_t): Define using __NGREG.
3943         (__ctx): New macro.
3944         (fpregset_t): Use __ctx in defining fields.
3945         (mcontext_t): Likewise.
3946         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3947         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3948         (gregset_t): Define using __NGREG.
3949         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3950         [__USE_MISC].
3951         (fpregset_t): Define using __NFPREG.
3952         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3953         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3954         (gregset_t): Define using __NGREG.
3955         (__ctx): New macro.
3956         (fpregset_t): Use __ctx in defining fields.
3957         (mcontext_t): Likewise.
3958         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3959         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3960         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3961         [__USE_MISC].
3962         (gregset_t): Define using __NGREG.
3963         (__ctx): New macro.
3964         (fpregset_t): Use __ctx in defining fields.
3965         (mcontext_t): Likewise.
3966         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3967         (mcontext_t): Use __ctx in defining fields.
3968         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3969         macro.
3970         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3971         __NGREG if [__USE_MISC].
3972         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3973         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3974         (mcontext_t): Likewise.
3975         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3976         __NGREG if [__USE_MISC].
3977         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3978         to __NFPREG if [__USE_MISC].
3979         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3980         to __NVRREG if [__USE_MISC].
3981         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3982         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3983         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3984         [__WORDSIZE != 32] (vrregset_t): Likewise.
3985         [__WORDSIZE != 32] (mcontext_t): Likewise.
3986         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3987         (__psw_t): Use __ctx in defining fields.
3988         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3989         [__USE_MISC].
3990         (gregset_t): Define using __NGREG.
3991         (fpreg_t): Use __ctx in defining fields.
3992         (fpregset_t): Likewise.
3993         (mcontext_t): Likewise.
3994         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3995         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3996         (gregset_t): Define using __NGREG.
3997         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3998         [__USE_MISC].
3999         (fpregset_t): Define using __NFPREG.
4000         (__ctx): New macro.
4001         (mcontext_t): Use __ctx in defining fields.
4002         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4003         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4004         __NGREG if [__USE_MISC].
4005         [__x86_64__] (gregset_t): Define using __NGREG.
4006         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4007         [__x86_64__] (struct _libc_fpstate): Likewise.
4008         [__x86_64__] (mcontext_t): Likewise.
4009         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4010         __NGREG if [__USE_MISC].
4011         [!__x86_64__] (gregset_t): Define using __NGREG.
4012         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4013         [!__x86_64__] (struct _libc_fpstate): Likewise.
4014         [!__x86_64__] (mcontext_t): Likewise.
4016 2017-06-01  Zack Weinberg  <zackw@panix.com>
4018         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4019         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
4020         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4021         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4022         libpthread.so no longer references __errno_location.
4024 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4026         * NEWS: Add note about pwritev2 and preadv2 inclusion.
4027         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4028         pwritev64v2.
4029         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4030         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4031         pwritev64v2.
4032         * misc/preadv2.c: New file.
4033         * misc/preadv64v2.c: Likewise.
4034         * misc/pwritev2.c: Likewise.
4035         * misc/pwritev64v2.c: Likewise.
4036         * misc/tst-preadvwritev2.c: Likewise.
4037         * misc/tst-preadvwritev64v2.c: Likewise.
4038         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4039         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4040         prototype.
4041         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4042         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4043         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4044         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4045         (PWRITEV): Likewise.
4046         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4047         ENOSYS.
4048         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4049         (tf_preadv2): Likewise.
4050         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4051         * sysdeps/posix/preadv2.c: Likewise.
4052         * sysdeps/posix/preadv64v2.c: Likewise.
4053         * sysdeps/posix/pwritev2.c: Likewise.
4054         * sysdeps/posix/pwritev64v2.c: Likewise.
4055         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4056         support in kernel.
4057         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4058         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4059         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4060         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4061         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4062         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4063         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4064         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4065         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4066         support flags on Linux.
4067         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4068         preadv2, preadv64v2, pwritev2, pwritev64v2.
4069         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4070         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4071         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4072         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4073         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4074         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4075         Likewise.
4076         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4077         Likewise.
4078         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4079         Likewise.
4080         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4081         Likewise.
4082         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4083         Likewise.
4084         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4085         Likewise.
4086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4087         Likewise.
4088         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4090         (GLIBC_2.26): Likewise.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4092         (GLIBC_2.26): Likewise.
4093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4094         Likewise.
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4096         (GLIBC_2.26): Likewise.
4097         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4098         Likewise.
4099         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4102         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4103         Likewise.
4104         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4105         Likewise.
4106         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4107         Likewise.
4108         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4109         Likewise.
4110         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4111         Likewise.
4112         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4113         Likewise.
4114         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4115         Likewise.
4117 2017-05-31  Andreas Schwab  <schwab@suse.de>
4119         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4120         (main): Rename to do_test and make static.
4122 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4124         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4125         ARCH_INIT_CPU_FEATURES.
4126         (LIBC_START_MAIN): Call it.
4127         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4128         (__libc_start_main): Remove.
4129         (ARCH_INIT_CPU_FEATURES): New macro.
4130         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4131         (ARCH_INIT_CPU_FEATURES): New macro.
4133 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4134             RĂŒdiger Sonderfeld  <ruediger@c-plusplus.de>
4136         * include/stdlib.h (__libc_reallocarray): New declaration.
4137         * malloc/Makefile (routines): Add reallocarray.
4138         (tests): Add tst-reallocarray.c.
4139         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4140         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4141         function.
4142         * malloc/malloc.h (reallocarray): New declaration.
4143         * stdlib/stdlib.h (reallocarray): Likewise.
4144         * malloc/reallocarray.c: New file.
4145         * malloc/tst-reallocarray.c: New test file.
4146         * manual/memory.texi: Document reallocarray.
4147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4149         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4162         Likewise.
4163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4164         Likewise.
4165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4169         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4170         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4171         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4174         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4175         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4176         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4178 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4180         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4181         the lower 32 bits.
4183 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4185         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4186         $(build-pie-default) = yes]: Define.
4188 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4190         * string/test-memchr.c (test_main): Add tests for n == 0.
4192 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4194         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4195         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4196         (tests-internal): ... here.
4198 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4199              H.J. Lu  <hongjiu.lu@intel.com>
4201         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4202         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4203         (__tunable_set_val): Likewise.
4205 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4207         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4208         dl-tunables.list in subdirectories.
4210 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4211             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4212             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4214         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4215         (SNANF128): New macro.
4216         * math/e_sqrtf128.c: New file.
4217         * math/s_fmaxmag_template.c: Include math_private.h in order to
4218         make inline expansion of fabs128().
4219         * math/s_fminmag_template.c: Likewise.
4221         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4222         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4223         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4224         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4225         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4226         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4227         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4228         * sysdeps/ieee754/float128/e_expf128.c: New file.
4229         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4230         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4231         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4232         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4233         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4234         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4235         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4236         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4237         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4238         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4239         * sysdeps/ieee754/float128/e_logf128.c: New file.
4240         * sysdeps/ieee754/float128/e_powf128.c: New file.
4241         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4242         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4243         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4244         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4245         * sysdeps/ieee754/float128/float128_private.h: New file.
4246         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4247         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4248         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4249         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4250         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4251         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4252         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4253         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4254         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4255         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4256         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4257         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4258         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4259         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4260         * sysdeps/ieee754/float128/s_erff128.c: New file.
4261         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4262         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4263         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4264         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4265         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4266         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4267         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4268         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4269         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4270         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4271         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4272         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4273         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4274         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4275         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4276         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4277         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4278         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4279         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4280         * sysdeps/ieee754/float128/s_modff128.c: New file.
4281         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4282         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4283         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4284         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4285         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4286         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4287         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4288         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4289         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4290         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4291         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4292         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4293         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4294         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4295         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4296         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4297         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4298         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4299         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4300         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4301         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4302         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4303         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4304         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4305         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4307         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4308         (__iscanonicalf128): Define as a macro.
4310 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4312         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4313         (memmove): Use MEMMOVE for name.
4314         (memcpy): Use MEMCPY for name.  Change internal labels
4315         to external labels.
4316         * sysdeps/aarch64/multiarch/Makefile: New file.
4317         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4318         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4319         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4320         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4321         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4322         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4324 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4326         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4327         (_dl_arm_cap_flags): Fix array subscript.
4328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4329         Fix count.
4331 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4333         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4335 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4337         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4338         (is_amd): Likewise.
4339         (max_cpuid): Likewise.
4340         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4341         (init_cacheinfo): Likewise.
4343 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4345         [BZ #21511]
4346         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4347         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4348         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4349         !__USE_XOPEN2K) || __USE_MISC].
4350         * conform/data/signal.h-data (struct sigstack): Expect type only
4351         if [!XOPEN2K8 && !POSIX2008].
4352         (sigstack): Expect function only if [XPG42 || UNIX98].
4354         [BZ #21457]
4355         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4356         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4357         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4358         <bits/types/__sigset_t.h>.
4359         (ucontext_t): Use sigset_t instead of __sigset_t.
4360         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4361         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4362         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4363         <bits/types/__sigset_t.h>.
4364         (ucontext_t): Use sigset_t instead of __sigset_t.
4365         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4366         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4367         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4368         <bits/types/__sigset_t.h>.
4369         (ucontext_t): Use sigset_t instead of __sigset_t.
4370         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4371         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4372         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4373         <bits/types/__sigset_t.h>.
4374         (ucontext_t): Use sigset_t instead of __sigset_t.
4375         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4376         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4377         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4378         <bits/types/__sigset_t.h>.
4379         (ucontext_t): Use sigset_t instead of __sigset_t.
4380         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4381         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4382         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4383         <bits/types/__sigset_t.h>.
4384         (ucontext_t): Use sigset_t instead of __sigset_t.
4385         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4386         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4387         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4388         <bits/types/__sigset_t.h>.
4389         (ucontext_t): Use sigset_t instead of __sigset_t.
4390         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4391         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4392         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4393         <bits/types/__sigset_t.h>.
4394         (ucontext_t): Use sigset_t instead of __sigset_t.
4395         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4396         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4397         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4398         <bits/types/__sigset_t.h>.
4399         (ucontext_t): Use sigset_t instead of __sigset_t.
4400         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4401         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4402         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4403         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4404         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4405         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4406         <bits/types/__sigset_t.h>.
4407         (ucontext_t): Use sigset_t instead of __sigset_t.
4408         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4409         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4410         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4411         <bits/types/__sigset_t.h>.
4412         (ucontext_t): Use sigset_t instead of __sigset_t.
4413         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4414         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4415         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4416         <bits/types/__sigset_t.h>.
4417         (ucontext_t): Use sigset_t instead of __sigset_t.
4418         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4419         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4420         <bits/ss_flags.h>.
4421         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4422         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4423         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4424         <bits/types/__sigset_t.h>.
4425         (ucontext_t): Use sigset_t instead of __sigset_t.
4426         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4427         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4428         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4429         <bits/types/__sigset_t.h>.
4430         (ucontext_t): Use sigset_t instead of __sigset_t.
4431         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4432         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4433         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4434         <bits/types/__sigset_t.h>.
4435         (ucontext_t): Use sigset_t instead of __sigset_t.
4436         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4437         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4438         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4439         <bits/types/__sigset_t.h>.
4440         (ucontext_t): Use sigset_t instead of __sigset_t.
4441         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4442         <bits/types.h>.
4443         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4444         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4445         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4446         <bits/types/__sigset_t.h>.
4447         (ucontext_t): Use sigset_t instead of __sigset_t.
4449 2017-05-22  Zack Weinberg  <zackw@panix.com>
4451         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4452         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4453         bits/siginfo-arch.h, only if not already defined.
4454         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4455         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4456         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4457         Likewise.
4459         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4460         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4461         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4462         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4463         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4464         Unconditionally define __SI_* macros.
4466 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4468         [BZ #21393]
4469         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4470         and add a check for dup3 failure.
4471         * libio/freopen64.c (freopen64): Likewise.
4472         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4473         libsupport.
4474         (do_test_bz21398): New test.
4475         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4477 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4480         Remove invalid comment.
4482 2017-05-21  Zack Weinberg  <zackw@panix.com>
4484         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4486 2017-05-20  Zack Weinberg  <zackw@panix.com>
4488         * bits/sigevent-consts.h
4489         * bits/siginfo-consts.h
4490         * bits/types/__sigset_t.h
4491         * bits/types/sigevent_t.h
4492         * bits/types/siginfo_t.h
4493         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4494         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4495         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4496         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4497         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4498         New system-dependent bits headers.
4500         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4501         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4502         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4503         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4504         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4505         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4506         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4507         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4508         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4509         New Linux-only system-dependent bits headers.
4511         * signal/bits/types/sig_atomic_t.h
4512         * signal/bits/types/sigset_t.h
4513         * signal/bits/types/sigval_t.h:
4514         New non-system-dependent bits headers.
4516         * sysdeps/generic/sigsetops.h
4517         * sysdeps/unix/sysv/linux/sigsetops.h:
4518         New internal headers.
4520         * include/bits/types/sig_atomic_t.h
4521         * include/bits/types/sigset_t.h
4522         * include/bits/types/sigval_t.h:
4523         New wrappers.
4525         * signal/sigsetops.h
4526         * bits/siginfo.h
4527         * bits/sigset.h
4528         * sysdeps/unix/sysv/linux/bits/siginfo.h
4529         * sysdeps/unix/sysv/linux/bits/sigset.h
4530         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4531         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4532         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4533         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4534         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4535         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4536         Deleted.
4538         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4539         Update lists of installed headers.
4541         * posix/bits/types.h: Define __sig_atomic_t here.
4542         * signal/signal.h: Use the new bits headers; no need to handle
4543         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4544         to define sigmask.
4545         * include/signal.h: No need to handle __need_sig_atomic_t
4546         nor __need_sigset_t.  Don't define __sigemptyset.
4548         * io/sys/poll.h, setjmp/setjmp.h
4549         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4550         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4551         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4552         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4553         * sysdeps/pthread/bits/sigthread.h
4554         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4555         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4556         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4557         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4558         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4559         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4560         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4562         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4563         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4564         Use bits/types/__sigset_t.h.
4566         * misc/sys/select.h, posix/spawn.h
4567         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4568         * sysdeps/unix/sysv/linux/sys/epoll.h
4569         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4570         Use bits/types/sigset_t.h.
4572         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4573         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4574         * socket/sys/socket.h: Don't include bits/sigset.h.
4576         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4577         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4578         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4579         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4580         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4581         * sysdeps/unix/sysv/linux/nptl-signals.h:
4582         Include sigsetops.h.
4584         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4585         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4586         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4587         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4588         now return no value.
4590         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4591         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4592         "sigsetops.h".
4594         * signal/sigsetops.c: Explicitly define __sigismember,
4595         __sigaddset, and __sigdelset as compatibility symbols.
4597         * signal/Versions: Correct commentary on __sigpause,
4598         __sigaddset, __sigdelset, __sigismember.
4600         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4601         __sigblock/__sigsetmask to use __sigprocmask and friends.
4603         * resolv/resolv.h: Remove __need_res_state logic.
4604         Move definition of res_state and related constants to ...
4605         * resolv/bits/types/res_state.h: ...this new file.
4606         * resolv/Makefile: Install bits/types/res_state.h.
4607         * include/bits/types/res_state.h: New wrapper.
4608         * include/list.h: Remove __need_list_t logic.
4609         Move definition of list_t to ...
4610         * include/list_t.h: ...this new file.
4612         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4613         instead of list.h and resolv.h.
4615         * resolv/resolv.h: Remove __need_res_state logic.
4616         Move definition of res_state and related constants to ...
4617         * resolv/bits/types/res_state.h: ...this new file.
4618         * resolv/Makefile: Install bits/types/res_state.h.
4619         * include/bits/types/res_state.h: New wrapper.
4620         * include/list.h: Remove __need_list_t logic.
4621         Move definition of list_t to ...
4622         * include/list_t.h: ...this new file.
4624         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4625         instead of list.h and resolv.h.
4627 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4629         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4631 2017-05-20  Zack Weinberg  <zackw@panix.com>
4633         * sysdeps/arm/sysdep.h
4634         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4636         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4637         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4638         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4639         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4640         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4641         * sysdeps/arm/armv6t2/strlen.S
4642         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4643         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4644         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4645         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4646         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4647         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4649 2017-05-20  Zack Weinberg  <zackw@panix.com>
4651         Remove the NaCl port.
4652         * sysdeps/arm/nacl: Remove directory and contents.
4653         * sysdeps/nacl: Remove directory and contents.
4654         * abi-tags: Remove .*-.*-nacl.* entry.
4656 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4658         * manual/errno.texi: Convert @comment-based errno documentation to
4659         @errno.
4660         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4661         their values, and messages, adding the error string to the Concept
4662         Index.  Provide a warning in the comment about external (to the
4663         manual) dependencies.
4664         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4665         * sysdeps/mach/hurd/errnos.awk: Likewise.
4667 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4669         * bits/ss_flags.h: New file.
4670         * bits/types/stack_t.h: Likewise.
4671         * include/bits/types/struct_sigstack.h: Likewise.
4672         * signal/bits/types/struct_sigstack.h: Likewise.
4673         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4674         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4675         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4676         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4677         bits/types/stack_t.h and bits/ss_flags.h.
4678         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4679         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4680         <bits/ss_flags.h>.
4681         * bits/sigstack.h (struct sigstack): Remove.
4682         (stack_t): Likewise.
4683         (SS_ONSTACK): Likewise.
4684         (SS_DISABLE): Likewise.
4685         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4686         (struct sigstack): Likewise.
4687         (stack_t): Likewise.
4688         (SS_ONSTACK): Likewise.
4689         (SS_DISABLE): Likewise.
4690         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4691         Likewise.
4692         (stack_t): Likewise.
4693         (SS_ONSTACK): Likewise.
4694         (SS_DISABLE): Likewise.
4695         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4696         Likewise.
4697         (stack_t): Likewise.
4698         (SS_ONSTACK): Likewise.
4699         (SS_DISABLE): Likewise.
4700         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4701         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4702         Likewise.
4703         (stack_t): Likewise.
4704         (SS_ONSTACK): Likewise.
4705         (SS_DISABLE): Likewise.
4706         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4707         (struct sigstack): Likewise.
4708         (stack_t): Likewise.
4709         (SS_ONSTACK): Likewise.
4710         (SS_DISABLE): Likewise.
4711         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4712         Likewise.
4713         (stack_t): Likewise.
4714         (SS_ONSTACK): Likewise.
4715         (SS_DISABLE): Likewise.
4716         * sysdeps/arm/sys/ucontext.h: Include
4717         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4718         <bits/ss_flags.h>.
4719         * sysdeps/generic/sys/ucontext.h: Likewise.
4720         * sysdeps/i386/sys/ucontext.h: Likewise.
4721         * sysdeps/m68k/sys/ucontext.h: Likewise.
4722         * sysdeps/mips/sys/ucontext.h: Likewise.
4723         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4724         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4725         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4726         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4727         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4728         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4729         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4730         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4731         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4732         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4733         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4734         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4735         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4736         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4737         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4739 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4741         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4742         "edx + ecx - 16" to avoid possible addition overflow.
4743         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4745 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4747         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4748         (CFLAGS-splice.c): Likewise.
4749         (CFLAGS-open_by_handle_at.c): Likewise.
4750         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4751         (CFLAGS-splice.c): Likewise.
4752         (CFLAGS-open_by_handle_at.c): Likewise.
4754 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4756         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4757         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4758         <ldbl-compat-choose.h>.
4759         (maybe_long_double_symbol): New macro.
4760         [!declare_mgen_alias] (declare_mgen_alias): Use
4761         maybe_long_double_symbol.
4762         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4763         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4764         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4765         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4766         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4767         * Makerules [$(build-shared) = yes && !avoid-generated]
4768         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4769         [$(build-shared) = yes && !avoid-generated]
4770         ($(common-objpfx)ldbl-compat-choose.h): New target.
4772         * scripts/versions.awk: Generate first-versions.h.
4773         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4774         <first-versions.h>.
4775         (LDOUBLE_cabsl_libm_version): Remove macro.
4776         (LDOUBLE_cargl_libm_version): Likewise.
4777         (LDOUBLE_cimagl_libm_version): Likewise.
4778         (LDOUBLE_conjl_libm_version): Likewise.
4779         (LDOUBLE_creall_libm_version): Likewise.
4780         (LDOUBLE_cacosl_libm_version): Likewise.
4781         (LDOUBLE_cacoshl_libm_version): Likewise.
4782         (LDOUBLE_ccosl_libm_version): Likewise.
4783         (LDOUBLE_ccoshl_libm_version): Likewise.
4784         (LDOUBLE_casinl_libm_version): Likewise.
4785         (LDOUBLE_csinl_libm_version): Likewise.
4786         (LDOUBLE_casinhl_libm_version): Likewise.
4787         (LDOUBLE_csinhl_libm_version): Likewise.
4788         (LDOUBLE_catanl_libm_version): Likewise.
4789         (LDOUBLE_catanhl_libm_version): Likewise.
4790         (LDOUBLE_ctanl_libm_version): Likewise.
4791         (LDOUBLE_ctanhl_libm_version): Likewise.
4792         (LDOUBLE_cexpl_libm_version): Likewise.
4793         (LDOUBLE_clogl_libm_version): Likewise.
4794         (LDOUBLE_cprojl_libm_version): Likewise.
4795         (LDOUBLE_csqrtl_libm_version): Likewise.
4796         (LDOUBLE_cpowl_libm_version): Likewise.
4797         (LDOUBLE_clog10l_libm_version): Likewise.
4798         (LDOUBLE___clog10l_libm_version): Likewise.
4799         (LDOUBLE_fdiml_libm_version): Likewise.
4800         (LDOUBLE_fmaxl_libm_version): Likewise.
4801         (LDOUBLE_fminl_libm_version): Likewise.
4802         (LDOUBLE_ilogbl_libm_version): Likewise.
4803         (LDOUBLE_nanl_libm_version): Likewise.
4804         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4805         FIRST_VERSION_libm_* macros.
4806         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4807         * Makerules [$(build-shared) = yes && !avoid-generated]
4808         (before-compile): Add $(common-objpfx)first-versions.h.
4809         [$(build-shared) = yes && !avoid-generated]
4810         ($(common-objpfx)first-versions.h): New target.
4811         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4812         building $(common-objpfx)versions.stmp.
4814 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4816         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4817         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4818         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4819         auto-generation list.
4821         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4822         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4823         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4824         from auto-generation list.
4826         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4827         open_by_handle_at.
4828         (CFLAGS-open_by_handle_at.c): New flag.
4829         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4830         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4831         file.
4832         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4834         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4835         (CFLAGS-splice.c): New flag.
4836         * sysdeps/unix/sysv/linux/splice.c: New file.
4837         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4838         auto-generation syscall list.
4839         * misc/Makefile (CFLAGS-splice.c): New rule.
4841         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4842         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4843         auto-generation syscall list.
4844         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4845         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4847         * misc/Makefile (CFLAGS-fsync.c): New flag.
4848         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4849         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4850         syscall list.
4851         * sysdeps/unix/sysv/linux/fsync.c: New file.
4852         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4853         (__errno_location): Remove.
4855         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4856         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4857         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4858         list.
4859         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4861         * misc/Makefile (CFLAGS-msync.c): New rule.
4862         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4863         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4864         * sysdeps/unix/sysv/linux/msync.c: New file.
4866         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4867         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4868         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4869         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4870         (CFLAGS-sigsuspend.c): Remove rule.
4872         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4873         (CFLAGS-tee.c): New rule.
4874         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4875         auto-generated list.
4876         * sysdeps/unix/sysv/linux/tee.c: New file.
4878         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4879         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4880         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4881         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4882         auto-generated list.
4884         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4885         auto-generated list.
4886         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4887         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4888         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4889         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4892         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4893         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4894         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4895         (__NR_pause): Undefine.
4896         * sysdeps/unix/sysv/linux/pause.c: New file.
4897         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4898         auto-generation list.
4899         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4900         Remove rule.
4901         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4903 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4905         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4906         comments.
4908 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4910         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4911         LD_HWCAP_MASK.
4913 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4915         * manual/conf.texi: Convert @tables of annotated @items to
4916         @vtables.
4917         * manual/lang.texi: Likewise.
4918         * manual/pattern.texi: Likewise.
4919         * manual/resource.texi: Likewise.
4920         * manual/socket.texi: Likewise.
4922 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4924         * manual/crypt.texi: Move a comment out of an @*x list.
4925         * manual/filesys.texi: Refactor some comments, one of which looks
4926         like a standard.  Fix incorrectly separated standards.
4927         * manual/locale.texi: Invert an annotation.
4928         * manual/resource.texi: Fix incorrectly separated standards.
4929         * manual/time.texi: Refactor a @vtable that obscures an
4930         annotation.
4931         * manual/users.texi: Refactor multiple headers to occupy a single
4932         @comment.
4934 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4936         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4937         (sysdep_routines): Add memcmp-power8.
4938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4939         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4940         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4941         (memcmp): Add __memcmp_power8 to ifunc list.
4942         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4943         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4945 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4946             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4948         * math/math.h (__MATH_TG): Extend the conditions to add
4949         _Float128 support.
4950         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4952 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4954         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4955         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4956         s_cosf-ppc64.
4957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4960         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4962 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4964         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4965         (gen-libm-calls): Add e_exp2F to use the template.
4966         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4967         * math/e_exp2_template.c: New file, renamed from
4968         math/e_exp2l.c, and made into a template.
4969         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4971 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4973         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4974         TUNABLE_TYPE_UINT_64.
4975         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4976         Simplify computation of overflow.
4977         (tunable_set_val_if_valid_range_signed,
4978         tunable_set_val_if_valid_range_unsigned): Remove and replace
4979         with this...
4980         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4981         (tunable_initialize): Adjust.  Add uint64_t support.
4982         (__tunable_set_val): Add uint64_t support.
4983         * README.tunables: Document it.
4985         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4986         dl-tunables.list.
4987         * README.tunables: Document it.
4989 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4991         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4992         * sysdeps/posix/preadv64.c: Likewise.
4993         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4994         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4995         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4996         * sysdeps/posix/pwritev64.c: Likewise.
4997         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4998         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4999         * sysdeps/posix/preadv_common.c: New file.
5000         * sysdeps/posix/pwritev_common.c: Likewise.
5002 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5004         * sysdeps/generic/math-type-macros-float128.h
5005         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5006         wrapper templates.
5008 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5009             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5011         * include/complex.h (__kernel_casinhf128): New declaration.
5012         * include/float.h: New file.
5013         * include/math.h (__finitef128): Add a hidden def.
5014         (__isinff128): Likewise.
5015         (__isnanf128): Likewise.
5016         (__fpclassify): Likewise.
5017         (__issignalling): Likewise.
5018         (__expf128): Likewise.
5019         (__expm1f128): Likewise.
5021         * sysdeps/generic/fix-fp-int-convert-overflow.h:
5022         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5023         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5025         * sysdeps/generic/math-type-macros-float128.h: New file.
5027         * sysdeps/generic/math_private.h: Include bits/floatn.h and
5028         math_private_calls.h for _Float128.
5029         (__isinff128): New inline implementation used when GCC < 7.0,
5030         since in this case __builtin_isinf_sign is broken.
5031         (fabsf128): New inline implementation that calls the builtin.
5032         (__EXPR_FLT128): New macro.
5033         (min_of_type): Optionally include _Float128 types too.
5035         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5036         Declare for _Float128.
5037         (__kernel_rem_pio2): Likewise.
5039         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5040         (__DECL_SIMD_sincos_disablef128): New macro.
5042 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5044         * math/math.h: Include bits/math-finite.h for float128.
5045         (__MATH_DECLARING_FLOATN): Define to control declaration of
5046         float128 functions.
5047         * math/bits/math-finite.h (pow10): Do not declare for float128.
5048         (gamma): Likewise.
5049         (scalb): Likewise.
5051 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5052             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5054         * bits/floatn.h: New file.
5055         * bits/huge_val_flt128.h: Likewise.
5057         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5058         (__DECL_SIMD_sinf128): Likewise.
5059         (__DECL_SIMD_sincosf128): Likewise.
5060         (__DECL_SIMD_logf128): Likewise.
5061         (__DECL_SIMD_expf128): Likewise.
5062         (__DECL_SIMD_powf128): Likewise.
5064         * math/Makefile (headers): Install bits/floatn.h and
5065         bits/huge_val_flt128.h.
5067         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5068         defined.
5070         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5071         (isnan, gamma, nexttoward, scalb): Only define if not
5072         __MATH_DECLARING_FLOATN.
5073         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5074         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5075         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5076         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5078         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5079         Include bits/cmathcalls.h to get the declarations of _Float128
5080         versions of complex functions.
5081         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5082         Define macro.
5084         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5085         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5086         get the declarations of _Float128 versions of math functions.
5087         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5088         _FloatN types.
5089         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5090         is type-generic, so use it without __MATH_TG.
5091         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5092         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5093         _Float128 type and GCC < 7.0, otherwise use the builtin.
5094         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5095         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5096         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5097         New _GNU_SOURCE enabled macros.
5099 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5101         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5102         (signbitf): Likewise.
5103         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5104         Likewise.
5105         (signbitl): Likewise.
5106         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5107         Likewise.
5108         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5109         (signbitl): Likewise.
5110         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5112 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5114         [BZ #21386]
5115         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5116         parent PID.  The assertion in the child is incorrect with PID
5117         namespaces.
5119 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5121         * sysdeps/unix/sysv/linux/kernel-features.h
5122         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5123         * sysdeps/unix/sysv/linux/internal_statvfs.c
5124         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5126 2017-05-11  Zack Weinberg  <zackw@panix.com>
5128         * Makerules: New subdir configuration variables 'tests-internal'
5129         and 'test-internal-extras'.  Test files in these categories will
5130         still be compiled with MODULE_NAME=nonlib.  Test files in the
5131         existing categories (tests, xtests, test-srcs, test-extras) are
5132         now compiled with MODULE_NAME=testsuite.
5133         New subdir configuration variable 'modules-names-tests'.  Files
5134         which are in both 'modules-names' and 'modules-names-tests' will
5135         be compiled with MODULE_NAME=testsuite instead of
5136         MODULE_NAME=extramodules.
5137         (gen-as-const-headers): Move to tests-internal.
5138         (do-tests-clean, common-mostlyclean): Support tests-internal.
5139         * Makeconfig (built-modules): Add testsuite.
5140         * Makefile: Change libof-check-installed-headers-c and
5141         libof-check-installed-headers-cxx to 'testsuite'.
5142         * Rules: Likewise.  Support tests-internal.
5143         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5144         Remove extra-modules.mk.
5146         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5147         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5148         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5149         very top of the file and rationalize their order.
5150         If MODULE_NAME is not defined at all, define IS_IN to always be
5151         false, and don't define _ISOMAC.
5152         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5153         true, define _ISOMAC and suppress everything else in this file,
5154         starting with the inclusion of config.h.
5155         Do check for inappropriate definitions of __OPTIMIZE__ and
5156         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5157         Correct some out-of-date commentary.
5159         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5160         and _Mlong_double_ before including math.h.
5161         * include/string.h: If _ISOMAC is defined, don't expose
5162         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5163         location.
5165         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5166         * include/time.h, include/unistd.h, include/wchar.h: No need to
5167         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5169         * misc/sys/cdefs.h (__NTHNL): New macro.
5170         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5171         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5173         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5174         defined, for HAVE_TUNABLES.
5175         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5176         * intl/tst-gettext2.c: Provide own definition of N_.
5177         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5178         * math/test-signgam-main.c: No need to define _ISOMAC.
5179         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5180         * stdlib/tst-strtod1i.c: ...this new file.
5181         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5182         Split tests of __strtod_internal to...
5183         * stdlib/tst-strtod5i.c: ...this new file.
5184         * string/test-string.h: Include stdint.h. Duplicate definition of
5185         inhibit_loop_to_libcall here (from libc-symbols.h).
5186         * string/test-strstr.c: Provide dummy definition of
5187         libc_hidden_builtin_def when including strstr.c.
5188         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5189         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5190         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5191         Don't include init-arch.h.
5192         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5193         Don't include init-arch.h.
5195         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5196         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5197         unload, unload2, circleload1, neededtest, neededtest2,
5198         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5199         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5200         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5201         ifunc tests to tests-internal.
5202         Don't add $(modules-names) to test-extras.
5203         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5204         Add tst-deadline to tests-static-internal.
5205         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5206         tests-internal.
5207         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5208         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5209         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5210         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5211         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5212         Link tests-internal with libpthread also.
5213         Don't add $(modules-names) to test-extras.
5214         * nss/Makefile: Move tst-field to tests-internal.
5215         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5216         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5217         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5218         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5219         tests-internal.
5220         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5221         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5222         test-get_hwcap-static to tests-internal.
5223         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5224         tests-internal.
5225         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5226         modules-names-tests.
5228 2017-05-11  Zack Weinberg  <zackw@panix.com>
5230         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5231         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5232         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5233         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5234         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5235         already defined.
5236         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5237         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5238         appropriately.
5239         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5240         Define _IO_lock_t_defined after defining _IO_lock_t.
5242 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5244         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5245         void* for argument type and use VDSO_SYMBOL macro.
5246         (is_sigtramp_address_rt): Likewise.
5247         (__backtrace): Setup expected frame pointer address for signal
5248         handling.
5249         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5250         void* for argumetn type and use VSDO_SYMBOL macro.
5251         (__backtrace): Setup expected frame pointer address for signal
5252         handling.
5254         * sysdeps/unix/sysv/linux/writev.c: New file.
5256         * sysdeps/unix/sysv/linux/readv.c: New file.
5258         * include/unistd.h (write): Add hidden proto.
5259         * io/Makefile (CFLAGS-write.c): New define.
5260         * nptl/Makefile (CFLAGS-write.c): Likewise.
5261         * sysdeps/unix/sysv/linux/write.c: New file.
5263         [BZ #21428]
5264         * include/unistd.h (read): Add hidden proto.
5265         * io/Makefile (CFLAGS-read.c): New define.
5266         * nptl/Makefile (CFLAGS-read.c): Likewise.
5267         * sysdeps/unix/sysv/linux/read.c: New file.
5269         * io/Makefile (CFLAGS-creat.c): New rule.
5270         (CFLAGS-creat64.c): Likewise.
5271         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5272         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5273         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5274         * sysdeps/unix/sysv/linux/creat.c: New file.
5275         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5276         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5277         auto-generated list.
5278         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5280         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5281         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5282         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5283         * sysdeps/unix/sysv/linux/open.c: New file.
5284         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5285         iff __WORDSIZE != 64 and use __NR_openat when available.
5286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5287         from auto-generated list.
5289         * nptl/Makefile (CFLAGS-close.c): New flag.
5290         * sysdeps/unix/sysv/linux/close.c: New file.
5292 2017-05-11  DJ Delorie  <dj@redhat.com>
5294         * MAINTAINERS: New.  Points to wiki.
5296 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5298         * scripts/gen-tunables.awk: Add attribute_relro to
5299         tunable_list.
5301 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5303         [BZ #21457]
5304         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5305         (R1): Likewise.
5306         (R2): Likewise.
5307         (R3): Likewise.
5308         (R4): Likewise.
5309         (R5): Likewise.
5310         (R6): Likewise.
5311         (R7): Likewise.
5312         (R8): Likewise.
5313         (R9): Likewise.
5314         (R10): Likewise.
5315         (R11): Likewise.
5316         (R12): Likewise.
5317         (R13): Likewise.
5318         (R14): Likewise.
5319         (R15): Likewise.
5320         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5321         (REG_FS): Likewise.
5322         (REG_ES): Likewise.
5323         (REG_DS): Likewise.
5324         (REG_EDI): Likewise.
5325         (REG_ESI): Likewise.
5326         (REG_EBP): Likewise.
5327         (REG_ESP): Likewise.
5328         (REG_EBX): Likewise.
5329         (REG_EDX): Likewise.
5330         (REG_ECX): Likewise.
5331         (REG_EAX): Likewise.
5332         (REG_TRAPNO): Likewise.
5333         (REG_ERR): Likewise.
5334         (REG_EIP): Likewise.
5335         (REG_CS): Likewise.
5336         (REG_EFL): Likewise.
5337         (REG_UESP): Likewise.
5338         (REG_SS): Likewise.
5339         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5340         (R_D1): Likewise.
5341         (R_D2): Likewise.
5342         (R_D3): Likewise.
5343         (R_D4): Likewise.
5344         (R_D5): Likewise.
5345         (R_D6): Likewise.
5346         (R_D7): Likewise.
5347         (R_A0): Likewise.
5348         (R_A1): Likewise.
5349         (R_A2): Likewise.
5350         (R_A3): Likewise.
5351         (R_A4): Likewise.
5352         (R_A5): Likewise.
5353         (R_A6): Likewise.
5354         (R_A7): Likewise.
5355         (R_SP): Likewise.
5356         (R_PC): Likewise.
5357         (R_PS): Likewise.
5358         (fpregset_t): Likewise.
5359         (MCONTEXT_VERSION): Likewise.
5360         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5361         (CTX_AT): Likewise.
5362         (CTX_V0): Likewise.
5363         (CTX_V1): Likewise.
5364         (CTX_A0): Likewise.
5365         (CTX_A1): Likewise.
5366         (CTX_A2): Likewise.
5367         (CTX_A3): Likewise.
5368         (CTX_T0): Likewise.
5369         (CTX_T1): Likewise.
5370         (CTX_T2): Likewise.
5371         (CTX_T3): Likewise.
5372         (CTX_T4): Likewise.
5373         (CTX_T5): Likewise.
5374         (CTX_T6): Likewise.
5375         (CTX_T7): Likewise.
5376         (CTX_S0): Likewise.
5377         (CTX_S1): Likewise.
5378         (CTX_S2): Likewise.
5379         (CTX_S3): Likewise.
5380         (CTX_S4): Likewise.
5381         (CTX_S5): Likewise.
5382         (CTX_S6): Likewise.
5383         (CTX_S7): Likewise.
5384         (CTX_T8): Likewise.
5385         (CTX_T9): Likewise.
5386         (CTX_K0): Likewise.
5387         (CTX_K1): Likewise.
5388         (CTX_GP): Likewise.
5389         (CTX_SP): Likewise.
5390         (CTX_S8): Likewise.
5391         (CTX_RA): Likewise.
5392         (CTX_MDLO): Likewise.
5393         (CTX_MDHI): Likewise.
5394         (CTX_CAUSE): Likewise.
5395         (CTX_EPC): Likewise.
5396         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5397         inclusion of <sys/procfs.h> on [__USE_MISC].
5398         (greg_t): Condition on [__USE_MISC].
5399         (gregset_t): Likewise.
5400         (fpregset_t): Likewise.
5401         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5402         (NGREG): Likewise.
5403         (gregset_t): Likewise.
5404         (REG_R0): Likewise.
5405         (REG_R1): Likewise.
5406         (REG_R2): Likewise.
5407         (REG_R3): Likewise.
5408         (REG_R4): Likewise.
5409         (REG_R5): Likewise.
5410         (REG_R6): Likewise.
5411         (REG_R7): Likewise.
5412         (REG_R8): Likewise.
5413         (REG_R9): Likewise.
5414         (REG_R10): Likewise.
5415         (REG_R11): Likewise.
5416         (REG_R12): Likewise.
5417         (REG_R13): Likewise.
5418         (REG_R14): Likewise.
5419         (REG_R15): Likewise.
5420         (struct _libc_fpstate): Likewise.
5421         (fpregset_t): Likewise.
5422         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5423         (NFPREG): Likewise.
5424         (gregset_t): Likewise.
5425         (fpregset_t): Likewise.
5426         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5427         (R_D1): Likewise.
5428         (R_D2): Likewise.
5429         (R_D3): Likewise.
5430         (R_D4): Likewise.
5431         (R_D5): Likewise.
5432         (R_D6): Likewise.
5433         (R_D7): Likewise.
5434         (R_A0): Likewise.
5435         (R_A1): Likewise.
5436         (R_A2): Likewise.
5437         (R_A3): Likewise.
5438         (R_A4): Likewise.
5439         (R_A5): Likewise.
5440         (R_A6): Likewise.
5441         (R_A7): Likewise.
5442         (R_SP): Likewise.
5443         (R_PC): Likewise.
5444         (R_PS): Likewise.
5445         (fpregset_t): Likewise.
5446         (MCONTEXT_VERSION): Likewise.
5447         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5448         Likewise.
5449         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5450         (REG_R1): Likewise.
5451         (REG_R2): Likewise.
5452         (REG_R3): Likewise.
5453         (REG_R4): Likewise.
5454         (REG_R5): Likewise.
5455         (REG_R6): Likewise.
5456         (REG_R7): Likewise.
5457         (REG_R8): Likewise.
5458         (REG_R9): Likewise.
5459         (REG_R10): Likewise.
5460         (REG_R11): Likewise.
5461         (REG_R12): Likewise.
5462         (REG_R13): Likewise.
5463         (REG_R14): Likewise.
5464         (REG_R15): Likewise.
5465         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5466         of <arch/abi.h> on [__USE_MISC].
5467         (greg_t): Condition on [__USE_MISC].
5468         (NGREG): Likewise.
5469         (gregset_t): Likewise.
5471 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5473         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5474         (__pthread_rwlock_arch_t): Remove __data definition.
5475         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5476         (__pthread_rwlock_arch_t): Likewise.
5478 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5480         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5481         internal_function on static functions.
5483 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5485         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5486         from format_ai_flags.
5487         (format_ai_flags): New function.  Incorporate flag formatting code
5488         from format_ai_one.
5489         (format_ai_canonname): New function.
5490         (format_ai_one): Remove flags parameter.
5491         (format_ai_family): Likewise.
5492         (support_format_addrinfo): Call format_ai_flags,
5493         format_ai_canonname.
5494         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5495         check_ai.
5496         (check_ai): Call check_ai_hints.
5497         (do_test): Add AI_CANONNAME tests.
5499 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5501         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5502         (gaih_inet): Likewise.
5504 2017-05-10  Andreas Schwab  <schwab@suse.de>
5506         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5507         (main): Rename to do_test and make static.
5509 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5511         * string/rawmemchr.c: Include <libc-diag.h>.
5512         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5513         with size (size_t)-1.
5515 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5517         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5518         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5519         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5521         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5522         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5523         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5524         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5525         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5526         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5527         * sysdeps/unix/sysv/linux/kernel-features.h
5528         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5529         socket syscalls.
5530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5531         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5532         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5533         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5534         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5535         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5536         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5537         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5538         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5539         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5540         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5541         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5542         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5543         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5544         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5546 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5548         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5549         thread-shared-types.h.
5550         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5551         specific thread definition.
5552         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5553         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5554         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5555         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5556         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5557         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5558         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5559         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5560         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5561         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5562         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5563         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5564         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5565         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5566         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5567         thread definition between POSIX and C11.
5568         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5569         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5570         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5571         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5572         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5573         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5574         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5575         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5576         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5577         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5578         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5579         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5580         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5581         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5582         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5583         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5584         definitions shared across all architectures.
5586 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5588         * sysdeps/unix/sysv/linux/kernel-features.h
5589         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5590         (__ASSUME_SENDMMSG): Likewise.
5591         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5592         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5593         sendmmsg syscall if that can be assumed to be present, socketcall
5594         otherwise, with no fallback for runtime failure.
5596         * sysdeps/unix/sysv/linux/kernel-features.h
5597         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5598         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5599         (__ASSUME_RECVMMSG): Likewise.
5600         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5601         recvmmsg syscall if it can be assumed to be present, socketcall
5602         otherwise, with no fallback for runtime failure.
5604 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5605             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5607         * bits/libc-header-start.h:
5608         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5609         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5610         * manual/creature.texi: Likewise.
5612 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5613             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5615         * math/Makefile:
5616         (type-float128-suffix): New variable
5617         (type-float128-routines): Likewise
5618         (type-float128-yes): Likewise
5619         (types): Append float128 if supported
5620         (types-basic): New variable to control the use of templates for
5621         float, double, and long double, but not for float128 or newer types.
5622         (type-basic-foreach): Likewise.
5624         * sysdeps/ieee754/float128/Makeconfig: New file.
5625         * sysdeps/ieee754/float128/Versions: New file.
5627 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5629         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5630         Remove macro.
5631         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5632         prlimit64 is always available and does not give an ENOSYS error.
5633         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5634         unconditional.
5635         [!__NR_prlimit64]: Remove conditional code.
5636         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5637         prlimit64 is always available and does not give an ENOSYS error.
5638         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5640 2017-05-09  Zack Weinberg  <zackw@panix.com>
5642         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5644 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5646         [BZ #21474]
5647         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5648         (__res_maybe_init): Likewise.
5650 2017-05-09  Zack Weinberg  <zackw@panix.com>
5652         * extra-modules.mk: Delete file.
5653         * cppflags-iterator.mk: Rename to ...
5654         * libof-iterator.mk: ...this.  Adjust comments.
5656         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5657         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5658         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5659         Use libof-iterator.mk instead of cppflags-iterator.mk or
5660         extra-modules.mk.
5662         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5663         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5665 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5667         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5669 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5671         * stdio-common/vfprintf.c (EXTSIZ): Define.
5672         (vfprintf): Use EXTSIZ.
5673         (printf_positional): Likewise.
5675 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5677         * sysdeps/unix/sysv/linux/kernel-features.h
5678         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5679         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5680         <kernel-features.h>.
5681         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5683         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5684         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5686 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5688         Prevent multiple deletion of temporary files.
5689         * support/temp_file.c (struct temp_name_list): Add owner member.
5690         (add_temp_file): Record owner.
5691         (support_delete_temp_files): Delete file only if owner matches.
5692         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5693         (do_prepare): Use create_temp_file instead of add_temp_file.
5694         Initialize temp_fd1, temp_fd2.
5695         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5696         framework remove the temporary files.
5697         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5698         (do_prepare): Use create_temp_file instead of add_temp_file.
5699         Initialize temp_fd1, temp_fd2, temp_fd3.
5700         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5701         the test framework remove the temporary files.
5702         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5703         deletion.
5704         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5705         temporary directory.  It is removed by the test framework.
5706         * dirent/tst-scandir.c (do_test): Likewise.
5708 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5710         Delete temporary files in LIFO order.
5711         * support/temp_file.c (struct temp_name_list): Replace q member
5712         with next.
5713         (add_temp_file): Add new file to front of linked list.
5714         (support_delete_temp_files): Use next member.
5715         (support_print_temp_files): Likewise.
5717 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5720         sys/ultrasound.h.
5721         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5723 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5725         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5726         Remove.
5727         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5728         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5729         (arch_minimum_kernel): Remove.
5730         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5731         * README: Update statement about Linux kernel requirements.
5733 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5735         * manual/llio.texi: Add preadv and pwritev documentation.
5737 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5739         [BZ #21455]
5740         * bits/stdint-intn.h: New file.
5741         * bits/stdint-uintn.h: Likewise.
5742         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5743         bits/stdint-uintn.h.
5744         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5745         <stdint.h>.
5746         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5747         (__int8_t_defined): Do not define here.
5748         (int8_t): Likewise.
5749         (int16_t): Likewise.
5750         (int32_t): Likewise.
5751         (int64_t): Likewise.
5752         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5753         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5754         <stdint.h>.
5755         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5756         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5757         <bits/stdint-uintn.h>.
5758         (int8_t): Do not define here.
5759         (int16_t): Likewise.
5760         (int32_t): Likewise.
5761         (int64_t): Likewise.
5762         (uint8_t): Likewise.
5763         (uint16_t): Likewise.
5764         (uint32_t): Likewise.
5765         (uint64_t): Likewise.
5766         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5767         variable.
5768         (test-xfail-XPG42/netdb.h/conform): Likewise.
5769         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5770         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5771         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5772         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5774 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5776         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5777         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5778         the above.
5779         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5780         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5782 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5784         [BZ #21445]
5785         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5787         [BZ #21457]
5788         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5789         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5790         __glibc_reserved1.
5791         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5792         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5793         (struct _fpxreg): Likewise.
5794         [!__x86_64__] (struct _fpstate): Rename field reserved to
5795         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5796         [__x86_64__] (struct _fpstate): Rename field padding to
5797         __glibc_reserved1.
5798         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5799         Rename field reserved2 to __glibc_reserved2.
5800         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5801         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5802         __glibc_reserved1.
5803         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5804         __glibc_reserved1.
5806 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5808         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5809         variable name.
5811 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5813         [BZ #21391]
5814         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5815         Only call init_cpu_features.
5816         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5817         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5818         * sysdeps/i386/dl-procinfo.h: Removed.
5819         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5820         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5821         <sysdeps/x86/dl-procinfo.h>.
5822         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5823         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5824         Include <sysdeps/x86/dl-procinfo.h> instead of
5825          <sysdeps/generic/dl-procinfo.h>.
5826         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5827         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5828         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5829         (bit_cpu_MOVBE): Likewise.
5830         (bit_cpu_BMI1): Likewise.
5831         (bit_cpu_BMI2): Likewise.
5832         (index_cpu_BMI1): Likewise.
5833         (index_cpu_BMI2): Likewise.
5834         (index_cpu_LZCNT): Likewise.
5835         (index_cpu_MOVBE): Likewise.
5836         (index_cpu_POPCNT): Likewise.
5837         (reg_BMI1): Likewise.
5838         (reg_BMI2): Likewise.
5839         (reg_LZCNT): Likewise.
5840         (reg_MOVBE): Likewise.
5841         (reg_POPCNT): Likewise.
5842         * sysdeps/x86/dl-hwcap.h: New file.
5843         * sysdeps/x86/dl-procinfo.h: Likewise.
5844         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5845         (_dl_x86_platforms): Likewise.
5847 2017-05-03  DJ Delorie  <dj@redhat.com>
5849         [BZ #21411]
5850         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5852 2017-05-03  Phil Blundell  <pb@pbcl.net>
5854         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5855         comments.
5857 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5859         [BZ #20116]
5860         * nptl/pthread_create.c: Expand comments to describe
5861         semaphore-like and mutex-like uses of PD->lock.
5863 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5865         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5866         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5867         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5868         auto-generation list.
5869         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5870         epoll_wait.
5871         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5872         Remove epoll_wait.
5874         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5875         osf_select.
5876         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5877         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5878         osf_select from auto-generation list.
5879         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5880         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5881         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5882         * sysdeps/unix/sysv/linux/select.c: New file.
5884         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5885         * sysdeps/unix/sysv/linux/poll.c: New file.
5886         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5887         auto-generation list.
5889 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5891         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5892         New macro.
5894 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5896         [BZ #21179]
5897         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5898         R_SPARC_REGISTER relocations.
5900 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5902         * include/unistd.h (__pread): Add libc_hidden_proto.
5903         (__pread64): Likewise.
5904         (__pwrite): Likewise.
5905         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5906         (__pread64): Remove.
5907         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5908         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5909         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5911 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5915 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5917         * nptl/tst-cancel4-common.c: Use libsupport.
5918         * nptl/tst-cancel4-common.h: Likewise.
5919         * nptl/tst-cancel4.c (tf_read): Likewise.
5920         (tf_readv): Likewise.
5921         (tf_write): Likewise.
5922         (tf_writev): Likewise.
5923         (tf_sleep): Likewise.
5924         (tf_usleep): Likewise.
5925         (tf_nanosleep): Likewise.
5926         (tf_select): Likewise.
5927         (tf_pselect): Likewise.
5928         (tf_poll): Likewise.
5929         (tf_ppoll): Likewise.
5930         (tf_wait): Likewise.
5931         (tf_waitpid): Likewise.
5932         (tf_waitid): Likewise.
5933         (tf_sigpause): Likewise.
5934         (tf_sigsuspend): Likewise.
5935         (tf_sigwait): Likewise.
5936         (tf_sigwaitinfo): Likewise.
5937         (tf_sigtimedwait): Likewise.
5938         (tf_pause): Likewise.
5939         (tf_accept): Likewise.
5940         (tf_send): Likewise.
5941         (tf_recv): Likewise.
5942         (tf_recvfrom): Likewise.
5943         (tf_recvmsg): Likewise.
5944         (tf_open): Likewise.
5945         (tf_close): Likewise.
5946         (tf_pread): Likewise.
5947         (tf_pwrite): Likewise.
5948         (tf_preadv): Likewise.
5949         (tf_pwritev): Likewise.
5950         (tf_fsync): Likewise.
5951         (tf_fdatasync): Likewise.
5952         (tf_msync): Likewise.
5953         (tf_sendto): Likewise.
5954         (tf_sendmsg): Likewise.
5955         (tf_creat): Likewise.
5956         (tf_connect): Likewise.
5957         (tf_tcdrain): Likewise.
5958         (tf_msgrcv): Likewise.
5959         (tf_msgsnd): Likewise.
5960         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5961         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5963         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5964         expected arguments.
5965         (do_test): Adapt to use libsupport.
5967 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5969         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5971         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5972         (PF_MAX): Set to 44.
5973         (AF_SMC): New macro.
5975         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5976         kernel version to 4.11.
5978 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5980         [BZ #21280]
5981         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5982         signal of subnormals and adjust the exponent of power of 2 down
5983         when low part has opposite sign.
5985 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5987         * sysdeps/powerpc/powerpc64le/Implies: New file.
5988         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5989         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5990         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5991         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5992         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5993         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5994         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5995         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5996         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5997         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5998         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5999         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6000         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6001         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6002         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6003         * sysdeps/powerpc/preconfigure: New file.
6004         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6005         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6007 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
6009         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6010         inclusion.
6011         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6012         Remove.
6014 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
6016         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6017         (XPG3): Rename standard to XPG4.
6018         * conform/Makefile: Likewise.
6019         * conform/list-header-symbols.pl: Likewise.
6020         * conform/data/aio.h-data: Likewise.
6021         * conform/data/arpa/inet.h-data: Likewise.
6022         * conform/data/complex.h-data: Likewise.
6023         * conform/data/ctype.h-data: Likewise.
6024         * conform/data/dlfcn.h-data: Likewise.
6025         * conform/data/fcntl.h-data: Likewise.
6026         * conform/data/fenv.h-data: Likewise.
6027         * conform/data/float.h-data: Likewise.
6028         * conform/data/fmtmsg.h-data: Likewise.
6029         * conform/data/ftw.h-data: Likewise.
6030         * conform/data/grp.h-data: Likewise.
6031         * conform/data/inttypes.h-data: Likewise.
6032         * conform/data/iso646.h-data: Likewise.
6033         * conform/data/langinfo.h-data: Likewise.
6034         * conform/data/libgen.h-data: Likewise.
6035         * conform/data/limits.h-data: Likewise.
6036         * conform/data/locale.h-data: Likewise.
6037         * conform/data/math.h-data: Likewise.
6038         * conform/data/mqueue.h-data: Likewise.
6039         * conform/data/ndbm.h-data: Likewise.
6040         * conform/data/net/if.h-data: Likewise.
6041         * conform/data/netdb.h-data: Likewise.
6042         * conform/data/netinet/in.h-data: Likewise.
6043         * conform/data/poll.h-data: Likewise.
6044         * conform/data/pthread.h-data: Likewise.
6045         * conform/data/pwd.h-data: Likewise.
6046         * conform/data/sched.h-data: Likewise.
6047         * conform/data/search.h-data: Likewise.
6048         * conform/data/semaphore.h-data: Likewise.
6049         * conform/data/signal.h-data: Likewise.
6050         * conform/data/spawn.h-data: Likewise.
6051         * conform/data/stdbool.h-data: Likewise.
6052         * conform/data/stdint.h-data: Likewise.
6053         * conform/data/stdio.h-data: Likewise.
6054         * conform/data/stdlib.h-data: Likewise.
6055         * conform/data/string.h-data: Likewise.
6056         * conform/data/strings.h-data: Likewise.
6057         * conform/data/stropts.h-data: Likewise.
6058         * conform/data/sys/mman.h-data: Likewise.
6059         * conform/data/sys/resource.h-data: Likewise.
6060         * conform/data/sys/select.h-data: Likewise.
6061         * conform/data/sys/socket.h-data: Likewise.
6062         * conform/data/sys/stat.h-data: Likewise.
6063         * conform/data/sys/statvfs.h-data: Likewise.
6064         * conform/data/sys/time.h-data: Likewise.
6065         * conform/data/sys/timeb.h-data: Likewise.
6066         * conform/data/sys/types.h-data: Likewise.
6067         * conform/data/sys/uio.h-data: Likewise.
6068         * conform/data/sys/un.h-data: Likewise.
6069         * conform/data/sys/wait.h-data: Likewise.
6070         * conform/data/syslog.h-data: Likewise.
6071         * conform/data/termios.h-data: Likewise.
6072         * conform/data/tgmath.h-data: Likewise.
6073         * conform/data/time.h-data: Likewise.
6074         * conform/data/ucontext.h-data: Likewise.
6075         * conform/data/unistd.h-data: Likewise.
6076         * conform/data/utmpx.h-data: Likewise.
6077         * conform/data/varargs.h-data: Likewise.
6078         * conform/data/wchar.h-data: Likewise.
6079         * conform/data/wctype.h-data: Likewise.
6081 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6083         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6084         version to 7 branch.
6086 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6088         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6089         earlyclobber to output operand of sqrt insn.
6090         (__ieee754_sqrtf): Ditto.
6092 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6094         [BZ #21426]
6095         * misc/bits/types/struct_iovec.h: New file.
6096         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6097         * include/bits/types/struct_iovec.h: New file.
6098         * bits/uio.h (struct iovec): Replace by inclusion of
6099         <bits/types/struct_iovec.h>.
6100         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6101         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6102         of <sys/uio.h>.
6103         * nptl/tst-cancel4.c: Include <sys/uio.h>
6104         * posix/test-errno.c: Likewise.
6105         * support/resolv_test.c: Likewise.
6106         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6107         Remove.
6108         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6109         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6110         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6112         * conform/data/sys/socket.h-data (*_t): Allow.
6114 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6116         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6117         assignment.
6119 2017-04-24  Daurnimator  <quae@daurnimator.com>
6120             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6122         [BZ #21340]
6123         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6124         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6125         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6126         valid flags.
6127         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6128         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6129         POSIX_SPAWN_SETSID.
6130         * sysdeps/posix/spawni.c (__spawni): Likewise.
6131         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6132         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6134 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6136         * sysdeps/generic/math_private.h: Move the declaration of many
6137         functions to sysdeps/generic/math_private_calls.h.
6138         * sysdeps/generic/math_private_calls.h: New file with the
6139         declarations of the functions removed from math_private.h
6140         macroized by floating-point type.
6142 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6144         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6145         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6146         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6147         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6148         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6149         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6151 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6153         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6154         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6155         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6156         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6157         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6158         New Define.
6160 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6162         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6163         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6164         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6165         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6166         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6167         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6169 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6171         * sysdeps/s390/multiarch/ifunc-resolve.h
6172         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6173         * sysdeps/s390/multiarch/8bit-generic.c
6174         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6175         define ifunc resolvers.
6177 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6179         [BZ #20424]
6180         * manual/memory.texi (Replacing malloc): New section.
6181         (Allocating Storage For Program Data): Reference it.
6182         (The GNU Allocator): Likewise.
6184 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6186         * stdlib/Versions (__strtod_internal): List explicitly, not as
6187         wildcard.
6188         (__strtof_internal): Likewise.
6189         (__strtold_internal): Likewise.
6190         (__strtol_internal): Likewise.
6191         (__strtoll_internal): Likewise.
6192         (__strtoul_internal): Likewise.
6193         (__strtoull_internal): Likewise.
6194         (__strtoq_internal): Likewise.
6195         (__strtouq_internal): Likewise.
6196         * wcsmbs/Versions (__wcstod_internal): Likewise.
6197         (__wcstof_internal): Likewise.
6198         (__wcstold_internal): Likewise.
6199         (__wcstol_internal): Likewise.
6200         (__wcstoll_internal): Likewise.
6201         (__wcstoul_internal): Likewise.
6202         (__wcstoull_internal): Likewise.
6204 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6206         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6207         struct timespec definition.
6209 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6211         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6213 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6215         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6216         * inet/rexec.c (rexec_af): Likewise.
6218 2017-04-19  Zack Weinberg  <zackw@panix.com>
6220         * posix/tst-mmap-offset.c: Include stdint.h.
6221         * resolv/tst-ns_name_compress.c: Include string.h.
6222         * resolv/tst-resolv-edns.c: Include resolv.h.
6224 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6226         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6227         with __glibc_likely.
6228         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6229         Replace __builtin_expect with __glibc_unlikely.
6230         * resolv/res_init.c (__res_vinit): Likewise.
6231         * resolv/res_query.c (__libc_res_nquery): Likewise.
6232         * resolv/res_send.c (__libc_res_nsend): Likewise.
6234 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6236         [BZ #15722]
6237         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6238         with SOCK_CLOEXEC.
6239         * resolv/res_send.c (send_vc, reopen): Likewise.
6240         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6241         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6242         Likewise.
6243         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6244         * inet/rexec.c (rexec_af): Add comment.
6245         * inet/rcmd.c (rresvport_af): Likewise.
6247 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6249         * nscd/connections.c (have_accept4): Removed definition.
6250         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6251         accept4 works.
6252         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6253         ia64 because that was the first version with accept4 support.
6254         * support/Makefile (libsupport-routines): Add xaccept4.
6255         * support/xsocket.h (xaccept4): Declare.
6256         * support/xaccept4.c: New file.
6257         * socket/tst-accept4.c: New file.
6258         * socket/Makefile (tests): Add tst-accept4.
6259         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6260         definition.
6261         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6262         comment.
6263         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6264         implementation is available.
6265         (accept4): Use the system call if available, otherwise use the
6266         socket call.
6267         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6268         Set to 3.2.18.
6269         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6270         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6271         accept4 is unconditionally available in later 3.2 stable kernels.
6272         (__ASSUME_ACCEPT4_SYSCALL): Define.
6273         * sysdeps/unix/sysv/linux/kernel-features.h
6274         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6275         definitions.
6276         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6277         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6279 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6281         * conform/Makefile (tests-special): Do not make addition of
6282         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6283         (generated): Do not make addition of $(conformtest-header-base)
6284         conditional on [$(cross-compiling) = no].
6286         [BZ #21267]
6287         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6288         if defined by <asm/socket.h> and not previously defined.
6289         (IOCSIZE_SHIFT): Likewise.
6290         (IOC_IN): Likewise.
6291         (IOC_INOUT): Likewise.
6292         (IOC_OUT): Likewise.
6294 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6296         [BZ #21396]
6297         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6298         Prefer_No_AVX512 if AVX512ER isn't available.
6299         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6300         (index_arch_Prefer_No_AVX512): Likewise.
6301         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6302         AVX512 version if Prefer_No_AVX512 is set.
6303         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6304         Likewise.
6305         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6306         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6307         Likewise.
6308         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6309         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6310         Likewise.
6311         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6312         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6313         Likewise.
6315 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6317         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6318         Prefer_No_VZEROUPPER if AVX512ER is available.
6319         * sysdeps/x86/cpu-features.h
6320         (bit_cpu_AVX512PF): New.
6321         (bit_cpu_AVX512ER): Likewise.
6322         (bit_cpu_AVX512CD): Likewise.
6323         (bit_cpu_AVX512BW): Likewise.
6324         (bit_cpu_AVX512VL): Likewise.
6325         (index_cpu_AVX512PF): Likewise.
6326         (index_cpu_AVX512ER): Likewise.
6327         (index_cpu_AVX512CD): Likewise.
6328         (index_cpu_AVX512BW): Likewise.
6329         (index_cpu_AVX512VL): Likewise.
6330         (reg_AVX512PF): Likewise.
6331         (reg_AVX512ER): Likewise.
6332         (reg_AVX512CD): Likewise.
6333         (reg_AVX512BW): Likewise.
6334         (reg_AVX512VL): Likewise.
6336 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6338         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6339         O_CLOEXEC is defined.
6340         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6341         * io/Makefile (aux): Remove.
6342         * io/have_o_cloexec.c: Remove file.
6343         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6344         defined and works.
6345         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6346         defined.
6347         * login/utmp_file.c (O_flags): Remove definition.
6348         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6349         O_CLOEXEC works.
6350         (pututline_file): Likewise.
6351         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6352         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6353         definition.
6354         (internal_setgrent): Assume that O_CLOEXEC works.
6355         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6356         Remove definition.
6357         (internal_setgrent): Assume that O_CLOEXEC works.
6358         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6359         definition.
6360         (internal_setpwent): Assume that O_CLOEXEC works.
6361         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6362         definition.
6363         (internal_setspent): Assume that O_CLOEXEC works.
6364         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6365         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6366         O_CLOEXEC is defined and works.
6367         * nss/Makefile (libnss_files-routines): Remove
6368         files-have_o_cloexec.
6369         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6370         defined.
6371         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6372         O_CLOEXEC is defined and works.
6373         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6374         * nss/nss_files/files-have_o_cloexec.c: Remove.
6375         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6376         defined.
6377         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6378         and works.
6379         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6380         definition.
6381         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6382         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6383         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6384         (__opendirat, __opendir): Adjust opendir_oflags call.
6385         (check_have_o_cloexec): Remove.
6386         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6387         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6388         defined.
6389         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6390         Remove definition.
6392 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6394         * include/unistd.h (__have_dup3): Remove declaration.
6395         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6396         dup3 is available.
6397         * libio/freopen64.c (freopen64): Likewise.
6398         * socket/Makefile (aux): Remove have_sock_cloexec.
6399         * socket/have_sock_cloexec.c: Remove file.
6400         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6401         definition.
6402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6403         Likewise.
6404         * sysdeps/nacl/kernel-features.h: Update comment.
6406 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6408         * include/unistd.h (__have_pipe2): Remove declaration.
6409         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6410         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6411         available.
6412         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6413         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6414         Remove definition.
6416 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6418         * malloc/malloc.c (cfree): Turn into compat symbol.
6419         (__cfree): Remove alias.
6420         * stdlib/stdlib.h (cfree): Remove declaration.
6421         * malloc/malloc.h (cfree): Likewise.
6422         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6423         * malloc/Versions (GLIBC_2.26): Add.
6425 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6427         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6428         (sysdep_routines): Add strrchr-power8.
6429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6430         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6431         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6432         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6433         (strrchr): Add __strrchr_power8 to ifunc list.
6434         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6436 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6438         [BZ #21357]
6439         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6440         Call free() outside of mutex.
6442 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6444         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6445         is defined.
6446         * elf/rtld.c (process_envvars): Likewise.
6447         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6448         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6449         O_NOFOLLOW directly.
6450         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6452 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6454         [BZ #21369]
6455         Remove EDNS fallback.
6456         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6457         handling.
6458         * resolv/res_send.c (send_dg): Likewise.
6459         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6460         "tcp." prefixes.
6461         (do_test): Send a "formerr."-prefixed query in an attempt to
6462         trigger EDNS fallback.
6464 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6466         [BZ #21361]
6467         Limit EDNS buffer size to 1200 bytes.
6468         * include/resolv.h (__res_nopt): Remove declaration.
6469         * resolv/Makefile (tests): tst-resolv-edns.
6470         (tst-resolv-edns): Link with -lresolv, -lpthread.
6471         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6472         interval [512, 1200].
6473         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6474         we can resize the buffer.
6475         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6476         (__res_nopt): Declare.
6477         * resolv/tst-resolv-edns.c: New file.
6478         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6479         (struct resolv_response_context): Add edns member.
6480         * resolv/resolv_test.c (struct query_info): Add edns member.
6481         (parse_query): Extract EDNS information from the query.
6482         (server_thread_udp_process_one): Propagate EDNS data.
6483         (server_thread_tcp_client): Likewise.
6485 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6487         [BZ #21359]
6488         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6489         byte in the destination buffer.  Avoid out-of-bounds pointer
6490         arithmetic.
6491         * resolv/Makefile (tests): Add tst-ns_name_compress.
6492         (tst-ns_name_compress): Link with -lresolv.
6493         * resolv/tst-ns_name_compress.c: New file.
6494         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6495         (response): Recognize LONG_NAME.
6496         (do_test): Add LONG_NAME tests.
6497         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6498         for ns_name_unpack.  Add tests for ns_name_pton and
6499         ns_name_compress.
6501 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6503         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6504         (res_nisourserver): Remove definition.
6505         (p_section, res_npquery, res_nisourserver): Remove declaration.
6506         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6507         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6508         ... here.
6509         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6510         <resolv.h>.
6511         * resolv/res_query.c: Likewise.
6512         * resolv/res_debug.c (p_section): Define as static.
6514 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6516         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6517         strncat-power8.
6518         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6519         __strncat_power8 to ifunc list.
6520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6521         (strncat): Add __strncat_power8 to list of strncat functions.
6522         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6524 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6526         [BZ #21270]
6527         * posix/tst-mmap-offset.c (do_prepare): New function.
6528         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6529         (do_test_bz21270): New function.
6530         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6531         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6532         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6533         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6534         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6535         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6536         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6537         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6538         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6539         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6540         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6541         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6542         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6543         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6544         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6545         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6547         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6548         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6549         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6550         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6551         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6552         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6553         from auto-generation list.
6554         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6555         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6556         * sysdeps/unix/sysv/linux/mmap.c: New file.
6557         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6558         offsets and support for mmap2 syscall.
6560         * posix/globtest.sh: Add cleanup routine on trap 0.
6562 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6564         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6565         implementation-specific function name and remove unneeded
6566         macros definition.
6567         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6568         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6569         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6570         name if not defined and pass as parameter to macros accordingly.
6571         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6572         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6574         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6575         implementation-specific function name and remove unneeded
6576         macros definition.
6577         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6582         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6583         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6584         name if not defined and pass as parameter to macros accordingly.
6585         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6586         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6587         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6588         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6589         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6590         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6592         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6593         implementation-specific function name and remove unneeded macros
6594         definition.
6595         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6596         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6598         function name if not defined and pass as parameter to macros
6599         accordingly.
6600         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6601         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6603         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6604         implementation-specific function name and remove unneeded macros
6605         definition.
6606         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6607         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6608         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6609         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6610         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6611         not defined and pass as parameter to macros accordingly.
6612         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6613         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6614         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6615         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6617         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6618         strcasestr implementation name and remove unneeded macros definition.
6619         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6620         strstr implementation name and remove unneeded macros definition.
6621         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6622         name if not defined and pass as parameter to macros accordingly.
6623         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6625         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6626         implementation-specific function name and remove unneeded macros
6627         definition.
6628         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6629         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6630         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6631         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6632         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6633         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6634         function name if not defined and pass as parameter to macros
6635         accordingly.
6636         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6637         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6638         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6639         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6641         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6642         the strlen implementation name and remove unneeded macros definition.
6643         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6645         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6646         the strnlen implementation name and remove unneeded macros definition.
6647         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6648         name if not defined and pass as parameter to macros accordingly.
6649         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6650         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6651         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6654         the implementation-specific function name and remove unneeded
6655         macros definition.
6656         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6657         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6658         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6659         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6660         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6661         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6662         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6663         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6665         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6666         name if not defined and pass as parameter to macros accordingly.
6667         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6669         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6670         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6671         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6672         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6673         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6674         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6676         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6677         implementation-specific function name and remove unneeded macros
6678         definition.
6679         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6680         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6682         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6683         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6684         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6685         function name if not defined.
6686         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6687         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6689 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6691         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6692         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6693         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6694         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6696 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6697             Zack Weinberg  <zackw@panix.com>
6699         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6700         readdir64 as thread-safe.  Update warning about readdir_r.
6702 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6704         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6705         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6706         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6707         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6708         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6709         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6710         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6712 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6714         * sysdeps/i386/dl-procinfo.c: Include
6715         <sysdeps/x86/dl-procinfo.c>.
6716         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6717         * sysdeps/x86/dl-procinfo.c: New file.
6719 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6721         * sysdeps/generic/math_private.h: Remove declarations of
6722         many functions that are already declared in math.h.
6723         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6724         declaration for __frexpl.
6725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6726         the declarations for __scalbnl and fabsl.
6728 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6730         [BZ #20831]
6731         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6732         of __mprotect to change protection on the excess portion
6733         to disallow all access.
6735 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6737         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6738         HAS_CPU_FEATURE to check for SSE.
6739         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6740         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6741         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6742         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6743         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6744         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6745         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6746         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6747         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6748         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6749         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6750         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6751         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6752         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6753         (index_cpu_SSE): Likewise.
6754         (reg_SSE): Likewise.
6756 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6758         * posix/getopt1.c: Include <config.h>, not "config.h".
6760 2017-04-07  Zack Weinberg  <zackw@panix.com>
6762         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6763         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6764         Mention in top-of-file boilerplate that these files are shared
6765         with gnulib.
6766         * posix/getopt.h, posix/bits/getopt_posix.h:
6767         Mention in top-of-file boilerplate that these files are NOT shared
6768         with gnulib, unlike the rest of the getopt implementation.
6770         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6771         New files, intended to be shared with gnulib.
6772         * posix/bits/getopt_posix.h:
6773         New file, not intended to be shared with gnulib.
6774         * posix/getopt.h: Now just includes features.h,
6775         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6776         no longer be shared with gnulib.
6777         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6778         * include/bits/getopt_posix.h: New wrappers.
6779         * posix/Makefile: Install new headers.
6780         * posix/unistd.h, libio/stdio.h:
6781         Include bits/getopt_posix.h instead of getopt.h.
6783         * include/libc-symbols.h: For gnulib compatibility, define
6784         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6785         _GL_ATTRIBUTE_CONST.
6786         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6787         parameters with _GL_UNUSED.
6789         * posix/getopt.c: When used standalone, define __libc_use_alloca
6790         as always false and alloca to abort if called.
6791         (process_long_option): Rewrite handling of ambiguous long options
6792         to use a single boolean vector, not a linked list; use
6793         __libc_use_alloca to decide whether to allocate this using alloca.
6794         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6796         * posix/getopt.c (process_long_option): New function split out
6797         from _getopt_internal_r.
6798         (_getopt_internal_r): Replace both copies of the long-option
6799         processing code with calls to process_long_option.
6800         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6801         (do_test): Differentiate argv[0] in the two subtests.
6803         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6804         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6805         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6807         * posix/getopt.h: Add backup definition of __nonnull for
6808         consistency with gnulib.  Define __getopt_argv_const to const
6809         if not already defined.
6810         (getopt): Update doc comment from gnulib.  Prototype
6811         unconditionally.  Add __nonnull annotation.
6812         (__posix_getopt): Add __nonnull annotation.
6813         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6814         prototypes for consistency with gnulib.  Add __nonnull
6815         annotations.
6816         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6817         (getopt_internal): Change 'argv' argument to type 'char **'.
6818         Remove now-unnecessary casts.
6819         (getopt, __posix_getopt): Eliminate repetition with a macro.
6820         Cast 'argv' to 'char **' when calling _getopt_internal.
6821         * posix/getopt1.c (getopt_long, getopt_long_only):
6822         Use __getopt_argv_const for consistency with gnulib.
6823         Cast 'argv' to 'char **' when calling _getopt_internal.
6824         (_getopt_long_r, _getopt_long_only_r):
6825         Change 'argv' argument to type 'char **'.
6826         (main): Constify 'long_options'.
6827         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6828         (_getopt_long_r, _getopt_long_only_r):
6829         Change 'argv' argument to type 'char **'.
6831         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6832         (locked_vfxprintf): New helper function. Handle arbitrary
6833         multibyte strings, not just ASCII.
6834         * include/stdio.h: Declare __fxprintf_nocancel.
6835         * posix/getopt.c: When _LIBC is defined, define fprintf to
6836         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6837         to _IO_funlockfile.  When neither _LIBC nor
6838         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6839         funlockfile as no-ops.
6840         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6841         the standalone error-printing code can now be used for libc as
6842         well.  Add an flockfile/funlockfile pair around one case where
6843         the error message is printed in several chunks.  Don't use fputc.
6844         * posix/tst-getopt-cancel.c: New test.
6845         * posix/Makefile: Run it.
6847         * posix/getopt.c (_getopt_internal_r): Don't increment
6848         d->optind a second time when reporting ambiguous -W options.
6850         * posix/getopt_int.h: Include getopt.h.
6851         Use impl-namespace names for all arguments to _getopt_internal and
6852         _getopt_internal_r.
6853         Declare __ordering enum outside the struct.
6854         Harmonize comments with gnulib.
6855         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6856         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6857         #ifdef TEST block and make unconditional.  Do not define NULL.
6858         * posix/getopt.c: Partial merge from gnulib, covering the
6859         initial includes and global declarations, commentary, and
6860         a couple of semantically-neutral code changes.
6862         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6863         Use '...' instead of `...' for quotation marks inside
6864         comments and strings.
6866         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6867         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6868         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6869         * posix/getopt_int.h: Likewise.
6870         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6871         __libc_argc and __libc_argv externs, which were only used by
6872         #ifdef USE_NONOPTION_FLAGS blocks.
6873         * posix/getopt_init.c: Remove file.
6874         * posix/Makefile (routines): Remove getopt_init.
6875         * include/getopt.h: Don't declare __getopt_initialize_environment.
6876         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6877         a comment.
6879 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6881         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6883 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6885         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6886         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6887         to __wrap_.udiv.
6888         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6889         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6891         * sysdeps/i386/symbol-hacks.h: New file.
6892         * sysdeps/m68k/symbol-hacks.h: New file.
6893         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6894         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6895         * sysdeps/unix/sysv/linux/i386/Makefile
6896         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6897         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6898         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6899         * sysdeps/unix/sysv/linux/m68k/Makefile
6900         [$(subdir) = csu] (sysdep_routines): Likewise.
6901         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6902         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6904         [$(subdir) = csu] (sysdep_routines): Likewise.
6905         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6906         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6907         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6908         [$(subdir) = csu] (sysdep_routines): Likewise.
6909         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6910         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6911         * sysdeps/wordsize-32/Makefile: Remove file.
6912         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6913         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6915 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6917         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6918         (TEST_FUNCTION_ARGV): New.
6920 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6922         * elf/next.c: Import support/test-driver.c instead of
6923         test-skeleton.c and delete TEST_FUNCTION macro definition.
6924         * elf/nodelete.c: Likewise.
6925         * elf/order2.c: Likewise.
6926         * elf/tst-_dl_addr_inside_object.c: Likewise.
6927         * elf/tst-addr1.c: Likewise.
6928         * elf/tst-align.c: Likewise.
6929         * elf/tst-align2.c: Likewise.
6930         * elf/tst-audit11.c: Likewise.
6931         * elf/tst-audit12.c: Likewise.
6932         * elf/tst-audit2.c: Likewise.
6933         * elf/tst-audit9.c: Likewise.
6934         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6935         * elf/tst-deep1.c: Likewise.
6936         * elf/tst-dl-iter-static.c: Likewise.
6937         * elf/tst-dlmodcount.c: Likewise.
6938         * elf/tst-dlmopen1.c: Likewise.
6939         * elf/tst-dlmopen2.c: Likewise.
6940         * elf/tst-dlmopen3.c: Likewise.
6941         * elf/tst-dlopen-aout.c: Likewise.
6942         * elf/tst-dlopenrpath.c: Likewise.
6943         * elf/tst-dlsym-error.c: Likewise.
6944         * elf/tst-execstack-needed.c: Likewise.
6945         * elf/tst-execstack-prog.c: Likewise.
6946         * elf/tst-execstack.c: Likewise.
6947         * elf/tst-global1.c: Likewise.
6948         * elf/tst-gnu2-tls1.c: Likewise.
6949         * elf/tst-latepthread.c: Likewise.
6950         * elf/tst-leaks1.c: Likewise.
6951         * elf/tst-linkall-static.c: Likewise.
6952         (do_test): New function.
6953         * elf/tst-nodelete-opened.c: Likewise.
6954         * elf/tst-nodelete.cc: Likewise.
6955         * elf/tst-nodelete2.c: Likewise.
6956         * elf/tst-noload.c: Likewise.
6957         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6958         * elf/tst-order-main.c: Likewise.
6959         * elf/tst-pathopt.c: Likewise.
6960         * elf/tst-pie2.c: Likewise.
6961         * elf/tst-piemod1.c: Likewise.
6962         * elf/tst-prelink.c: Likewise.
6963         * elf/tst-protected1a.c: Likewise.
6964         * elf/tst-protected1b.c: Likewise.
6965         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6966         and define _GNU_SOURCE macro.
6967         (cmdline_process_function): New function.
6968         * elf/tst-relsort1.c: Likewise.
6969         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6970         and define _GNU_SOURCE macro.
6971         (cmdline_process_function): New function.
6972         * elf/tst-thrlock.c: Likewise.
6973         * elf/tst-tls-dlinfo.c: Likewise.
6974         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6975         * elf/tst-tls1.c: Likewise.
6976         * elf/tst-tls10.c: Likewise.
6977         * elf/tst-tls11.c: Likewise.
6978         * elf/tst-tls12.c: Likewise.
6979         * elf/tst-tls13.c: Likewise.
6980         * elf/tst-tls14.c: Likewise.
6981         * elf/tst-tls15.c: Likewise.
6982         * elf/tst-tls16.c: Likewise.
6983         * elf/tst-tls17.c: Likewise.
6984         * elf/tst-tls18.c: Likewise.
6985         * elf/tst-tls19.c: Likewise.
6986         * elf/tst-tls2.c: Likewise.
6987         * elf/tst-tls3.c: Likewise.
6988         * elf/tst-tls4.c: Likewise.
6989         * elf/tst-tls5.c: Likewise.
6990         * elf/tst-tls6.c: Likewise.
6991         * elf/tst-tls7.c: Likewise.
6992         * elf/tst-tls8.c: Likewise.
6993         * elf/tst-tls9.c: Likewise.
6994         * elf/tst-tlsalign-extern.c: Likewise.
6995         * elf/tst-tlsalign.c: Likewise.
6996         * elf/tst-unique1.c: Likewise.
6997         * elf/tst-unique2.c: Likewise.
6998         * elf/vismain.c: Likewise.
7000 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7002         * string/test-strnlen.c (do_page_tests): New function
7003         to check length of strings ending at the page boundary.
7004         (test_main): Added call to the do_page_tests function.
7006 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7007             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7009         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7010         (sysdep_routines): Add strnlen-power8.
7011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7012         (strnlen): Add __strnlen_power8 to list of strnlen functions.
7013         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7014         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7015         (__strnlen): Add __strnlen_power8 to ifunc list.
7016         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7018 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7020         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7021         the TEST_FUNCTION macro definition.
7022         * wcsmbs/tst-mbrtowc2.c: Likewise.
7023         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7024         * wcsmbs/tst-wchar-h.c: Likewise.
7025         * wcsmbs/tst-wcpncpy.c: Likewise.
7026         * wcsmbs/tst-wcrtomb.c: Likewise.
7027         * wcsmbs/tst-wcsnlen.c: Likewise.
7028         * wcsmbs/tst-wcstof.c: Likewise.
7030 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7032         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7033         CALL_THREAD_FCT macro usage.
7034         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7035         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7036         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7038         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7040         (__ASSUME_REQUEUE_PI): Likewise.
7041         * sysdeps/unix/sysv/linux/kernel-features.h
7042         (__ASSUME_REQUEUE_PI): Likewise.
7043         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7044         (__ASSUME_REQUEUE_PI): Likewise.
7045         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7046         (__ASSUME_REQUEUE_PI): Likewise.
7047         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7048         (__ASSUME_REQUEUE_PI): Likewise.
7050 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7052         * resolv/tst-resolv-canonname.c: New file.
7053         * resolv/Makefile (tests): Add tst-resolv-canonname.
7054         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7056 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7058         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7059         Declare.
7060         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7061         (NS_MAXCDNAME): Remove definition.
7062         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7063         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7064         (NS_MAXCDNAME): Remove definition.
7065         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7067 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7069         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7070         call whose result is not used.
7072 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7074         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7075         * resolv/Makefile (tests): Add tst-ns_name.
7076         (tst-ns_name): Link with -lresolv.
7077         (tst-ns_name.out): Depend on the input data file.
7079 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7081         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7082         Clobber also r14.
7084 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7086         [BZ #21253]
7087         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7088         slack space by 32KiB.
7090 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7092         [BZ #21338]
7093         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7094         instead of incorrect do_set_arena_test
7096 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7098         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7099         * math/bits/math-finite.h: Likewise.
7101 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7103         [BZ #21289]
7104         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7106 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7108         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7109         non expected inotify_add_watch and quotactl return.
7111 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7113         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7114         to int32_t.
7115         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7116         as returning int32_t.
7118 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7120         * math/math.h: Include bits/math-finite.h once per
7121         floating-point type.
7122         * math/bits/math-finite.h: Macroize all declarations by
7123         floating-point type.
7125 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7127         [BZ #21182]
7128         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7129         near end of a page.
7130         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7131         overflow calculation.
7133 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7135         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7136         (IMPL) Call with 1 instead of 0 as argument.
7138 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7140         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7141         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7142         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7143         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7144         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7145         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7146         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7147         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7148         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7149         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7150         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7151         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7152         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7153         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7154         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7155         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7157         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7158         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7159         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7160         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7161         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7162         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7163         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7164         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7165         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7166         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7167         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7169         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7170         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7171         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7172         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7173         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7174         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7175         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7176         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7177         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7178         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7179         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7180         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7181         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7182         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7183         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7184         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7185         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7186         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7187         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7188         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7189         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7190         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7191         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7192         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7193         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7194         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7195         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7196         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7197         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7198         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7199         defined.
7200         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7201         __NR_setgroups32 if defined.
7202         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7203         if defined.
7204         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7205         __NR_setresgid32 is defined.
7206         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7207         __NR_setresuid32 if defined.
7208         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7209         __NR_setreuid32 if defined.
7210         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7211         defined.
7212         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7213         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7214         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7215         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7216         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7217         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7218         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7219         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7220         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7221         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7222         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7223         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7224         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7225         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7226         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7227         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7228         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7229         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7230         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7231         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7232         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7233         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7234         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7235         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7236         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7237         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7238         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7239         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7240         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7241         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7242         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7243         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7244         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7245         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7246         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7249         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7250         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7251         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7252         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7253         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7254         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7255         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7256         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7257         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7258         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7259         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7260         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7261         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7262         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7263         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7264         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7265         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7266         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7267         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7268         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7269         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7270         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7271         defined.
7272         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7273         __NR_setgroups32 if defined.
7274         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7275         if defined.
7276         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7277         __NR_setresgid32 is defined.
7278         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7279         __NR_setresuid32 if defined.
7280         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7281         __NR_setreuid32 if defined.
7282         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7283         defined.
7285 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7287         [BZ #21277]
7288         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7289         unconditionally.
7290         (IMAXBEL): Likewise.
7291         (IUTF8): Likewise.
7293 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7295         * sysdeps/aarch64/libm-test-ulps: Update.
7297 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7299         * README.tunables: Updated descriptions.
7300         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7301         * scripts/gen-tunables.awk: Updated the code related to the
7302         commit.
7304 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7306         * benchtests/Makefile (string-benchset): Add memcpy-random.
7307         * benchtests/bench-memcpy-random.c: New file.
7309 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7311         * stdio-common/printf.h (register_printf_modifier): Change the
7312         order of __wur and __THROW.
7313         (register_printf_type): Likewise.
7315 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7317         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7318         test_main ().
7319         (CMDLINE_PROCESS): Use function instead of defined macro.
7320         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7321         <suppport/support.h> to use set_fortify_handler().
7322         * string/bug-envz1.c: Import support/test-driver.c instead of
7323         test-skeleton.c.
7324         * string/bug-strcoll2.c: Likewise.
7325         * string/bug-strtok1.c: Likewise.
7326         * string/stratcliff.c: Likewise.
7327         * string/test-ffs.c: Likewise.
7328         * string/test-memccpy.c: Likewise.
7329         * string/test-memchr.c: Likewise.
7330         * string/test-memcmp.c: Likewise.
7331         * string/test-memcpy.c: Likewise.
7332         * string/test-memmem.c: Likewise.
7333         * string/test-memmove.c: Likewise.
7334         * string/test-memrchr.c: Likewise.
7335         * string/test-memset.c: Likewise.
7336         * string/test-rawmemchr.c: Likewise.
7337         * string/test-strcasecmp.c: Likewise.
7338         * string/test-strcasestr.c: Likewise.
7339         * string/test-strcat.c: Likewise.
7340         * string/test-strchr.c: Likewise.
7341         * string/test-strcmp.c: Likewise.
7342         * string/test-strcpy.c: Likewise.
7343         * string/test-string.h: Likewise.
7344         * string/test-strlen.c: Likewise.
7345         * string/test-strncasecmp.c: Likewise.
7346         * string/test-strncat.c: Likewise.
7347         * string/test-strncmp.c: Likewise.
7348         * string/test-strncpy.c: Likewise.
7349         * string/test-strnlen.c: Likewise.
7350         * string/test-strpbrk.c: Likewise.
7351         * string/test-strrchr.c: Likewise.
7352         * string/test-strspn.c: Likewise.
7353         * string/test-strstr.c: Likewise.
7354         * string/tst-bswap.c: Likewise.
7355         * string/tst-cmp.c: Likewise.
7356         * string/tst-endian.c: Likewise.
7357         * string/tst-inlcall.c: Likewise.
7358         * string/tst-strcoll-overflow.c: Likewise.
7359         * string/tst-strfry.c: Likewise.
7360         * string/tst-strlen.c: Likewise.
7361         * string/tst-strtok.c: Likewise.
7362         * string/tst-strtok_r.c: Likewise.
7363         * string/tst-strxfrm.c: Likewise.
7364         * string/tst-strxfrm2.c: Likewise.
7365         * string/tst-svc.c: Likewise.
7366         * string/tst-svc2.c: Likewise.
7368 2017-03-22  Zack Weinberg  <zackw@panix.com>
7370         * stdio-common/bug25.c: Include stdlib.h.
7371         * support/tst-support_format_dns_packet.c: Include stdio.h,
7372         stdlib.h, and string.h.
7373         * support/tst-support_record_failure.c: Include string.h.
7374         * support/tst-support_record_failure-2.sh: Adjust line number
7375         expectations and correct a typo in an error message.
7377 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7379         [BZ #21258]
7380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7381         Define only if _dl_runtime_resolve is defined to
7382         _dl_runtime_resolve_sse_vex.
7383         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7384         Fallthrough to _dl_runtime_resolve_sse_vex.
7386 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7388         * INSTALL: Regenerated.
7390 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7392         * config.h.in: Add LINK_OBSOLETE_NSL.
7393         * config.make.in: Add build-obsolete-nsl.
7394         * configure.ac: Add obsolete-nsl option.
7395         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7396         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7397         * include/rpcsvc/nislib.h: Likewise.
7398         * include/rpcsvc/ypclnt.h: Likewise.
7399         * manual/install.texi: Document --enable-obsolete-nsl.
7400         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7401         * nis/nis_add.c: Replace libnsl_hidden_def with
7402         libnsl_hidden_nolink_def.
7403         * nis/nis_addmember.c: Likewise.
7404         * nis/nis_call.c: Likewise.
7405         * nis/nis_clone_obj.c: Likewise.
7406         * nis/nis_defaults.c: Likeise.
7407         * nis/nis_domain_of_r.c: Likewise.
7408         * nis/nis_error.c: Likewise.
7409         * nis/nis_file.c: Likewise.
7410         * nis/nis_free.c: Likewise.
7411         * nis_local_names.c: Likewise.
7412         * nis/nis_lookup.c: Likewise.
7413         * nis/nis_modify.c: Likewise.
7414         * nis/nis_print.c: Likewise.
7415         * nis/nis_remove.c: Likewise.
7416         * nis/nis_table.c: Likewise.
7417         * nis/nis_util.c: Likewise.
7418         * nis/nis_xdr.c: Likewise.
7419         * nis/yp_xdr.c: Likewise.
7420         * nis/ypclnt.c: Likewise.
7421         * nis/ypupdate_xdr.c: Likewise.
7422         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7423         * nis/nis_clone_dir.c: Likewise.
7424         * nis/nis_clone_res.c: Likewise.
7425         * nis/nis_creategroup.c: Likewise.
7426         * nis/nis_destroygroup.c: Likewise.
7427         * nis/nis_domain_of.c: Likewise.
7428         * nis/nis_getservlist.c: Likewise.
7429         * nis/nis_ismember.c: Likewise.
7430         * nis/nis_mkdir.c: Likewise.
7431         * nis/nis_ping.c: Likewise.
7432         * nis/nis_print_group_entry.c: Likewise.
7433         * nis/nis_removemember.c: Likewise.
7434         * nis/nis_rmdir.c: Likewise.
7435         * nis/nis_server.c: Likewise.
7436         * nis/nis_subr.c: Likewise.
7437         * nis/nis_verifygroup.c: Likewise.
7439 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7441         * malloc/tst-interpose-aux.c (check_for_allocations):
7442         Move compiler barrier before free.
7444 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7446         [BZ #21279]
7447         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7448         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7449         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7450         x86_64-x32-linux.
7451         (mq_attr.mq_maxmsg): Likewise.
7452         (mq_attr.mq_msgsize): Likewise.
7453         (mq_attr.mq_curmsgs): Likewise.
7455         [BZ #21278]
7456         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7457         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7458         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7459         mips-o32-linux.
7461         [BZ #21268]
7462         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7463         if [__USE_MISC]
7464         (NL3): Likewise.
7466 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7468         [BZ #21275]
7469         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7470         __stack to __stackbase.
7471         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7472         checks so we can include defined(__ia64__) first.
7474 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7476         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7477         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7478         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7479         Call is_pty when the link does not exist or does not match, fail
7480         with ENODEV when it returns true.
7481         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7482         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7483         Call is_pty when the link does not exist or does not match, fail
7484         with ENODEV when it returns true.
7486 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7488         [BZ #16437]
7489         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7490         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7491         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7492         x86_64-x32-linux.
7493         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7494         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7495         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7497         [BZ #21261]
7498         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7499         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7500         names for all fields.
7501         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7502         for jmp_buf field renaming.
7503         (_JMPBUF_UNWINDS_ADJ): Likewise.
7505         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7506         with allow-header.
7508 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7510         * malloc/malloc.c (unlink): Add consistency check between size and
7511         next->prev->size, to further harden against 1-byte overflows.
7513 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7515         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7516         CPU_FEATURES_CPU_P.
7518 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7520         [BZ #21259]
7521         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7522         unconditionally, not just for [__USE_MISC].
7524         [BZ #17786]
7525         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7526         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7527         mips-o32-linux.
7529         [BZ #21260]
7530         * sysdeps/unix/sysv/linux/alpha/Makefile
7531         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7532         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7534         * conform/conformtest.pl ($cross): New variable.
7535         (--cross): New command-line option.
7536         (runtest): Skip test execution when cross-compiling.
7537         * conform/Makefile (conformtest-cross): New variable.
7538         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7539         conformtest.pl.
7541         * conform/conformtest.pl ($xfail_str): New variable.
7542         (--xfail=): New command-line option.
7543         (top level): Handle expectations starting xfail[cond]-.
7544         * conform/Makefile (conformtest-xfail): New variable.
7545         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7546         conformtest.pl.
7548 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7550         * conform/conformtest.pl: Use compilation instead of execution
7551         tests for testing values of constants and usability in #if.
7553 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7555         * math/auto-libm-test-in: Mark some catan and catanh as
7556         xfail-rounding:ibm128-libgcc.
7557         * math/auto-libm-test-out-catan: Regenerate.
7558         * math/auto-libm-test-out-catanh: Likewise.
7560 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7562         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7563         (__END_NAMESPACE_STD): Likewise.
7564         (__USING_NAMESPACE_STD): Likewise.
7565         (__BEGIN_NAMESPACE_C99): Likewise.
7566         (__END_NAMESPACE_C99): Likewise.
7567         (__USING_NAMESPACE_C99): Likewise.
7568         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7569         undefine macro.
7570         (_Mdouble_END_NAMESPACE): Likewise.
7571         * ctype/ctype.h: Do not handle C++ namespaces.
7572         * libio/bits/stdio-ldbl.h: Likewise.
7573         * libio/stdio.h: Likewise.
7574         * locale/locale.h: Likewise.
7575         * math/bits/mathcalls.h: Likewise.
7576         * setjmp/setjmp.h: Likewise.
7577         * signal/signal.h: Likewise.
7578         * stdlib/bits/stdlib-float.h: Likewise.
7579         * stdlib/bits/stdlib-ldbl.h: Likewise.
7580         * stdlib/stdlib.h: Likewise.
7581         * string/string.h: Likewise.
7582         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7583         * time/bits/types/clock_t.h: Likewise.
7584         * time/bits/types/struct_tm.h: Likewise.
7585         * time/bits/types/time_t.h: Likewise.
7586         * time/time.h: Likewise.
7587         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7588         * wcsmbs/uchar.h: Likewise.
7589         * wcsmbs/wchar.h: Likewise.
7590         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7591         * wctype/wctype.h: Do not handle C++ namespaces.
7592         * scripts/begin-end-check.pl: Remove.
7593         * Makefile (installed-headers): Likewise.
7594         (tests-special): Do not add $(objpfx)begin-end-check.out.
7595         ($(objpfx)begin-end-check.out): Remove.
7597 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7598             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7600         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7601         (DL_PLATFORM_INIT): New define.
7602         (dl_platform_init): New function.
7603         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7604         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7605         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7606         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7607         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7609 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7611         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7612         instead of PIC.
7614 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7616         [BZ #21094]
7617         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7618         24+24+24-bit pi for wider range of values around pi/2.
7619         * math/auto-libm-test-in: Add more tests of cos and tan.
7620         * math/auto-libm-test-out-cos: Regenerated.
7621         * math/auto-libm-test-out-tan: Likewise.
7623 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7625         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7626         (RTLD_START): Don't record stack end address in _dl_start_user.
7628 2017-03-15  Alexey Neyman  <stilor@att.net>
7630         [BZ #21088]
7631         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7632         around definitions match those around use.
7634 2017-03-15  Alexey Neyman  <stilor@att.net>
7636         * configure.ac: Avoid empty subexpression in grep.
7637         * configure: Regenerate.
7639 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7641         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7642         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7643         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7644         (test_wrp_rv): Fix format.
7645         (test_wrp_rv2): New macro.
7646         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7647         binaries.
7649 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7651         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7652         Use a union when storing pointers.
7653         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7654         cast result when passing to INIT_VEC_PTRS_LOOP.
7655         (VECTOR_WRAPPER_fFF_3): Likewise.
7656         (VECTOR_WRAPPER_fFF_4): Likewise.
7658 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7660         * include/bits/mathcalls-helper-functions.h: New file.
7661         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7662         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7663         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7664         math/bits/mathcalls-helper-functions.h.
7665         * math/bits/mathcalls-helper-functions.h: New file.
7666         * math/math.h: Include bits/mathcalls-helper-functions.h for
7667         float, double, and long double.
7669 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7671         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7672         instead of feraiseexcept.
7674 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7676         [BZ #21243]
7677         * support/temp_file.c (support_delete_temp_files): Add comment
7678         about ignored errors.
7680 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7682         [BZ #21244]
7683         * support/xclose.c: New file.
7684         * support/Makefile (libsupport-routines): Add xclose.
7685         * support/xunistd.h (xclose): Declare.
7686         * support/resolv_test.c (server_thread_tcp_client)
7687         (server_thread_tcp, make_server_sockets, resolv_test_start)
7688         (resolv_test_end): Call xclose instead of close.
7689         * support/support_enter_network_namespace.c
7690         (support_enter_network_namespace): Likewise.
7691         * support/support_run_diff.c (write_to_temp_file): Likewise.
7693 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7695         * support/support_format_dns_packet.c (support_format_dns_packet):
7696         Handle CNAME records in the response.  Extract RDATA names from
7697         rdata, not the whole packet.  Check AAAA record length.
7698         * support/tst-support_format_dns_packet.c: New file.
7699         * support/Makefile (tests): Add tst-support_format_dns_packet.
7700         (tst-support_format_dns_packet): Link against libresolv.
7702 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7704         [BZ #21232]
7705         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7706         posix_fadvise64 weak_alias for static build.
7708 2017-03-14  Andreas Schwab  <schwab@suse.de>
7710         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7711         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7712         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7713         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7714         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7715         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7716         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7717         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7719 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7721         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7722         posix error code.
7723         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7725 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7727         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7728         no_isolate usage for SH.
7730 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7732         [BZ #15105]
7733         [BZ #19463]
7734         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7735         * inet/rcmd.c (rcmd_af): Likewise.
7736         * inet/rexec.c   (rexec_af): Likewise.
7737         * intl/dcigettext.c (_LIBC): Likewise.
7738         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7739         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7740         * locale/setlocale.c (setlocale): Likewise.
7741         * posix/spawn_faction_addopen.c
7742         (posix_spawn_file_actions_addopen): Likewise.
7743         * stdlib/putenv.c (putenv): Use __strndup.
7744         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7745         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7746         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7747         (__Need_M_And_C) Remove define/undef.
7748         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7749         (__malloc_and_calloc_defined): Remove define.
7750         * string/bits/string2.h (__strdup): Remove define.
7751         (strdup): Likewise.
7752         (__strndup): Likewise.
7753         (strndup): Likewise.
7755 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7757         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7758         macro.
7759         (IPV6_ADDR_PREFERENCES): Likewise.
7760         (IPV6_MINHOPCOUNT): Likewise.
7761         (IPV6_ORIGDSTADDR): Likewise.
7762         (IPV6_RECVORIGDSTADDR): Likewise.
7763         (IPV6_TRANSPARENT): Likewise.
7764         (IPV6_UNICAST_IF): Likewise.
7765         (IPV6_RECVFRAGSIZE): Likewise.
7767 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7769         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7771 2017-03-12  Alexey Neyman <stilor@att.net>
7773         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7774         in R_SH_DIR32 case is always false when inlined from
7775         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7777 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7779         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7780         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7781         __ASSUME_SEND_SYSCALL.
7783 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7785         * sunrpc/Makefile: don't build and install rpcsvc header
7786         files, rpcgen and librpcsvc.a by default.
7788 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7790         * math/auto-libm-test-out-catan: Regenerated.
7791         * math/auto-libm-test-out-catanh: Likewise.
7792         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7794 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7796         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7797         for long double with corrected test expectations.
7799 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7801         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7802         Define.
7803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7804         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7805         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7806         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7807         * sysdeps/unix/sysv/linux/tile/sysdep.h
7808         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7810         (__ASSUME_RECV_SYSCALL): Define.
7811         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7812         (__ASSUME_RECV_SYSCALL): Likewise.
7813         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7814         (__ASSUME_RECV_SYSCALL): Likewise.
7815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7816         (__ASSUME_RECV_SYSCALL): Likewise.
7817         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7818         (__ASSUME_RECV_SYSCALL): Likewise.
7819         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7820         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7821         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7822         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7823         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7824         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7825         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7826         auto-generation list.
7827         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7828         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7829         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7830         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7831         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7832         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7833         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7834         __ASSUME_SENDTO_SYSCALL.
7835         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7836         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7837         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7839         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7840         auto-generation list.
7841         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7842         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7843         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7844         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7845         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7846         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7847         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7848         * sysdeps/unix/sysv/linux/kernel-features.h
7849         (__ASSUME_SENDTO_SYSCALL): Define by default.
7850         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7851         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7852         __NR_sendto.
7853         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7854         (__ASSUME_SENDTO_SYSCALL): Likewise.
7855         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7856         (__ASSUME_SENDTO_SYSCALL): Likewise.
7857         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7858         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7859         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7860         (__ASSUME_SENDTO_SYSCALL): Likewise.
7861         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7862         (__ASSUME_SENDTO_SYSCALL): Likewise.
7863         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7865         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7866         auto-generation list.
7867         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7868         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7869         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7870         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7871         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7872         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7873         (__ASSUME_RECV_SYSCALL): New define.
7874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7875         (__ASSUME_RECV_SYSCALL): Likewise.
7876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7877         (__ASSUME_RECV_SYSCALL): Likewise.
7878         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7879         (__ASSUME_RECV_SYSCALL): Likewise.
7880         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7881         (__ASSUME_RECV_SYSCALL): Likewise.
7882         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7883         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7884         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7885         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7886         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7887         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7888         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7889         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7891         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7892         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7893         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7895         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7896         auto-generation list.
7897         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7898         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7899         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7900         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7902         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7903         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7904         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7905         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7906         * sysdeps/unix/sysv/linux/kernel-features.h
7907         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7908         __NR_recvfrom.
7909         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7910         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7911         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7912         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7914         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7915         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7916         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7917         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7918         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7919         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7920         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7921         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7923         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7924         auto-generation list.
7925         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7926         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7927         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7928         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7929         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7930         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7931         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7932         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7933         * sysdeps/unix/sysv/linux/kernel-features.h
7934         (__ASSUME_CONNECT_SYSCALL): Define.
7935         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7936         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7938         (__ASSUME_CONNECT_SYSCALL): Likewise.
7939         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7940         (__ASSUME_CONNECT_SYSCALL): Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7942         (__ASSUME_CONNECT_SYSCALL): Likewise.
7944         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7945         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7946         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7947         auto-generation list.
7948         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7949         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7950         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7951         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7952         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7953         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7954         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7955         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7956         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7957         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7958         * sysdeps/unix/sysv/linux/kernel-features.h
7959         (__ASSUME_ACCEPT_SYSCALL): New define.
7960         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7961         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7962         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7963         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7964         (__ASSUME_ACCEPT_SYSCALL): Define.
7965         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7966         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7967         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7968         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7969         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7970         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7971         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7972         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7973         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7975 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7976             Zack Weinberg  <zackw@panix.com>
7978         * posix/test-errno.c: New file.
7979         * posix/Makefile (tests): Add test-errno.
7980         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7981         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7983 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7985         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7987 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7989         * time/tzset.c (compute_offset): Open-code min macro.
7990         (min, max, sign): Remove.
7992 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7994         [BZ #15576]
7995         Remove TZNAME_MAX limit from sysconf.
7996         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7997         declaration.
7998         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7999         compute_tzname_max.
8000         (compute_tzname_max): Remove.
8001         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8002         (update_vars): Do not update __tzname_cur_max.
8003         (tzset_internal): Remove argument.
8004         (__tzset): Adjust call to tzset_internal.
8005         (__tz_convert): Likewise.
8007         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8008         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8009         * manual/conf.texi (Sysconf Definition): Update comment.
8011 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8013         [BZ #21209]
8014         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8015         AT_SECURE processes.
8016         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8017         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8018         (test_child): Likewise.
8019         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8021 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8023         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8025 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8027         * sysdeps/s390/atomic-machine.h
8028         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8029         (__arch_compare_and_exchange_val_8_acq,
8030         __arch_compare_and_exchange_val_16_acq,
8031         __arch_compare_and_exchange_val_32_acq,
8032         __arch_compare_and_exchange_val_64_acq):
8033         Delete macro.
8034         (atomic_compare_and_exchange_val_acq,
8035         atomic_compare_and_exchange_val_rel,
8036         atomic_compare_and_exchange_bool_acq,
8037         catomic_compare_and_exchange_bool_acq,
8038         atomic_exchange_acq, atomic_exchange_rel,
8039         atomic_exchange_and_add_acq,
8040         atomic_exchange_and_add_rel,
8041         catomic_exchange_and_add, atomic_or_val,
8042         atomic_or, catomic_or, atomic_bit_test_set,
8043         atomic_and_val, atomic_and, catomic_and):
8044         Define macros with help of C11 atomic builtins.
8046 2017-03-03  Justus Winter <justus@gnupg.org>
8048         * sysdeps/mach/hurd/ftruncate64.c: New file.
8049         * sysdeps/mach/hurd/truncate64.c: Likewise.
8051 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8053         * time/tzfile.c (NOID): Do not define.
8054         * time/tzset.c (NOID): Likewise.
8056 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8058         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8060 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8062         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8064 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8066         [BZ #21015]
8067         * manual/install.texi (Configuring and compiling): Document
8068         --enable-bind-now.
8069         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8070         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8071         (format.lds): Likewise.
8072         [bind-now] (LDFLAGS-c.so): Remove.
8073         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8074         be R_X86_64_GLOB_DAT.
8075         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8076         relocation can be R_386_GLOB_DAT.
8077         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8078         relocaiton can be R_ALPHA_GLOB_DAT.
8079         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8081 2017-03-01  Zack Weinberg  <zackw@panix.com>
8083         * include/libc-pointer-arith.h: New file.  Define
8084         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8085         PTR_ALIGN_DOWN here.
8086         * include/libc-internal.h: Definitions of above macros
8087         moved from here.  Don't include libc-diag.h anymore either.
8088         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8089         Don't include libc-internal.h.
8091         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8092         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8093         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8094         * string/strcoll_l.c, sysdeps/nacl/brk.c
8095         * sysdeps/unix/clock_settime.c
8096         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8097         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8098         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8099         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8100         Don't include libc-internal.h.
8102         * elf/get-dynamic-info.h, iconv/loop.c
8103         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8104         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8105         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8106         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8107         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8108         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8109         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8110         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8111         * sysdeps/ieee754/ldbl-128/k_tanl.c
8112         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8113         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8114         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8115         Include libc-diag.h instead of libc-internal.h.
8117         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8118         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8119         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8120         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8121         * sysdeps/unix/sysv/linux/spawni.c
8122         * sysdeps/x86_64/nptl/tls.h:
8123         Include libc-pointer-arith.h instead of libc-internal.h.
8125         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8126         * sysdeps/x86_64/atomic-machine.h:
8127         Add multiple include guard.
8129         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8130         * string/strcasestr.c: No need to include config.h.
8131         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8132         sys/auxv.h. Don't include sysdep.h.
8133         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8135         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8136         DL_LOOKUP_ADDRESS.
8137         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8138         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8139         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8140         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8141         of ARTIFICIAL_LIMIT.
8142         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8143         declaration of __clone2.
8145 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8147         * scripts/backport-support.sh (latest_commit): New file.
8149 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8151         [BZ #20257]
8152         * inet/Makefile (routines): Add deadline.
8153         (tests-static): Add tst-deadline.
8154         * inet/net-internal.h (struct deadline_current_time)
8155         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8156         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8157         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8158         * inet/deadline.c: New file.
8159         * inet/tst-deadline.c: Likewise.
8160         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8161         tst-udp-timeout, tst-udp-garbage.
8162         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8163         explicitly.
8164         (tst-udp-garbage): Likewise.  Also link against thread library.
8165         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8166         struct layout is part of the ABI.
8167         (clntudp_call): Rework timeout handling.
8168         * sunrpc/tst-udp-garbage.c: New file.
8169         * sunrpc/tst-udp-nonblocking.c: Likewise.
8170         * sunrpc/tst-udp-timeout.c: Likewise.
8172 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8174         [BZ #5010]
8175         * sunrpc/svc.c (svc_is_mapped): Remove.
8176         (svc_unregister): Obtain mapped status while the service is still
8177         registered.
8178         * sunrpc/Makefile [have-thread-library] (tests): Add
8179         tst-svc_register.
8180         (tst-svc_register): Link against libc.so explicitly and the thread
8181         library.
8182         * sunrpc/tst-svc_register.c: New file.
8184 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8186         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8187         * sysdeps/pthread/bits/sigthread.h: Likewise.
8189 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8191         [BZ #21115]
8192         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8193         * sunrpc/Makefile (tests): Add tst-udp-error.
8194         (tst-udp-error): Link against libc.so explicitly.
8195         * sunrpc/tst-udp-error: New file.
8197 2017-02-25  Zack Weinberg  <zackw@panix.com>
8199         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8200         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8202         * sysdeps/generic/math_ldbl.h
8203         * sysdeps/ia64/fpu/math_ldbl.h
8204         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8205         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8206         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8207         * sysdeps/powerpc/fpu/math_ldbl.h
8208         * sysdeps/x86_64/fpu/math_ldbl.h:
8209         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8210         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8211         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8212         Add copyright notices.
8214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8215         Don't use EXTRACT_WORDS64.
8217         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8218         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8219         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8220         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8221         Include math_ldbl.h, not math_private.h.
8223 2017-02-25  Zack Weinberg  <zackw@panix.com>
8225         * include/libc-diag.h: New file.  Define ignore_value,
8226         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8227         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8229         * include/libc-internal.h: Definitions of above macros moved from
8230         here.  Include libc-diag.h.  Add copyright notice.
8232         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8233         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8234         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8235         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8236         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8237         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8238         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8239         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8240         Include libc-diag.h instead of libc-internal.h.
8242         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8243         call to unsetenv (NULL).
8244         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8245         call to pthread_mutexattr_destroy (NULL).
8247 2017-02-25  Zack Weinberg  <zackw@panix.com>
8249         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8250         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8251         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8252         gets was removed from C++ in C++14.
8253         * include/stdio.h: Remove redundant declaration of gets.
8254         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8255         be declared, since we are testing it.
8256         * stdio-common/Makefile (tst-gets.c): Compile with
8257         -Wno-deprecated-declarations.
8258         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8259         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8260         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8261         Compile with -Wno-deprecated-declarations.
8263 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8265         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8266         numbers.
8268 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8270         * resolv/tst-resolv-qtypes.c (domain):
8271         Change type to const pointer to const char.
8273 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8275         * math/Makefile (libm-tests-generated): Remove variable.
8276         (libm-tests-base-normal): New variable.
8277         (libm-tests-base-finite): Likewise.
8278         (libm-tests-base-inline): Likewise.
8279         (libm-tests-base): Likewise.
8280         (libm-tests-normal): Likewise.
8281         (libm-tests-finite): Likewise.
8282         (libm-tests-inline): Likewise.
8283         (libm-tests-vector): Likewise.
8284         (libm-tests): Define in terms of these new variables.
8285         (libm-tests-for-type): New variable.
8286         (libm-tests.o): Move definition.
8287         (tests): Move addition of $(libm-tests).
8288         (generated): Update for new and removed libm test files.
8289         ($(objpfx)libm-test.c): Remove target.
8290         ($(objpfx)libm-have-vector-test.h): Likewise.
8291         (CFLAGS-test-double-vlen2.c): Remove variable.
8292         (CFLAGS-test-double-vlen4.c): Likewise.
8293         (CFLAGS-test-double-vlen8.c): Likewise.
8294         (CFLAGS-test-float-vlen4.c): Likewise.
8295         (CFLAGS-test-float-vlen8.c): Likewise.
8296         (CFLAGS-test-float-vlen16.c): Likewise.
8297         (CFLAGS-test-float.c): Likewise.
8298         (CFLAGS-test-float-finite.c): Likewise.
8299         (CFLAGS-libm-test-support-float.c): Likewise.
8300         (CFLAGS-test-double.c): Likewise.
8301         (CFLAGS-test-double-finite.c): Likewise.
8302         (CFLAGS-libm-test-support-double.c): Likewise.
8303         (CFLAGS-test-ldouble.c): Likewise.
8304         (CFLAGS-test-ldouble-finite.c): Likewise.
8305         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8306         (libm-test-inline-cflags): New variable.
8307         (CFLAGS-test-ifloat.c): Remove variable.
8308         (CFLAGS-test-idouble.c): Likewise.
8309         (CFLAGS-test-ildouble.c): Likewise.
8310         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8311         dependencies.
8312         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8313         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8314         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8315         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8316         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8317         Likewise.
8318         (dependencies on libm-test-support-*.o): Remove.
8319         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8320         rules using iterators.
8321         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8322         Likewise.
8323         ($(objpfx)libm-test-support-$(o).o): Likewise.
8324         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8325         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8326         instead.
8327         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8328         define rule instead.
8329         * math/README.libm-test: Update.
8330         * math/libm-test-acos.inc: Include libm-test-driver.c.
8331         (do_test): New function.
8332         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8333         (do_test): New function.
8334         * math/libm-test-asin.inc: Include libm-test-driver.c.
8335         (do_test): New function.
8336         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8337         (do_test): New function.
8338         * math/libm-test-atan.inc: Include libm-test-driver.c.
8339         (do_test): New function.
8340         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8341         (do_test): New function.
8342         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8343         (do_test): New function.
8344         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8345         (do_test): New function.
8346         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8347         (do_test): New function.
8348         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8349         (do_test): New function.
8350         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8351         (do_test): New function.
8352         * math/libm-test-carg.inc: Include libm-test-driver.c.
8353         (do_test): New function.
8354         * math/libm-test-casin.inc: Include libm-test-driver.c.
8355         (do_test): New function.
8356         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8357         (do_test): New function.
8358         * math/libm-test-catan.inc: Include libm-test-driver.c.
8359         (do_test): New function.
8360         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8361         (do_test): New function.
8362         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8363         (do_test): New function.
8364         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8365         (do_test): New function.
8366         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8367         (do_test): New function.
8368         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8369         (do_test): New function.
8370         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8371         (do_test): New function.
8372         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8373         (do_test): New function.
8374         * math/libm-test-clog.inc: Include libm-test-driver.c.
8375         (do_test): New function.
8376         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8377         (do_test): New function.
8378         * math/libm-test-conj.inc: Include libm-test-driver.c.
8379         (do_test): New function.
8380         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8381         (do_test): New function.
8382         * math/libm-test-cos.inc: Include libm-test-driver.c.
8383         (do_test): New function.
8384         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8385         (do_test): New function.
8386         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8387         (do_test): New function.
8388         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8389         (do_test): New function.
8390         * math/libm-test-creal.inc: Include libm-test-driver.c.
8391         (do_test): New function.
8392         * math/libm-test-csin.inc: Include libm-test-driver.c.
8393         (do_test): New function.
8394         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8395         (do_test): New function.
8396         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8397         (do_test): New function.
8398         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8399         (do_test): New function.
8400         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8401         (do_test): New function.
8402         * math/libm-test-erf.inc: Include libm-test-driver.c.
8403         (do_test): New function.
8404         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8405         (do_test): New function.
8406         * math/libm-test-exp.inc: Include libm-test-driver.c.
8407         (do_test): New function.
8408         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8409         (do_test): New function.
8410         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8411         (do_test): New function.
8412         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8413         (do_test): New function.
8414         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8415         (do_test): New function.
8416         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8417         (do_test): New function.
8418         * math/libm-test-floor.inc: Include libm-test-driver.c.
8419         (do_test): New function.
8420         * math/libm-test-fma.inc: Include libm-test-driver.c.
8421         (do_test): New function.
8422         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8423         (do_test): New function.
8424         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8425         (do_test): New function.
8426         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8427         (do_test): New function.
8428         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8429         (do_test): New function.
8430         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8431         (do_test): New function.
8432         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8433         (do_test): New function.
8434         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8435         (do_test): New function.
8436         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8437         (do_test): New function.
8438         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8439         (do_test): New function.
8440         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8441         (do_test): New function.
8442         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8443         (do_test): New function.
8444         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8445         (do_test): New function.
8446         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8447         (do_test): New function.
8448         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8449         (do_test): New function.
8450         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8451         (do_test): New function.
8452         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8453         (do_test): New function.
8454         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8455         (do_test): New function.
8456         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8457         (do_test): New function.
8458         * math/libm-test-isless.inc: Include libm-test-driver.c.
8459         (do_test): New function.
8460         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8461         (do_test): New function.
8462         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8463         (do_test): New function.
8464         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8465         (do_test): New function.
8466         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8467         (do_test): New function.
8468         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8469         (do_test): New function.
8470         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8471         (do_test): New function.
8472         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8473         (do_test): New function.
8474         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8475         (do_test): New function.
8476         * math/libm-test-j0.inc: Include libm-test-driver.c.
8477         (do_test): New function.
8478         * math/libm-test-j1.inc: Include libm-test-driver.c.
8479         (do_test): New function.
8480         * math/libm-test-jn.inc: Include libm-test-driver.c.
8481         (do_test): New function.
8482         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8483         (do_test): New function.
8484         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8485         (do_test): New function.
8486         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8487         (do_test): New function.
8488         * math/libm-test-llround.inc: Include libm-test-driver.c.
8489         (do_test): New function.
8490         * math/libm-test-log.inc: Include libm-test-driver.c.
8491         (do_test): New function.
8492         * math/libm-test-log10.inc: Include libm-test-driver.c.
8493         (do_test): New function.
8494         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8495         (do_test): New function.
8496         * math/libm-test-log2.inc: Include libm-test-driver.c.
8497         (do_test): New function.
8498         * math/libm-test-logb.inc: Include libm-test-driver.c.
8499         (do_test): New function.
8500         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8501         (do_test): New function.
8502         * math/libm-test-lround.inc: Include libm-test-driver.c.
8503         (do_test): New function.
8504         * math/libm-test-modf.inc: Include libm-test-driver.c.
8505         (do_test): New function.
8506         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8507         (do_test): New function.
8508         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8509         (do_test): New function.
8510         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8511         (do_test): New function.
8512         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8513         (do_test): New function.
8514         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8515         (do_test): New function.
8516         * math/libm-test-pow.inc: Include libm-test-driver.c.
8517         (do_test): New function.
8518         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8519         (do_test): New function.
8520         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8521         (do_test): New function.
8522         * math/libm-test-rint.inc: Include libm-test-driver.c.
8523         (do_test): New function.
8524         * math/libm-test-round.inc: Include libm-test-driver.c.
8525         (do_test): New function.
8526         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8527         (do_test): New function.
8528         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8529         (do_test): New function.
8530         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8531         (do_test): New function.
8532         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8533         (do_test): New function.
8534         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8535         (do_test): New function.
8536         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8537         (do_test): New function.
8538         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8539         (do_test): New function.
8540         * math/libm-test-significand.inc: Include libm-test-driver.c.
8541         (do_test): New function.
8542         * math/libm-test-sin.inc: Include libm-test-driver.c.
8543         (do_test): New function.
8544         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8545         (do_test): New function.
8546         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8547         (do_test): New function.
8548         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8549         (do_test): New function.
8550         * math/libm-test-tan.inc: Include libm-test-driver.c.
8551         (do_test): New function.
8552         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8553         (do_test): New function.
8554         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8555         (do_test): New function.
8556         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8557         (do_test): New function.
8558         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8559         (do_test): New function.
8560         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8561         (do_test): New function.
8562         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8563         (do_test): New function.
8564         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8565         (do_test): New function.
8566         * math/libm-test-y0.inc: Include libm-test-driver.c.
8567         (do_test): New function.
8568         * math/libm-test-y1.inc: Include libm-test-driver.c.
8569         (do_test): New function.
8570         * math/libm-test-yn.inc: Include libm-test-driver.c.
8571         (do_test): New function.
8572         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8573         (HAVE_VECTOR): Remove macro.
8574         (START): Do not call HAVE_VECTOR.
8575         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8576         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8577         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8578         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8579         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8580         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8581         * math/test-math-vector.h (FUNC_TEST): New macro.
8582         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8583         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8584         (double-vlen4-funcs): Likewise.
8585         (double-vlen4-avx2-funcs): Likewise.
8586         (double-vlen8-funcs): Likewise.
8587         (float-vlen4-funcs): Likewise.
8588         (float-vlen8-funcs): Likewise.
8589         (float-vlen8-avx2-funcs): Likewise.
8590         (float-vlen16-funcs): Likewise.
8591         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8592         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8593         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8594         macro.
8595         (TEST_VECTOR_sin): Likewise.
8596         (TEST_VECTOR_sincos): Likewise.
8597         (TEST_VECTOR_log): Likewise.
8598         (TEST_VECTOR_exp): Likewise.
8599         (TEST_VECTOR_pow): Likewise.
8600         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8601         Likewise.
8602         (TEST_VECTOR_sin): Likewise.
8603         (TEST_VECTOR_sincos): Likewise.
8604         (TEST_VECTOR_log): Likewise.
8605         (TEST_VECTOR_exp): Likewise.
8606         (TEST_VECTOR_pow): Likewise.
8607         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8608         Likewise.
8609         (TEST_VECTOR_sinf): Likewise.
8610         (TEST_VECTOR_sincosf): Likewise.
8611         (TEST_VECTOR_logf): Likewise.
8612         (TEST_VECTOR_expf): Likewise.
8613         (TEST_VECTOR_powf): Likewise.
8614         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8615         Likewise.
8616         (TEST_VECTOR_sinf): Likewise.
8617         (TEST_VECTOR_sincosf): Likewise.
8618         (TEST_VECTOR_logf): Likewise.
8619         (TEST_VECTOR_expf): Likewise.
8620         (TEST_VECTOR_powf): Likewise.
8621         * math/gen-libm-have-vector-test.sh: Remove file.
8622         * math/libm-test.inc: Likewise.
8623         * math/libm-test-support-double.c: Likewise.
8624         * math/libm-test-support-float.c: Likewise.
8625         * math/libm-test-support-ldouble.c: Likewise.
8626         * math/test-double-finite.c: Likewise.: Likewise.
8627         * math/test-double.c: Likewise.
8628         * math/test-float-finite.c: Likewise.
8629         * math/test-float.c: Likewise.
8630         * math/test-idouble.c: Likewise.
8631         * math/test-ifloat.c: Likewise.
8632         * math/test-ildouble.c: Likewise.
8633         * math/test-ldouble-finite.c: Likewise.
8634         * math/test-ldouble.c: Likewise.
8635         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8636         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8638         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8639         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8640         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8641         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8642         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8646 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8647            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8649         * math/Makefile: Add wrappers to gen-libm-calls.
8650         * math/w_acos_template.c: New file.
8651         * math/w_acosh_template.c: Likewise.
8652         * math/w_asin_template.c: Likewise.
8653         * math/w_atan2_template.c: Likewise.
8654         * math/w_atanh_template.c: Likewise.
8655         * math/w_cosh_template.c: Likewise.
8656         * math/w_exp10_template.c: Likewise.
8657         * math/w_exp2_template.c: Likewise.
8658         * math/w_exp_template.c: Likewise.
8659         * math/w_fmod_template.c: Likewise.
8660         * math/w_hypot_template.c: Likewise.
8661         * math/w_j0_template.c: Likewise.
8662         * math/w_j1_template.c: Likewise.
8663         * math/w_jn_template.c: Likewise.
8664         * math/w_lgamma_r_template.c: Likewise.
8665         * math/w_lgamma_template.c: Likewise.
8666         * math/w_log10_template.c: Likewise.
8667         * math/w_log2_template.c: Likewise.
8668         * math/w_log_template.c: Likewise.
8669         * math/w_pow_template.c: Likewise.
8670         * math/w_remainder_template.c: Likewise.
8671         * math/w_sinh_template.c: Likewise.
8672         * math/w_sqrt_template.c: Likewise.
8673         * math/w_tgamma_template.c: Likewise.: Likewise.
8674         * sysdeps/generic/math-type-macros-double.h
8675         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8676         the new wrappers.
8677         * sysdeps/generic/math-type-macros-float.h: Likewise.
8678         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8680 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8682         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8683         New enum constant and macro.
8685         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8686         kernel version to 4.10.
8688 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8690         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8692 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8696 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8698         * sysdeps/powerpc/tst-set_ppr.c: New file.
8699         Implement test cases for __ppc_set_ppr_* functions.
8700         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8701         in the list of tests.
8703 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8705         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8706         instead of test-skeleton.c.
8707         (do_test): Replaced pthread_create and pthread_join with
8708         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8709         Removed unneeded status variable.
8710         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8711         instead of test-skeleton.c.
8712         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8714 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8716         [BZ #20313]
8717         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8718         201605L, for Unicode 9.
8720 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8722         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8723         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8724         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8725         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8726         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8727         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8729 2017-02-19  Zack Weinberg  <zackw@panix.com>
8731         * rt/tst-mqueue4.c: Include stdint.h.
8733 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8735         * sysdeps/arm/libm-test-ulps: Update.
8736         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8737         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8738         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8740 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8742         [BZ #21029]
8743         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8744         * sysdeps/unix/sysv/linux/i386/Makefile
8745         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8746         (uses-6-syscall-arguments): Remove.
8747         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8748         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8749         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8750         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8751         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8752         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8753         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8754         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8755         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8756         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8757         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8758         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8759         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8760         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8761         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8762         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8763         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8764         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8765         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8766         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8767         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8768         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8769         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8770         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8771         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8772         Likewise.
8773         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8774         Likewise.
8775         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8776         Likewise.
8777         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8778         Likewise.
8779         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8780         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8781         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8782         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8783         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8784         ebp on inline assembly.
8785         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8786         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8787         Set if CAN_USE_REGISTER_ASM_EBP is set.
8789 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8791         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8792         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8794 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8796         * math/auto-libm-test-in: Add tests of catan and catanh.
8797         * math/auto-libm-test-out-catan: New generated file.
8798         * math/auto-libm-test-out-catanh: Likewise.
8799         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8800         Move tests with finite inputs, except divide-by-zero cases, to
8801         auto-libm-test-in.
8802         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8803         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8804         (libm-test-funcs-noauto): Remove catan and catanh.
8805         * sysdeps/i386/fpu/libm-test-ulps: Update.
8806         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8809         * math/auto-libm-test-in: Add tests of casin and casinh.
8810         * math/auto-libm-test-out-casin: New generated file.
8811         * math/auto-libm-test-out-casinh: Likewise.
8812         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8813         Move tests with finite inputs to auto-libm-test-in.
8814         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8815         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8816         (libm-test-funcs-noauto): Remove casin and casinh.
8817         * sysdeps/i386/fpu/libm-test-ulps: Update.
8818         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8822         * math/auto-libm-test-out-cacos: New generated file.
8823         * math/auto-libm-test-out-cacosh: Likewise.
8824         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8825         Move tests with finite inputs to auto-libm-test-in.
8826         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8827         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8828         (libm-test-funcs-noauto): Remove cacos and cacosh.
8829         * sysdeps/i386/fpu/libm-test-ulps: Update.
8830         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8833         Revert:
8834         2017-02-16  Zack Weinberg  <zackw@panix.com>
8836         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8837         Don't include init-arch.h.
8838         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8839         Don't include init-arch.h.
8841 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8843         [BZ #21171]
8844         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8845         +Inf and raise divide-by-zero when x is negative.
8846         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8847         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8848         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8849         -Inf and raise divide-by-zero when x = +-0.
8850         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8851         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8852         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8853         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8854         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8855         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8856         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8858 2017-02-16  Zack Weinberg  <zackw@panix.com>
8860         * scripts/build-many-glibcs.py (bot_build_mail): If the
8861         bot_config does not contain all of the necessary email-
8862         related settings, just print a warning and continue.
8864 2017-02-16  Zack Weinberg  <zackw@panix.com>
8866         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8867         * dirent/opendir-tst1.c: Include sys/stat.h.
8868         * dirent/tst-fdopendir.c: Include sys/stat.h.
8869         * dirent/tst-fdopendir2.c: Include stdlib.h.
8870         * dirent/tst-scandir.c: Include stdbool.h.
8871         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8872         * elf/tst-tls15.c: Include stdlib.h.
8873         * elf/tst-tls16.c: Include stdlib.h.
8874         * elf/tst-tls17.c: Include stdlib.h.
8875         * elf/tst-tls18.c: Include stdlib.h.
8876         * iconv/tst-iconv6.c: Include endian.h.
8877         * iconvdata/bug-iconv11.c: Include limits.h.
8878         * io/test-utime.c: Include stdint.h.
8879         * io/tst-faccessat.c: Include sys/stat.h.
8880         * io/tst-fchmodat.c: Include sys/stat.h.
8881         * io/tst-fchownat.c: Include sys/stat.h.
8882         * io/tst-fstatat.c: Include sys/stat.h.
8883         * io/tst-futimesat.c: Include sys/stat.h.
8884         * io/tst-linkat.c: Include sys/stat.h.
8885         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8886         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8887         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8888         * io/tst-openat.c: Include stdbool.h.
8889         * io/tst-readlinkat.c: Include sys/stat.h.
8890         * io/tst-renameat.c: Include sys/stat.h.
8891         * io/tst-symlinkat.c: Include sys/stat.h.
8892         * io/tst-unlinkat.c: Include stdbool.h.
8893         * libio/bug-memstream1.c: Include stdlib.h.
8894         * libio/bug-wmemstream1.c: Include stdlib.h.
8895         * libio/tst-fwrite-error.c: Include stdlib.h.
8896         * libio/tst-memstream1.c: Include stdlib.h.
8897         * libio/tst-memstream2.c: Include stdlib.h.
8898         * libio/tst-memstream3.c: Include stdlib.h.
8899         * malloc/tst-interpose-aux.c: Include stdint.h.
8900         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8901         * nptl/tst-basic7.c: Include limits.h.
8902         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8903         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8904         * nptl/tst-cancel4_1.c: Include stddef.h.
8905         * nptl/tst-cancel4_2.c: Include stddef.h.
8906         * nptl/tst-cond16.c: Include limits.h.
8907         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8908         * nptl/tst-cond18.c: Include limits.h.
8909         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8910         * nptl/tst-cond4.c: Include stdint.h.
8911         * nptl/tst-cond6.c: Include stdint.h.
8912         * nptl/tst-stack2.c: Include limits.h.
8913         * nptl/tst-stackguard1.c: Include stddef.h.
8914         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8915         * nptl/tst-tls4moda.c: Include stddef.h.
8916         Don't include stdio.h, unistd.h, or tls.h.
8917         * nptl/tst-tls4modb.c: Include stddef.h.
8918         Don't include stdio.h, unistd.h, or tls.h.
8919         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8920         * posix/tst-getaddrinfo2.c: Include stdio.h.
8921         * posix/tst-getaddrinfo5.c: Include stdio.h.
8922         * posix/tst-pathconf.c: Include sys/stat.h.
8923         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8924         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8925         * posix/tst-regex.c: Include stdint.h.
8926         Don't include spawn.h or spawn_int.h.
8927         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8928         * posix/tst-vfork3.c: Include sys/stat.h.
8929         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8930         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8931         * resolv/tst-resolv-search.c: Include stdlib.h.
8932         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8933         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8934         * stdlib/test-canon.c: Include sys/stat.h.
8935         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8936         * string/test-memchr.c: Include stdint.h.
8937         * string/tst-cmp.c: Include stdint.h.
8938         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8939         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8940         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8941         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8942         Don't include init-arch.h.
8943         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8944         Don't include init-arch.h.
8945         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8946         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8947         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8948         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8949         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8950         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8951         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8952         * time/clocktest.c: Include stdint.h.
8953         * time/tst-posixtz.c: Include stdint.h.
8954         * timezone/tst-timezone.c: Include stdint.h.
8956 2017-02-16  Zack Weinberg  <zackw@panix.com>
8958         * string/string.h [__USE_MISC]: Include strings.h.
8959         (__bzero, bcmp, bcopy, bzero, index, rindex)
8960         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8961         (ffs, ffsl, ffsll): Don't declare.
8962         * string/strings.h: Do not suppress the file if string.h has
8963         already been included.
8964         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8965         annotations.
8966         (index, rindex): Define inline forwarders even if
8967         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8968         (ffs): Use __attribute_const__.
8969         (ffsl, ffsll): Declare here.
8970         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8971         have now been standardized.
8972         * include/string.h (__bzero): Declare here.
8974         * bits/types.h: Move to posix/bits.
8975         * include/bits/types.h: New wrapper.
8977 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8979         * string/bits/string2.h (strcmp): Remove define.
8980         (__strcmp_cg): Likewise.
8981         (strncmp): Likewise.
8983 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8985         * include/string.h: Add __cplusplus check.
8987 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8989         [BZ #21134]
8990         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8991         "divide by zero" exception when the input is zero.
8992         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8993         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8994         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8995         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8996         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8998 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
9000         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9001         and include ...
9002         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
9003         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9004         to, and include ...
9005         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
9006         file.
9007         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9008         and include ...
9009         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
9010         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9011         and include ...
9012         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
9013         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9014         and include ...
9015         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
9016         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9017         and include ...
9018         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
9019         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9020         to, and include ...
9021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
9022         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9023         and include ...
9024         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
9026 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
9028         * math/libm-test-support.h: Do not include <math-tests-arch.h>
9029         here.
9030         * math/libm-test-support.c (libm_test_init): Do not call
9031         INIT_ARCH_EXT here.
9032         * math/libm-test-driver.c: Include <math-tests-arch.h>.
9033         (main): Call INIT_ARCH_EXT.
9035 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9037         [BZ #21130]
9038         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9039         with the "invalid" exception raised when x is -Inf.
9040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9042 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9044         * string/bits/string2.h (strchr): Remove define.
9046 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9048         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9049         tst-avx512.
9050         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9051         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9052         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9053         ($(objpfx)tst-sse): New rule.
9054         ($(objpfx)tst-avx): Likewise.
9055         ($(objpfx)tst-avx512): Likewise.
9056         (CFLAGS-tst-avx-aux.c): New.
9057         (CFLAGS-tst-avxmod.c): Likewise.
9058         (CFLAGS-tst-avx512-aux.c): Likewise.
9059         (CFLAGS-tst-avx512mod.c): Likewise.
9060         * sysdeps/x86_64/tst-avx-aux.c: New file.
9061         * sysdeps/x86_64/tst-avx.c: Likewise.
9062         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9063         * sysdeps/x86_64/tst-avx512.c: Likewise.
9064         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9065         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9066         * sysdeps/x86_64/tst-sse.c: Likewise.
9067         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9069 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9071         * math/auto-libm-test-in: Add more tests of csin and csinh.
9072         * math/auto-libm-test-out-csin: Regenerated.
9073         * math/auto-libm-test-out-csinh: Likewise.
9074         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9075         auto-libm-test-in.
9076         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9078 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9080         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9081         libm-compat-calls-auto.
9082         (libm-compat-calls): Likewise.
9083         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9084         w_lgamma_compatF and k_standardF (merged from the items above).
9085         (libm-routines): Use libm-compat-calls, instead of
9086         libm-compat-calls-auto, with type-foreach.
9088 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9090         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9091         macro.
9092         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9093         (CFLAGS-test-ifloat.c): ... this.  Remove
9094         -U__LIBC_INTERNAL_MATH_INLINES.
9095         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9096         (CFLAGS-test-idouble.c): ... this.  Remove
9097         -U__LIBC_INTERNAL_MATH_INLINES.
9098         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9099         (CFLAGS-test-ildouble.c): ... this.  Remove
9100         -U__LIBC_INTERNAL_MATH_INLINES.
9102 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9104         * math/libm-test-support.c: New file.  Content from
9105         math/libm-test-driver.c.
9106         * math/libm-test-support.h: Likewise.
9107         * math/libm-test-support-double.c: New file.
9108         * math/libm-test-support-float.c: Likewise.
9109         * math/libm-test-support-ldouble.c: Likewise.
9110         * math/libm-test-driver.c: Remove main comment and header
9111         includes.  Include libm-test-support.h.
9112         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9113         (flag_test_errno): Remove static.
9114         (flag_test_exceptions): Likewise.
9115         (flag_test_finite): Likewise.
9116         (flag_test_inline): Likewise.
9117         (flag_test_mathvec): Likewise.
9118         (test_msg): Likewise.
9119         (NO_EXCEPTION): Remove.
9120         (INVALID_EXCEPTION): Likewise.
9121         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9122         (OVERFLOW_EXCEPTION): Likewise.
9123         (UNDERFLOW_EXCEPTION): Likewise.
9124         (INEXACT_EXCEPTION): Likewise.
9125         (INVALID_EXCEPTION_OK): Likewise.
9126         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9127         (OVERFLOW_EXCEPTION_OK): Likewise.
9128         (UNDERFLOW_EXCEPTION_OK): Likewise.
9129         (NO_INEXACT_EXCEPTION): Likewise.
9130         (EXCEPTIONS_OK): Likewise.
9131         (IGNORE_ZERO_INF_SIGN): Likewise.
9132         (TEST_NAN_SIGN): Likewise.
9133         (TEST_NAN_PAYLOAD): Likewise.
9134         (NO_TEST_INLINE): Likewise.
9135         (XFAIL_TEST): Likewise.
9136         (ERRNO_UNCHANGED): Likewise.
9137         (ERRNO_EDOM): Likewise.
9138         (ERRNO_ERANGE): Likewise.
9139         (IGNORE_RESULT): Likewise.
9140         (NON_FINITE): Likewise.
9141         (TEST_SNAN): Likewise.
9142         (NO_TEST_MATHVEC): Likewise.
9143         (__CONCATX): Likewise.
9144         (TYPE_MIN): Likewise.
9145         (TYPE_TRUE_MIN): Likewise.
9146         (TYPE_MAX): Likewise.
9147         (MIN_EXP): Likewise.
9148         (MAX_EXP): Likewise.
9149         (MANT_DIG): Likewise.
9150         (FSTR_MAX): Likewise.
9151         (ulp_idx): Likewise.
9152         (qtype_str): Remove static.
9153         (TEST_COND_binary32): Remove.
9154         (TEST_COND_binary64): Likewise.
9155         (TEST_COND_binary128): Likewise.
9156         (TEST_COND_ibm128): Likewise.
9157         (TEST_COND_intel96): Likewise.
9158         (TEST_COND_m68k96): Likewise.
9159         (TEST_COND_ibm128_libgcc): Likewise.
9160         (XFAIL_IBM128_LIBGCC): Likewise.
9161         (PAYLOAD_DIG): Likewise.
9162         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9163         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9164         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9165         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9166         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9167         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9168         (TEST_COND_long32): Likewise.
9169         (TEST_COND_long64): Likewise.
9170         (TEST_COND_before_rounding): Likewise.
9171         (TEST_COND_after_rounding): Likewise.
9172         (ulps_file_name): Likewise.
9173         (ulps_file): Likewise.
9174         (output_ulps): Likewise.
9175         (output_dir): Likewise.
9176         (noErrors): Likewise.
9177         (noTests): Likewise.
9178         (noExcTests): Likewise.
9179         (noErrnoTests): Likewise.
9180         (verbose): Likewise.
9181         (output_max_error): Likewise.
9182         (output_points): Likewise.
9183         (ignore_max_ulp): Likewise.
9184         (max_error): Likewise.
9185         (real_max_error): Likewise.
9186         (imag_max_error): Likewise.
9187         (prev_max_error): Likewise.
9188         (prev_real_max_error): Likewise.
9189         (prev_imag_max_error): Likewise.
9190         (max_valid_error): Likewise.
9191         (TYPE_DECIMAL_DIG): Likewise.
9192         (TYPE_HEX_DIG): Likewise.
9193         (fmt_ftostr): Likewise.
9194         (compare_ulp_data): Likewise.
9195         (find_ulps): Likewise.
9196         (init_max_error): Likewise.
9197         (set_max_error): Likewise.
9198         (print_float): Likewise.
9199         (print_screen): Likewise.
9200         (print_screen_max_error): Likewise.
9201         (update_stats): Likewise.
9202         (print_function_ulps): Likewise.
9203         (print_complex_function_ulps): Likewise.
9204         (fpstack_test): Likewise.
9205         (print_max_error): Likewise.
9206         (print_complex_max_error): Likewise.
9207         (test_single_exception): Likewise.
9208         (test_exceptions): Likewise.
9209         (test_single_errno): Likewise.
9210         (test_errno): Likewise.
9211         (ULPDIFF): Likewise.
9212         (ulp): Likewise.
9213         (check_float_internal): Likewise.
9214         (check_float): Likewise.
9215         (check_complex): Likewise.
9216         (check_int): Likewise.
9217         (check_long): Likewise.
9218         (check_bool): Likewise.
9219         (check_longlong): Likewise.
9220         (check_intmax_t): Likewise.
9221         (check_uintmax_t): Likewise.
9222         (enable_test): Likewise.
9223         (matherr): Likewise.
9224         (initialize): Likewise.
9225         (options): Likewise.
9226         (doc): Remove static.
9227         (argp): Likewise.
9228         (parse_opt): Remove.
9229         (check_ulp): Likewise.
9230         (libm_test_init): Likewise.
9231         (libm_test_finish): Likewise.
9232         * math/Makefile (libm-test-support): New variable.
9233         (test-extras): Add libm-test-support files.
9234         (extra-test-objs): Likewise.
9235         (CFLAGS-libm-test-support-float.c): New variable.
9236         (CFLAGS-libm-test-support-double.c): Likewise.
9237         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9238         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9239         libm-test-support objects.
9241 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9243         * math/Makefile (libm-calls): Move w_exp...
9244         (libm-compat-calls-auto): Here.
9246         * math/w_expl.c: Add suffix "_compat" to filename.
9247         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9248         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9249         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9250         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9251         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9252         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9253         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9254         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9256         * math/w_expl_compat.c: New file, copied from above.
9257         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9258         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9259         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9260         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9261         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9262         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9263         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9264         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9266         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9267         to filename.
9268         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9270         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9271         copied from above and adjusted for the new filenames.
9272         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9274 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9276         * math/Makefile (libm-calls): Move w_lgammaF...
9277         (libm-compat-calls-auto): Here.
9279         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9280         * math/w_lgammaf.c: Likewise.
9281         * math/w_lgammal.c: Likewise.
9283         * math/w_lgamma_compat2.c: New file, copied from above.
9284         * math/w_lgammaf_compat2.c: Likewise.
9285         * math/w_lgammal_compat2.c: Likewise.
9287 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9289         * math/Makefile (libm-calls): Move w_lgammaF_r...
9290         (libm-compat-calls-auto): Here.
9292         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9293         * math/w_lgammaf_r.c: Likewise.
9294         * math/w_lgammal_r.c: Likewise.
9295         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9296         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9297         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9299         * math/w_lgamma_r_compat.c: New file, copied from above.
9300         * math/w_lgammaf_r_compat.c: Likewise.
9301         * math/w_lgammal_r_compat.c: Likewise.
9302         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9303         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9304         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9306         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9307         to filename.
9308         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9310         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9311         copied from above and adjusted for the new filenames.
9312         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9314 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9316         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9317         calculation in SYSCALL_ERROR_HANDLER().
9319 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9321         * manual/contrib.texi: Fix typo.
9323 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9325         [BZ #21109]
9326         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9327         tunable_val_t as argument.
9328         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9329         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9330         argument.
9331         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9333 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9335         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9336         Add PTRACE_EVENT_STOP.
9337         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9340         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9341         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9342         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9344 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9346         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9347         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9348         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9349         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9350         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9351         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9352         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9353         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9354         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9355         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9357         [BZ #21112]
9358         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9359         12 bits zero.
9360         (cp_l): Update for new value of cp_h.
9361         * math/auto-libm-test-in: Add another test of pow.
9362         * math/auto-libm-test-out-pow: Regenerated.
9364 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9366         * manual/contrib.texi: Fix typo.
9368 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9370         [BZ #15998]
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9372         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9375 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9377         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9378         STRCHR as __strchr_power8.
9379         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9380         strlen as __strlen_power8.
9382 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9384         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9385         unaligned load for shorter strings.
9386         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9388 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9390         * math/libm-test-driver.c (flag_test_errno): New variable.
9391         (flag_test_exceptions): Likewise.
9392         (flag_test_finite): Likewise.
9393         (flag_test_inline): Likewise.
9394         (flag_test_mathvec): Likewise.
9395         (test_msg): Likewise.
9396         (ulp_idx): Likewise.
9397         (qtype_str): Likewise.
9398         (ULP_IDX): Remove macro.
9399         (QTYPE_STR): Likewise.
9400         (find_ulps): Use ulp_idx not ULP_IDX.
9401         (print_function_ulps): Use qtype_str, printed with %s, not
9402         QTYPE_STR, printed with concatentation to format string.
9403         (print_complex_function_ulps): Likewise.
9404         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9405         (test_errno): Use flag_test_errno not TEST_ERRNO.
9406         (enable_test): Use flag_test_inline, flag_test_finite and
9407         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9408         TEST_MATHVEC.
9409         (libm_test_init): New function.  Factored out of main.
9410         (libm_test_finish): Likewise.
9411         (main): Call libm_test_init and libm_test_finish and move most
9412         code to those functions.
9414         * math/libm-test-driver.c (STRX): New macro.
9415         (STR): Likewise.
9416         (STR_FLOAT): Likewise.
9417         (STR_VEC_LEN): Likewise.
9418         (TEST_MSG): Likewise.  Define here instead of expecting to be
9419         defined by including file.
9420         * math/test-double-finite.c (TEST_MSG): Remove macro.
9421         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9422         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9423         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9424         * math/test-double.c (TEST_MSG): Likewise.
9425         * math/test-float-finite.c (TEST_MSG): Likewise.
9426         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9427         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9428         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9429         * math/test-float.c (TEST_MSG): Likewise.
9430         * math/test-idouble.c (TEST_MSG): Likewise.
9431         * math/test-ifloat.c (TEST_MSG): Likewise.
9432         * math/test-ildouble.c (TEST_MSG): Likewise.
9433         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9434         * math/test-ldouble.c (TEST_MSG): Likewise.
9436         * math/libm-test.inc: Move all tests of individual functions to
9437         libm-test-*.inc and #include libm-test-*.c files.
9438         (acos_test_data): Remove.
9439         (acos_test): Likewise.
9440         (acosh_test_data): Likewise.
9441         (acosh_test): Likewise.
9442         (asin_test_data): Likewise.
9443         (asin_test): Likewise.
9444         (asinh_test_data): Likewise.
9445         (asinh_test): Likewise.
9446         (atan_test_data): Likewise.
9447         (atan_test): Likewise.
9448         (atanh_test_data): Likewise.
9449         (atanh_test): Likewise.
9450         (atan2_test_data): Likewise.
9451         (atan2_test): Likewise.
9452         (cabs_test_data): Likewise.
9453         (cabs_test): Likewise.
9454         (cacos_test_data): Likewise.
9455         (cacos_test): Likewise.
9456         (cacosh_test_data): Likewise.
9457         (cacosh_test): Likewise.
9458         (canonicalize_test_data): Likewise.
9459         (canonicalize_test): Likewise.
9460         (carg_test_data): Likewise.
9461         (carg_test): Likewise.
9462         (casin_test_data): Likewise.
9463         (casin_test): Likewise.
9464         (casinh_test_data): Likewise.
9465         (casinh_test): Likewise.
9466         (catan_test_data): Likewise.
9467         (catan_test): Likewise.
9468         (catanh_test_data): Likewise.
9469         (catanh_test): Likewise.
9470         (cbrt_test_data): Likewise.
9471         (cbrt_test): Likewise.
9472         (ccos_test_data): Likewise.
9473         (ccos_test): Likewise.
9474         (ccosh_test_data): Likewise.
9475         (ccosh_test): Likewise.
9476         (ceil_test_data): Likewise.
9477         (ceil_test): Likewise.
9478         (cexp_test_data): Likewise.
9479         (cexp_test): Likewise.
9480         (cimag_test_data): Likewise.
9481         (cimag_test): Likewise.
9482         (clog_test_data): Likewise.
9483         (clog_test): Likewise.
9484         (clog10_test_data): Likewise.
9485         (clog10_test): Likewise.
9486         (conj_test_data): Likewise.
9487         (conj_test): Likewise.
9488         (copysign_test_data): Likewise.
9489         (copysign_test): Likewise.
9490         (cos_test_data): Likewise.
9491         (cos_test): Likewise.
9492         (cosh_test_data): Likewise.
9493         (cosh_test): Likewise.
9494         (cpow_test_data): Likewise.
9495         (cpow_test): Likewise.
9496         (cproj_test_data): Likewise.
9497         (cproj_test): Likewise.
9498         (creal_test_data): Likewise.
9499         (creal_test): Likewise.
9500         (csin_test_data): Likewise.
9501         (csin_test): Likewise.
9502         (csinh_test_data): Likewise.
9503         (csinh_test): Likewise.
9504         (csqrt_test_data): Likewise.
9505         (csqrt_test): Likewise.
9506         (ctan_test_data): Likewise.
9507         (ctan_test): Likewise.
9508         (ctanh_test_data): Likewise.
9509         (ctanh_test): Likewise.
9510         (erf_test_data): Likewise.
9511         (erf_test): Likewise.
9512         (erfc_test_data): Likewise.
9513         (erfc_test): Likewise.
9514         (exp_test_data): Likewise.
9515         (exp_test): Likewise.
9516         (exp10_test_data): Likewise.
9517         (exp10_test): Likewise.
9518         (pow10_test): Likewise.
9519         (exp2_test_data): Likewise.
9520         (exp2_test): Likewise.
9521         (expm1_test_data): Likewise.
9522         (expm1_test): Likewise.
9523         (fabs_test_data): Likewise.
9524         (fabs_test): Likewise.
9525         (fdim_test_data): Likewise.
9526         (fdim_test): Likewise.
9527         (floor_test_data): Likewise.
9528         (floor_test): Likewise.
9529         (fma_test_data): Likewise.
9530         (fma_test): Likewise.
9531         (fmax_test_data): Likewise.
9532         (fmax_test): Likewise.
9533         (fmaxmag_test_data): Likewise.
9534         (fmaxmag_test): Likewise.
9535         (fmin_test_data): Likewise.
9536         (fmin_test): Likewise.
9537         (fminmag_test_data): Likewise.
9538         (fminmag_test): Likewise.
9539         (fmod_test_data): Likewise.
9540         (fmod_test): Likewise.
9541         (fpclassify_test_data): Likewise.
9542         (fpclassify_test): Likewise.
9543         (frexp_test_data): Likewise.
9544         (frexp_test): Likewise.
9545         (fromfp_test_data): Likewise.
9546         (fromfp_test): Likewise.
9547         (fromfpx_test_data): Likewise.
9548         (fromfpx_test): Likewise.
9549         (getpayload_test_data): Likewise.
9550         (getpayload_test): Likewise.
9551         (hypot_test_data): Likewise.
9552         (hypot_test): Likewise.
9553         (ilogb_test_data): Likewise.
9554         (ilogb_test): Likewise.
9555         (iscanonical_test_data): Likewise.
9556         (iscanonical_test): Likewise.
9557         (iseqsig_test_data): Likewise.
9558         (iseqsig_test): Likewise.
9559         (isfinite_test_data): Likewise.
9560         (isfinite_test): Likewise.
9561         (finite_test): Likewise.
9562         (isgreater_test_data): Likewise.
9563         (isgreater_test): Likewise.
9564         (isgreaterequal_test_data): Likewise.
9565         (isgreaterequal_test): Likewise.
9566         (isinf_test_data): Likewise.
9567         (isinf_test): Likewise.
9568         (isless_test_data): Likewise.
9569         (isless_test): Likewise.
9570         (islessequal_test_data): Likewise.
9571         (islessequal_test): Likewise.
9572         (islessgreater_test_data): Likewise.
9573         (islessgreater_test): Likewise.
9574         (isnan_test_data): Likewise.
9575         (isnan_test): Likewise.
9576         (isnormal_test_data): Likewise.
9577         (isnormal_test): Likewise.
9578         (issignaling_test_data): Likewise.
9579         (issignaling_test): Likewise.
9580         (issubnormal_test_data): Likewise.
9581         (issubnormal_test): Likewise.
9582         (isunordered_test_data): Likewise.
9583         (isunordered_test): Likewise.
9584         (iszero_test_data): Likewise.
9585         (iszero_test): Likewise.
9586         (j0_test_data): Likewise.
9587         (j0_test): Likewise.
9588         (j1_test_data): Likewise.
9589         (j1_test): Likewise.
9590         (jn_test_data): Likewise.
9591         (jn_test): Likewise.
9592         (lgamma_test_data): Likewise.
9593         (lgamma_test): Likewise.
9594         (gamma_test): Likewise.
9595         (llogb_test_data): Likewise.
9596         (llogb_test): Likewise.
9597         (lrint_test_data): Likewise.
9598         (lrint_test): Likewise.
9599         (llrint_test_data): Likewise.
9600         (llrint_test): Likewise.
9601         (log_test_data): Likewise.
9602         (log_test): Likewise.
9603         (log10_test_data): Likewise.
9604         (log10_test): Likewise.
9605         (log1p_test_data): Likewise.
9606         (log1p_test): Likewise.
9607         (log2_test_data): Likewise.
9608         (log2_test): Likewise.
9609         (logb_test_data): Likewise.
9610         (logb_test): Likewise.
9611         (lround_test_data): Likewise.
9612         (lround_test): Likewise.
9613         (llround_test_data): Likewise.
9614         (llround_test): Likewise.
9615         (modf_test_data): Likewise.
9616         (modf_test): Likewise.
9617         (nearbyint_test_data): Likewise.
9618         (nearbyint_test): Likewise.
9619         (nextafter_test_data): Likewise.
9620         (nextafter_test): Likewise.
9621         (nextup_test_data): Likewise.
9622         (nextup_test): Likewise.
9623         (nextdown_test_data): Likewise.
9624         (nextdown_test): Likewise.
9625         (nexttoward_test_data): Likewise.
9626         (nexttoward_test): Likewise.
9627         (pow_test_data): Likewise.
9628         (pow_test): Likewise.
9629         (remainder_test_data): Likewise.
9630         (remainder_test): Likewise.
9631         (drem_test): Likewise.
9632         (remquo_test_data): Likewise.
9633         (remquo_test): Likewise.
9634         (rint_test_data): Likewise.
9635         (rint_test): Likewise.
9636         (round_test_data): Likewise.
9637         (round_test): Likewise.
9638         (roundeven_test_data): Likewise.
9639         (roundeven_test): Likewise.
9640         (scalb_test_data): Likewise.
9641         (scalb_test): Likewise.
9642         (scalbn_test_data): Likewise.
9643         (scalbn_test): Likewise.
9644         (ldexp_test): Likewise.
9645         (scalbln_test_data): Likewise.
9646         (scalbln_test): Likewise.
9647         (setpayload_test_data): Likewise.
9648         (setpayload_test): Likewise.
9649         (setpayloadsig_test_data): Likewise.
9650         (setpayloadsig_test): Likewise.
9651         (signbit_test_data): Likewise.
9652         (signbit_test): Likewise.
9653         (sin_test_data): Likewise.
9654         (sin_test): Likewise.
9655         (sincos_test_data): Likewise.
9656         (sincos_test): Likewise.
9657         (sinh_test_data): Likewise.
9658         (sinh_test): Likewise.
9659         (sqrt_test_data): Likewise.
9660         (sqrt_test): Likewise.
9661         (tan_test_data): Likewise.
9662         (tan_test): Likewise.
9663         (tanh_test_data): Likewise.
9664         (tanh_test): Likewise.
9665         (tgamma_test_data): Likewise.
9666         (tgamma_test): Likewise.
9667         (totalorder_test_data): Likewise.
9668         (totalorder_test): Likewise.
9669         (totalordermag_test_data): Likewise.
9670         (totalordermag_test): Likewise.
9671         (trunc_test_data): Likewise.
9672         (trunc_test): Likewise.
9673         (ufromfp_test_data): Likewise.
9674         (ufromfp_test): Likewise.
9675         (ufromfpx_test_data): Likewise.
9676         (ufromfpx_test): Likewise.
9677         (y0_test_data): Likewise.
9678         (y0_test): Likewise.
9679         (y1_test_data): Likewise.
9680         (y1_test): Likewise.
9681         (yn_test_data): Likewise.
9682         (yn_test): Likewise.
9683         (significand_test_data): Likewise.
9684         (significand_test): Likewise.
9685         * math/Makefile (auto-libm-test-out-files): Remove variable.
9686         (libm-test-funcs-noauto): New variable.
9687         (libm-test-funcs-all): Likewise.
9688         (libm-test-c-auto): Likewise.
9689         (libm-test-c-noauto): Likewise.
9690         (libm-tests-generated): Add $(libm-test-c-auto) and
9691         $(libm-test-c-noauto).
9692         (generated): Do not add auto-libm-test-out.
9693         (libm-test-c-auto-obj): New variable.
9694         (libm-test-c-noauto-obj): Likewise.
9695         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9696         ($(libm-test-c-noauto-obj)): New static pattern rule.
9697         ($(libm-test-c-auto-obj)): Likewise.
9698         (libm-test-incs): New variable.
9699         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9700         and pass it to gen-libm-have-vector-test.sh.
9701         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9702         be passed on command line.
9703         * math/libm-test-acos.inc: New file.  Content from
9704         math/libm-test.inc.
9705         * math/libm-test-acosh.inc: Likewise.
9706         * math/libm-test-asin.inc: Likewise.
9707         * math/libm-test-asinh.inc: Likewise.
9708         * math/libm-test-atan.inc: Likewise.
9709         * math/libm-test-atan2.inc: Likewise.
9710         * math/libm-test-atanh.inc: Likewise.
9711         * math/libm-test-cabs.inc: Likewise.
9712         * math/libm-test-cacos.inc: Likewise.
9713         * math/libm-test-cacosh.inc: Likewise.
9714         * math/libm-test-canonicalize.inc: Likewise.
9715         * math/libm-test-carg.inc: Likewise.
9716         * math/libm-test-casin.inc: Likewise.
9717         * math/libm-test-casinh.inc: Likewise.
9718         * math/libm-test-catan.inc: Likewise.
9719         * math/libm-test-catanh.inc: Likewise.
9720         * math/libm-test-cbrt.inc: Likewise.
9721         * math/libm-test-ccos.inc: Likewise.
9722         * math/libm-test-ccosh.inc: Likewise.
9723         * math/libm-test-ceil.inc: Likewise.
9724         * math/libm-test-cexp.inc: Likewise.
9725         * math/libm-test-cimag.inc: Likewise.
9726         * math/libm-test-clog.inc: Likewise.
9727         * math/libm-test-clog10.inc: Likewise.
9728         * math/libm-test-conj.inc: Likewise.
9729         * math/libm-test-copysign.inc: Likewise.
9730         * math/libm-test-cos.inc: Likewise.
9731         * math/libm-test-cosh.inc: Likewise.
9732         * math/libm-test-cpow.inc: Likewise.
9733         * math/libm-test-cproj.inc: Likewise.
9734         * math/libm-test-creal.inc: Likewise.
9735         * math/libm-test-csin.inc: Likewise.
9736         * math/libm-test-csinh.inc: Likewise.
9737         * math/libm-test-csqrt.inc: Likewise.
9738         * math/libm-test-ctan.inc: Likewise.
9739         * math/libm-test-ctanh.inc: Likewise.
9740         * math/libm-test-erf.inc: Likewise.
9741         * math/libm-test-erfc.inc: Likewise.
9742         * math/libm-test-exp.inc: Likewise.
9743         * math/libm-test-exp10.inc: Likewise.
9744         * math/libm-test-exp2.inc: Likewise.
9745         * math/libm-test-expm1.inc: Likewise.
9746         * math/libm-test-fabs.inc: Likewise.
9747         * math/libm-test-fdim.inc: Likewise.
9748         * math/libm-test-floor.inc: Likewise.
9749         * math/libm-test-fma.inc: Likewise.
9750         * math/libm-test-fmax.inc: Likewise.
9751         * math/libm-test-fmaxmag.inc: Likewise.
9752         * math/libm-test-fmin.inc: Likewise.
9753         * math/libm-test-fminmag.inc: Likewise.
9754         * math/libm-test-fmod.inc: Likewise.
9755         * math/libm-test-fpclassify.inc: Likewise.
9756         * math/libm-test-frexp.inc: Likewise.
9757         * math/libm-test-fromfp.inc: Likewise.
9758         * math/libm-test-fromfpx.inc: Likewise.
9759         * math/libm-test-getpayload.inc: Likewise.
9760         * math/libm-test-hypot.inc: Likewise.
9761         * math/libm-test-ilogb.inc: Likewise.
9762         * math/libm-test-iscanonical.inc: Likewise.
9763         * math/libm-test-iseqsig.inc: Likewise.
9764         * math/libm-test-isfinite.inc: Likewise.
9765         * math/libm-test-isgreater.inc: Likewise.
9766         * math/libm-test-isgreaterequal.inc: Likewise.
9767         * math/libm-test-isinf.inc: Likewise.
9768         * math/libm-test-isless.inc: Likewise.
9769         * math/libm-test-islessequal.inc: Likewise.
9770         * math/libm-test-islessgreater.inc: Likewise.
9771         * math/libm-test-isnan.inc: Likewise.
9772         * math/libm-test-isnormal.inc: Likewise.
9773         * math/libm-test-issignaling.inc: Likewise.
9774         * math/libm-test-issubnormal.inc: Likewise.
9775         * math/libm-test-isunordered.inc: Likewise.
9776         * math/libm-test-iszero.inc: Likewise.
9777         * math/libm-test-j0.inc: Likewise.
9778         * math/libm-test-j1.inc: Likewise.
9779         * math/libm-test-jn.inc: Likewise.
9780         * math/libm-test-lgamma.inc: Likewise.
9781         * math/libm-test-llogb.inc: Likewise.
9782         * math/libm-test-llrint.inc: Likewise.
9783         * math/libm-test-llround.inc: Likewise.
9784         * math/libm-test-log.inc: Likewise.
9785         * math/libm-test-log10.inc: Likewise.
9786         * math/libm-test-log1p.inc: Likewise.
9787         * math/libm-test-log2.inc: Likewise.
9788         * math/libm-test-logb.inc: Likewise.
9789         * math/libm-test-lrint.inc: Likewise.
9790         * math/libm-test-lround.inc: Likewise.
9791         * math/libm-test-modf.inc: Likewise.
9792         * math/libm-test-nearbyint.inc: Likewise.
9793         * math/libm-test-nextafter.inc: Likewise.
9794         * math/libm-test-nextdown.inc: Likewise.
9795         * math/libm-test-nexttoward.inc: Likewise.
9796         * math/libm-test-nextup.inc: Likewise.
9797         * math/libm-test-pow.inc: Likewise.
9798         * math/libm-test-remainder.inc: Likewise.
9799         * math/libm-test-remquo.inc: Likewise.
9800         * math/libm-test-rint.inc: Likewise.
9801         * math/libm-test-round.inc: Likewise.
9802         * math/libm-test-roundeven.inc: Likewise.
9803         * math/libm-test-scalb.inc: Likewise.
9804         * math/libm-test-scalbln.inc: Likewise.
9805         * math/libm-test-scalbn.inc: Likewise.
9806         * math/libm-test-setpayload.inc: Likewise.
9807         * math/libm-test-setpayloadsig.inc: Likewise.
9808         * math/libm-test-signbit.inc: Likewise.
9809         * math/libm-test-significand.inc: Likewise.
9810         * math/libm-test-sin.inc: Likewise.
9811         * math/libm-test-sincos.inc: Likewise.
9812         * math/libm-test-sinh.inc: Likewise.
9813         * math/libm-test-sqrt.inc: Likewise.
9814         * math/libm-test-tan.inc: Likewise.
9815         * math/libm-test-tanh.inc: Likewise.
9816         * math/libm-test-tgamma.inc: Likewise.
9817         * math/libm-test-totalorder.inc: Likewise.
9818         * math/libm-test-totalordermag.inc: Likewise.
9819         * math/libm-test-trunc.inc: Likewise.
9820         * math/libm-test-ufromfp.inc: Likewise.
9821         * math/libm-test-ufromfpx.inc: Likewise.
9822         * math/libm-test-y0.inc: Likewise.
9823         * math/libm-test-y1.inc: Likewise.
9824         * math/libm-test-yn.inc: Likewise.
9825         * math/README.libm-test: Update.
9827         * math/gen-auto-libm-tests.c: Update comment about use of program.
9828         (generate_output): Add argument FUNCTION.
9829         (main): Require extra argument.  Pass function name to
9830         generate_output.
9831         * math/Makefile (generated): Add auto-libm-test-out.
9832         (libm-test-funcs-auto): New variable.
9833         (auto-libm-test-out-files): New variable.
9834         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9835         Concatenate those files to form $(objpfx)auto-libm-test-out and
9836         use it as input to gen-libm-test.pl.
9837         * math/README.libm-test: Update.
9838         * math/auto-libm-test-out: Remove.
9839         * math/auto-libm-test-out-acos: New generated file.
9840         * math/auto-libm-test-out-acosh: Likewise.
9841         * math/auto-libm-test-out-asin: Likewise.
9842         * math/auto-libm-test-out-asinh: Likewise.
9843         * math/auto-libm-test-out-atan: Likewise.
9844         * math/auto-libm-test-out-atan2: Likewise.
9845         * math/auto-libm-test-out-atanh: Likewise.
9846         * math/auto-libm-test-out-cabs: Likewise.
9847         * math/auto-libm-test-out-carg: Likewise.
9848         * math/auto-libm-test-out-cbrt: Likewise.
9849         * math/auto-libm-test-out-ccos: Likewise.
9850         * math/auto-libm-test-out-ccosh: Likewise.
9851         * math/auto-libm-test-out-cexp: Likewise.
9852         * math/auto-libm-test-out-clog: Likewise.
9853         * math/auto-libm-test-out-clog10: Likewise.
9854         * math/auto-libm-test-out-cos: Likewise.
9855         * math/auto-libm-test-out-cosh: Likewise.
9856         * math/auto-libm-test-out-cpow: Likewise.
9857         * math/auto-libm-test-out-csin: Likewise.
9858         * math/auto-libm-test-out-csinh: Likewise.
9859         * math/auto-libm-test-out-csqrt: Likewise.
9860         * math/auto-libm-test-out-ctan: Likewise.
9861         * math/auto-libm-test-out-ctanh: Likewise.
9862         * math/auto-libm-test-out-erf: Likewise.
9863         * math/auto-libm-test-out-erfc: Likewise.
9864         * math/auto-libm-test-out-exp: Likewise.
9865         * math/auto-libm-test-out-exp10: Likewise.
9866         * math/auto-libm-test-out-exp2: Likewise.
9867         * math/auto-libm-test-out-expm1: Likewise.
9868         * math/auto-libm-test-out-fma: Likewise.
9869         * math/auto-libm-test-out-hypot: Likewise.
9870         * math/auto-libm-test-out-j0: Likewise.
9871         * math/auto-libm-test-out-j1: Likewise.
9872         * math/auto-libm-test-out-jn: Likewise.
9873         * math/auto-libm-test-out-lgamma: Likewise.
9874         * math/auto-libm-test-out-log: Likewise.
9875         * math/auto-libm-test-out-log10: Likewise.
9876         * math/auto-libm-test-out-log1p: Likewise.
9877         * math/auto-libm-test-out-log2: Likewise.
9878         * math/auto-libm-test-out-pow: Likewise.
9879         * math/auto-libm-test-out-sin: Likewise.
9880         * math/auto-libm-test-out-sincos: Likewise.
9881         * math/auto-libm-test-out-sinh: Likewise.
9882         * math/auto-libm-test-out-sqrt: Likewise.
9883         * math/auto-libm-test-out-tan: Likewise.
9884         * math/auto-libm-test-out-tanh: Likewise.
9885         * math/auto-libm-test-out-tgamma: Likewise.
9886         * math/auto-libm-test-out-y0: Likewise.
9887         * math/auto-libm-test-out-y1: Likewise.
9888         * math/auto-libm-test-out-yn: Likewise.
9890         * math/Makefile (generated): Do not include libm-test.stmp.
9891         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9892         on $(objpfx)libm-test.stmp.
9893         ($(objpfx)libm-test.stmp): Remove rule.
9894         ($(objpfx)libm-test-ulps.h): New rule.
9895         ($(objpfx)libm-test.c): Likewise.
9896         ($(objpfx)libm-have-vector-test.h): Likewise.
9897         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9898         individual generated files, not libm-test.stmp.
9900         * math/gen-libm-test.pl ($output_dir): Remove variable.
9901         ($srcdir): Likewise.
9902         ($opt_a): New variable.
9903         ($opt_c): Likewise.
9904         ($opt_C): Likewise.
9905         ($opt_H): Likewise.
9906         (-n): Make option take argument and use it as NewUlps output.
9907         (-a): New option.  Use its argument for auto-libm-test-out input.
9908         (-c): New option.  Use its argument for libm-test.inc input.
9909         (-C): New option.  Use its argument for libm-test.c output.
9910         (-H): New option.  Use its argument for libm-test-ulps.h output.
9911         (top level): Only process inputs needed to generate outputs
9912         specified by command-line options.  Only generate outputs
9913         specified by command-line options.
9914         * math/README.libm-test: Update example gen-libm-test.pl command.
9915         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9916         commands.
9917         (regen-ulps): Likewise.
9919 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9921         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9922         * include/string.h (index): Remove define.
9923         (rindex): Likewise.
9924         * misc/getttyent.c (__getttyent): Rename index to strchr.
9925         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9926         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9928 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9930         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9931         * math/libm-test.inc: Move all contents, other than tests of
9932         individual functions, to libm-test-driver.c.
9933         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9934         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9935         [!FE_UPWARD] (FE_UPWARD): Likewise.
9936         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9937         (NO_EXCEPTION): Likewise.
9938         (INVALID_EXCEPTION): Likewise.
9939         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9940         (OVERFLOW_EXCEPTION): Likewise.
9941         (UNDERFLOW_EXCEPTION): Likewise.
9942         (INEXACT_EXCEPTION): Likewise.
9943         (INVALID_EXCEPTION_OK): Likewise.
9944         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9945         (OVERFLOW_EXCEPTION_OK): Likewise.
9946         (UNDERFLOW_EXCEPTION_OK): Likewise.
9947         (NO_INEXACT_EXCEPTION): Likewise.
9948         (EXCEPTIONS_OK): Likewise.
9949         (IGNORE_ZERO_INF_SIGN): Likewise.
9950         (TEST_NAN_SIGN): Likewise.
9951         (TEST_NAN_PAYLOAD): Likewise.
9952         (NO_TEST_INLINE): Likewise.
9953         (XFAIL_TEST): Likewise.
9954         (ERRNO_UNCHANGED): Likewise.
9955         (ERRNO_EDOM): Likewise.
9956         (ERRNO_ERANGE): Likewise.
9957         (IGNORE_RESULT): Likewise.
9958         (NON_FINITE): Likewise.
9959         (TEST_SNAN): Likewise.
9960         (NO_TEST_MATHVEC): Likewise.
9961         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9962         (__CONCATX): Likewise.
9963         (TYPE_MIN): Likewise.
9964         (TYPE_TRUE_MIN): Likewise.
9965         (TYPE_MAX): Likewise.
9966         (MIN_EXP): Likewise.
9967         (MAX_EXP): Likewise.
9968         (MANT_DIG): Likewise.
9969         (FSTR_MAX): Likewise.
9970         (ULP_IDX): Likewise.
9971         (QTYPE_STR): Likewise.
9972         (TEST_COND_binary32): Likewise.
9973         (TEST_COND_binary64): Likewise.
9974         (TEST_COND_binary128): Likewise.
9975         (TEST_COND_ibm128): Likewise.
9976         (TEST_COND_intel96): Likewise.
9977         (TEST_COND_m68k96): Likewise.
9978         (TEST_COND_ibm128_libgcc): Likewise.
9979         (XFAIL_IBM128_LIBGCC): Likewise.
9980         (PAYLOAD_DIG): Likewise.
9981         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9982         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9983         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9984         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9985         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9986         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9987         (TEST_COND_long32): Likewise.
9988         (TEST_COND_long64): Likewise.
9989         (TEST_COND_before_rounding): Likewise.
9990         (TEST_COND_after_rounding): Likewise.
9991         (lit_pi_3_m_4_d): Likewise.
9992         (lit_pi_3_m_4_ln10_m_d): Likewise.
9993         (lit_pi_2_ln10_m_d): Likewise.
9994         (lit_pi_4_ln10_m_d): Likewise.
9995         (lit_pi_ln10_d): Likewise.
9996         (lit_pi_2_d): Likewise.
9997         (lit_pi_4_d): Likewise.
9998         (lit_pi): Likewise.
9999         (lit_e): Likewise.
10000         (ulps_file_name): Likewise.
10001         (ulps_file): Likewise.
10002         (output_ulps): Likewise.
10003         (output_dir): Likewise.
10004         (noErrors): Likewise.
10005         (noTests): Likewise.
10006         (noExcTests): Likewise.
10007         (noErrnoTests): Likewise.
10008         (verbose): Likewise.
10009         (output_max_error): Likewise.
10010         (output_points): Likewise.
10011         (ignore_max_ulp): Likewise.
10012         (plus_zero): Likewise.
10013         (minus_zero): Likewise.
10014         (plus_infty): Likewise.
10015         (minus_infty): Likewise.
10016         (qnan_value_pl): Likewise.
10017         (qnan_value): Likewise.
10018         (snan_value_pl): Likewise.
10019         (snan_value): Likewise.
10020         (max_value): Likewise.
10021         (min_value): Likewise.
10022         (min_subnorm_value): Likewise.
10023         (snan_value_ld): Likewise.
10024         (max_error): Likewise.
10025         (real_max_error): Likewise.
10026         (imag_max_error): Likewise.
10027         (prev_max_error): Likewise.
10028         (prev_real_max_error): Likewise.
10029         (prev_imag_max_error): Likewise.
10030         (max_valid_error): Likewise.
10031         (TYPE_DECIMAL_DIG): Likewise.
10032         (TYPE_HEX_DIG): Likewise.
10033         (fmt_ftostr): Likewise.
10034         (compare_ulp_data): Likewise.
10035         (find_ulps): Likewise.
10036         (init_max_error): Likewise.
10037         (set_max_error): Likewise.
10038         (print_float): Likewise.
10039         (print_screen): Likewise.
10040         (print_screen_max_error): Likewise.
10041         (update_stats): Likewise.
10042         (print_function_ulps): Likewise.
10043         (print_complex_function_ulps): Likewise.
10044         (fpstack_test): Likewise.
10045         (print_max_error): Likewise.
10046         (print_complex_max_error): Likewise.
10047         (test_single_exception): Likewise.
10048         (test_exceptions): Likewise.
10049         (test_single_errno): Likewise.
10050         (test_errno): Likewise.
10051         (ULPDIFF): Likewise.
10052         (ulp): Likewise.
10053         (check_float_internal): Likewise.
10054         (check_float): Likewise.
10055         (check_complex): Likewise.
10056         (check_int): Likewise.
10057         (check_long): Likewise.
10058         (check_bool): Likewise.
10059         (check_longlong): Likewise.
10060         (check_intmax_t): Likewise.
10061         (check_uintmax_t): Likewise.
10062         (enable_test): Likewise.
10063         (struct test_f_f_data): Likewise.
10064         (struct test_ff_f_data): Likewise.
10065         (struct test_fj_f_data): Likewise.
10066         (struct test_fi_f_data): Likewise.
10067         (struct test_fl_f_data): Likewise.
10068         (struct test_if_f_data): Likewise.
10069         (struct test_fff_f_data): Likewise.
10070         (struct test_fiu_M_data): Likewise.
10071         (struct test_fiu_U_data): Likewise.
10072         (struct test_c_f_data): Likewise.
10073         (struct test_f_f1_data): Likewise.
10074         (struct test_fF_f1_data): Likewise.
10075         (struct test_ffI_f1_data): Likewise.
10076         (struct test_c_c_data): Likewise.
10077         (struct test_cc_c_data): Likewise.
10078         (struct test_f_i_data): Likewise.
10079         (struct test_ff_i_data): Likewise.
10080         (struct test_f_l_data): Likewise.
10081         (struct test_f_L_data): Likewise.
10082         (struct test_fFF_11_data): Likewise.
10083         (struct test_Ff_b1_data): Likewise.
10084         (IF_ROUND_INIT_): Likewise.
10085         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10086         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10087         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10088         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10089         (ROUND_RESTORE_): Likewise.
10090         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10091         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10092         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10093         (ROUND_RESTORE_FE_UPWARD): Likewise.
10094         (RM_): Likewise.
10095         (RM_FE_DOWNWARD): Likewise.
10096         (RM_FE_TONEAREST): Likewise.
10097         (RM_FE_TOWARDZERO): Likewise.
10098         (RM_FE_UPWARD): Likewise.
10099         (COMMON_TEST_SETUP): Likewise.
10100         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10101         (COMMON_TEST_CLEANUP): Likewise.
10102         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10103         (RUN_TEST_f_f): Likewise.
10104         (RUN_TEST_LOOP_f_f): Likewise.
10105         (RUN_TEST_fp_f): Likewise.
10106         (RUN_TEST_LOOP_fp_f): Likewise.
10107         (RUN_TEST_2_f): Likewise.
10108         (RUN_TEST_LOOP_2_f): Likewise.
10109         (RUN_TEST_ff_f): Likewise.
10110         (RUN_TEST_LOOP_ff_f): Likewise.
10111         (RUN_TEST_LOOP_fj_f): Likewise.
10112         (RUN_TEST_fi_f): Likewise.
10113         (RUN_TEST_LOOP_fi_f): Likewise.
10114         (RUN_TEST_fl_f): Likewise.
10115         (RUN_TEST_LOOP_fl_f): Likewise.
10116         (RUN_TEST_if_f): Likewise.
10117         (RUN_TEST_LOOP_if_f): Likewise.
10118         (RUN_TEST_fff_f): Likewise.
10119         (RUN_TEST_LOOP_fff_f): Likewise.
10120         (RUN_TEST_fiu_M): Likewise.
10121         (RUN_TEST_LOOP_fiu_M): Likewise.
10122         (RUN_TEST_fiu_U): Likewise.
10123         (RUN_TEST_LOOP_fiu_U): Likewise.
10124         (RUN_TEST_c_f): Likewise.
10125         (RUN_TEST_LOOP_c_f): Likewise.
10126         (RUN_TEST_f_f1): Likewise.
10127         (RUN_TEST_LOOP_f_f1): Likewise.
10128         (RUN_TEST_fF_f1): Likewise.
10129         (RUN_TEST_LOOP_fF_f1): Likewise.
10130         (RUN_TEST_fI_f1): Likewise.
10131         (RUN_TEST_LOOP_fI_f1): Likewise.
10132         (RUN_TEST_ffI_f1_mod8): Likewise.
10133         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10134         (RUN_TEST_Ff_b1): Likewise.
10135         (RUN_TEST_LOOP_Ff_b1): Likewise.
10136         (RUN_TEST_Ffp_b1): Likewise.
10137         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10138         (RUN_TEST_c_c): Likewise.
10139         (RUN_TEST_LOOP_c_c): Likewise.
10140         (RUN_TEST_cc_c): Likewise.
10141         (RUN_TEST_LOOP_cc_c): Likewise.
10142         (RUN_TEST_f_i): Likewise.
10143         (RUN_TEST_LOOP_f_i): Likewise.
10144         (RUN_TEST_f_i_tg): Likewise.
10145         (RUN_TEST_LOOP_f_i_tg): Likewise.
10146         (RUN_TEST_ff_b): Likewise.
10147         (RUN_TEST_LOOP_ff_b): Likewise.
10148         (RUN_TEST_ff_i_tg): Likewise.
10149         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10150         (RUN_TEST_f_b): Likewise.
10151         (RUN_TEST_LOOP_f_b): Likewise.
10152         (RUN_TEST_f_b_tg): Likewise.
10153         (RUN_TEST_LOOP_f_b_tg): Likewise.
10154         (RUN_TEST_f_l): Likewise.
10155         (RUN_TEST_LOOP_f_l): Likewise.
10156         (RUN_TEST_f_L): Likewise.
10157         (RUN_TEST_LOOP_f_L): Likewise.
10158         (RUN_TEST_fFF_11): Likewise.
10159         (RUN_TEST_LOOP_fFF_11): Likewise.
10160         (VEC_SUFF): Likewise.
10161         (STR_CONCAT): Likewise.
10162         (STR_CON3): Likewise.
10163         (HAVE_VECTOR): Likewise.
10164         (START): Likewise.
10165         (END): Likewise.
10166         (END_COMPLEX): Likewise.
10167         (ALL_RM_TEST): Likewise.
10168         (matherr): Likewise.
10169         (initialize): Likewise.
10170         (options): Likewise.
10171         (doc): Likewise.
10172         (parse_opt): Likewise.
10173         (argp): Likewise.
10174         (check_ulp): Likewise.
10175         (main): Likewise.
10176         (do_test): New function.  Call tests of individual functions
10177         previously called from main.
10179         * math/libm-test.inc: Remove comment listing functions tested and
10180         not tested.
10182 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10184         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10185         (allocate_stack): Remove COLORING_INCREMENT usage.
10186         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10187         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10189 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10191         * manual/libm-err-tab.pl (@all_functions): Change to
10192         %all_functions.  Initialize as empty.
10193         (parse_ulps): Add to %all_functions based on functions found in
10194         ulps files.  Ignore results for non-default rounding modes and
10195         vector functions.
10196         (print_platforms): Use %all_platforms.
10197         * manual/math.texi (Errors in Math Functions): Document omissions
10198         from the table.
10200         * math/Makefile (before-compile): Remove.
10202 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10204         [BZ #21075]
10205         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10206         unused assignment.
10207         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10209 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10211         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10212         Add __glibc_unlikely hint.
10214 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10216         [BZ #16640]
10217         * sysdeps/i386/i686/strtok.S: Remove file.
10218         * sysdeps/i386/i686/strtok_r.S: Likewise.
10219         * sysdeps/i386/strtok.S: Likewise.
10220         * sysdeps/i386/strtok_r.S: Likewise.
10221         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10222         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10223         * sysdeps/x86_64/strtok.S: Likewise.
10224         * sysdeps/x86_64/strtok_r.S: Likewise.
10226         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10227         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10229         (__ASSUME_FADVISE64_AS_64_64): Define.
10230         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10231         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10232         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10233         __ALIGNMENT_ARG usage.
10234         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10235         __NR_fadvise64_64 if it is not defined.
10237 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10239         * version.h (RELEASE): Set to "development"
10240         (VERSION): Set to 2.25.90.
10241         * NEWS: Add 2.26 section.
10243         * version.h (RELEASE): Set to "stable"
10244         (VERSION): Set to 2.25.
10245         * include/features.h (__GLIBC_MINOR__): Set to 25.
10247         * manual/contrib.texi: Add more contributors from this release
10248         and past releases.
10250         * NEWS (2.25): Add list of bugs fixed.
10252         * NEWS: Add missing news items.
10254 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10256         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10257         parent if child exited in that manner.  Print WEXITSTATUS
10258         instead of the raw status.
10259         (do_test_prep): Rename to do_test.
10260         (do_test): Return the result of run_executable_sgid.
10261         (TEST_FUNCTION_ARGV): Adjust.
10263 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10264             Florian Weimer  <fweimer@redhat.com>
10265             Carlos O'Donell  <carlos@redhat.com>
10267         [BZ #20915]
10268         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10269         Do not initialize DTV.
10270         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10272 2017-02-03  David S. Miller  <davem@davemloft.net>
10274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10283         (libm-sysdep_routines): Update.
10284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10289         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10290         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10291         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10292         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10294         Likewise.
10295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10297         Likewise.
10298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10300         Likewise.
10301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10303         Likewise.
10304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10306         (libm-sysdep_routines): Update.
10308 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10310         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10311         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10312         against unrelocated shared library.
10313         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10315 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10317         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10318         * elf/tst-env-setuid-tunables.c
10319         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10320         GLIBC_TUNABLES is removed in a setgid process.
10322         [BZ #21073]
10323         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10324         * elf/dl-tunables.c (tunables_strdup): Remove.
10325         (get_next_env): Also return the previous envp.
10326         (parse_tunables): Erase tunables of category
10327         TUNABLES_SECLEVEL_SXID_ERASE.
10328         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10329         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10330         (__tunables_init)[TUNABLES_FRONTEND ==
10331         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10332         after parsing.
10333         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10334         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10335         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10336         to security_level.
10337         * elf/dl-tunables.list: Add security_level annotations for all
10338         tunables.
10339         * scripts/gen-tunables.awk: Recognize and generate enum values
10340         for security_level.
10341         * elf/tst-env-setuid.c: New test case.
10342         * elf/tst-env-setuid-tunables: new test case.
10343         * elf/Makefile (tests-static): Add them.
10345 2017-02-01  Richard Henderson  <rth@twiddle.net>
10347         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10348         adjusting the byte count.
10350 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10352         * conform/Makefile (linknamespace-libs): Define.
10354         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10355         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10356         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10357         operands.
10359 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10361         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10363 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10365         [BZ #21081]
10366         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10367         (L(stosb)): Add VZEROUPPER before ret.
10369 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10370             Alexey Makhalov <amakhalov@vmware.com>
10371             Florian Weimer <fweimer@redhat.com>
10373         [BZ #20116]
10374         * nptl/pthread_create.c: Document concurrency notes.
10375         Enhance thread creation notes.
10376         (create_thread): Use bool *stopped_start.
10377         (START_THREAD_DEFN): Comment ownership of PD.
10378         (__pthread_create_2_1): Add local bool stopped_start and use
10379         that instead of pd->stopped_start where appropriate.
10380         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10381         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10382         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10383         * nptl/tst-create-detached.c: New file.
10384         * nptl/Makefile (tests): Add tst-create-detached.
10385         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10386         Reference the enhanced thread creation notes.
10387         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10388         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10389         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10390         (__pthread_current_priority): Likewise.
10391         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10392         xpthread_attr_init, xpthread_attr_setdetachstate, and
10393         xpthread_attr_setstacksize.
10394         * support/xpthread_attr_destroy.c: New file.
10395         * support/xpthread_attr_init.c: New file.
10396         * support/xpthread_attr_setdetachstate.c: New file.
10397         * support/xpthread_attr_setstacksize.c: New file.
10398         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10399         xpthread_attr_init, xpthread_attr_setdetachstate, and
10400         xpthread_attr_setstacksize.
10402 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10404         * nptl/Makefile (tests): Add tst-robust-fork.
10405         * nptl/tst-robust-fork.c: New file.
10406         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10407         xpthread_mutex_consistent, xpthread_mutex_destroy,
10408         xpthread_mutex_init, xpthread_mutexattr_destroy,
10409         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10410         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10411         xpthread_mutexattr_settype.
10412         * support/xmmap.c: New file.
10413         * support/xmunmap.c: Likewise.
10414         * support/xpthread_mutex_consistent.c: Likewise.
10415         * support/xpthread_mutex_destroy.c: Likewise.
10416         * support/xpthread_mutex_init.c: Likewise.
10417         * support/xpthread_mutexattr_destroy.c: Likewise.
10418         * support/xpthread_mutexattr_init.c: Likewise.
10419         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10420         * support/xpthread_mutexattr_setpshared.c: Likewise.
10421         * support/xpthread_mutexattr_setrobust.c: Likewise.
10422         * support/xpthread_mutexattr_settype.c: Likewise.
10423         * support/xthread.h (xpthread_mutexattr_destroy)
10424         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10425         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10426         (xpthread_mutexattr_settype, xpthread_mutex_init)
10427         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10428         * support/xunistd.h (xmmap, xmunmap): Likewise.
10430 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10432         * string/Makefile (xtests): Add comment.
10433         (LOCALES): Add en_GB.UTF-8.
10434         (tst-strcoll-overflow.out): Depend on generated locales.
10435         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10436         (SIZE, TIMEOUT): Update comments.
10437         (do_test): Define as static.  Fail test if setlocale fails.
10438         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10439         messages.
10440         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10441         TIMEOUT at 300 seconds should be enough to run this test
10442         successfully.
10444 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10446         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10447         /* FALLTHRU */ comments.
10449 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10451         [BZ #21053]
10452         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10453         constants instead of the old R* ones.
10454         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10455         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10456         (NGREG): ... to this, to fit in with other architectures.
10457         (gpregset_t): Use new NGREG macro.
10458         [__USE_GNU]: Remove condition; all architectures other than tile
10459         are unconditional.
10460         (R*): Rename to REG_R*.
10462 2017-01-20  DJ Delorie  <dj@redhat.com>
10464         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10465         (tunable_set_val_if_valid_range_signed) ... this, and ...
10466         (tunable_set_val_if_valid_range_unsigned) ... this.
10467         (tunable_initialize): Call the correct one of the above based on type.
10469 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10471         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10472         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10473         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10474         * sysdeps/microblaze/libm-test-ulps: Likewise.
10475         * sysdeps/sh/libm-test-ulps: Likewise.
10477         * math/README.libm-test: Update list of characters for input and
10478         output types.
10480 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10482         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10483         (__lll_unlock_elision): Fix adapt_count decrement.
10485 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10487         * README.pretty-printers (Known issues): Warn about printers not
10488         always covering everything.
10489         * nptl/nptl-printers.py (MutexPrinter): Change output.
10490         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10492 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10494         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10495         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10496         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10497         (__lll_lock_elision): Do not test futex before starting a
10498         transaction.  Use __glibc_likely instead of __builtin_expect.
10499         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10500         (__lll_trylock_elision): Do not test futex before starting a
10501         transaction.  Use __glibc_likely instead of __builtin_expect.
10503 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10505         * po/Makefile (update-translations): New target.
10507 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10509         [BZ #21061]
10510         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10512 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10514         * elf/dl-tunables (get_next_env): Always advance envp.
10515         * stdlib/tst-empty-env.c: New test case.
10516         * stdlib/Makefile (tests): Use it.
10518 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10520         [BZ #21047]
10521         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10522         name for instruction.
10523         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10525 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10527         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10528         for make install.
10530 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10532         * po/bg.po: Merge from Translation Project.
10533         * po/fr.po: Likewise.
10534         * po/ko.po: Likewise.
10535         * po/nl.po: Likewise.
10536         * po/sv.po: Likewise.
10538 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10540         * manual/install.texi (Tools for Compilation): Update GCC version
10541         known to work to build glibc.
10542         * INSTALL: Regenerated.
10544 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10546         [BZ #21006]
10547         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10549 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10551         [BZ #21045]
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10553         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10554         to __sigprocmask.
10556 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10558         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10559         wrap-around.
10560         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10562         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10564 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10566         * NEWS: Fix typo.
10568 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10570         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10571         barriers and comments.
10572         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10573         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10574         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10576 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10578         [BZ #19402]
10579         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10580         mutexes.
10582 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10584         [BZ #20985]
10585         * nptl/Makefile: Adapt.
10586         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10587         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10588         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10589         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10590         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10591         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10592         lll_robust* functions and adapt.
10593         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10594         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10595         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10596         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10597         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10598         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10600         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10601         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10602         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10603         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10604         * nptl/lowlevelrobustlock.c: Remove file.
10605         * nptl/lowlevelrobustlock.sym: Likewise.
10606         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10607         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10609 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10611         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10613 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10615         * po/cs.po: Merge translations from the Translation Project.
10616         * po/de.po: Likewise.
10617         * po/pl.po: Likewise.
10618         * po/ru.po: Likewise.
10619         * po/tr.po: Likewise.
10620         * po/uk.po: Likewise.
10621         * po/vi.po: Likewise.
10622         * po/zh_CN.po: Likewise.
10624 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10626         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10628         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10629         object.
10631 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10633         [BZ #16458]
10634         * bits/uintn-identity.h: New file.
10635         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10636         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10637         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10638         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10639         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10640         * string/endian.h: Include <bits/uintn-identity.h>.
10641         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10642         __uint16_identity.
10643         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10644         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10645         __uint32_identity.
10646         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10647         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10648         __uint64_identity.
10649         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10650         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10651         __uint16_identity.
10652         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10653         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10654         __uint32_identity.
10655         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10656         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10657         __uint64_identity.
10658         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10659         * string/Makefile (headers): Add bits/uintn-identity.h.
10660         (tests): Add test-endian-types.
10661         * string/test-endian-types.c: New file.
10662         * inet/Makefile (tests): Add test-hnto-types.
10663         * inet/test-hnto-types.c: New file.
10665 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10667         * po/be.po: Update from Translation Project.
10668         * po/bg.po: Likewise.
10669         * po/ca.po: Likewise.
10670         * po/cs.po: Likewise.
10671         * po/da.po: Likewise.
10672         * po/de.po: Likewise.
10673         * po/el.po: Likewise.
10674         * po/eo.po: Likewise.
10675         * po/es.po: Likewise.
10676         * po/fi.po: Likewise.
10677         * po/fr.po: Likewise.
10678         * po/gl.po: Likewise.
10679         * po/hr.po: Likewise.
10680         * po/hu.po: Likewise.
10681         * po/ia.po: Likewise.
10682         * po/id.po: Likewise.
10683         * po/it.po: Likewise.
10684         * po/ja.po: Likewise.
10685         * po/ko.po: Likewise.
10686         * po/lt.po: Likewise.
10687         * po/nb.po: Likewise.
10688         * po/nl.po: Likewise.
10689         * po/pl.po: Likewise.
10690         * po/pt_BR.po: Likewise.
10691         * po/ru.po: Likewise.
10692         * po/rw.po: Likewise.
10693         * po/sk.po: Likewise.
10694         * po/sl.po: Likewise.
10695         * po/sv.po: Likewise.
10696         * po/tr.po: Likewise.
10697         * po/uk.po: Likewise.
10698         * po/vi.po: Likewise.
10699         * po/zh_CN.po: Likewise.
10700         * po/zh_TW.po: Likewise.
10702 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10704         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10705         -Wformat-truncation instead of -Wformat-length.
10706         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10707         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10708         GCC 7.
10709         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10710         (do_test): Ignore -Wformat-truncation for GCC 7.
10712         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10713         buffer used to print long int value.
10715         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10716         one byte.  Print it with %ld, cast to long int.
10718 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10720         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10721         (re.fullmatch, subprocess.run): Likewise.
10723 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10725         * po/libc.pot: Regenerate.
10727 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10729         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10730         (min_strlen): Likewise.
10731         (disable_tunable): Likewise.
10732         (maybe_disable_malloc_check): Rename to
10733         maybe_enable_malloc_check.
10734         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10735         if /etc/suid-debug file exists.
10736         (__tunables_init): Update caller.
10737         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10738         secure.
10740 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10742         * nptl/DESIGN-rwlock.txt: Remove.
10743         * nptl/lowlevelrwlock.sym: Remove.
10744         * nptl/Makefile: Add new tests.
10745         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10746         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10747         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10748         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10749         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10750         PTHREAD_RWLOCK_FUTEX_USED): New.
10751         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10752         implementation.
10753         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10754         (__pthread_rwlock_rdlock): Adapt.
10755         * nptl/pthread_rwlock_timedrdlock.c
10756         (pthread_rwlock_timedrdlock): Adapt.
10757         * nptl/pthread_rwlock_timedwrlock.c
10758         (pthread_rwlock_timedwrlock): Adapt.
10759         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10760         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10761         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10762         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10763         (__pthread_rwlock_wrlock): Adapt.
10764         * nptl/tst-rwlock10.c: Adapt.
10765         * nptl/tst-rwlock11.c: Adapt.
10766         * nptl/tst-rwlock17.c: New file.
10767         * nptl/tst-rwlock18.c: New file.
10768         * nptl/tst-rwlock19.c: New file.
10769         * nptl/tst-rwlock2b.c: New file.
10770         * nptl/tst-rwlock8.c: Adapt.
10771         * nptl/tst-rwlock9.c: Adapt.
10772         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10773         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10774         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10775         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10776         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10777         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10778         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10779         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10780         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10781         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10782         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10783         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10784         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10785         (pthread_rwlock_t): Adapt.
10786         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10787         (pthread_rwlock_t): Adapt.
10788         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10789         * nptl/nptl-printers.py (): Adapt.
10790         * nptl/nptl_lock_constants.pysym: Adapt.
10791         * nptl/test-rwlock-printers.py: Adapt.
10792         * nptl/test-rwlockattr-printers.c: Adapt.
10793         * nptl/test-rwlockattr-printers.py: Adapt.
10795 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10797         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10798         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10799         (fma_test_data): Likewise.
10800         (hypot_test_data): Likewise.
10801         (log1p_test_data): Likewise.
10802         (modf_test_data): Likewise.
10803         (pow_test_data): Likewise.
10804         (remainder_test_data): Likewise.
10805         (remquo_test_data): Likewise.
10806         (scalb_test_data): Likewise.
10807         (scalbn_test_data): Likewise.
10808         (scalbln_test_data): Likewise.
10809         * math/gen-libm-test.pl (parse_args): Transform
10810         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10811         on the rounding mode.
10813 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10815         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10816         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10817         and those that can underflow to zero.
10818         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10819         add others.
10820         * math/auto-libm-test-out: Regenerated.
10822         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10823         supported.
10824         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10825         modes support if not supported.
10827         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10828         Add libc.so PLT entry.
10829         (__tls_get_addr): Make ld.so PLT entry optional.
10831 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10833         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10834         * string/bits/string3.h: ... here.
10836 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #21028]
10839         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10840         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10841         if EXCEPTION_TESTS returns false.
10843 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10845         [BZ #20558]
10846         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10847         strings_fortified.h.
10848         [__USE_MISC] (bzero): Likewise.
10849         [__USE_MISC] (explicit_bzero): Likewise.
10850         * string/strings.h: Include strings_fortified.h.
10851         * string/Makefile (headers): Add strings_fortified.h.
10852         * string/bits/strings_fortified.h: New file.
10853         * include/bits/strings_fortified.h: Likewise.
10855 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10857         * elf/tst-tls13.c (TIMEOUT): Remove.
10858         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10859         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10860         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10861         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10862         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10864         [BZ #21026]
10865         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10866         (readahead): New syscall entry.
10868 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10870         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10871         around tests of strncat with large sizes.
10873         * malloc/tst-malloc.c: Include <libc-internal.h>.
10874         (do_test): Disable -Walloc-size-larger-than= around tests of
10875         malloc with negative sizes.
10876         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10877         (do_test): Disable -Walloc-size-larger-than= around tests of
10878         malloc and realloc with negative sizes.
10879         * malloc/tst-realloc.c: Include <libc-internal.h>.
10880         (do_test): Disable -Walloc-size-larger-than= around tests of
10881         realloc with negative sizes.
10883         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10884         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10885         allowed to 16 ulps.
10886         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10887         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10888         * math/auto-libm-test-out: Regenerated.
10890 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10892         * math/Makefile (libm-calls): Move wrappers...
10893         (libm-compat-call-auto): Here.
10894         (libm-routines): Add items in libm-compat-calls-auto.
10895         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10896         the filenames of the wrappers that have been renamed.
10897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10900         * math/w_acos.c: Add _compat suffix to filename.
10901         * math/w_acosf.c: Likewise.
10902         * math/w_acosh.c: Likewise.
10903         * math/w_acoshf.c: Likewise.
10904         * math/w_acoshl.c: Likewise.
10905         * math/w_acosl.c: Likewise.
10906         * math/w_asin.c: Likewise.
10907         * math/w_asinf.c: Likewise.
10908         * math/w_asinl.c: Likewise.
10909         * math/w_atan2.c: Likewise.
10910         * math/w_atan2f.c: Likewise.
10911         * math/w_atan2l.c: Likewise.
10912         * math/w_atanh.c: Likewise.
10913         * math/w_atanhf.c: Likewise.
10914         * math/w_atanhl.c: Likewise.
10915         * math/w_cosh.c: Likewise.
10916         * math/w_coshf.c: Likewise.
10917         * math/w_coshl.c: Likewise.
10918         * math/w_exp10.c: Likewise.
10919         * math/w_exp10f.c: Likewise.
10920         * math/w_exp10l.c: Likewise.
10921         * math/w_exp2.c: Likewise.
10922         * math/w_exp2f.c: Likewise.
10923         * math/w_exp2l.c: Likewise.
10924         * math/w_fmod.c: Likewise.
10925         * math/w_fmodf.c: Likewise.
10926         * math/w_fmodl.c: Likewise.
10927         * math/w_hypot.c: Likewise.
10928         * math/w_hypotf.c: Likewise.
10929         * math/w_hypotl.c: Likewise.
10930         * math/w_j0.c: Likewise.
10931         * math/w_j0f.c: Likewise.
10932         * math/w_j0l.c: Likewise.
10933         * math/w_j1.c: Likewise.
10934         * math/w_j1f.c: Likewise.
10935         * math/w_j1l.c: Likewise.
10936         * math/w_jn.c: Likewise.
10937         * math/w_jnf.c: Likewise.
10938         * math/w_jnl.c: Likewise.
10939         * math/w_log10.c: Likewise.
10940         * math/w_log10f.c: Likewise.
10941         * math/w_log10l.c: Likewise.
10942         * math/w_log2.c: Likewise.
10943         * math/w_log2f.c: Likewise.
10944         * math/w_log2l.c: Likewise.
10945         * math/w_log.c: Likewise.
10946         * math/w_logf.c: Likewise.
10947         * math/w_logl.c: Likewise.
10948         * math/w_pow.c: Likewise.
10949         * math/w_powf.c: Likewise.
10950         * math/w_powl.c: Likewise.
10951         * math/w_remainder.c: Likewise.
10952         * math/w_remainderf.c: Likewise.
10953         * math/w_remainderl.c: Likewise.
10954         * math/w_scalb.c: Likewise.
10955         * math/w_scalbf.c: Likewise.
10956         * math/w_scalbl.c: Likewise.
10957         * math/w_sinh.c: Likewise.
10958         * math/w_sinhf.c: Likewise.
10959         * math/w_sinhl.c: Likewise.
10960         * math/w_sqrt.c: Likewise.
10961         * math/w_sqrtf.c: Likewise.
10962         * math/w_sqrtl.c: Likewise.
10963         * math/w_tgamma.c: Likewise.
10964         * math/w_tgammaf.c: Likewise.
10965         * math/w_tgammal.c: Likewise.
10967         * math/w_acos_compat.c: New file copied from above and
10968         adjusted for new #includes path
10969         * math/w_acosf_compat.c: Likewise.
10970         * math/w_acosh_compat.c: Likewise.
10971         * math/w_acoshf_compat.c: Likewise.
10972         * math/w_acoshl_compat.c: Likewise.
10973         * math/w_acosl_compat.c: Likewise.
10974         * math/w_asin_compat.c: Likewise.
10975         * math/w_asinf_compat.c: Likewise.
10976         * math/w_asinl_compat.c: Likewise.
10977         * math/w_atan2_compat.c: Likewise.
10978         * math/w_atan2f_compat.c: Likewise.
10979         * math/w_atan2l_compat.c: Likewise.
10980         * math/w_atanh_compat.c: Likewise.
10981         * math/w_atanhf_compat.c: Likewise.
10982         * math/w_atanhl_compat.c: Likewise.
10983         * math/w_cosh_compat.c: Likewise.
10984         * math/w_coshf_compat.c: Likewise.
10985         * math/w_coshl_compat.c: Likewise.
10986         * math/w_exp10_compat.c: Likewise.
10987         * math/w_exp10f_compat.c: Likewise.
10988         * math/w_exp10l_compat.c: Likewise.
10989         * math/w_exp2_compat.c: Likewise.
10990         * math/w_exp2f_compat.c: Likewise.
10991         * math/w_exp2l_compat.c: Likewise.
10992         * math/w_fmod_compat.c: Likewise.
10993         * math/w_fmodf_compat.c: Likewise.
10994         * math/w_fmodl_compat.c: Likewise.
10995         * math/w_hypot_compat.c: Likewise.
10996         * math/w_hypotf_compat.c: Likewise.
10997         * math/w_hypotl_compat.c: Likewise.
10998         * math/w_j0_compat.c: Likewise.
10999         * math/w_j0f_compat.c: Likewise.
11000         * math/w_j0l_compat.c: Likewise.
11001         * math/w_j1_compat.c: Likewise.
11002         * math/w_j1f_compat.c: Likewise.
11003         * math/w_j1l_compat.c: Likewise.
11004         * math/w_jn_compat.c: Likewise.
11005         * math/w_jnf_compat.c: Likewise.
11006         * math/w_jnl_compat.c: Likewise.
11007         * math/w_log10_compat.c: Likewise.
11008         * math/w_log10f_compat.c: Likewise.
11009         * math/w_log10l_compat.c: Likewise.
11010         * math/w_log2_compat.c: Likewise.
11011         * math/w_log2f_compat.c: Likewise.
11012         * math/w_log2l_compat.c: Likewise.
11013         * math/w_log_compat.c: Likewise.
11014         * math/w_logf_compat.c: Likewise.
11015         * math/w_logl_compat.c: Likewise.
11016         * math/w_pow_compat.c: Likewise.
11017         * math/w_powf_compat.c: Likewise.
11018         * math/w_powl_compat.c: Likewise.
11019         * math/w_remainder_compat.c: Likewise.
11020         * math/w_remainderf_compat.c: Likewise.
11021         * math/w_remainderl_compat.c: Likewise.
11022         * math/w_scalb_compat.c: Likewise.
11023         * math/w_scalbf_compat.c: Likewise.
11024         * math/w_scalbl_compat.c: Likewise.
11025         * math/w_sinh_compat.c: Likewise.
11026         * math/w_sinhf_compat.c: Likewise.
11027         * math/w_sinhl_compat.c: Likewise.
11028         * math/w_sqrt_compat.c: Likewise.
11029         * math/w_sqrtf_compat.c: Likewise.
11030         * math/w_sqrtl_compat.c: Likewise.
11031         * math/w_tgamma_compat.c: Likewise.
11032         * math/w_tgammaf_compat.c: Likewise.
11033         * math/w_tgammal_compat.c: Likewise.
11035         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11036         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11037         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11038         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11039         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11040         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11041         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11042         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11043         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11044         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11045         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11046         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11047         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11048         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11049         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11050         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11051         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11052         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11053         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11054         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11055         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11056         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11057         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11058         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11059         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11060         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11061         * sysdeps/ia64/fpu/w_log.c: Likewise.
11062         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11063         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11064         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11065         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11066         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11067         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11068         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11069         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11070         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11071         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11072         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11073         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11074         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11075         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11076         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11077         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11078         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11079         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11080         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11081         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11082         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11083         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11084         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11085         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11086         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11087         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11088         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11089         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11090         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11091         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11092         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11093         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11094         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11095         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11096         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11097         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11098         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11099         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11100         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11101         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11102         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11103         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11104         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11105         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11106         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11107         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11108         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11109         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11110         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11111         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11112         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11113         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11114         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11115         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11116         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11117         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11118         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11119         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11120         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11121         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11122         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11123         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11124         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11125         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11126         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11127         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11128         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11129         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11130         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11131         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11132         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11133         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11134         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11136         Likewise.
11137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11138         Likewise.
11139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11141         Likewise.
11142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11143         Likewise.
11144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11145         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11146         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11147         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11148         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11149         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11150         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11155         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11156         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11157         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11158         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11160         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11161         and adjusted for new #includes path
11162         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11163         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11164         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11165         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11166         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11167         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11168         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11169         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11170         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11171         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11172         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11173         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11174         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11175         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11176         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11177         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11178         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11179         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11180         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11181         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11182         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11183         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11184         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11185         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11186         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11187         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11188         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11189         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11190         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11191         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11192         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11193         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11194         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11195         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11196         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11197         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11198         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11199         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11200         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11201         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11202         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11203         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11204         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11205         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11206         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11207         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11208         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11209         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11210         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11211         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11212         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11213         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11214         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11215         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11216         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11217         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11218         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11219         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11220         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11221         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11222         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11223         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11224         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11225         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11226         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11227         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11228         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11229         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11230         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11231         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11232         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11233         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11234         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11235         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11236         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11237         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11238         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11239         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11240         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11241         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11242         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11243         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11244         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11245         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11246         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11247         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11248         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11249         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11250         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11251         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11252         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11253         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11254         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11255         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11256         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11257         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11258         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11259         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11260         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11262         Likewise.
11263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11264         Likewise.
11265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11266         Likewise.
11267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11268         Likewise.
11269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11270         Likewise.
11271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11272         Likewise.
11273         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11275         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11276         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11277         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11278         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11280         Likewise.
11281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11282         Likewise.
11283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11284         Likewise.
11285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11286         Likewise.
11287         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11288         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11289         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11290         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11292 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11294         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11295         __jmp_buf_internal_tag.
11297         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11298         preserve NaN payload if [__mips_nan2008].
11299         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11301         [BZ #21022]
11302         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11304 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11306         * sysdeps/i386/fpu/libm-test-ulps: Update.
11308 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11310         * sysdeps/ia64/strcat.c: Remove file.
11311         * sysdeps/powerpc/strcat.c: Likewise.
11312         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11313         C implementation.
11314         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11315         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11317 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11318             Steven Munroe  <sjmunroe@us.ibm.com>
11319             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11321         [BZ #20822]
11322         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11323         (__lll_lock_elision): Access adapt_count via C11 atomics.
11324         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11325         (__lll_trylock_elision): Likewise.
11326         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11327         (__lll_unlock_elision):  Update adapt_count variable inside the
11328         critical section using C11 atomics.
11330 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11332         * math/test-fenvinline.c (do_test): Disable tests of raised
11333         exceptions if !EXCEPTION_TESTS (FLOAT).
11335 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11337         [BZ #19390]
11338         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11339         maximum string size.
11340         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11341         in pointer addition.
11342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11343         Likewise.
11345 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11347         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11348         passed to tst-ldconfig-X.sh.
11350 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11352         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11354 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11356         [BZ #21019]
11357         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11358         New syscall entry.
11359         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11360         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11361         lseek.
11363         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11364         power4 glibc for powerpc-linux-gnu.
11366 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11368         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11369         semctl.
11371 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11373         * math/test-nearbyint-except.c: Include <stdbool.h>.
11374         (any_supported): New variable.
11375         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11376         set any_supported.
11377         (do_test): Return 77 if no floating-point type supported
11378         exceptions.
11380         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11381         condition on [__mips_hard_float].
11383 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11385         [BZ #21014]
11386         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11387         in pointer addition.
11388         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11390 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11392         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11393         new condvar.
11395 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11397         * scripts/build-many-glibcs.py (Context.checkout): Default
11398         binutils version to 2.28 branch.
11400 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11402         * support/support_format_netent.c (support_format_netent): Work
11403         around alpha struct netent definition difference.
11405 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11407         * support/xwrite.c (xwrite): Use %td for pointer difference.
11409 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11411         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11412         have-tunables only.
11413         (tests-static): Add tst-malloc-usable-static-tunables for
11414         have-tunables only.
11416 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11418         * scripts/config.guess: Update to version 2017-01-01.
11419         * scripts/config.sub: Update to version 2017-01-01.
11421         * NEWS: Update copyright dates.
11422         * catgets/gencat.c (print_version): Likewise.
11423         * csu/version.c (banner): Likewise.
11424         * debug/catchsegv.sh: Likewise.
11425         * debug/pcprofiledump.c (print_version): Likewise.
11426         * debug/xtrace.sh (do_version): Likewise.
11427         * elf/ldconfig.c (print_version): Likewise.
11428         * elf/ldd.bash.in: Likewise.
11429         * elf/pldd.c (print_version): Likewise.
11430         * elf/sotruss.sh: Likewise.
11431         * elf/sprof.c (print_version): Likewise.
11432         * iconv/iconv_prog.c (print_version): Likewise.
11433         * iconv/iconvconfig.c (print_version): Likewise.
11434         * locale/programs/locale.c (print_version): Likewise.
11435         * locale/programs/localedef.c (print_version): Likewise.
11436         * login/programs/pt_chown.c (print_version): Likewise.
11437         * malloc/memusage.sh (do_version): Likewise.
11438         * malloc/memusagestat.c (print_version): Likewise.
11439         * malloc/mtrace.pl: Likewise.
11440         * manual/libc.texinfo: Likewise.
11441         * nptl/version.c (banner): Likewise.
11442         * nscd/nscd.c (print_version): Likewise.
11443         * nss/getent.c (print_version): Likewise.
11444         * nss/makedb.c (print_version): Likewise.
11445         * posix/getconf.c (main): Likewise.
11446         * scripts/test-installation.pl: Likewise.
11447         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11449         * All files with FSF copyright notices: Update copyright dates
11450         using scripts/update-copyrights.
11451         * intl/plural.c: Regenerated.
11452         * locale/programs/charmap-kw.h: Likewise.
11453         * locale/programs/locfile-kw.h: Likewise.
11455 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11457         [BZ #20593]
11458         Update DNS RR type definitions.
11459         * scripts/gen-rrtypes.py: New file.
11460         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11461         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11462         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11463         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11464         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11465         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11466         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11467         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11468         ns_t_ta, ns_t_dlv.
11469         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11470         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11471         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11472         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11473         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11474         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11475         Define.
11476         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11477         entry for ns_t_zxfr.
11479 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11481         [BZ #18784]
11482         CVE-2015-5180
11483         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11484         T_UNSPEC.  Adjust value.
11485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11486         * resolv/res_query.c (__libc_res_nquery): Likewise.
11487         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11488         QTYPEs.
11489         * resolv/tst-resolv-qtypes.c: New file.
11490         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11491         (tst-resolv-qtypes): Link against libresolv and libpthread.
11493 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11495         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11497 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11499         * manual/tunables.texi: New chapter.
11500         * manual/Makefile (chapters): Add it.
11501         * manual/probes.texi (@node): Point to the Tunables chapter.
11503         * Makeconfig (have-tunables): Check for non-negative instead
11504         of positive.
11505         * configure.ac: Add 'valstring' as a valid value for
11506         --enable-tunables.
11507         * configure: Regenerate.
11508         * elf/Makefile (have-tunables): Check for non-negative instead
11509         of positive.
11510         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11511         dl-tunables.c.
11512         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11513         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11514         (tunables_strdup): Likewise.
11515         (disable_tunables): Likewise.
11516         (parse_tunables): Likewise.
11517         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11518         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11519         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11520         (TUNABLES_FRONTEND_yes): New macro, define as
11521         TUNABLES_FRONTEND_valstring by default.
11522         * manual/install.texi: Document new acceptable values for
11523         --enable-tunables.
11524         * INSTALL: Regenerate.
11526         * config.make.in (have-loop-to-function): Define.
11527         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11528         -fno-tree-loop-distribute-patterns.
11529         * elf/dl-tunables.c: Include libc-internals.h.
11530         (GLIBC_TUNABLES): New macro.
11531         (tunables_strdup): New function.
11532         (parse_tunables): New function.
11533         (min_strlen): New function.
11534         (__tunables_init): Use the new functions and macro.
11535         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11536         * malloc/tst-malloc-usable-tunables.c: New test case.
11537         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11538         * malloc/Makefile (tests, tests-static): Add tests.
11540         * manual/install.texi: Add --enable-tunables option.
11541         * INSTALL: Regenerate.
11542         * README.tunables: New file.
11543         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11544         (before-compile): Generate dl-tunable-list.h early.
11545         * config.h.in: Add HAVE_TUNABLES.
11546         * config.make.in: Add have-tunables.
11547         * configure.ac: Add --enable-tunables option.
11548         * configure: Regenerate.
11549         * csu/init-first.c (__libc_init_first): Move
11550         __libc_init_secure earlier...
11551         * csu/init-first.c (LIBC_START_MAIN):... to here.
11552         Include dl-tunables.h, libc-internal.h.
11553         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11554         binaries.
11555         * elf/Makefile (dl-routines): Add dl-tunables.
11556         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11557         namespace.
11558         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11559         only when !HAVE_TUNABLES.
11560         * elf/rtld.c (process_envvars): Likewise.
11561         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11562         (_dl_sysdep_start): Call __tunables_init.
11563         * elf/dl-tunable-types.h: New file.
11564         * elf/dl-tunables.c: New file.
11565         * elf/dl-tunables.h: New file.
11566         * elf/dl-tunables.list: New file.
11567         * malloc/tst-malloc-usable-static.c: New test case.
11568         * malloc/Makefile (tests-static): Add it.
11569         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11570         Define TUNABLE_NAMESPACE.
11571         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11572         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11573         callback functions.
11574         (ptmalloc_init): Set tunable values.
11575         * scripts/gen-tunables.awk: New file.
11576         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11577         (_dl_sysdep_start): Call __tunables_init.
11579 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11581         * resolv/resolv.h (RES_BLAST): Deprecate.
11582         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11583         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11584         to RES_BLAST.
11586 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11588         [BZ #19582]
11589         Deprecate RES_USE_INET6.
11590         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11591         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11592         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11593         RES_USE_INET6.
11594         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11595         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11596         (_nss_nisplus_gethostbyaddr_r): Likewise.
11597         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11598         of res_use_inet6.
11599         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11600         instead of RES_USE_INET6.
11601         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11602         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11603         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11604         Likewise.
11605         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11606         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11607         Likewise.
11608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11609         (_nss_dns_gethostbyname_r): Likewise.
11610         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11611         alternate RES_USE_INET6 handling.
11612         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11613         instead of RES_USE_INET6.
11614         * resolv/res_init.c (res_setoptions): Likewise.
11615         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11616         * resolv/resolv-internal.h: New file.
11617         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11618         make the deprecation warning non-fatal.
11619         * resolv/README (Using the resolver in multi-threaded code): Drop
11620         reference to RES_USE_INET6.
11621         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11622         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11624 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11626         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11627         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11628         tst-resolv-search.
11629         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11630         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11631         with libresolv and libpthread.
11632         * resolv/tst-bug18665.c: New file.
11633         * resolv/tst-bug18665-tcp: Likewise.
11634         * resolv/tst-res_use_inet6: Likewise.
11635         * resolv/tst-resolv-basic: Likewise.
11636         * resolv/tst-resolv-network: Likewise.
11637         * resolv/tst-resolv-search: Likewise.
11638         * support/Makefile (libsupport-routines): Add check_addrinfo,
11639         check_dns_packet, check_hostent, check_netent, resolv_test,
11640         support_format_address_family, support_format_addrinfo,
11641         support_format_dns_packet, support_format_herrno,
11642         support_format_hostent, support_format_netent, support_run_diff,
11643         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11644         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11645         xstrdup, xwrite.
11646         * support/check_addrinfo.c: New file.
11647         * support/check_dns_packet.c: Likewise.
11648         * support/check_hostent.c: Likewise.
11649         * support/check_netent.c: Likewise.
11650         * support/check_nss.h: Likewise.
11651         * support/format_nss.h: Likewise.
11652         * support/resolv_test.c: Likewise.
11653         * support/resolv_test.h: Likewise.
11654         * support/run_diff.h: Likewise.
11655         * support/support_format_address_family.c: Likewise.
11656         * support/support_format_addrinfo.c: Likewise.
11657         * support/support_format_dns_packet.c: Likewise.
11658         * support/support_format_herrno.c: Likewise.
11659         * support/support_format_hostent.c: Likewise.
11660         * support/support_format_netent.c: Likewise.
11661         * support/support_run_diff.c: Likewise.
11662         * support/xaccept.c: Likewise.
11663         * support/xbind.c: Likewise.
11664         * support/xconnect.c: Likewise.
11665         * support/xfclose.c: Likewise.
11666         * support/xfopen.c: Likewise.
11667         * support/xgetsockname.c: Likewise.
11668         * support/xlisten.c: Likewise.
11669         * support/xmemstream.c: Likewise.
11670         * support/xmemstream.h: Likewise.
11671         * support/xpoll.c: Likewise.
11672         * support/xpthread_once.c: Likewise.
11673         * support/xrecvfrom.c: Likewise.
11674         * support/xsendto.c: Likewise.
11675         * support/xsetsockopt.c: Likewise.
11676         * support/xstdio.h: Likewise.
11677         * support/xstrdup.c: Likewise.
11678         * support/support.h (xstrdup): Declare.
11679         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11680         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11681         * support/xthread.h (xpthread_once): Likwise.
11682         * support/xunistd.h (xwrite): Declare.
11684 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11686         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11687         (test_verbose): Declare.
11688         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11689         * support/support_test_main.c (default_options): Likewise.
11690         (usage, support_test_main): Handle 'v'.
11691         (test_verbose): Define.
11692         * support/tst-support_record_failure.c (do_test): Use
11693         test_verbose.
11694         * support/tst-support_record_failure-2.sh (different_status): Add
11695         --verbose test.
11697 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11699         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11700         test failures are recorded.
11701         * support/check.c (support_print_failure_impl): Call
11702         support_record_failure.
11703         (support_exit_failure_impl): Call support_record_failure if status
11704         indicates failure.
11705         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11706         * support/xasprintf.c (xasprintf): Likewise.
11707         * support/xfork.c (xfork): Likewise.
11708         * support/xpthread_check_return.c (xpthread_check_return):
11709         Likewise.
11710         * support/xsocket.c (xsocket): Likeweise.
11711         * support/xwaitpid.c (xwaitpid): Likewise.
11712         * support/support_record_failure.c (struct test_failures): Adjust
11713         to coding style.
11714         * support/support_test_verify_impl.c (support_test_verify_impl):
11715         Adjust error messages.
11716         * support/tst-support_record_failure-2.sh (different_status):
11717         Adjust error messages.
11719 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11721         * support/namespace.h: New file.
11722         * support/support_become_root.c: Likewise.
11723         * support/support_enter_network_namespace.c: Likewise.
11724         * support/tst-support-namespace.c: Likewise.
11725         * support/xsocket.c: Likewise.
11726         * support/xsocket.h: Likewise.
11727         * support/Makefile (libsupport-routines): Add support_become_root,
11728         support_enter_network_namespace, xsocket.
11729         (tests): Add tst-support-namespace.
11731 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11733         [BZ #17252]
11734         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11735         __USE_GNU.
11737 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11739         [BZ #13165]
11740         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11741         use new algorithm.
11742         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11743         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11744         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11745         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11746         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11747         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11748         __condvar_cleanup_waiting, __condvar_dec_grefs,
11749         __pthread_cond_wait_common): New.
11750         (__condvar_cleanup): Remove.
11751         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11752         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11753         Likewise.
11754         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11755         Likewise.
11756         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11757         * nptl/tst-cond1.c: Add comment.
11758         * nptl/tst-cond20.c (do_test): Adapt.
11759         * nptl/tst-cond22.c (do_test): Likewise.
11760         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11761         structure.
11762         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11763         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11764         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11765         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11766         Likewise.
11767         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11768         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11769         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11770         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11771         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11772         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11773         Likewise.
11774         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11775         Likewise.
11776         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11777         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11778         (COND_CLOCK_BITS): Adapt.
11779         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11780         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11781         __PTHREAD_COND_SHARED_MASK): New.
11782         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11783         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11784         * nptl/nptl_lock_constants.pysym: Adapt.
11785         * nptl/test-cond-printers.py: Adapt.
11786         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11787         cond_compat_check_and_clear): Adapt.
11788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11790         (__pthread_cond_timedwait): ... and move here.
11791         * nptl/DESIGN-condvar.txt: Remove file.
11792         * nptl/lowlevelcond.sym: Likewise.
11793         * nptl/pthread_cond_timedwait.c: Likewise.
11794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11795         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11796         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11797         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11798         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11799         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11800         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11801         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11802         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11803         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11804         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11805         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11806         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11807         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11808         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11809         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11811 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11813         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11814         (fromfp): New declaration.
11815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11818         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11823         * math/math.h: Include <bits/types.h>.
11824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11825         constant and macro.
11826         (FP_INT_DOWNWARD): Likewise.
11827         (FP_INT_TOWARDZERO): Likewise.
11828         (FP_INT_TONEARESTFROMZERO): Likewise.
11829         (FP_INT_TONEAREST): Likewise.
11830         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11831         (fromfpf): Likewise.
11832         (fromfpl): Likewise.
11833         (ufromfp): Likewise.
11834         (ufromfpf): Likewise.
11835         (ufromfpl): Likewise.
11836         (fromfpx): Likewise.
11837         (fromfpxf): Likewise.
11838         (fromfpxl): Likewise.
11839         (ufromfpx): Likewise.
11840         (ufromfpxf): Likewise.
11841         (ufromfpxl): Likewise.
11842         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11843         s_fromfpxF and s_ufromfpxF.
11844         * math/gen-fromfp-tests.py: New file.
11845         * math/gen-fromfp-tests-inputs: Likewise.
11846         * math/libm-test.inc: Include <stdint.h>
11847         (check_intmax_t): New function.
11848         (check_uintmax_t): Likewise.
11849         (struct test_fiu_M_data): New type.
11850         (struct test_fiu_U_data): Likewise.
11851         (RUN_TEST_fiu_M): New macro.
11852         (RUN_TEST_LOOP_fiu_M): Likewise.
11853         (RUN_TEST_fiu_U): Likewise.
11854         (RUN_TEST_LOOP_fiu_U): Likewise.
11855         (fromfp_test_data): New array.
11856         (fromfp_test): New function.
11857         (fromfpx_test_data): New array.
11858         (fromfpx_test): New function.
11859         (ufromfp_test_data): New array.
11860         (ufromfp_test): New function.
11861         (ufromfpx_test_data): New array.
11862         (ufromfpx_test): New function.
11863         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11864         ufromfpx_test.
11865         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11866         characters.
11867         * math/test-tgmath-ret.c: Include <stdint.h>.
11868         (rm): New variable.
11869         (width): Likewise.
11870         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11871         called function.
11872         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11873         CHECK_RET_CONST_TYPE.
11874         (CHECK_RET_CONST_DOUBLE): Likewise.
11875         (CHECK_RET_CONST_LDOUBLE): Likewise.
11876         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11877         macros.
11878         (fromfp): New CHECK_RET_CONST call.
11879         (ufromfp): Likewise.
11880         (fromfpx): Likewise.
11881         (ufromfpx): Likewise.
11882         (do_test): Call check_return_fromfp, check_return_ufromfp,
11883         check_return_fromfpx and check_return_ufromfpx.
11884         * math/test-tgmath.c: Include <stdint.h>
11885         (NCALLS): Increase to 138.
11886         (F(compile_test)): Initialize i.  Call fromfp functions.
11887         (F(fromfp)): New function.
11888         (F(fromfpx)): Likewise.
11889         (F(ufromfp)): Likewise.
11890         (F(ufromfpx)): Likewise.
11891         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11892         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11893         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11894         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11895         ufromfpxl.
11896         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11897         ufromfp and ufromfpx.
11898         * math/fromfp.h: New file.
11899         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11900         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11901         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11902         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11903         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11904         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11905         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11906         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11907         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11908         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11909         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11911         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11912         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11913         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11914         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11916         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11918         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11920         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11921         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11922         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11925         ufromfp, fromfpx and ufromfpx.
11926         (CFLAGS-nldbl-fromfp.c): New variable.
11927         (CFLAGS-nldbl-fromfpx.c): Likewise.
11928         (CFLAGS-nldbl-ufromfp.c): Likewise.
11929         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11930         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11931         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11932         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11933         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11934         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11935         * sysdeps/nacl/libm.abilist: Update.
11936         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11937         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11938         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11939         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11940         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11941         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11942         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11943         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11944         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11945         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11946         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11947         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11949         Likewise.
11950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11951         Likewise.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11953         Likewise.
11954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11955         Likewise.
11956         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11957         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11958         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11959         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11960         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11962         Likewise.
11963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11964         Likewise.
11965         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11969 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11971         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11972         compat-gethnamaddr.
11973         (CPPFLAGS): Remove.
11974         * resolv/gethnamaddr.c: Rename ...
11975         * resolv/compat-gethnamaddr.c: ... to this file.
11976         (_endhtent): Make static.
11977         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11978         symbol.
11979         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11980         compat symbol.
11981         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11982         symbol.
11983         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11984         Turn into compat symbol.
11985         * include/resolv.h (_endhtent): Remove declaration.
11987 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11989         * bits/types.h (__intmax_t): New typedef.
11990         (__uintmax_t): Likewise.
11991         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11992         (intmax_t): Define using __intmax_t.
11993         (uintmax_t): Define using __uintmax_t.
11995         * support/Makefile (tests-special): Make definition conditional on
11996         [$(run-built-tests) = yes].
11997         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11998         on [$(run-built-tests) = yes].
12000 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12002         * Rules (tests): Add tests-printers-programs to tests to be
12003         built.
12005 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12007         * sysvipc/Makefile (tests): Add test-sysvshm.
12008         * sysvipc/test-sysvshm.c: New file.
12010         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12011         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12012         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12013         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12014         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12015         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12016         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12017         Likewise.
12018         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12019         Likewise.
12020         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12021         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12022         is defined.
12024         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12025         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12026         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12027         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12028         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12029         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12030         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12031         Likewise.
12032         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12033         Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12035         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12036         defined.
12038         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12039         oldshmctl.
12040         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12041         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12042         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12043         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12044         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12045         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12046         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12047         Likewise.
12048         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12049         Likewise.
12050         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12051         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12052         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12053         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12054         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12055         implementation.
12056         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12057         if it is defined.
12059         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12060         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12061         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12062         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12063         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12064         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12065         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12066         Likewise.
12067         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12068         Likewise.
12069         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12071         Define to __NR_osf_shmat.
12072         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12073         defined.
12075         * sysvipc/Makefile (tests): Add test-sysvsem.
12076         * sysvipc/test-sysvsem.c: New file.
12078         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12079         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12080         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12083         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12084         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12085         Likewise.
12086         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12087         Likewise.
12088         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12089         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12090         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12091         add a comment about s390 syscall difference from default one.
12092         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12093         syscall if it is defined.
12095         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12096         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12097         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12098         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12099         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12100         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12101         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12102         Likewise.
12103         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12104         Likewise.
12105         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12106         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12107         defined.
12109         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12110         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12111         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12112         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12113         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12114         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12115         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12116         Likewise.
12117         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12118         Likewise.
12119         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12120         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12121         if it is defined.
12123         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12124         oldsemctl.
12125         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12126         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12127         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12128         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12129         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12130         implementation.
12131         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12132         syscall if it is defined.
12133         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12134         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12135         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12136         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12137         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12141         * sysvipc/Makefile (tests): Add test-sysvmsg.
12142         * sysvipc/test-sysvmsg.c: New file.
12143         * support/check.h (FAIL_UNSUPPORTED): New define.
12145         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12146         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12147         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12148         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12149         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12150         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12151         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12152         Likewise.
12153         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12154         Likewise.
12155         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12156         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12157         define.
12159         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12160         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12161         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12162         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12163         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12164         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12165         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12166         Likewise.
12167         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12168         Likewise.
12169         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12170         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12171         if defined.
12173         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12174         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12175         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12176         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12177         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12178         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12179         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12180         Likewise.
12181         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12182         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12183         Likewise.
12184         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12185         if defined.
12186         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12188         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12189         oldmsgctl.
12190         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12191         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12192         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12193         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12194         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12195         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12196         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12197         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12198         Likewise.
12199         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12200         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12201         implementation.
12202         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12203         if defined.
12205         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12206         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12207         definition and define its own.
12208         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12209         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12210         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12211         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12212         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12213         definitions to common header.
12214         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12215         operation from ipc_ops.h.
12217         * sysdeps/unix/sysv/linux/kernel-features.h
12218         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12219         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12220         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12221         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12222         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12223         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12224         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12225         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12226         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12227         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12228         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12229         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12230         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12231         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12232         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12234 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12236         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12237         overflow in pointer addition.
12239 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12241         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12242         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12244         (strchr): Add __strchr_power8 to list of strchr functions.
12245         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12246         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12247         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12248         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12249         (strchr): Add __strchr_power8 to ifunc list.
12250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12251         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12252         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12253         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12255 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12257         * support/Makefile (libsupport-routines): Add
12258         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12259         (tests): Add tst-support_record_failure.
12260         (tests-special): tst-support_record_failure-2.
12261         (tst-support_record_failure-2.out): Depend on
12262         tst-support_record_failure-2.sh and tst-support_record_failure.
12263         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12264         (support_test_verify_impl, support_record_failure)
12265         (support_report_failure, support_report_failure_reset): Declare.
12266         * support/support_test_main.c (adjust_exit_status): New function.
12267         (support_test_main): Call it to incorporate record test failures.
12268         * support/support_test_verify_impl.c: New file.
12269         * support/support_record_failure.c: Likewise.
12270         * support/tst-support_record_failure.c: Likewise.
12271         * support/tst-support_record_failure-2.sh: Likewise.
12272         * support/xunistd.h: Likewise.
12273         * support/xfork.c: Likewise.
12274         * support/xwaitpid.c: Likewise.
12276 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12278         * scripts/check-c++-types.sh: Add comments.
12280 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12282         [BZ #19514]
12283         * resolv/res_send.c: Fix typo in comment.
12284         * sysdeps/i386/i386-mcount.S: Likewise.
12285         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12287         * sysdeps/sparc/sparc-mcount.S: Likewise.
12289 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12291         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12292         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12293         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12294         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12295         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12296         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12297         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12298         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12300 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12302         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12304 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12306         [BZ #17252]
12307         * posix/unistd.h (getentropy): Declare.
12309 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12311         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12312         Remove.
12313         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12314         (cmd): Remove spoof, nospoof, spoofalert.
12315         (parse_line): Ignore spoof-related lines.
12316         (do_init): Do not process RESOLV_SPOOF_CHECK.
12318 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12320         [BZ #20964]
12321         sunrpc: Always obtain AF_INET addresses from NSS.
12322         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12323         * sunrpc/rpc_gethostbyname.c: New file.
12324         * sunrpc/Makefile (routines): Add it.
12325         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12326         * sunrpc/clnt_simp.c (callrpc): Likewise.
12327         * sunrpc/getrpcport.c (getrpcport): Likewise.
12329 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12331         * sunrpc/rpcinfo.c: Remove.
12332         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12334 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12336         [BZ #19387]
12337         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12338         addition.
12339         * string/test-memchr.c (do_test): Remove alignment limitation.
12340         (test_main): Add test that trigger BZ #19387.
12342 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12344         [BZ #7065]
12345         Enable stack protectore if requested by ./configure.
12346         * Makeconfig (+stack-protector): New variable.
12347         (+cflags): Use it.
12349 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12351         [BZ #7065]
12352         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12353         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12354         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12355         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12356         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12358 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12360         [BZ #7065]
12361         * login/Makefile (pt_chown-cflags): Remove.
12362         * nscd/Makefile (CFLAGS-nscd): Likewise.
12363         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12365 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12367         [BZ #7065]
12368         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12369         non-libc-linking testcase.
12371 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12372             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12373             Florian Weimer  <fweimer@redhat.com>
12375         [BZ #7065]
12376         PLT avoidance for __stack_chk_fail*.
12377         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12378         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12379         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12380         __stack_chk_fail_local alias.
12381         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12382         (__stack_chk_fail): Turn into hidden reference to
12383         __stack_chk_fail_local.
12385 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12387         [BZ #7065]
12388         * configure.ac: Add check for unsupported stack-protection level.
12389         (libc_cv_predef_stack_protector): Remove.
12390         (no_ssp): New variable.
12391         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12392         (stack_protector): Set to -fno-stack-protector similarly.
12393         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12394         (libc_cv_asm_set_directive): Likewise.
12395         (libc_cv_protected_data): Likewise.
12396         (libc_cv_z_combreloc): Likewise.
12397         (libc_cv_hashstyle): Likewise.
12398         (libc_cv_has_glob_dat): Likewise.
12399         (libc_cv_output_format): Likewise.
12400         (libc_cv_output_format): Likewise.
12401         (libc_cv_ehdr_start): Likewise.
12402         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12403         (LIBC_LINKER_FEATURE): Likewise.
12404         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12406 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12408         [BZ #7065]
12409         * elf/Makefile (dummy-stack-chk-fail): New.
12410         (librtld.map): Use it.
12412 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12414         [BZ #7065]
12415         Compile the dynamic linker without stack protection.
12416         * elf/Makefile (elide-stack-protector): New.
12417         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12418         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12419         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12420         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12422 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12424         [BZ #7065]
12425         * config.make.in (have-ssp, no-stack-protector): New.
12426         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12427         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12428         (CFLAGS-sbrk.op): Likewise.
12429         (CFLAGS-brk.o): Likewise.
12430         (CFLAGS-brk.op): Likewise.
12431         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12432         (CFLAGS-wordcopy.c): Likewise.
12434 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12436         [BZ #7065]
12437         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12438         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12439         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12440         (__ifunc_resolver): Use it.
12441         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12442         inhibit_stack_protector.
12443         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12444         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12445         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12446         (foo_protected_ifunc): Likewise.
12447         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12448         (foo_protected_ifunc): Likewise.
12449         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12450         * sysdeps/nacl/nacl_interface_query.c
12451         (nacl_interface_query_ifunc): Likewise.
12452         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12453         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12454         Likewise.
12455         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12456         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12457         the generated vDSO syscall resolver.
12459 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12460             Florian Weimer  <fweimer@redhat.com>
12462         [BZ #7065]
12463         Initialize the stack guard earlier when linking statically.
12464         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12465         (__pthread_initialize_minimal): Declare.
12466         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12467         declaration.
12468         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12469         stack canary and apply_irel initialization up.  Call
12470         __pthread_initialize_minimal only if linked in.
12471         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12472         constant values.
12473         (__pthread_initialize_minimal): Remove.
12474         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12475         (__pthread_initialize_minimal_internal): Do not call
12476         __libc_setup_tls.
12478 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12480         [BZ #7065]
12481         * configure.ac (libc_cv_ssp): Move up.
12482         (libc_cv_ssp_strong): Likewise.
12483         (libc_cv_ssp_all): New.
12484         (stack_protector): Augment, adding -fstack-protector-all.
12485         (no_stack_protector): New.
12486         (STACK_PROTECTOR_LEVEL): New.
12487         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12488         * manual/install.texi (--enable-stack-protector): Document it.
12489         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12491 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12493         * README.pretty-printers: Must specify CPPFLAGS-* also.
12494         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12495         (CPPFLAGS-test-mutex-printers.c): Define.
12496         (CPPFLAGS-test-condattr-printers.c): Define.
12497         (CPPFLAGS-test-cond-printers.c): Define.
12498         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12499         (CPPFLAGS-test-rwlock-printers.c): Define.
12501         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12502         (tests): Add tst-cancel-getpwuid_r.
12503         * nss/tst-cancel-getpwuid_r.c: New file.
12505         [BZ #11941]
12506         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12507         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12508         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12509         tst-nodelete-dlclose.
12510         (modules-names): Add tst-nodelete-dlclose-dso and
12511         tst-nodelete-dlclose-plugin.
12512         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12513         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12514         ($(objpfx)tst-nodelete-dlclose): Define.
12515         ($(objpfx)tst-nodelete-dlclose.out): Define.
12517 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12519         * scripts/test_printers_common.py: Log GDB output in case of
12520         Python detection failure.
12522 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12524         * configure.ac: Check for python3 or python.
12525         * configure: Regenerated.
12526         * config.make.in (PYTHON): New variable.
12527         * benchtests/Makefile: Don't define PYTHON.
12528         (bench): Define target only if PYTHON was defined.
12529         * Rules: Don't define PYTHON.
12530         Define pretty printer targets only if PYTHON was defined.
12531         (tests-printers): Add to tests-unsupported if PYTHON is not
12532         found.
12533         (python-flags, python-invoke): Remove.
12534         (tests-printers-out): Use PYTHON instead of python-invoke.
12536 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12538         [BZ #20978]
12539         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12540         Compare name == NULL, not name != NULL.
12542         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12543         trailing whitespace removed.
12544         * scripts/config.guess: Update to version 2016-10-02.
12545         * scripts/config.sub: Update to version 2016-11-19.
12546         * scripts/install-sh: Update to version 2016-01-11.22.
12547         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12548         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12550 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12552         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12553         (do_one_test) Restore original string so iteration works.
12554         * string/string-inlines.c (do_test): Create better input strings.
12555         (test_main) Reduce number of testruns.
12556         * string/string-inlines.c (__old_strsep_1c): New function.
12557         (__old_strsep_2c): Likewise.
12558         (__old_strsep_3c): Likewise.
12559         * string/strsep.c (__strsep): Remove case of small delim string.
12560         Call strcspn directly rather than strpbrk.
12561         * string/bits/string2.h (__strsep): Remove define.
12562         (__strsep_1c): Remove.
12563         (__strsep_2c): Remove.
12564         (__strsep_3c): Remove.
12565         (strsep): Remove.
12566         * sysdeps/unix/sysv/linux/internal_statvfs.c
12567         (__statvfs_getflags): Rename to __strsep.
12569 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12571         * csu/libc-tls.c (_dl_tls_setup): Remove.
12572         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12573         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12574         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12576 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12578         [BZ #7065]
12579         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12580         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12582 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12583             Florian Weimer  <fweimer@redhat.com>
12585         [BZ #7065]
12586         * csu/Makefile (tests): Empty assignment and document it.
12587         (tests-static): Remove.
12588         * csu/tst-empty.c: Move to...
12589         * misc/tst-empty.c: ... here.  Switch to new test driver.
12590         * csu/tst-atomic.c: Move to...
12591         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12592         * csu/tst-atomic-long.c: Move to...
12593         * misc/tst-atomic-long.c: ... here.
12594         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12595         tst-atomic-long.
12596         (tests-static): Add tst-empty.
12598 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12600         * manual/nss.texi: Change incorrect @vtable to @table.
12601         * manual/arith.texi: Convert @tables of variables to @vtables
12602         and remove unnecessary indexing.
12603         * manual/filesys.texi: Likewise.
12604         * manual/llio.texi: Likewise.
12605         * manual/memory.texi: Likewise.
12606         * manual/process.texi: Likewise.
12607         * manual/resource.texi: Likewise.
12608         * manual/search.texi: Likewise.
12609         * manual/signal.texi: Likewise.
12610         * manual/socket.texi: Likewise.
12611         * manual/stdio.texi: Likewise.
12612         * manual/sysinfo.texi: Likewise.
12613         * manual/syslog.texi: Likewise.
12614         * manual/terminal.texi: Likewise.
12615         * manual/time.texi: Likewise.
12616         * manual/users.texi: Likewise.
12618 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12620         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12621         (roundeven): New declaration.
12622         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12623         macro.
12624         * math/Versions (roundeven): New libm symbol at version
12625         GLIBC_2.25.
12626         (roundevenf): Likewise.
12627         (roundevenl): Likewise.
12628         * math/Makefile (libm-calls): Add s_roundevenF.
12629         * math/libm-test.inc (roundeven_test_data): New array.
12630         (roundeven_test): New function.
12631         (main): Call roundeven_test.
12632         * math/test-tgmath.c (NCALLS): Increase to 134.
12633         (F(compile_test)): Call roundeven.
12634         (F(roundeven)): New function.
12635         * manual/arith.texi (Rounding Functions): Document roundeven,
12636         roundevenf and roundevenl.
12637         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12638         * include/math.h (roundeven): Use libm_hidden_proto.
12639         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12640         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12641         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12642         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12643         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12644         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12645         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12646         roundeven.
12647         (CFLAGS-nldbl-roundeven.c): New variable.
12648         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12649         * sysdeps/nacl/libm.abilist: Update.
12650         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12651         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12652         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12653         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12654         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12655         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12656         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12657         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12658         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12659         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12660         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12661         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12667         Likewise.
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12669         Likewise.
12670         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12671         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12672         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12673         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12674         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12676         Likewise.
12677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12678         Likewise.
12679         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12680         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12681         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12683 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12685         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12686         preprocessor indentation inside #if.
12688 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12690         * math/libm-test.inc (fmt_ftostr): New function.
12691         (print_float, check_float_internal): Replace some uses of
12692         FTOSTR with uses of fmt_ftostr.
12693         (print_max_error, print_complex_max_error, print_function_ulps)
12694         (print_complex_function_ulps): Remove uses of the macros
12695         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12696         * math/test-double.h (FTOSTR): Define to strfromd.
12697         (PRINTF_EXPR): Delete.
12698         (PRINTF_XEXPR): Likewise.
12699         (PRINTF_NEXPR): Likewise.
12700         * math/test-float.h (FTOSTR): Define to strfromf.
12701         (PRINTF_EXPR): Delete.
12702         (PRINTF_XEXPR): Likewise.
12703         (PRINTF_NEXPR): Likewise.
12704         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12705         (PRINTF_EXPR): Delete.
12706         (PRINTF_XEXPR): Likewise.
12707         (PRINTF_NEXPR): Likewise.
12709 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12711         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12712         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12713         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12714         (__lll_lock_elision): Decrement adapt_count while unlocking
12715         instead of before locking.
12716         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12717         (__lll_trylock_elision): Likewise.
12718         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12719         (__lll_unlock_elision): Likewise.
12721 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12723         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12724         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12725         Use __libc_tbegin_retry macro.
12727 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12729         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12730         Add -msoft-float.
12731         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12732         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12733         Use __libc_t* transaction macros instead of __builtin_t*.
12734         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12735         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12737 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12739         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12740         (__lll_lock_elision): Use atomics to load / store adapt_count.
12741         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12742         (__lll_trylock_elision): Likewise.
12744 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12746         Do not require memset elimination in explicit_bzero test.
12747         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12748         (enum test_expectation): Add NO_EXPECTATIONS.
12749         (subtests): NO_EXPECTATIONS for ordinary clear.
12750         (check_test_buffer): Handle NO_EXPECTATIONS.
12751         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12753 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12755         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12756         (fmaxmag): New declaration.
12757         (fminmag): Likewise.
12758         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12759         macro.
12760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12761         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12762         (fmaxmagf): Likewise.
12763         (fmaxmagl): Likewise.
12764         (fminmag): Likewise.
12765         (fminmagf): Likewise.
12766         (fminmagl): Likewise.
12767         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12768         * math/s_fmaxmag_template.c: New file.
12769         * math/s_fminmag_template.c: Likewise.
12770         * math/libm-test.inc (fmaxmag_test_data): New array.
12771         (fmaxmag_test): New function.
12772         (fminmag_test_data): New array.
12773         (fminmag_test): New function.
12774         (main): Call fmaxmag_test and fminmag_test.
12775         * math/test-tgmath.c (NCALLS): Increase to 132.
12776         (F(compile_test)): Call fmaxmag and fminmag.
12777         (F(fminmag)): New function.
12778         (F(fmaxmag)): Likewise.
12779         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12780         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12781         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12782         fminmag.
12783         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12784         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12785         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12786         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12787         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12788         and fminmag.
12789         (CFLAGS-nldbl-fmaxmag.c): New variable.
12790         (CFLAGS-nldbl-fminmag.c): Likewise.
12791         * sysdeps/nacl/libm.abilist: Update.
12792         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12802         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12803         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12805         Likewise.
12806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12807         Likewise.
12808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12809         Likewise.
12810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12811         Likewise.
12812         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12813         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12814         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12815         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12816         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12823         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12825 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12827         [BZ #20973]
12828         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12829         wake-up in robust mutexes.
12830         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12832 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12834         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12835         (CFLAGS-bench-fmaxf.c): New rule.
12836         (CFLAGS-bench-fminf.c): Likewise.
12837         * benchtests/fmaxf-inputs: New file.
12838         * benchtests/fminf-inputs: Likewise.
12840         * benchtests/Makefile (bench-math): Add fmin and fmax.
12841         (CFLAGS-bench-fmax.c): New rule.
12842         (CFLAGS-bench-fmin.c): Likewise.
12843         * benchtests/fmax-inputs: New file.
12844         * benchtests/fmin-inputs: Likewise.
12846         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12847         parenthesis.
12848         (CMDLINE_PROCESS): Define using function instead of macro.
12849         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12850         of test-skeleton.
12851         * benchtests/bench-memchr.c: Likewise.
12852         * benchtests/bench-memcmp.c: Likewise.
12853         * benchtests/bench-memcpy-large.c: Likewise.
12854         * benchtests/bench-memcpy.c: Likewise.
12855         * benchtests/bench-memmem.c: Likewise.
12856         * benchtests/bench-memmove-large.c: Likewise.
12857         * benchtests/bench-memmove.c: Likewise.
12858         * benchtests/bench-memset-large.c: Likewise.
12859         * benchtests/bench-memset.c: Likewise.
12860         * benchtests/bench-rawmemchr.c: Likewise.
12861         * benchtests/bench-strcasecmp.c: Likewise.
12862         * benchtests/bench-strcasestr.c: Likewise.
12863         * benchtests/bench-strcat.c: Likewise.
12864         * benchtests/bench-strchr.c: Likewise.
12865         * benchtests/bench-strcmp.c: Likewise.
12866         * benchtests/bench-strcpy.c: Likewise.
12867         * benchtests/bench-strcpy_chk.c: Likewise.
12868         * benchtests/bench-strlen.c: Likewise.
12869         * benchtests/bench-strncasecmp.c: Likewise.
12870         * benchtests/bench-strncmp.c: Likewise.
12871         * benchtests/bench-strncpy.c: Likewise.
12872         * benchtests/bench-strnlen.c: Likewise.
12873         * benchtests/bench-strpbrk.c: Likewise.
12874         * benchtests/bench-strrchr.c: Likewise.
12875         * benchtests/bench-strsep.c: Likewise.
12876         * benchtests/bench-strspn.c: Likewise.
12877         * benchtests/bench-strstr.c: Likewise.
12878         * benchtests/bench-strtok.c: Likewise.
12880 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12882         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12883         stepping identification.
12884         (init_cpu_features): Add handle of Haswell.
12886 2016-11-25  Jim Meyering  <meyering@fb.com>
12888         [BZ #20386]
12889         Let gcc detect assert(a = 1) errors.
12890         * assert/assert.h (assert): Rewrite, retaining the old definintion
12891         when required, but otherwise putting the expression as-is in an "if"
12892         expression (hence, with no added parentheses) within a statement
12893         expression.
12895 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12897         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12898         DSO.
12900 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12902         * Rules (python-flags, python-invoke): New.
12903         ($(test-printers-out)): Use $(python-flags).
12905 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12907         * manual/arith.texi (Math Error Reporting): Document that sNaN
12908         arguments are not considered domain errors.
12910 2016-12-16  Zack Weinberg <zackw@panix.com>
12911             Florian Weimer <fweimer@redhat.com>
12912             Nick Mathewson <nickm@torproject.org>
12914         * string/explicit_bzero.c: New routine.
12915         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12916         * string/Makefile (routines, strop-tests, tests): Add them.
12917         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12918         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12920         * debug/explicit_bzero_chk.c: New routine.
12921         * debug/Makefile (routines): Add it.
12922         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12923         * string/bits/string3.h: Fortify explicit_bzero.
12925         * manual/string.texi: Document explicit_bzero.
12926         * NEWS: Mention addition of explicit_bzero.
12928         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12929         data before returning, using explicit_bzero.
12930         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12931         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12932         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12934         * include/string.h: Redirect internal uses of explicit_bzero
12935         to __explicit_bzero_chk[_internal].
12936         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12937         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12938         * sysdeps/arm/nacl/libc.abilist
12939         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12940         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12941         * sysdeps/unix/sysv/linux/arm/libc.abilist
12942         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12943         * sysdeps/unix/sysv/linux/i386/libc.abilist
12944         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12945         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12946         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12947         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12948         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12949         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12950         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12951         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12952         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12957         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12958         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12959         * sysdeps/unix/sysv/linux/sh/libc.abilist
12960         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12961         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12964         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12965         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12966         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12967         Add entries for explicit_bzero and __explicit_bzero_chk.
12969 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12971         * math/fenv.h
12972         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12973         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12974         * math/test-fe-snans-always-signal.c: New file.
12975         * math/Makefile (tests): Add test-fe-snans-always-signal.
12976         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12977         * manual/arith.texi (Infinity and NaN): Document
12978         FE_SNANS_ALWAYS_SIGNAL.
12980 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12982         * string/test-memchr.c (do_test): Typo on â€˜byte’ and missing closing
12983         bracket.
12985 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12987         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12988         before calling execv.
12990 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12992         [BZ #20971]
12993         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12994         overflow in pointer addition.
12995         * string/test-memchr.c (do_test): Add an argument to pass as
12996         the size on memchr.
12997         (test_main): Add check for SIZE_MAX.
12999 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13001         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13002         (libm-calls): Add w_scalblnF.
13003         * math/w_scalbln.c: Remove.
13004         * math/w_scalblnf.c: Likewise.
13005         * math/w_scalblnl.c: Likewise.
13006         * math/w_scalbln_template.c: New file with type-generic
13007         implementation based on math/w_scalbln.c.
13008         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13009         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13011 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13013         [BZ #20947]
13014         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13015         either is a signaling NaN.
13016         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
13017         follow fmaxl more closely.
13018         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13019         when either is a signaling NaN.
13020         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13021         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13022         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13023         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13024         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13025         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13026         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13027         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13028         (fmin_test_data): Likewise.
13030 2016-12-15  Andreas Schwab  <schwab@suse.de>
13032         * support/support_test_main.c (support_test_main): Don't shadow
13033         file-local variable test_pid.
13035 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13037         [BZ #20947]
13038         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13039         either is a signaling NaN.
13040         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13042 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13044         [BZ #20947]
13045         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13046         when either is a signaling NaN.
13047         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13049         * bits/long-double.h: New file.
13050         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13051         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13052         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13053         * sysdeps/mips/bits/long-double.h: Likewise.
13054         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13055         * math/Makefile (headers): Add bits/long-double.h.
13056         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13057         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13058         <bits/wordsize.h>.
13059         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13060         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13061         * math/math.h: Do not include <bits/mathdef.h>.
13062         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13063         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13064         inclusion.
13065         * sysdeps/ia64/bits/mathdef.h: Remove file.
13066         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13067         * sysdeps/mips/bits/mathdef.h: Likewise.
13068         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13069         * sysdeps/s390/bits/mathdef.h: Likewise.
13070         * sysdeps/sparc/bits/mathdef.h: Likewise.
13071         * sysdeps/x86/bits/mathdef.h: Likewise.
13072         * sysdeps/s390/s390-32/bits/wordsize.h
13073         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13074         conditional code.
13075         * sysdeps/s390/s390-64/bits/wordsize.h
13076         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13077         Likewise.
13078         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13079         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13080         Likewise.
13081         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13082         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13083         Likewise.
13084         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13085         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13086         Likewise.
13088         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13089         <linux/falloc.h>.
13090         (FALLOC_FL_KEEP_SIZE): Remove.
13091         (FALLOC_FL_PUNCH_HOLE): Likewise.
13092         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13093         (FALLOC_FL_ZERO_RANGE): Likewise.
13095 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13097         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13099 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13101         * sysdeps/unix/sysv/linux/renameat.c: New file.
13102         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13104         * sysdeps/unix/sysv/linux/rename.c: New file.
13105         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13107 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13109         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13110         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13111         * string/strtok_r.c (__strtok_r): Optimize for performance.
13112         * string/string-inlines.c (__old_strtok_r_1c): New function.
13113         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13115 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13117         * math/Makefile (gen-libm-calls): Add w_log1pF.
13118         (libm-calls): Remove w_log1pF.
13119         * math/w_log1p.c: Remove.
13120         * math/w_log1pf.c: Likewise.
13121         * math/w_log1pl.c: Likewise.
13122         * math/w_log1p_template.c: New file with type-generic
13123         implementation based on math/w_log1p.c.
13124         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13125         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13127 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13129         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13131 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13133         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13134         kernel version to 4.9.
13136 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13138         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13139         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13141 2016-12-13  Andreas Schwab  <schwab@suse.de>
13143         * sysdeps/powerpc/dl-procinfo.c: Don't define
13144         _dl_powerpc_platforms.
13145         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13146         constants instead of referencing _dl_powerpc_platforms.
13147         (_dl_platform_string): Remove.
13149 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13151         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13153 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13155         * Rules (binaries-shared-tests, binaries-pie-tests)
13156         (binaries-static-tests): Link with $(link-extra-libs-tests).
13157         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13158         Remove $(link-extra-libs-tests).
13160 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13162         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13163         (sysdep_routines): Add strncmp_power9.
13164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13165         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13166         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13167         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13168         (strncmp): Add __strncmp_power9 to ifunc list.
13169         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13171 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13173         [BZ #17252]
13174         Add getentropy, getrandom.
13175         * stdlib/sys/random.h: New file.
13176         (headers): Add it.
13177         * stdlib/Makefile (routines): Add getentropy, getrandom.
13178         (tests): Add tst-getrandom.
13179         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13180         * stdlib/getentropy.c: New file.
13181         * stdlib/getrandom.c: Likewise.
13182         * stdlib/tst-getrandom.c: Likewise.
13183         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13184         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13185         * manual/crypt.texi (Unpredictable Bytes): New section.
13186         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13187         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13188         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13189         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13190         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13191         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13192         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13193         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13194         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13195         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13196         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13197         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13198         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13199         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13200         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13201         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13203         Likewise.
13204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13205         Likewise.
13206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13208         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13209         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13210         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13211         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13217         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13219 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13221         [BZ #20956]
13222         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13223         as additional compiler barriers.
13224         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13225         (fn2, do_test): Declare with external linkage.
13226         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13227         (do_test): Declare with external linkage.
13228         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13229         (do_test): Declare with external linkage.
13230         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13231         (do_test): Declare with external linkage.
13233 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13235         * support/support_test_main.c (support_test_main): Use correct
13236         timeout.
13238 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13239             Florian Weimer  <fweimer@redhat.com>
13241         [BZ #16421]
13242         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13243         and __u6_addr32 members.
13244         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13245         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13246         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13247         Use __u6_addr32.
13248         * inet/tst-checks.c: Use <support/test-driver.c>
13249         * inet/tst-checks-posix.c: New file.
13250         * inet/Makefile (tests): Add it.
13251         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13253 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13255         New subdirectory support for build and test infrastructure.
13256         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13257         setting install-lib.
13258         * Makeconfig (link-extra-libs-tests): Define.
13259         (+link-pie-tests, +link-static-tests, +link-tests): Use
13260         link-extra-libs-tests.
13261         (rpath-dirs, all-subdirs): Add support.
13262         (built-modules): Add libsupport.
13263         (libsupport): Define.
13264         * support: New directory.
13265         * support/Makefile: New file.
13266         * support/check.c: Likewise.
13267         * support/check.h: Likewise.
13268         * support/delayed_exit.c: Likewise.
13269         * support/ignore_stderr.c: Likewise.
13270         * support/oom_error.c: Likewise.
13271         * support/set_fortify_handler.c: Likewise.
13272         * support/support.h: Likewise.
13273         * support/temp_file-internal.h: Likewise.
13274         * support/temp_file.c: Likewise.
13275         * support/test-driver.c: Likewise.
13276         * support/test-driver.h: Likewise.
13277         * support/test_main.c: Likewise.
13278         * support/write_message.c: Likewise.
13279         * support/xasprintf.c: Likewise.
13280         * support/xcalloc.c: Likewise.
13281         * support/xmalloc.c: Likewise.
13282         * support/xpthread_barrier_destroy.c: Likewise.
13283         * support/xpthread_barrier_init.c: Likewise.
13284         * support/xpthread_barrier_wait.c: Likewise.
13285         * support/xpthread_cancel.c: Likewise.
13286         * support/xpthread_check_return.c: Likewise.
13287         * support/xpthread_cond_wait.c: Likewise.
13288         * support/xpthread_create.c: Likewise.
13289         * support/xpthread_detach.c: Likewise.
13290         * support/xpthread_join.c: Likewise.
13291         * support/xpthread_mutex_lock.c: Likewise.
13292         * support/xpthread_mutex_unlock.c: Likewise.
13293         * support/xpthread_sigmask.c: Likewise.
13294         * support/xpthread_spin_lock.c: Likewise.
13295         * support/xpthread_spin_unlock.c: Likewise.
13296         * support/xrealloc.c: Likewise.
13297         * support/xsignal.h: Likewise.
13298         * support/xthread.h: Likewise.
13299         * support_tempfile.h: Likewise.
13300         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13301         (TEST_DATA_LIMIT): Remove unused macro.
13302         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13303         <support/check.h>.
13304         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13305         (ignore_stderr, set_fortify_handler): Remove.  Now in
13306         <support/support.h>.
13307         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13308         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13309         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13310         (xpthread_join): Remove.  Now in <support/xthread.h>.
13311         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13312         Introduce legacy wrappers.
13313         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13314         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13315         (write_message): Remove.
13316         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13317         test-skeleton.c.
13318         * io/test-open-tmpfile: Likewise.
13319         * io/tst-posix_fallocate-common.c: Likewise.
13320         * libio/tst-fseek.c: Likewise.
13321         * malloc/tst-malloc-backtrace.c: Likewise.
13322         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13323         * malloc/tst-malloc-thread-exit.c: Likewise.
13324         * nptl/tst-cancel7.c: Likewise.
13325         * nptl/tst-cleanup0.c: Likewise.
13326         * posix/tst-posix_fadvise-common.c: Likewise.
13327         * rt/tst-shm.c: Likewise.
13328         * time/bug-getdate1.c: Likewise.
13329         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13330         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13331         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13333 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13335         * Rules [$(run-built-tests) != no] (tests-expected): Add
13336         $(tests-printers).
13337         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13339 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13341         [BZ #20539]
13342         * math/Makefile (install-lib-ldscripts): Add libm.a.
13343         (install_subdir): Remove.
13344         (install-others): Add.
13345         ($(inst_libdir)/libm.a): Add rule for installation as
13346         linker script.
13347         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13349 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13351         * INSTALL: Regenerated.
13352         * Makeconfig: Add comments and whitespace to make the control flow
13353         clearer.
13354         (+link-printers-tests, +link-pie-printers-tests,
13355         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13356         built-rtld-LDFLAGS, link-libc-rpath,
13357         link-libc-tests-after-rpath-link,
13358         link-libc-printers-tests): New.
13359         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13360         link-libc-tests): Use the new variables as required.
13361         * Makerules ($(py-const)): New rule.
13362         generated: Add $(py-const).
13363         * README.pretty-printers: New file.
13364         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13365         (others): Depend on $(py-const).
13366         (tests): Depend on $(tests-printers-programs) or
13367         $(tests-printers-out),
13368         as required.  Pass $(tests-printers) to merge-test-results.sh.
13369         * manual/install.texi: Add requirements for testing the pretty
13370         printers.
13371         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13372         tests-printers, CFLAGS-test-mutexattr-printers.c
13373         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13374         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13375         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13376         * nptl/nptl-printers.py: New file.
13377         * nptl/nptl_lock_constants.pysym: Likewise.
13378         * nptl/test-cond-printers.c: Likewise.
13379         * nptl/test-cond-printers.py: Likewise.
13380         * nptl/test-condattr-printers.c: Likewise.
13381         * nptl/test-condattr-printers.py: Likewise.
13382         * nptl/test-mutex-printers.c: Likewise.
13383         * nptl/test-mutex-printers.py: Likewise.
13384         * nptl/test-mutexattr-printers.c: Likewise.
13385         * nptl/test-mutexattr-printers.py: Likewise.
13386         * nptl/test-rwlock-printers.c: Likewise.
13387         * nptl/test-rwlock-printers.py: Likewise.
13388         * nptl/test-rwlockattr-printers.c: Likewise.
13389         * nptl/test-rwlockattr-printers.py: Likewise.
13390         * scripts/gen-py-const.awk: Likewise.
13391         * scripts/test_printers_common.py: Likewise.
13392         * scripts/test_printers_exceptions.py: Likewise.
13394 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13396         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13397         argument.
13398         (Glibc.build_glibc): Strip installed shared libraries if
13399         requested.
13400         (get_parser): Add --strip option.
13401         (main): Update Context call.
13403 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13404             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13406         [BZ #20847]
13407         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13408         array bounds for else branch.
13409         (__execvpe): Style fixes.
13410         * posix/tst-vfork3.c (run_script): New function.
13411         (create_script): Likewise.
13412         (do_test): Use run_script internal function.
13413         (do_prepare): Use create_script internal function.
13415 2016-12-07  Andreas Schwab  <schwab@suse.de>
13417         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13418         (__elision_available): Don't declare.
13419         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13420         (__elision_available): Don't define.
13421         (elision_init): Don't set __elision_available.
13423 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13425         [BZ #20940]
13426         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13427         return Inf for arguments Inf and sNaN.
13428         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13429         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13430         Likewise.
13431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13432         Likewise.
13433         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13434         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13435         for arguments Inf and sNaN.  When returning a NaN, compute it by
13436         arithmetic on the arguments.
13437         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13438         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13439         arguments.
13441 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13443         [BZ #20916]
13444         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13445         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13446         to compute result.
13447         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13448         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13450 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13452         * include/atomic.h (__atomic_check_size_ls): New.
13453         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13454         atomic_store_release): Use it.
13455         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13456         (elision_adapt, ELIDE_LOCK): Use atomics.
13457         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13458         atomics and improve code comments.
13459         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13460         (__lll_trylock_elision): Likewise.
13462 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13464         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13465         programs.
13467 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13469         [BZ #20916]
13470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13471         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13472         arguments to compute result.
13473         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13474         1 for arguments (sNaN, 0) or (1, sNaN).
13475         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13476         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13478         [BZ #20919]
13479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13480         NaN first argument when raised to power 0.
13481         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13482         raising to power zero.
13483         * math/w_powf.c (__powf): Likewise.
13484         * math/w_powl.c (__powl): Likewise.
13485         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13486         pow (0, 0) or pow (NaN, 0).
13488 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13490         [BZ #20918]
13491         * configure.ac: Test for static NSS cryptographic libraries and set
13492         libc_cv_static_nss_crypt.
13493         * configure: Regenerate.
13494         * config.make.in (static-nss-crypt): Define.
13495         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13496         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13497         (CFLAGS-tst-linkall-static.c): Define.
13498         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13499         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13500         ($(objpfx)tst-linkall-static): Define.
13501         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13502         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13504 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13506         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13507         (one-hundred, tst-tls-many-dynamic-modules): Define.
13508         (modules-names): Add $(tst-tls-many-dynamic-modules).
13509         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13510         macros.
13511         (tst-tls-manydynamic): Link against libdl, libpthread.
13512         (tst-tls-manydynamic.out): The test needs the test modules at run
13513         time.
13514         * elf/tst-tls-manydynamic.c: New file.
13515         * elf/tst-tls-manydynamic.h: Likewise.
13516         * elf/tst-tls-manydynamicmod.c: Likewise.
13518 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13520         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13521         (TLS_DTV_UNALLOCATED): Add.
13522         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13523         offsets.
13525 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13527         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13529 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13531         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13532         Add -fno-optimize-sibling-calls.
13534 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13536         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13537         New declaration.
13538         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13539         macro.
13540         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13541         New macro.
13542         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13544         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13545         (llogbf): Likewise.
13546         (llogbl): Likewise.
13547         * math/Makefile (gen-libm-calls): Add w_llogbF.
13548         (tests): Add test-fp-llogb-constants.
13549         * math/w_llogb_template.c: New file.  Based on
13550         math/w_ilogb_template.c.
13551         * math/libm-test.inc (llogb_test_data): New array.
13552         (llogb_test): New function.
13553         (main): Call llogb_test.
13554         * math/test-fp-llogb-constants.c: New file.  Based on
13555         math/test-fp-ilogb-constants.c.
13556         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13557         (do_test): Call check_return_llogb.
13558         * math/test-tgmath.c (NCALLS): Increase to 126.
13559         (F(compile_test)): Call llogb.
13560         (F(llogb)): New function.
13561         * manual/math.texi (Exponents and Logarithms): Document llogb,
13562         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13563         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13564         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13565         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13567         (CFLAGS-nldbl-llogb.c): New variable.
13568         * sysdeps/nacl/libm.abilist: Update.
13569         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13570         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13571         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13572         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13573         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13574         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13575         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13576         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13577         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13578         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13579         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13580         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13582         Likewise.
13583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13584         Likewise.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13586         Likewise.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13588         Likewise.
13589         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13590         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13591         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13592         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13593         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13595         Likewise.
13596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13597         Likewise.
13598         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13600         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13602 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13604         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13605         _Float128 instead of long double.
13606         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13608         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13609         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13610         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13611         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13612         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13613         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13614         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13615         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13616         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13617         Likewise.
13619 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13621         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13622         Remove redirection to __strrchr_ppc.
13624 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13626         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13627         (sysdep_routines): Add strcmp_power9.
13628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13629         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13630         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13631         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13632         (strcmp): Add __strcmp_power9 to ifunc list.
13633         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13635 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13637         * bits/fp-logb.h: New file.
13638         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13639         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13640         * sysdeps/x86/bits/fp-logb.h: Likewise.
13641         * math/Makefile (headers): Add bits/fp-logb.h.
13642         * math/math.h: Include <bits/fp-logb.h>.
13643         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13644         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13645         * bits/mathdef.h (FP_ILOGB0): Remove.
13646         (FP_ILOGBNAN): Likewise.
13647         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13648         (FP_ILOGBNAN): Likewise.
13649         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13650         (FP_ILOGBNAN): Likewise.
13651         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13652         (FP_ILOGBNAN): Likewise.
13653         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13654         (FP_ILOGBNAN): Likewise.
13655         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13656         (FP_ILOGBNAN): Likewise.
13657         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13658         (FP_ILOGBNAN): Likewise.
13659         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13660         (FP_ILOGBNAN): Likewise.
13661         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13662         (FP_ILOGBNAN): Likewise.
13663         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13664         (FP_ILOGBNAN): Likewise.
13666         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13667         time module.
13668         (Context.__init__): Initialize self.logsdir_old.
13669         (Context.run_builds): Handle bot action.
13670         (Context.bot_cycle): Copy logs directory before running builds.
13671         (Context.bot_run_self): Take argument for whether to check
13672         subprocess result.  Flush stdout before running subprocess.
13673         (Context.bot): New function.
13674         (get_parser): Allow bot action.
13676 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13678         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13679         Import email.mime.text, email.utils and smtplib modules.
13680         (Context.__init__): Initialize self.bot_config_json.
13681         (Context.run_builds): Handle bot-cycle action.
13682         (Context.load_bot_config_json): New function.
13683         (Context.part_build_old): Likewise.
13684         (Context.bot_cycle): Likewise.
13685         (Context.bot_build_mail): Likewise.
13686         (Context.bot_run_self): Likewise.
13687         (get_parser): Allow bot-cycle action.
13689 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13692         Remove redirection to __stpcpy_ppc.
13694 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13696         Remove __libc_memalign from ld.so because it is unused.
13697         * elf/dl-minimal.c: Update comment on the malloc implementation.
13698         (malloc): Renamed from __libc_memalign, replacing the original
13699         malloc implementation.  Replace the align parameter with
13700         MALLOC_ALIGNMENT.
13701         * elf/Versions (ld): Update comment and remove __libc_memalign.
13702         * sysdeps/nacl/ld.abilist: Likewise.
13703         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13704         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13705         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13706         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13707         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13708         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13710         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13711         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13712         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13713         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13714         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13715         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13729         * sysdeps/generic/localplt.data (ld.so): Likewise.
13730         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13731         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13732         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13733         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13734         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13735         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13736         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13737         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13738         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13740         (ld.so): Likewise.
13741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13742         (ld.so): Likewise.
13743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13744         Likewise.
13745         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13746         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13747         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13748         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13749         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13751 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13753         [BZ #16628]
13754         Implement _dl_catch_error, _dl_signal_error in libc.so.
13755         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13756         (catch_hook): Define as thread-local or regular variable,
13757         depending on DL_ERROR_BOOTSTRAP.
13758         (CATCH_HOOK): Remove.
13759         (dl_signal_error, _dl_catch_error): Use
13760         catch_hook.  Add hidden definition for libc.
13761         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13762         for DL_ERROR_BOOTSTRAP only.
13763         * elf/dl-error.c: New file.
13764         * elf/dl-error-minimal.c: Likewise.
13765         * elf/tst-latepthread.c: Likewise.
13766         * elf/tst-latepthreadmod.c: Likewise.
13767         * elf/Makefile (routines): Add dl-error.
13768         (dl-routines): Remove dl-error.
13769         (rtld-routines): Add dl-error-minimal.
13770         [build-shared] (tests): Add tst-latepthread.
13771         (module-names): Add tst-latepthreadmod.
13772         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13773         symbol.
13774         (tst-latepthreadmod.so): Link against libpthread.
13775         (tst-latepthread): Link against libdbl.
13776         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13777         _dl_catch_error.
13778         [ld] (GLIBC_PRIVATE): Likewise.
13779         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13780         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13781         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13782         directly.
13783         * elf/dl-tsd.c: Remove file.
13784         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13785         _dl_catch_error, _dl_signal_error.
13786         (_dl_initial_error_catch_tsd): Remove definition.
13787         (do_preload): Remove initialization of dl_error_catch_tsd.
13788         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13789         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13790         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13791         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13792         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13793         set dl_error_catch_tsd.
13794         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13795         _dl_error_catch_tsd member.
13796         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13797         members.
13798         (_dl_initial_error_catch_tsd): Remove declaration.
13799         (_dl_dprintf): Provide definition for use outside of ld.so.
13800         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13801         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13802         prototype for libc.
13803         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13804         _dl_catch_error.
13805         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13806         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13807         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13808         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13809         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13810         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13811         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13812         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13813         Likewise.
13814         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13816         (ld.so): Likewise.
13817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13818         (ld.so): Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13820         Likewise.
13821         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13822         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13823         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13824         Likewise.
13825         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13826         Likewise.
13827         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13829 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13831         [BZ #4099]
13832         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13833         _IO_BUFSIZ (8192).
13835 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13837         * PROJECTS: Remove file.
13839 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13841         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13843 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13844             Steve Ellcey  <sellcey@caviumnetworks.com>
13846         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13847         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13848         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13849         fxstatat.
13850         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13851         lxstat.
13852         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13853         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13854         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13855         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13856         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13857         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13858         __xstat.
13860 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13862         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13863         Define.
13864         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13865         definition.
13867 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13869         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13870         version and turn into strong alias.  Remove compat symbol.
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13873         (__longjmp): Remove.
13875 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13877         * bits/fp-fast.h: New file.
13878         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13879         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13880         * math/Makefile (headers): Add bits/fp-fast.h.
13881         * math/math.h: Include <bits/fp-fast.h>.
13882         * bits/mathdef.h (FP_FAST_FMA): Remove.
13883         (FP_FAST_FMAF): Likewise.
13884         (FP_FAST_FMAL): Likewise.
13885         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13886         (FP_FAST_FMAF): Likewise.
13887         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13888         (FP_FAST_FMAF): Likewise.
13889         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13890         (FP_FAST_FMAF): Likewise.
13891         (FP_FAST_FMAL): Likewise.
13892         * sysdeps/arm/bits/mathdef.h: Remove file.
13893         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13894         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13895         * sysdeps/tile/bits/mathdef.h: Likewise.
13897 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13899         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13900         * math/w_ilogb.c: Remove.
13901         * math/w_ilogbf.c: Likewise.
13902         * math/w_ilogbl.c: Likewise.
13903         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13904         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13905         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13906         (libm-calls): Remove w_ilogbF.
13907         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13908         (LDOUBLE_ilogbl_libm_version): New macro.
13910         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13912         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13913         [!__STRICT_ANSI__ && !__cplusplus].
13915 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13917         [BZ #20750]
13918         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13919         of PIC.
13921 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13922             Yury Norov  <ynorov@caviumnetworks.com>
13923             Steve Ellcey  <sellcey@caviumnetworks.com>
13925         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13926         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13927         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13928         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13929         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13930         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13931         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13932         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13933         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13934         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13935         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13936         to get correct reg name for ILP32.
13937         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13938         (RELA_SIZE): New Macro.
13939         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13940         to support ILP32.
13941         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13942         cast for ILP32 mode.
13943         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13944         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13945         * sysdeps/aarch64/memset.S (__memset): Ditto.
13946         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13947         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13948         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13949         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13950         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13951         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13952         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13953         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13954         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13955         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13956         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13957         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13958         change PTR_MANGLE call to use register numbers instead of names.
13959         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13960         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13961         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13962         * sysdeps/aarch64/start.S (_start): Ditto.
13963         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13964         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13965         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13966         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13967         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13968         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13969         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13970         Make defined values dependent on __ILP32__.
13971         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13972         (sem_t): Change __align type.
13973         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13974         PTR_SIZE): New Macros.
13975         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13976         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13977         Set when in ILP32 mode.
13978         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13979         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13980         Set elf flags for ILP32.
13981         (add_system_dir): Set ILP32 library directories.
13982         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13983         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13984         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13985         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13986         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13987         New Macros.
13988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13990 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13992         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13993         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13994         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13996 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13998         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13999         <asm/cachectl.h>.
14001 2016-11-27  Zack Weinberg  <zackw@panix.com>
14003         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14004         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14006 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14008         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14009         error_t to fix usage in C++ programs.
14011 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
14013         * scripts/build-many-glibcs.py: Import datetime module.
14014         (Context.__init__): Load JSON build state.  Initialize list of
14015         status logs.
14016         (Context.run_builds): Update saved build state.
14017         (Context.add_makefile_cmdlist): Update list of status logs.
14018         (Context.load_build_state_json): New function.
14019         (Context.store_build_state_json): Likewise.
14020         (Context.clear_last_build_state): Likewise.
14021         (Context.update_build_state): Likewise.
14022         (CommandList.status_logs): Likewise.
14024 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
14026         * scripts/build-many-glibcs.py (Context.__init__): Save text of
14027         script being executed.
14028         (Context.get_script_text): New function.
14029         (Context.exec_self): Likewise.
14030         (Context.checkout): Re-exec script if changed by checkout process.
14032 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14034         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14035         (setpayloadsig): New declaration.
14036         * math/Versions (setpayloadsig): New libm symbol at version
14037         GLIBC_2.25.
14038         (setpayloadsigf): Likewise.
14039         (setpayloadsigl): Likewise.
14040         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14041         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14042         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14043         (setpayloadsig_test_data): New array.
14044         (setpayloadsig_test): New function.
14045         (main): Call setpayloadsig_test.
14046         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14047         setpayloadsigf and setpayloadsigl.
14048         * manual/libm-err-tab.pl: Update comment on interfaces without
14049         ulps tabulated.
14050         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14051         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14052         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14053         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14054         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14055         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14056         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14057         setpayloadsig.
14058         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14059         * sysdeps/nacl/libm.abilist: Update.
14060         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14061         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14062         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14063         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14064         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14065         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14066         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14067         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14068         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14069         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14070         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14071         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14073         Likewise.
14074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14079         Likewise.
14080         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14081         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14082         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14083         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14084         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14086         Likewise.
14087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14088         Likewise.
14089         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14090         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14091         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14093         * scripts/build-many-glibcs.py: Import json module.
14094         (Context.__init__): Take replace_sources argument.  Load
14095         versions.json.
14096         (Context.load_versions_json): New function.
14097         (Context.store_json): Likewise.
14098         (Context.store_versions_json): Likewise.
14099         (Context.set_component_version): Likewise.
14100         (Context.checkout): Update versions.json.  Check for and handle
14101         changes of version.  Prefer previously explicitly specified
14102         version to default version.
14103         (Context.checkout_vcs): Return a revision identifier.
14104         (Context.git_checkout): Likewise.
14105         (Context.gcc_checkout): Likewise.
14106         (get_parser): Add --replace-sources option.
14107         (main): Pass replace_sources argument to Context call.
14109 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14111         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14112         * nptl/allocatestack.c (allocate_stack): Likewise.
14113         (__reclaim_stacks): Likewise.
14114         (setxid_signal_thread): Obtain pid through syscall.
14115         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14116         (sighandle_setxid): Likewise.
14117         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14118         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14119         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14120         Likewise.
14121         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14122         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14123         comment.
14124         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14125         * nptl/descr.h (struct pthread): Change comment about pid value.
14126         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14127         pid assert.
14128         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14129         Do not set pid value.
14130         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14131         pid cache check.
14132         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14133         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14134         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14135         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14136         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14137         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14138         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14139         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14140         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14141         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14142         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14143         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14144         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14145         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14146         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14147         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14148         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14149         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14150         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14151         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14152         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14153         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14154         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14155         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14156         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14159         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14160         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14161         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14162         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14163         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14164         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14165         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14166         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14167         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14168         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14169         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14170         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14171         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14172         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14173         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14174         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14177         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14178         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14179         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14180         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14181         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14182         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14184         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14185         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14186         struct access.
14187         (clone_test): Remove function.
14188         (do_test): Rewrite to take in consideration pid is not cached anymore.
14190 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14192         * bits/flt-eval-method.h: New file.
14193         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14194         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14195         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14196         * math/Makefile (headers): Add bits/flt-eval-method.h.
14197         * math/math.h: Include <bits/flt-eval-method.h>.
14198         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14199         [__USE_ISOC99] (double_t): Likewise.
14200         * bits/mathdef.h (float_t): Remove.
14201         (double_t): Likewise.
14202         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14203         (double_t): Likewise.
14204         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14205         (double_t): Likewise.
14206         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14207         (double_t): Likewise.
14208         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14209         (double_t): Likewise.
14210         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14211         (double_t): Likewise.
14212         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14213         (double_t): Likewise.
14214         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14215         (double_t): Likewise.
14216         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14217         (double_t): Likewise.
14218         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14219         (double_t): Likewise.
14220         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14221         (double_t): Likewise.
14222         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14223         (double_t): Likewise.
14224         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14225         (double_t): Likewise.
14226         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14227         (double_t): Likewise.
14229 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14231         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14232         instead of PIC.
14234 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14236         [BZ #20859]
14237         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14238         (-0x7fffffff) instead of 0x80000001.
14239         * math/test-fp-ilogb-constants.c: New file.
14240         * math/Makefile (tests): Add test-fp-ilogb-constants.
14242 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14244         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14245         (_init): Use it in place of hardcoded R_MIPS_JALR.
14246         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14247         (_init): Use it in place of hardcoded R_MIPS_JALR.
14248         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14249         (_init): Use it in place of hardcoded R_MIPS_JALR.
14251 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14253         [BZ #20787]
14254         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14255         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14256         (double_t): Do not define to double if [__x86_64__] when
14257         __FLT_EVAL_METHOD__ is nonzero.
14258         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14259         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14260         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14261         test-flt-eval-method-387 and test-flt-eval-method-sse.
14262         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14263         variable.
14264         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14266 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14268         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14269         use of -fno-isolate-erroneous-paths options for tilepro.
14271 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14273         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14274         structure initialization is no longer needed.
14276 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14278         [BZ #20855]
14279         * bits/mathdef.h (float_t): Define to float.
14280         * math/test-flt-eval-method.c: New file.
14281         * math/Makefile (tests): Add test-flt-eval-method.
14282         (CFLAGS-test-flt-eval-method.c): New variable.
14284 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14286         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14287         and __fstatfs.  Make them aliases of __fstatfs64 if
14288         STATFS_IS_STATFS64 is set to non-zero.
14289         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14290         and __statfs64.
14291         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14292         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14293         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14294         for __statfs and statfs.
14295         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14296         to 0.
14297         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14298         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14299         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14300         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14301         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14302         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14305         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14306         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14307         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14308         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14310 2016-11-22  Andreas Schwab  <schwab@suse.de>
14312         * misc/mkstemp.c: Include <fcntl.h>.
14313         * misc/mkstemps.c: Likewise.
14314         * misc/mkostemp.c: Likewise.
14315         * misc/mkostemps.c: Likewise.
14317 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14319         [BZ #20847]
14320         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14321         array bounds.
14322         (__execvpe): Likewise.
14324 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14326         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14327         -fno-isolate-erroneous-paths options for tilepro.
14329 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14331         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14332         to 0 when in 32 bit mode.
14333         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14334         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14335         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14336         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14338         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14339         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14340         XSTAT_IS_XSTAT64 test.
14341         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14342         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14343         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14344         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14345         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14346         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14347         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14348         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14349         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14350         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14351         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14353 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14355         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14356         (setpayload): New declaration.
14357         * math/Versions (setpayload): New libm symbol at version
14358         GLIBC_2.25.
14359         (setpayloadf): Likewise.
14360         (setpayloadl): Likewise.
14361         * math/Makefile (libm-calls): Add s_setpayloadF.
14362         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14363         test_Ff_b1_data.
14364         (RUN_TEST_Ff_b1): New macro.
14365         (RUN_TEST_LOOP_Ff_b1): Likewise.
14366         (canonicalize_test_data): Update type.
14367         (setpayload_test_data): New array.
14368         (setpayload_test): New function.
14369         (main): Call setpayload_test.
14370         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14371         setpayloadf and setpayloadl.
14372         * manual/libm-err-tab.pl: Update comment on interfaces without
14373         ulps tabulated.
14374         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14375         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14376         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14377         Likewise.
14378         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14379         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14380         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14381         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14382         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14383         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14384         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14385         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14386         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14387         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14388         setpayload.
14389         (CFLAGS-nldbl-setpayload.c): New variable.
14390         * sysdeps/nacl/libm.abilist: Update.
14391         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14392         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14393         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14394         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14395         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14396         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14397         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14398         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14399         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14400         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14401         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14402         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14404         Likewise.
14405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14406         Likewise.
14407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14408         Likewise.
14409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14410         Likewise.
14411         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14412         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14413         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14414         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14415         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14417         Likewise.
14418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14419         Likewise.
14420         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14421         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14422         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14424 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14426         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14427         * include/unistd.h: Extend comment about __access_noerrno return
14428         semantics.
14429         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14430         (access_common): Correct typo for EACCES.
14432 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14434         * sysdeps/tile/math-tests.h: New file.
14436         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14437         (__old_set_dataplane): Rename from set_dataplane and make a
14438         compatibility symbol.
14439         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14440         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14441         sys/dataplane.h.
14443 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14445         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14446         script quote words in command output to log suitably for input to
14447         the shell.
14449 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14450             Maciej W. Rozycki  <macro@imgtec.com>
14452         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14453         `.Lno_weak_fn' label.
14454         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14455         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14457 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14458             Yury Norov  <ynorov@caviumnetworks.com>
14460         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14461         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14462         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14463         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14464         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14466         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14468         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14469         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14470         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14471         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14472         (sysdep_routines): Remove oldgetrlimit64.
14473         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14474         (sysdep_routines): Likewise.
14475         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14476         (sysdep_routines): Likewise.
14477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14478         [$(subdir) = resource] (sysdep_routines): Likewise.
14479         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14480         [$(subdir) = resource] (sysdep_routines): Likewise.
14481         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14482         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14483         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14484         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14485         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14486         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14487         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14488         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14489         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14490         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14491         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14492         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14493         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14494         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14495         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14496         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14497         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14498         setrlimit and getrlimit.
14499         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14501         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14504         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14505         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14506         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14507         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14508         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14509         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14510         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14511         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14512         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14513         (__old_getrlimit64): Add compatibility symbol.
14514         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14516 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14518         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14519         newly built gmp, mpfr and mpc.
14521         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14523 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14525         * conform/Makefile (linknamespace-libs): Rename to
14526         linknamespace-libs-thr.
14527         (linknamespace-libs-posix): New variable.
14528         (linknamespace-libs-xsi): Likewise.
14529         (linknamespace-libs-XPG3): Include libcrypt.a.
14530         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14531         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14532         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14533         (linknamespace-libs-XOPEN2K): Likewise.
14534         (linknamespace-libs-XOPEN2K8): Likewise.
14535         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14537         [BZ #20829]
14538         * stdio-common/Versions (__snprintf): Add to version
14539         GLIBC_PRIVATE.
14540         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14541         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14542         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14543         of snprintf.
14544         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14546 2016-11-16  Zack Weinberg  <zackw@panix.com>
14548         * string/string.h: Remove obsolete comment stating that
14549         strcoll_l and strxfrm_l have not yet been standardized.
14551 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14553         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14554         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14555         __access_noerrno.
14556         * io/access.c (__access_noerrno): New function.
14557         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14558         (hurd_fail_seterrno): Likewise.
14559         (access_common): Likewise.
14560         (__access_noerrno): Likewise.
14561         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14562         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14563         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14564         macro.
14566 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14568         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14569         Only declare fpregs if [__SH_FPU_ANY__].
14571 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14573         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14574         Make code unconditional.
14575         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14577 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14579         * manual/sysinfo.texi (S_APPEND): Delete.
14580         (S_IMMUTABLE): Likewise.
14582 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14583             Magnus Granberg  <zorry@gentoo.org>
14584             Mike Frysinger  <vapier@gentoo.org>
14586         [BZ #20662]
14587         * configure.ac (libc_cv_predef_stack_protector): Also check for
14588         __stack_chk_fail_local symbols.
14589         * configure: Regenerated.
14591 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14593         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14594         (libc_hidden_def): Remove redefinition.
14595         (__sigsetjmp): Add hidden definition.
14596         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14597         (libc_hidden_def): Remove redefinition.
14598         (__sigsetjmp): Add hidden definition.
14600 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14602         * scripts/build-many-glibcs.py (os.path): Do not import.
14603         (Context): Inherit explicitly from object.  Remove blank line
14604         between class and docstring.
14605         (Config): Likewise.
14606         (Glibc): Likewise.
14607         (Command): Likewise.
14608         (CommandList): Likewise.
14609         (Context.write_files): Store chmod mode in a variable.
14611         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14612         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14613         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14615 2016-11-14  Zack Weinberg  <zackw@panix.com>
14617         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14618         creating or re-creating it.
14620         * string/bits/string2.h: Fix typo in comment.
14622 2016-11-14  Zack Weinberg  <zackw@panix.com>
14624         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14625         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14626         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14627         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14628         of redirected function names.
14630         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14631         as well.  Document that MESSAGE must be a single string literal.
14633 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14635         * scripts/build-many-glibcs.py: New file.
14637         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14638         (do_test): Disable -Wmaybe-uninitialized around uses of
14639         except_mask.
14641         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14643 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14645         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14646         (atomic_store_release): Provide tilepro-specific implementations.
14648 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14650         * math/math.h (__MATH_TG): New macro.
14651         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14652         [__USE_ISOC99] (signbit): Likewise.
14653         [__USE_ISOC99] (isfinite): Likewise.
14654         [__USE_ISOC99] (isnan): Likewise.
14655         [__USE_ISOC99] (isinf): Likewise.
14656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14659         __MATH_TG and __MATH_EVAL_FMT2.
14660         * sysdeps/generic/math_private.h (fabs_tg): Define using
14661         __MATH_TG.
14662         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14663         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14664         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14665         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14666         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14667         macro.
14668         (__iscanonical): Likewise.
14669         (iscanonical): Define using __MATH_TG.
14671 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14673         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14674         guards.
14676         * sysdeps/unix/sysv/linux/access.c: New file.
14677         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14679 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14681         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14682         and __WORDSIZE32_PTRDIFF_LONG.
14684 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14686         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14688 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14690         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14691         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14692         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14693         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14694         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14696         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14697         * sysdeps/unix/sysv/linux/truncate.c: New file.
14698         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14699         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14701         Remove.
14702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14703         Likewise.
14705         * posix/tst-truncate-common.c: New file.
14706         * posix/tst-truncate.c: Use tst-truncate-common.c.
14707         * posix/tst-truncate64.c: Likewise and add LFS tests.
14708         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14709         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14710         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14711         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14712         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14714         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14715         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14716         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14717         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14718         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14719         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14720         Remove.
14721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14722         Likewise.
14724 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14726         [BZ #20790]
14727         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14728         to MAXLINESIZE.
14729         * sunrpc/bug20790.x: New file.
14730         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14731         variable.
14732         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14733         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14735         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14737         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14739         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14740         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14741         calloc, realloc, free, memalign and __libc_memalign rather than
14742         making them optional.
14744         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14745         for libc.so.
14747 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14749         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14750         ptw-lseek64.
14751         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14752         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14753         Likewise.
14754         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14755         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14756         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14757         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14758         * sysdeps/unix/sysv/linux/lseek.c: New file.
14759         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14760         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14761         __libc_lseek64 from auto-generation.
14762         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14763         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14765 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14767         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14768         * nptl/tst-cleanup1.c (do_test): Likewise.
14769         * nptl/tst-cleanup3.c (do_test): Likewise.
14770         * nptl/tst-key1.c (do_test): Likewise.
14771         * nptl/tst-key2.c (tf, do_test): Likewise.
14772         * nptl/tst-key3.c (tf, do_test): Likewise.
14773         * nptl/tst-stdio1.c (do_test): Likewise.
14774         * nptl/tst-stdio2.c (do_test): Likewise.
14776         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14777         * nptl/tst-kill6.c (handler): Likewise.
14778         * nptl/tst-tls2.c (CB): Likewise.
14779         * nptl/tst-tls3.c (CB): Likewise.
14781 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14783         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14785 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14786             Steve Ellcey  <sellcey@caviumnetworks.com>
14788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14789           __ASSUME_ST_INO_64_BIT as 0
14790         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14791         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14792           over the code where __ASSUME_ST_INO_64_BIT is used.
14793         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14794         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14795         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14797 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14799         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14800         Document ABI exposure of the __kind offset.
14801         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14802         Mention reason for the __kind offset exposure in the ABI.
14803         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14804         Likewise.
14805         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14806         Likewise.
14807         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14808         Likewise.
14809         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14810         (struct __pthread_mutex_s): Likewise.
14811         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14812         Likewise.
14813         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14814         Likewise.
14815         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14816         Likewise.
14817         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14818         Likewise.
14819         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14820         Likewise.
14821         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14822         Likewise.
14823         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14824         (struct __pthread_mutex_s): Likewise.
14825         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14826         (struct __pthread_mutex_s): Likewise.
14827         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14828         Likewise.
14830 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14832         * test-skeleton.c: Document do_test usage.
14834 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14836         * iconv/gconv.h (__gconv_info): Define __data element using a
14837         zero-length array.
14839 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14841         * math/test-tgmath2.c: Split up test function.
14843 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14845         * Rules (tests-expected): New variable, depending on
14846         $(run-built-tests).
14847         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14848         $(tests).
14850         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14851         $(tests-unsupported).
14853 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14855         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14856         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14858 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14860         [BZ #20768]
14861         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14862         __fegetenv instead of fegetenv.
14864         [BZ #14139]
14865         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14866         (find_files): Obtain platform name from libm-test-ulps-name and
14867         store in %pplatforms.
14868         (canonicalize_platform): Remove.
14869         (print_platforms): Use $pplatforms directly.
14870         (by_platforms): Do not allow for platforms missing from
14871         %pplatforms.
14872         * sysdeps/aarch64/libm-test-ulps-name: New file.
14873         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14874         * sysdeps/arm/libm-test-ulps-name: Likewise.
14875         * sysdeps/generic/libm-test-ulps-name: Likewise.
14876         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14877         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14878         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14879         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14880         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14881         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14882         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14883         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14884         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14885         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14886         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14887         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14888         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14889         * sysdeps/sh/libm-test-ulps-name: Likewise.
14890         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14891         * sysdeps/tile/libm-test-ulps-name: Likewise.
14892         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14894         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14896         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14897         (test-xfail-check-execstack): New variable.
14899         * sysdeps/mips/localplt.data: New file.
14901 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14902             Steve Ellcey  <sellcey@caviumnetworks.com>
14904         * bits/wordsize.h: Add documentation.
14905         * sysdeps/aarch64/bits/wordsize.h : New file
14906         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14907         definitions.
14908         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14909         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14910         with #if instead of #ifdef.
14911         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14912         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14913         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14914         Add or change defines.
14915         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14916         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14917         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14918         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14919         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14920         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14921         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14922         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14923         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14924         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14925         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14926         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14927         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14928         * sysdeps/x86/bits/wordsize.h: Likewise.
14930 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14931             Kevin Petit  <kevin.petit@arm.com>
14933         * sysdeps/aarch64/memchr.S (__memchr): New file.
14935 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14937         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14939 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14941         [BZ #19398]
14942         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14943         $(linknamespace-symlists-tests).
14945 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14947         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14949 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14950             Carlos O'Donell  <carlos@redhat.com>
14952         [Bug #20729]
14953         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14954         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14955         for -Os related change.
14957 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14959         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14961 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14963         [BZ #19673]
14964         * manual/math.texi (Exponents and Logarithms): Correct description
14965         of clog10.
14967 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14969         [Bz #20729]
14970         * locale/weight.h: Include libc-internal.h.
14971         * locale/weightwc.h: Likewise.
14972         * nptl/nptl_dbP.h: Likewise.
14974 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14976         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14977         when it is MACH_PORT_NULL.
14979 2016-10-31  Andreas Schwab  <schwab@suse.de>
14981         [BZ #20707]
14982         * posix/glob.c (glob): Initialize pglob before checking for
14983         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14984         valid brace expression despite GLOB_BRACE.
14985         * posix/globtest.sh: Test it.
14987 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14989         [BZ #20729]
14990         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14991         Define.
14992         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14993         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14994         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14995         for seq2.back_us and seq1.back_us only for -Os compiles.
14996         * locale/weightwc.h (findix): Likewise.
14997         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14998         DB_GET_FIELD_ADDRESS only for -Os compiles.
14999         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15000         for slen only for -Os compiles.
15001         * string/strcoll_l.c (get_next_seq): Ignore
15002         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15003         for -Os compiles.
15005         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15006         * include/crypt.h: New file.
15008 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15010         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15011         from test-skeleton.c.
15012         (statclass): Replace calls to write with calls to write_message.
15014 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15016         * math/math.h
15017         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15018         New macro.
15019         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15020         Likewise.
15021         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15022         Likewise.
15023         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15024         SNANL.
15025         * math/test-double.h (snan_value_MACRO): New macro.
15026         * math/test-float.h (snan_value_MACRO): Likewise.
15027         * math/test-ldouble.h (snan_value_MACRO): Likewise.
15028         * math/libm-test.inc (issignaling_test_data): Add tests of
15029         snan_value_MACRO.
15031 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15033         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15034         behavior when eliding a lock not held by the current thread.
15035         * sysdeps/powerpc/nptl/elide.h: Likewise.
15037 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15039         [BZ #20728]
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15041         branch to _exit() by a function call.
15043 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15045         * malloc/malloc.c: Update chunk layout comments.
15046         (chunk_main_arena): Update comment.
15048 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15050         * crypt/sha256.c, crypt/sha256-block.c,
15051         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15052         sha256_process_block to __sha256_process_block.
15053         * crypt/sha512.c, crypt/sha512-block.c,
15054         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15055         sha512_process_block to __sha512_process_block.
15057 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15059         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15061         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15063 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15065         [BZ #20019]
15066         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15067         definition in unrelocated shared library.
15068         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15070 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15072         [BZ #20729]
15073         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15074         * sysdeps/unix/sysv/linux/i386/Makefile
15075         (uses-6-syscall-arguments): Define.
15076         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15077         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15078         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15079         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15080         Likewise.
15081         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15082         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15083         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15084         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15085         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15086         (CFLAGS-fallocate64.os): Likewise.
15087         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15088         (CFLAGS-pthread_rwlock_timedrdlock.os)
15089         (CFLAGS-pthread_rwlock_timedwrlock.o)
15090         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15091         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15092         (CFLAGS-sem_timedwait.os): Likewise.
15094 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15096         * elf/tst-linkall-static.c: New file.
15097         * elf/Makefile (tests-static): Add tst-linkall-static.
15098         (tst-linkall-static): Link against static libraries.
15100 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15102         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15103         mmaped chunks.
15105 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15107         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15108         members to mchunk_prev_size, mchunk_size.
15109         (chunk_main_arena): Reverse sense and rename from
15110         chunk_non_main_arena.
15111         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15112         mchunk_size instead of size.
15113         (set_non_main_arena): Define.
15114         (chunksize): Use chunksize_nomask instead of direct member access.
15115         (chunksize_nomask): Define.
15116         (next_chunk): Use chunksize instead of direct member access.
15117         (prev_size, set_prev_size): Define.
15118         (prev_chunk): Use prev_size instead of direct member access.
15119         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15120         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15121         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15122         (mchunk_prev_size, mchunk_size): Poison tokens.
15123         (unlink): Use chunksize_nomask, prev_size accessors.
15124         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15125         (do_check_free_chunk): Use prev_size accessor.
15126         (sysmalloc): Use set_prev_size, set_head accessors.
15127         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15128         (__libc_free): Use chunksize_nomask accessor.
15129         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15130         chunk_main_arena accessors.
15131         (_int_free): Use chunksize_nomask, prev_size accessors.
15132         (malloc_consolidate): Use chunksize, prev_size accessors.
15133         (_int_realloc): Use chunksize_nomask accessor.
15134         (_int_memalign): Use set_prev_size accessor.
15135         (__malloc_info): Use chunksize_nomask accessor.
15136         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15137         accessors.
15138         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15139         (heap_trim): Use chunksize_nomask, prev_size accessors.
15141 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15143         [BZ #19380]
15144         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15145         for inexact results.
15146         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15147         of inexact result where mpfr_subnormalize is the only inexact
15148         step.
15149         * stdlib/tst-strtod-round-data.h: Regenerated.
15150         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15151         Define to 0.
15152         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15154 2016-10-27  David S. Miller  <davem@davemloft.net>
15156         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15158 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15160         * malloc/malloc.c (do_set_mallopt_check): New function.
15161         (do_set_mmap_threshold): Likewise.
15162         (do_set_mmaps_max): Likewise.
15163         (do_set_top_pad): Likewise.
15164         (do_set_perturb_byte): Likewise.
15165         (do_set_trim_threshold): Likewise.
15166         (do_set_arena_max): Likewise.
15167         (do_set_arena_test): Likewise.
15168         (__libc_mallopt): Use them.
15170 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15172         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15173         (canonicalize): New declaration.
15174         * math/Versions (canonicalize): New libm symbol at version
15175         GLIBC_2.25.
15176         (canonicalizef): Likewise.
15177         (canonicalizel): Likewise.
15178         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15179         * math/s_canonicalize_template.c: New file.
15180         * math/libm-test.inc: Update comment on functions tested and
15181         testing of NaN payloads.
15182         (TEST_NAN_PAYLOAD): New macro.
15183         (NO_TEST_INLINE): Update value.
15184         (XFAIL_TEST): Likewise.
15185         (ERRNO_UNCHANGED): Likewise.
15186         (ERRNO_EDOM): Likewise.
15187         (ERRNO_ERANGE): Likewise.
15188         (IGNORE_RESULT): Likewise.
15189         (NON_FINITE): Likewise.
15190         (TEST_SNAN): Likewise.
15191         (NO_TEST_MATHVEC): Likewise.
15192         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15193         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15194         (struct test_Ffp_b1_data): New type.
15195         (RUN_TEST_Ffp_b1): New macro.
15196         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15197         (canonicalize_test_data): New array.
15198         (canonicalize_test): New function.
15199         (main): Call canonicalize_test.
15200         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15201         canonicalizef and canonicalizel.
15202         * manual/libm-err-tab.pl: Update comment on interfaces without
15203         ulps tabulated.
15204         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15205         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15206         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15207         canonicalize.
15208         (CFLAGS-nldbl-canonicalize.c): New variable.
15209         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15210         to ...
15211         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15212         ... here.
15213         (do_test): Also test canonicalizel.
15214         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15215         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15216         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15217         file.
15218         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15219         Use libm_hidden_def.
15220         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15221         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15222         (do_test): Also test canonicalizel.
15223         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15224         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15225         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15226         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15227         libm_hidden_def.
15228         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15229         macro.
15230         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15231         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15232         * sysdeps/nacl/libm.abilist: Update.
15233         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15234         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15235         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15236         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15237         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15238         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15239         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15240         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15241         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15242         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15243         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15244         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15248         Likewise.
15249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15250         Likewise.
15251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15254         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15255         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15256         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15259         Likewise.
15260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15261         Likewise.
15262         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15263         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15264         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15266         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15267         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15268         getpayload.
15269         (CFLAGS-nldbl-getpayload.c): New variable.
15271 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15273         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15274         integer from the format string.
15276 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15278         [BZ #19473]
15279         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15280         declarations.
15281         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15282         weak aliases.
15283         * malloc/hooks.c (__malloc_get_state): Remove definition.
15284         (malloc_get_state): New stub implementation as
15285         compatibility symbol.
15286         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15287         compat symbol.
15288         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15289         malloc_set_state.
15290         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15292 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15294         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15295         (names): Turn into concatenation of strings.
15296         (gconv_init): Adapt iteration over names.
15298 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15300         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15301         make const.
15302         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15303         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15304         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15305         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15306         character in sbconv.
15307         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15308         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15309         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15311 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15313         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15315         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15316         (M_TRIM_THRESHOLD): Likewise.
15318         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15319         (M_ARENA_MAX): Likewise.
15320         * malloc/malloc.c: Remove obsolete comment.
15322         * manual/memory.texi: Add environment variable alternatives to
15323         setting mallopt parameters.
15325 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15327         * include/atomic.h
15328         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15329         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15331 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15333         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15334         * stdlib/tst-strfrom.h: New file.
15335         * stdlib/tst-strfrom.c: New file.
15336         * stdlib/tst-strfrom-locale.c: New file.
15338         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15339         * stdlib/bug-strtod2.c: Likewise.
15340         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15341         * stdlib/tst-strtod6.c: Likewise.
15342         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15344 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15346         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15347         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15348         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15349         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15350         * stdlib/stdlib.h (strfromd): New declaration.
15351         (strfromf): Likewise.
15352         (strfroml): Likewise.
15353         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15354         strfrom.
15355         * stdlib/strfromd.c: New file.
15356         * stdlib/strfromf.c: Likewise.
15357         * stdlib/strfroml.c: Likewise.
15358         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15359         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15360         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15361         * sysdeps/arm/nacl/libc.abilist: Update.
15362         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15363         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15364         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15365         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15366         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15367         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15368         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15369         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15370         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15371         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15372         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15373         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15374         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15375         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15380         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15381         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15382         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15383         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15384         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15387         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15388         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15389         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15391 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15393         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15394         instead of cmpli.
15395         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15396         instead of cmpli.
15398 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15400         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15401         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15402         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15403         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15404         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15405         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15407 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15409         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15410         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15411         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15412         SYSCALL_LL64_PRW.
15413         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15414         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15415         __ASSUME_PRW_DUMMY_ARG.
15416         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15417         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15418         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15419         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15420         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15421         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15423 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15425         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15427 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15429         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15430         "C++", to override a potential extern "C" directive around the
15431         header file inclusion.
15433 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15435         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15437 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15439         * sysdeps/powerpc/fpu/fenv_private.h:
15440         (_FPU_MASK_ALL): Rename to...
15441         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15442         XE FPSCR bits.
15444         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15446         (_FPU_MASK_ROUNDING): Rename to...
15447         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15448         NI bits.
15450         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15451         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15452         bits and rounding bits.
15454         (__libc_feholdbits_ppc): New inline function to mask, set,
15455         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15456         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15457         (libc_feholdexcept_setround_ppc): Likewise.
15459         (__libc_femergeenv_ppc): New function to dynamically mask both
15460         old and new FP environments and merge.
15461         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15462         (libc_feresetround_ppc): Likewise.
15463         (libc_feupdateenv_test_ppc): Likewise.
15464         (libc_feupdateenv_ppc): Likewise.
15466         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15467         of ISA RN bits, and update macro names.
15468         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15469         effectively the same as the previously mentioned function.
15471         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15472         usage with fe_resetround_ppc.
15474         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15475         to be used.
15476         (libc_feholdexcept_setround_ctxf): Likewise.
15477         (libc_feholdexcept_setround_ctxl): Likewise.
15479 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15481         [BZ #20715]
15482         * math/math.h [__cplusplus] (iszero): Define as function template.
15483         * math/Makefile [CXX] (tests): Add test-math-iszero.
15484         (CFLAGS-test-math-iszero.cc): Set.
15485         * math/test-math-iszero.cc: New file.
15487 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15489         [BZ #20660]
15490         * sysdeps/arm/e_sqrt.c: New file.
15491         * sysdeps/arm/e_sqrtf.c: Likewise.
15493 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15495         [BZ #20718]
15496         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15497         not use floating-point comparisons to test sign.
15498         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15499         Likewise.
15501         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15502         (getpayload): New declaration.
15503         * math/Versions (getpayload): New libm symbol at version
15504         GLIBC_2.25.
15505         (getpayloadf): Likewise.
15506         (getpayloadl): Likewise.
15507         * math/Makefile (libm-calls): Add s_getpayloadF.
15508         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15509         (struct test_f_f_data): Add comment.
15510         (RUN_TEST_fp_f): New macro.
15511         (RUN_TEST_LOOP_fp_f): Likewise.
15512         (getpayload_test_data): New array.
15513         (getpayload_test): New function.
15514         (main): Call getpayload_test.
15515         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15516         descriptor.
15517         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15518         getpayloadf and getpayloadl.
15519         * manual/libm-err-tab.pl: Update comment on interfaces without
15520         ulps tabulated.
15521         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15522         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15523         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15524         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15525         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15526         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15527         * sysdeps/nacl/libm.abilist: Update.
15528         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15529         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15530         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15531         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15532         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15533         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15534         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15535         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15536         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15537         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15538         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15539         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15541         Likewise.
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15543         Likewise.
15544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15545         Likewise.
15546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15547         Likewise.
15548         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15549         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15554         Likewise.
15555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15556         Likewise.
15557         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15559         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15561 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15563         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15564         tst-fallocate{64}.
15565         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15566         on syscall return.
15568 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15570         [BZ #20689]
15571         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15572         usable.
15574 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15576         * sysdeps/generic/nan-high-order-bit.h: New file.
15577         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15578         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15579         * sysdeps/hppa/math_private.h: Remove file.
15580         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15581         not define here.
15582         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15583         <nan-high-order-bit.h>.
15584         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15585         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15586         <nan-high-order-bit.h>.
15587         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15588         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15589         <nan-high-order-bit.h>.
15590         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15591         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15592         <nan-high-order-bit.h>.
15593         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15594         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15595         <nan-high-order-bit.h>.
15596         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15597         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15598         <nan-high-order-bit.h>.
15599         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15600         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15601         <nan-high-order-bit.h>.
15602         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15603         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15604         <nan-high-order-bit.h>.
15605         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15606         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15607         <nan-high-order-bit.h>.
15608         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15609         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15610         <nan-high-order-bit.h>.
15611         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15612         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15613         <nan-high-order-bit.h>.
15614         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15615         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15616         <nan-high-order-bit.h>.
15617         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15618         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15619         <nan-high-order-bit.h>.
15620         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15621         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15622         <nan-high-order-bit.h>.
15623         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15624         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15625         <nan-high-order-bit.h>.
15626         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15627         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15628         <nan-high-order-bit.h>.
15629         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15630         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15631         <nan-high-order-bit.h>.
15632         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15633         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15634         <nan-high-order-bit.h>.
15635         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15637 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15639         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15641 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15643         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15644         abort-instr.h.
15645         (EFAULT): Remove conditional define.
15646         (ENOSYS): Likewise.
15647         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15648         instead of conditional branch instructions.
15650 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15652         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15653         (totalordermag): New declaration.
15654         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15655         New macro.
15656         * math/Versions (totalordermag): New libm symbol at version
15657         GLIBC_2.25.
15658         (totalordermagf): Likewise.
15659         (totalordermagl): Likewise.
15660         * math/Makefile (libm-calls): Add s_totalordermagF.
15661         * math/libm-test.inc (totalordermag_test_data): New array.
15662         (totalordermag_test): New function.
15663         (main): Call totalordermag_test.
15664         * math/test-tgmath.c (NCALLS): Increase to 125.
15665         (F(compile_test)): Call totalordermag.
15666         (F(totalordermag)): New function.
15667         * manual/arith.texi (FP Comparison Functions): Document
15668         totalordermag, totalordermagf and totalordermagl.
15669         * manual/libm-err-tab.pl: Update comment on interfaces without
15670         ulps tabulated.
15671         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15672         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15673         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15674         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15675         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15676         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15677         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15678         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15679         totalordermag.
15680         (CFLAGS-nldbl-totalordermag.c): New variable.
15681         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15682         (do_test): Also test totalordermagl.
15683         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15684         Likewise.
15685         * sysdeps/nacl/libm.abilist: Update.
15686         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15687         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15688         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15689         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15690         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15691         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15692         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15693         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15694         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15695         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15696         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15697         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15699         Likewise.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15701         Likewise.
15702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15703         Likewise.
15704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15705         Likewise.
15706         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15707         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15708         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15709         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15710         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15712         Likewise.
15713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15714         Likewise.
15715         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15717         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15719 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15721         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15722         boolean.
15724 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15726         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15727         raising FE_INVALID with feraisexcept in case where part of
15728         argument is infinite, subtract that part of argument from itself.
15729         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15730         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15731         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15733 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15735         * math/libm-test.inc (totalorder_test_data): Add more tests.
15737 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15739         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15740         Undefine weak_alias and add a comment why mips64 require
15741         versioning.
15743 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15745         [BZ #20647]
15746         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15747         maximum CPUID level is less than 2.
15749 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15751         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15752         (totalorder): New declaration.
15753         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15754         New macro.
15755         * math/Versions (totalorder): New libm symbol at version
15756         GLIBC_2.25.
15757         (totalorderf): Likewise.
15758         (totalorderl): Likewise.
15759         * math/Makefile (libm-calls): Add s_totalorderF.
15760         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15761         string.
15762         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15763         (qnan_value_pl): Likewise.
15764         (snan_value_pl): Likewise.
15765         (qnan_value): Define using qnan_value_pl.
15766         (snan_value): Define using snan_value_pl.
15767         (struct test_ff_i_data): Add comment about which tests use this
15768         structure.
15769         (RUN_TEST_ff_b): New macro.
15770         (RUN_TEST_LOOP_ff_b): Likewise.
15771         (totalorder_test_data): New array.
15772         (totalorder_test): New function.
15773         (main): Call totalorder_test.
15774         * math/test-tgmath.c (NCALLS): Increase to 122.
15775         (F(compile_test)): Call totalorder.
15776         (F(totalorder)): New function.
15777         * manual/arith.texi (FP Comparison Functions): Document
15778         totalorder, totalorderf and totalorderl.
15779         * manual/libm-err-tab.pl: Update comment on interfaces without
15780         ulps tabulated.
15781         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15782         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15783         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15784         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15785         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15786         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15787         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15788         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15789         totalorder.
15790         (CFLAGS-nldbl-totalorder.c): New variable.
15791         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15792         file.
15793         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15794         Add test-totalorderl-ldbl-128ibm.
15795         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15796         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15797         test-totalorderl-ldbl-96.
15798         * sysdeps/nacl/libm.abilist: Update.
15799         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15800         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15801         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15802         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15803         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15804         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15805         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15806         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15807         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15808         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15809         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15810         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15812         Likewise.
15813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15814         Likewise.
15815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15816         Likewise.
15817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15818         Likewise.
15819         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15820         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15821         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15822         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15823         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15825         Likewise.
15826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15827         Likewise.
15828         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15829         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15830         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15832 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15834         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15835         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15836         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15837         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15838         remove ENOSYS implementation.
15839         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15840         Consolidate all Linux implementations.
15842 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15844         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15845         * resolv/herror.c (herror): Cast away const-ness.
15846         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15847         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15849 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15851         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15852         instead of M_NAN + M_NAN.
15853         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15855 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15857         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15858         unused variable 'p'.
15860 2016-10-09  Alan Modra  <amodra@gmail.com>
15861             Andreas Schwab  <schwab@linux-m68k.org>
15863         [BZ #20554]
15864         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15865         [PIC && !SHARED]: Set up PIC register for PLT call.
15867 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15869         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15870         conditional on value of [__FLT_EVAL_METHOD__].
15871         * math/test-iseqsig-excess-precision.c: New file.
15872         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15874 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15876         * math/s_iseqsig_template.c: Include math-private.h.
15878         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15879         * posix/tst-posix_fadvise.c: New file.
15880         * posix/tst-posix_fadvise64.c: Likewise.
15881         * posix/tst-posix_fadvise-common.c: Likewise.
15882         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15883         (__ASSUME_FADVISE64_64_6ARG): Define.
15884         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15885         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15886         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15887         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15888         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15889         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15890         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15891         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15892         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15893         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15894         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15895         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15898         Likewise.
15899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15900         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15901         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15902         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15903         Alias to __posix_fadvise64_l32.
15904         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15905         Add compat definition to posix_fadvise64.
15906         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15907         Add versioned definition to posix_fadvise64.
15908         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15909         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15910         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15911         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15912         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15914         * io/Makefile (tests): Add tst-posix_fallocate and
15915         tst-posix_fallocate64.
15916         * io/tst-posix_fallocate-common.c: New file.
15917         * io/tst-posix_fallocate.c: Likewise.
15918         * io/tst-posix_fallocate64.c: Likewise.
15919         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15920         file.
15921         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15922         Likewise.
15923         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15924         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15925         Likewise.
15926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15927         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15928         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15929         SYSCALL_LL to pass both offset and len arguments.
15930         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15931         Likewise.
15932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15933         __libc_pwrite64 alias used by posix_fallocate64.
15935         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15936         tst-fallocate64.
15937         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15938         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15939         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15940         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15941         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15942         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15943         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15944         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15945         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15946         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15947         macro on offset argument.
15948         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15949         SYSCALL_LL64 on offset argument.
15951         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15952         tst-fallocate64.
15953         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15954         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15955         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15956         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15957         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15958         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15959         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15960         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15961         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15962         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15963         macro on offset argument.
15964         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15965         SYSCALL_LL64 on offset argument.
15966         * test-skeleton.c (FAIL_RET): Add macro.
15967         (FAIL_EXIT): Likewise.
15968         (FAIL_EXIT1): Likewise.
15969         (_FAIL): Likewise.
15971 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15973         [BZ #20629]
15974         resolv: Remove RES_USEBSTRING and its implementation.
15975         * resolv/resolv.h (RES_USEBSTRING): Remove.
15976         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15977         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15978         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15979         (labellen): Remove extended label types support.
15980         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15981         * resolv/res_init.c (res_setoptions): Likewise.
15982         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15984 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15986         resolv: Remove RES_NOIP6DOTINT and its implementation.
15987         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15988         (RES_NOIP6DOTINT): Remove.
15989         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15990         handling.
15991         * resolv/res_debug.c (p_option): Likewise.
15992         * resolv/res_init.c (res_setoptions): Likewise.
15993         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15995 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15997         resolv: Deprecate unimplemented flags.
15998         * misc/sys/cdefs.h (__glibc_macro_warning1)
15999         (__glibc_macro_warning): Define.
16000         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16001         (RES_KEEPTSIG): Mark as deprecated.
16002         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16003         RES_NOCHECKNAME, RES_KEEPTSIG.
16004         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16006 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16008         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16009         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16010         Use strong_alias to create symbols for glibc verison 2.19.
16012 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16014         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16016 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16018         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16020 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16022         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16024 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16026         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16027         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16028         in header for using it as type for ifunc function because __GI_* symbols
16029         for ppc32 do not target the ifunc symbols.
16030         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16032 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16034         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16035         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16036         libc_ifunc_hidden_def.
16037         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16038         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16039         Redirect ifunced function in header for using it as type of ifunc'ed
16040         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16041         function for __GI_* symbol.
16042         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16043         * include/libc-symbols.h
16044         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16046 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16048         [BZ #20478]
16049         * sysdeps/s390/multiarch/ifunc-resolve.h
16050         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16051         to create ifunc symbols.
16052         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16053         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16054         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16055         for using it as type for ifunc function.
16056         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16057         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16058         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16059         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16060         * sysdeps/s390/multiarch/strcat.c: Likewise.
16061         * sysdeps/s390/multiarch/strchr.c: Likewise.
16062         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16063         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16064         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16065         * sysdeps/s390/multiarch/strlen.c: Likewise.
16066         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16067         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16068         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16069         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16070         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16071         * sysdeps/s390/multiarch/strspn.c: Likewise.
16072         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16073         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16074         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16075         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16076         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16077         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16078         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16079         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16080         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16081         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16082         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16083         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16085 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16087         * include/libc-symbols.h (__ifunc_resolver):
16088         New macro is used by __ifunc* macros.
16089         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16090         depending on HAVE_GCC_IFUNC.
16091         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16092         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16094         Redirect ifunced function in header for using as type for ifunc function.
16095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16099         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16101         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16102         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16103         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16104         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16106         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16107         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16108         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16114         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16118         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16129         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16130         instead of libc_ifunc() macro.
16131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16134 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16136         * config.h.in (HAVE_GCC_IFUNC): New undef.
16137         * configure.ac: Add check if gcc supports attribute ifunc feature.
16138         * configure: Regenerated.
16139         * manual/install.texi: Add recommendation for gcc with
16140         indirect-function support.
16141         * INSTALL: Regenerated.
16143 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16145         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16146         macro.
16147         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16148         (__iseqsig): New declaration.
16149         * math/s_iseqsig_template.c: New file.
16150         * math/Versions (__iseqsigf): New libm symbol at version
16151         GLIBC_2.25.
16152         (__iseqsig): Likewise.
16153         (__iseqsigl): Likewise.
16154         * math/libm-test.inc (iseqsig_test_data): New array.
16155         (iseqsig_test): New function.
16156         (main): Call iseqsig_test.
16157         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16158         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16159         * manual/libm-err-tab.pl: Update comment on interfaces without
16160         ulps tabulated.
16161         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16162         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16163         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16164         * sysdeps/nacl/libm.abilist: Update.
16165         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16166         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16167         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16168         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16169         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16170         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16171         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16172         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16173         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16174         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16175         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16176         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16178         Likewise.
16179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16180         Likewise.
16181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16182         Likewise.
16183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16184         Likewise.
16185         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16186         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16187         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16188         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16189         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16191         Likewise.
16192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16193         Likewise.
16194         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16195         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16196         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16198 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16200         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16201         do_sincos_2, sloww, sloww1): Update comments.
16203         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16204         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16206         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16207         K boolean and rename it.
16208         (__sin): Adjust.
16209         (__cos): Adjust.
16211 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16212             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16214         * manual/nss.texi: Fix typos in the manual.
16216 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16218         * manual/contrib.texi: Fix typos in the manual.
16220         * manual/maint.texi: Fix typos in the manual.
16222         * manual/install.texi: Fix typos in the manual.
16223         * INSTALL: Regenerated.
16225         * manual/lang.texi: Fix typos in the manual.
16227         * manual/probes.texi: Fix typos in the manual.
16229         * manual/threads.texi: Fix typos in the manual.
16231         * manual/debug.texi: Fix typos in the manual.
16233         * manual/crypt.texi: Fix typos in the manual.
16235         * manual/conf.texi: Fix typos in the manual.
16237         * manual/sysinfo.texi: Fix typos in the manual.
16239         * manual/users.texi: Fix typos in the manual.
16241         * manual/job.texi: Fix typos in the manual.
16243         * manual/process.texi: Fix typos in the manual.
16245         * manual/argp.texi: Fix typos in the manual.
16246         * manual/getopt.texi: Likewise.
16247         * manual/startup.texi: Likewise.
16249         * manual/signal.texi: Fix typos in the manual.
16251         * manual/setjmp.texi: Fix typos in the manual.
16253         * manual/resource.texi: Fix typos in the manual.
16255         * manual/time.texi: Fix typos in the manual.
16257         * manual/arith.texi: Fix typos in the manual.
16259         * manual/math.texi: Fix typos in the manual.
16261         * manual/syslog.texi: Fix typos in the manual.
16263         * manual/terminal.texi: Fix typos in the manual.
16265         * manual/socket.texi: Fix typos in the manual.
16267         * manual/filesys.texi: Fix typos in the manual.
16269         * manual/llio.texi: Fix typos in the manual.
16271         * manual/stdio.text: Fix typos in the manual.
16273 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16275         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16276         instead of K1.
16278         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16279         SHIFT_QUADRANT and make it bool.
16280         (do_sincos_2): Likewise.
16281         (sloww): Likewise.
16282         (sloww1): Likewise.
16283         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16284         (__cos): Likewise.
16286 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16288         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16290 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16292         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16293         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16294         0x7fffffffL].
16295         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16297 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16299         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16300         inline by __inline__.
16301         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16302         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16303         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16304         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16305         sigset_t from signal.h.
16306         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16307         which is already required.
16309 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16311         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16313 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16315         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16316         (struct tcp_repair_window): New type.
16318 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16320         * libio/tst-memstream3.c: Include string.h.
16322 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16324         [BZ #18241]
16325         [BZ #20181]
16326         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16327         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16328         write position is at the end the buffer.
16329         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16330         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16331         (_IO_str_seekoff): Set correct offset from negative displacement and
16332         set EINVAL for invalid ones.
16333         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16334         buffer length.
16335         (_IO_wstr_switch_to_get_mode): New function.
16336         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16337         set EINVAL for invalid ones.
16338         * libio/tst-memstream3.c: New file.
16339         * libio/tst-wmemstream3.c: Likewise.
16340         * manual/examples/memstrm.c: Remove warning when priting size_t.
16342 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16344         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16345         macro to use __builtin_fma.
16346         * sysdeps/x86_64/fpu/dla.h: Remove file.
16348         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16349         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16350         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16352 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16354         [BZ #20292]
16355         * elf/Makefile (routines): Add dl-addr-obj.
16356         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16357         tst-_dl_addr_inside_object.
16358         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16359         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16360         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16361         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16362         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16363         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16364         * elf/dl-open.c: Likewise.
16365         * elf/dl-addr-obj.c: New file.
16366         * elf/tst-_dl_addr_inside_object.c: New file.
16368 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16370         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16371         <bits/iscanonical.h>.
16372         * bits/iscanonical.h: New file.
16373         * math/s_iscanonicall.c: Likewise.
16374         * math/Versions (__iscanonicall): New libm symbol at version
16375         GLIBC_2.25.
16376         * math/libm-test.inc (iscanonical_test_data): New array.
16377         (iscanonical_test): New function.
16378         (main): Call iscanonical_test.
16379         * math/Makefile (headers): Add bits/iscanonical.h.
16380         (type-ldouble-routines): Add s_iscanonicall.
16381         * manual/arith.texi (Floating Point Classes): Document
16382         iscanonical.
16383         * manual/libm-err-tab.pl: Update comment on interfaces without
16384         ulps tabulated.
16385         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16386         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16387         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16388         Likewise.
16389         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16390         test-iscanonical-ldbl-128ibm.
16391         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16392         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16393         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16394         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16395         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16396         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16397         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16399         Likewise.
16400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16401         Likewise.
16402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16403         Likewise.
16404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16405         Likewise.
16406         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16407         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16409 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16411         * string/bits/string3.h: Remove C++ style comments.
16413 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16415         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16416         instead of ternary condition.
16417         (do_sincos_2): Likewise.
16418         (__sin): Likewise.
16419         (__cos): Likewise.
16420         (slow): Likewise.
16421         (sloww): Likewise.
16422         (sloww1): Likewise.
16423         (bsloww): Likewise.
16424         (bsloww1): Likewise.
16426         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16427         instead of ternary condition.
16428         (do_sin_slow): Likewise.
16429         (do_sincos_1): Likewise.
16430         (do_sincos_2): Likewise.
16431         (__cos): Likewise.
16432         (sloww): Likewise.
16433         (sloww1): Likewise.
16434         (sloww2): Likewise.
16435         (bsloww): Likewise.
16436         (bsloww1): Likewise.
16437         (bsloww2): Likewise.
16439         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16440         check from here...
16441         (slow2): ... and here...
16442         (__sin): ... to here.
16444 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16446         * math/math.h
16447         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16448         Cast argument to its own type.
16449         * math/test-iszero-excess-precision.c: New file.
16450         * math/Makefile (tests): Add test-iszero-excess-precision.
16451         (CFLAGS-test-iszero-excess-precision.c): New variable.
16453 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16455         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16456         field, add err field.
16457         (__spawni_child): Report error through err member instead of pipe.
16458         (__spawnix): Likewise.
16460 2016-09-28  Zack Weinberg  <zackw@panix.com>
16462         * scripts/check-installed-headers.sh: Generalize treatment of
16463         sys/elf.h to all target architectures.
16465         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16466         deleted typedef ucontext_t.
16468 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16470         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16471         (__INTERNAL_SYSCALL1): Likewise.
16472         (__INTERNAL_SYSCALL2): Likewise.
16473         (__INTERNAL_SYSCALL3): Likewise.
16474         (__INTERNAL_SYSCALL4): Likewise.
16475         (__INTERNAL_SYSCALL5): Likewise.
16476         (__INTERNAL_SYSCALL6): Likewise.
16477         (__INTERNAL_SYSCALL7): Likewise.
16478         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16479         (__INTERNAL_SYSCALL_NARGS): Likewise.
16480         (__INTERNAL_SYSCALL_DISP): Likewise.
16481         (INTERNAL_SYSCALL_CALL): Likewise.
16482         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16483         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16484         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16485         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16486         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16487         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16488         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16489         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16490         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16491         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16492         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16493         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16494         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16496 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16498         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16499         macro.
16500         * math/libm-test.inc (iszero_test_data): New array.
16501         (iszero_test): New function.
16502         (main): Call iszero_test.
16503         * manual/arith.texi (Floating Point Classes): Document iszero.
16504         * manual/libm-err-tab.pl: Update comment on interfaces without
16505         ulps tabulated.
16507 2016-09-23  Zack Weinberg  <zackw@panix.com>
16509         * scripts/check-installed-headers.sh: New script.
16510         * Rules: In each directory that defines header files to be installed,
16511         run check-installed-headers.sh on them as a special test.
16512         * Makefile: Likewise for the headers installed at top level.
16514         * include/aliases.h, include/alloca.h, include/argz.h
16515         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16516         * include/elf.h, include/envz.h, include/err.h
16517         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16518         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16519         * include/link.h, include/malloc.h, include/mcheck.h
16520         * include/mntent.h, include/netinet/ether.h
16521         * include/nss.h, include/obstack.h, include/printf.h
16522         * include/pty.h, include/resolv.h, include/rpc/auth.h
16523         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16524         * include/rpc/clnt.h, include/rpc/des_crypt.h
16525         * include/rpc/key_prot.h, include/rpc/netdb.h
16526         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16527         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16528         * include/rpc/rpc_msg.h, include/rpc/svc.h
16529         * include/rpc/svc_auth.h, include/rpc/xdr.h
16530         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16531         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16532         * include/rpcsvc/ypupd.h, include/shadow.h
16533         * include/stdio_ext.h, include/sys/epoll.h
16534         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16535         * include/sys/prctl.h, include/sys/profil.h
16536         * include/sys/statfs.h, include/sys/sysctl.h
16537         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16538         * sysdeps/arm/nacl/include/bits/setjmp.h
16539         * sysdeps/mips/include/sys/asm.h
16540         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16541         * sysdeps/unix/sysv/linux/include/sys/timex.h
16542         * sysdeps/x86/fpu/include/bits/fenv.h:
16543         Add #ifndef _ISOMAC guard around internal declarations.
16544         Add multiple-inclusion guard if not already present.
16546 2016-09-23  Zack Weinberg  <zackw@panix.com>
16548         * sysdeps/generic/sys/ucontext.h
16549         * sysdeps/arm/sys/ucontext.h
16550         * sysdeps/i386/sys/ucontext.h
16551         * sysdeps/m68k/sys/ucontext.h
16552         * sysdeps/mips/sys/ucontext.h
16553         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16554         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16555         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16556         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16557         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16558         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16559         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16560         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16561         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16562         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16563         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16564         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16565         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16566         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16567         Include both bits/sigcontext.h and bits/sigstack.h.
16568         Fix grammar error in comment, if present.
16570         * bits/sigstack.h
16571         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16572         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16573         * sysdeps/unix/sysv/linux/bits/sigstack.h
16574         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16575         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16576         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16577         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16578         * bits/sigcontext.h
16579         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16580         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16581         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16582         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16583         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16584         as well as signal.h, if this was not already allowed.  Request
16585         definition of size_t if necessary.  Minimize semantically-null
16586         differences across files.
16588 2016-09-23  Zack Weinberg  <zackw@panix.com>
16590         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16591         Remove all logic conditional on __need macros.  Move all the
16592         conditionally defined types to their own headers...
16593         * time/bits/types/clock_t.h: Define clock_t here.
16594         * time/bits/types/clockid_t.h: Define clockid_t here.
16595         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16596         * time/bits/types/struct_timespec.h: Define struct timespec here.
16597         * time/bits/types/struct_timeval.h: Define struct timeval here.
16598         * time/bits/types/struct_tm.h: Define struct tm here.
16599         * time/bits/types/time_t.h: Define time_t here.
16600         * time/bits/types/timer_t.h: Define timer_t here.
16601         * time/Makefile: Install the new headers.
16603         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16604         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16605         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16606         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16607         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16608         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16609         * sysdeps/unix/sysv/linux/bits/resource.h
16610         * sysdeps/unix/sysv/linux/bits/timex.h
16611         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16612         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16613         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16614         * sysdeps/unix/sysv/linux/sys/acct.h
16615         * sysdeps/unix/sysv/linux/sys/timerfd.h
16616         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16617         * time/sys/time.h, time/sys/timeb.h
16618         Use the new bits/types headers.
16620         * include/time.h: Remove __need logic.
16621         * include/bits/time.h
16622         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16623         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16624         * include/bits/types/struct_itimerspec.h
16625         * include/bits/types/struct_timespec.h
16626         * include/bits/types/struct_timeval.h
16627         * include/bits/types/struct_tm.h:
16628         New wrapper headers.
16630 2016-09-23  Zack Weinberg  <zackw@panix.com>
16632         * sysdeps/mach/hurd/net/if_ppp.h
16633         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16634         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16635         if __USE_MISC is defined, to ensure struct ifreq is declared.
16637         * inet/netinet/ether.h: Condition all function prototypes
16638         on __USE_MISC, to ensure struct ether_addr is declared.
16640         * socket/bits/types/struct_osockaddr.h: New header.
16641         * include/bits/types/struct_osockaddr.h: New wrapper.
16642         * socket/Makefile: Install the new header.
16643         * socket/sys/socket.h, inet/protocols/talkd.h:
16644         Refer to bits/types/struct_osockaddr.h for the definition of
16645         struct osockaddr.
16647 2016-09-23  Zack Weinberg  <zackw@panix.com>
16649         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16650         * inet/protocols/routed.h, inet/protocols/talkd.h
16651         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16652         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16653         * sysdeps/generic/netinet/if_ether.h
16654         * sysdeps/generic/netinet/in_systm.h
16655         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16656         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16657         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16658         * sysdeps/mach/hurd/net/if_arp.h
16659         * sysdeps/mach/hurd/net/if_ppp.h
16660         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16661         * sysdeps/unix/sysv/linux/bits/in.h
16662         * sysdeps/unix/sysv/linux/net/ethernet.h
16663         * sysdeps/unix/sysv/linux/net/if_arp.h
16664         * sysdeps/unix/sysv/linux/net/if_ppp.h
16665         * sysdeps/unix/sysv/linux/net/if_shaper.h
16666         * sysdeps/unix/sysv/linux/net/route.h
16667         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16668         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16669         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16670         * sysdeps/unix/sysv/linux/netipx/ipx.h
16671         * sysdeps/unix/sysv/linux/sys/acct.h
16672         * include/arpa/nameser.h, include/resolv.h:
16673         Change all uses of u_char to unsigned char,
16674         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16675         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16676         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16677         and u_int64_t and u_quad_t to uint64_t.
16679         * mach/sys/reboot.h: Remove two casts of integer literals
16680         to the types they already have.
16682         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16683         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16684         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16685         from referring to 'unsigned char' to 'uint8_t' for consistency with
16686         the macro definition below.
16688         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16689         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16690         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16691         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16692         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16693         * sysdeps/unix/sysv/linux/sys/acct.h
16694         * include/arpa/nameser.h, include/resolv.h:
16695         Fix indentation disrupted by mechanical edits.
16697         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16698         * sysdeps/generic/netinet/in_systm.h
16699         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16700         * sysdeps/gnu/netinet/udp.h
16701         * sysdeps/unix/sysv/linux/net/ethernet.h
16702         * sysdeps/unix/sysv/linux/net/if_arp.h
16703         * sysdeps/unix/sysv/linux/net/if_ppp.h
16704         * sysdeps/unix/sysv/linux/net/if_shaper.h
16705         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16706         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16707         * sysdeps/unix/sysv/linux/netipx/ipx.h
16708         * sysdeps/unix/sysv/linux/sys/acct.h
16709         Include stdint.h for uintNN_t definitions.
16710         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16712 2016-09-23  Zack Weinberg  <zackw@panix.com>
16714         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16715         * sysdeps/unix/sysv/linux/netrose/rose.h:
16716         Include sys/socket.h and netax25/ax25.h.
16718         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16719         * resolv/arpa/nameser_compat.h:
16720         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16722         * sysdeps/unix/sysv/linux/sys/quota.h:
16723         Use __caddr_t instead of caddr_t.
16724         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16725         Use __clockid_t instead of clockid_t.
16727         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16729         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16730         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16731         expanding it.
16733         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16734         Define __glibc_c99_flexarr_available to 1 when the compiler
16735         supports C99-compatible flexible array members, 0 otherwise.
16736         * sysdeps/unix/sysv/linux/bits/socket.h
16737         * sysdeps/mach/hurd/bits/socket.h
16738         * bits/socket.h: Use __glibc_c99_flexarr_available in
16739         definitions of struct cmsghdr and CMSG_DATA.
16741 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16743         * manual/nss.texi (NSS Modules Interface): Adjust function return
16744         type to enum nss_status.  Document errnop argument.  Clarify
16745         h_errnop semantics.  Fix cross-reference formatting.
16746         (NSS Module Function Internals): Mention that *errnop needs to be
16747         set on failure, but not to zero.
16749 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16751         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16752         (get_random_name): New functions.
16753         (check_wrapper_flags_mode): Use linkat to give the new file a name
16754         determined by get_random_name.
16755         (do_test): Add calls to test open64 and openat64.
16757 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16759         * test-skeleton.c: Remove #include <stdarg.h>.
16761 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16763         [BZ #19826]
16764         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16765         initialization of static TLS entries.
16766         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16767         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16769 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16771         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16772         _hurd_malloc_fork_prepare.
16773         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16774         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16775         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16776         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16777         (_hurd_fork_child_hook): Drop malloc_fork_child.
16778         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16779         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16780         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16781         after locking locks (notably hurd_dtable_lock). Call
16782         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16783         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16784         __malloc_fork_unlock_child.
16785         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16787 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16789         * soft-fp/extendhftf2.c: New.
16790         * soft-fp/fixhfti.c: Likewise.
16791         * soft-fp/fixunshfti.c: Likewise.
16792         * soft-fp/floattihf.c: Likewise.
16793         * soft-fp/floatuntihf.c: Likewise.
16794         * soft-fp/half.h: Likewise.
16795         * soft-fp/trunctfhf2.c: Likewise.
16797 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16799         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16800         macro.
16801         * math/libm-test.inc (issubnormal_test_data): New array.
16802         (issubnormal_test): New function.
16803         * manual/arith.texi (Floating Point Classes): Document
16804         issubnormal.
16805         * manual/libm-err-tab.pl: Update comment on interfaces without
16806         ulps tabulated.
16808         * sysdeps/generic/stdint.h: Define
16809         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16810         <bits/libc-header-start.h> instead of including <features.h>.
16811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16815         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16844         * manual/arith.texi (Integers): Document these macros for types
16845         specified by width properties.
16846         * manual/lang.texi (Width of Type): Document these macros for
16847         other standard typedefs.
16848         * stdlib/tst-width-stdint.c: New file.
16849         * stdlib/Makefile (tests): Add tst-width-stdint.
16851 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16853         [BZ #20016]
16854         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16855         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16856         Move ...
16857         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16858         ... here, as compatibility symbols in a new file.
16859         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16860         * resolv/res_init.c (__res_vinit): Adjust member names.
16861         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16862         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16863         (res_send_rhook): Remove.
16864         (struct __res_state): Rename qhook, rhook members.
16866 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16868         malloc: Use __libc_lock wrappers.
16869         * malloc/arena.c (list_lock, free_list_lock): Define using
16870         __libc_lock_define_initialized.
16871         (arena_lock): Adjust formatting.
16872         * malloc/malloc.c (struct malloc_state): Define mutex using
16873         __libc_lock_define.
16874         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16875         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16876         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16877         (mutex_unlock, mutex_trylock): Remove.
16878         (__pthread_initialize): Remove unused macro.
16879         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16880         (mutex_unlock, mutex_trylock): Remove.
16882 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16884         [BZ #20592]
16885         Remove RR type classification macros.
16886         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16887         (ns_t_udp_p, ns_t_xfr_p): Remove.
16889 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16891         Remove misleading version information.
16892         * resolv/arpa/nameser.h (__NAMESER): Remove.
16893         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16895 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16897         Remove the always-defined BIND_4_COMPAT macro.
16898         * resolv/arpa/nameser.h: Unconditionally include
16899         <arpa/nameser_compat.h>.
16900         (BIND_4_COMPAT): Remove.
16901         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16903 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16905         [BZ #20591]
16906         Remove obsolete DNSSEC support.
16907         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16908         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16909         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16910         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16911         (ns_cert_types): Add comment.
16912         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16913         separately.
16914         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16915         (dst_s_dns_key_id): Remove.
16916         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16917         variables.
16919 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16921         [BZ #20524]
16922         * manual/string.texi (String/Array Comparison): Clarify the
16923         strverscmp behavior.
16925 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16927         * test-skeleton.c (xasprintf): Add function.
16928         * io/tst-open-tmpfile.c: New test.
16929         * io/Makefile (tests): Add it.
16931 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16933         Avoid running $(CXX) during build to obtain header file paths.
16934         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16935         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16936         * Makerules (cstdlib, cmath): Remove variables.  Use
16937         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16938         * configure: Regenerate.
16940 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16942         * Makeconfig (all-object-suffixes): Include .op only if
16943         $(build-profile).
16945 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16947         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16948         conditionals.  Do not define PATH_MAX.
16950 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16952         * posix/Makefile (tests): Add tst-spawn3.
16953         * posix/tst-spawn3.c: New file.
16954         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16955         if it is already opened for open action.
16957         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16958         all signals when executing the clone vfork child.
16959         (SIGALL_SET): Remove macro.
16961         * nptl/Makefile (tests): Add tst-exec5.
16962         * nptl/tst-exec5.c: New file.
16963         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16964         asynchronous cancellation.
16966 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16968         * hurd/exc2signal.c: #include <hurd/signal.h>
16969         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16970         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16971         accordingly.
16972         * mach/mach_error.c (mach_error): Fix old-style function definition.
16973         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16975 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16977         * math/Makefile (libm-calls): Remove s_nanF.
16978         (gen-libm-calls): Add s_nanF.
16980         * math/s_nan.c: Refactor into ...
16981         * math/s_nan_template.c: New file.
16983         * math/s_nanf.c: Removed.
16984         * math/s_nanl.c: Removed.
16985         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16986         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16988         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16989         (LDOUBLE_nanl_libm_version): New macro.
16991         * sysdeps/generic/math-type-macros-double.h:
16992         (M_STRTO_NAN): New macro.
16993         * sysdeps/generic/math-type-macros-float.h: Likewise.
16994         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16996         * sysdeps/generic/math-type-macros.h: Document
16997         M_STRTO_NAN.
16999 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17001         * math/s_nanf.c: Remove __nanf undef.
17002         * math/s_nan.c: Remove __nan undef.
17003         * math/s_nanl.c: Remove __nanl undef.
17005         * sysdeps/generic/math_private.h (__nan): Remove macro
17006         override.
17007         (__nanf): Likewise.
17008         (__nanl): Likewise.
17010 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17012         * math/Makefile (gen-all-calls): New variable.
17013         (generated): Replace gen-libm-calls with gen-all-calls.
17014         (gen-libm-templates.stmp): Likewise.  Also, ensure
17015         the output directory exists or is created and add
17016         dependency on the Makefile.
17017         (calls): Move s_ldexpF into gen-calls.
17018         (gen-calls): New variable.
17020         * math/s_ldexpf.c: Removed.
17021         * math/s_ldexpl.c: Removed.
17022         * math/s_ldexp.c: Refactored into ...
17023         * math/s_ldexp_template.c: New file.
17025         * sysdeps/generic/math-type-macros-double.h: Remove
17026         redundant fall-through definition of declare_mgen_alias.
17027         (declare_mgen_alias_2): New macro.
17029         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17030         New macro for function aliased to two exported symbols.
17032         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17033         new template file.
17034         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17036 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17038         * Makeconfig (all-object-suffixes): Remove .og.
17039         * Makerules (elide-routines.og): Remove.
17040         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17041         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17042         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17044 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17046         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17047         .os objects.
17049 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17051         [BZ #20615]
17052         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17053         fpu directory by non-fpu.
17054         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17055         on non-fpu directory from a fpu directory.
17057 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17059         * include/limits.h: Define
17060         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17061         <bits/libc-header-start.h> instead of including <features.h>.
17062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17063         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17064         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17065         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17066         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17073         * manual/lang.texi (Width of Type): Document these macros.
17074         * stdlib/tst-width.c: New file.
17075         * stdlib/Makefile (tests): Add tst-width.
17077 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17079         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17080         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17082 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17084         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17085         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17086         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17088 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17090         [BZ #18243]
17091         * rt/Makefile (test): Add tst-shm-cancel.
17092         * rt/tst-shm-cancel.c: New file.
17093         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17095         [BZ #18243]
17096         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17097         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17098         definition.
17099         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17100         uncontended case.
17101         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17102         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17103         (tf): Fix check for uncontended case.
17104         (do_test): Likewise.
17105         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17106         (tf): Fix check for uncontended case.
17107         (do_test): Likewise.
17108         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17109         (tf): Fix check for uncontended case.
17110         (do_test): Likewise.
17111         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17112         (tf): Fix check for uncontended case.
17113         (do_test): Likewise.
17115         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17116         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17118         [BZ #15765]
17119         * nptl/Makefile (tests): Add tst-sem16.
17120         * nptl/tst-sem16.c: New file.
17121         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17123         * nptl/sem_open.c (sem_open): Init pad value to 0.
17124         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17125         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17127 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17129         [BZ #20611]
17130         * inet/Makefile (routines): Add inet6_scopeid_pton.
17131         (tests): Add tst-inet6_scopeid_pton.
17132         * inet/inet6_scopeid_pton.c: New file.
17133         * inet/net-internal.h: Likewise.
17134         * inet/tst-inet6_scopeid_pton.c: New test.
17135         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17136         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17139 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17141         Remove support for compiling wrappers with PTW.
17142         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17143         * nptl/Makefile (pthread-compat-wrappers): Define.
17144         (libpthread-routines): Use pthread-compat-wrappers.
17145         * sysdeps/unix/sysv/linux/alpha/Makefile
17146         (libpthread-routines, libpthread-shared-only-routines): Remove
17147         ptw- prefix.
17148         * sysdeps/s390/nptl/Makefile
17149         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17150         * sysdeps/ia64/nptl/Makefile
17151         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17152         * sysdeps/nacl/Makefile (libpthread-routines): Use
17153         pthread-compat-wrappers to filter the routines list instead of the
17154         ptw- prefix.
17156 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17158         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17159         with L() and remove explicit suffix, convert real literals
17160         which can be equivalentally substituted with integers, and
17161         transform -L(x) to L(-x).
17163         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17164         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17165         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17167         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17168         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17169         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17170         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17171         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17172         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17173         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17174         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17176         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17177         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17178         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17179         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17180         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17181         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17182         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17183         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17184         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17185         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17186         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17187         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17188         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17189         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17190         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17191         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17192         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17193         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17194         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17195         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17196         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17197         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17198         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17199         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17200         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17201         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17202         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17203         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17204         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17205         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17206         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17207         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17208         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17209         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17210         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17211         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17212         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17214 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17216         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17218 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17220         * malloc/Makefile (tests): Remove individual static test names
17221         and just add all of tests-static.
17223         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17225 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17227         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17228         file.
17230         * sysdeps/sparc/fpu/fegetmode.c: New file.
17231         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17233         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17234         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17236         * sysdeps/s390/fpu/fegetmode.c: New file.
17237         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17239         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17240         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17241         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17242         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17243         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17244         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17246         * sysdeps/mips/fpu/fegetmode.c: New file.
17247         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17249         * sysdeps/m68k/fpu/fegetmode.c: New file.
17250         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17252         * sysdeps/ia64/fpu/fegetmode.c: New file.
17253         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17255         * sysdeps/hppa/fpu/fegetmode.c: New file.
17256         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17258         * sysdeps/arm/fegetmode.c: New file.
17259         * sysdeps/arm/fesetmode.c: Likewise.
17261         * sysdeps/alpha/fpu/fegetmode.c: New file.
17262         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17264         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17265         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17267         * math/fegetmode.c: New file.
17268         * math/fesetmode.c: Likewise.
17269         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17270         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17271         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17272         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17273         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17275         declaration.
17276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17277         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17278         typedef.
17279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17280         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17281         (femode_t): New typedef.
17282         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17283         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17284         (femode_t): New typedef.
17285         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17286         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17287         (femode_t): New typedef.
17288         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17289         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17290         (femode_t): New typedef.
17291         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17292         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17293         (femode_t): New typedef.
17294         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17295         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17296         (femode_t): New typedef.
17297         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17298         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17299         (femode_t): New typedef.
17300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17301         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17302         (femode_t): New typedef.
17303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17304         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17305         (femode_t): New typedef.
17306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17307         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17308         (femode_t): New typedef.
17309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17310         declaration.
17311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17312         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17313         (femode_t): New typedef.
17314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17315         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17316         (femode_t): New typedef.
17317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17318         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17319         (femode_t): New typedef.
17320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17321         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17322         (femode_t): New typedef.
17323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17324         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17325         (femode_t): New typedef.
17326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17327         * manual/arith.texi (FE_DFL_MODE): Document macro.
17328         (fegetmode): Document function.
17329         (fesetmode): Likewise.
17330         * math/Versions (fegetmode): New libm symbol at version
17331         GLIBC_2.25.
17332         (fesetmode): Likewise.
17333         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17334         (tests): Add test-femode and test-femode-traps.
17335         * math/test-femode-traps.c: New file.
17336         * math/test-femode.c: Likewise.
17337         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17338         alias for __fe_dfl_env.
17339         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17340         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17341         (__fe_dfl_mode): Likewise.
17342         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17343         version GLIBC_2.25.
17344         * sysdeps/nacl/libm.abilist: Update.
17345         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17346         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17347         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17348         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17349         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17350         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17351         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17352         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17353         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17354         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17358         Likewise.
17359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17360         Likewise.
17361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17362         Likewise.
17363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17364         Likewise.
17365         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17366         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17367         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17368         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17373         Likewise.
17374         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17376         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17378 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17380         [BZ #20495]
17381         [BZ #20508]
17382         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17383         processors, set Use_dl_runtime_resolve_slow and set
17384         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17385         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17386         New.
17387         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17388         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17389         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17390         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17391         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17392         if Use_dl_runtime_resolve_opt is set.  Use
17393         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17394         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17395         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17396         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17397         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17398         New.
17399         (_dl_runtime_resolve_opt): Likewise.
17400         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17401         defined.
17403 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17405         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17406         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17408 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17410         Convert malloc to __libc_lock.  Automated part, using this Perl
17411         s/// command:
17412           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17413             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17414         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17415         conversion.
17417 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17419         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17420         (linknamespace-symlists-tests): Likewise.
17421         (linknamespace-header-tests): Likewise.
17423 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17425         [BZ #19810]
17426         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17427         * elf/tst-noload.c: New test case.
17428         * elf/Makefile (tests): Add tst-noload.
17430 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17432         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17434         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17435         not any more.
17437         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17439 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17441         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17442         (do_cos_slow): Likewise.
17443         (do_sin): Likewise.
17444         (do_sin_slow): Likewise.
17445         (slow): Likewise.
17446         (slow1): Likewise.
17447         (slow2): Likewise.
17448         (sloww): Likewise.
17449         (sloww1): Likewise.
17450         (sloww2): Likewise.
17451         (bsloww): Likewise.
17452         (bsloww1): Likewise.
17453         (bsloww2): Likewise.
17454         (cslow2): Likewise.
17456         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17458         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17459         arguments.  Consolidate input partitioning from callers here.
17460         (do_cos_slow): Likewise.
17461         (do_sin): Likewise.
17462         (do_sin_slow): Likewise.
17463         (do_sincos_1): Remove the no longer necessary input partitioning.
17464         (do_sincos_2): Likewise.
17465         (__sin): Likewise.
17466         (__cos): Likewise.
17467         (slow1): Likewise.
17468         (slow2): Likewise.
17469         (sloww1): Likewise.
17470         (sloww2): Likewise.
17471         (bsloww1): Likewise.
17472         (bsloww2): Likewise.
17473         (cslow2): Likewise.
17475 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17477         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17478         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17479         outside of allocated array.
17481 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17483         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17484         instead of MB_CUR_MAX to avoid variable-length array.
17486 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17488         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17489         (type-double-routines): Add k_rem_pio2.
17490         (type-float-routines): Add k_rem_pio2f.
17492         * sysdeps/generic/math_private.h:
17493         (__kernel_rem_pio2l): Removed.
17495         * math/k_rem_pio2l.c: Removed.
17496         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17497         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17498         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17499         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17501 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17503         * math/Makefile (gen-libm-calls): Add s_fmin
17504         (libm-calls): Remove above.
17506         * math/s_fmin.c: Refactor into ...
17507         * math/s_fmin_template.c: New file.
17509         * math/s_fminf.c: Removed.
17510         * math/s_fminl.c: Removed.
17511         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17512         (LDOUBLE_fmin_libm_version): New macro.
17514         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17515         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17517 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17519         * math/Makefile: (gen-libm-calls): Add s_fmax.
17520         (libm-calls): Remove above.
17522         * math/s_fmax.c: Refactor into ...
17523         * math/s_fmax_template.c: New file.
17524         * math/s_fmaxf.c: Removed.
17525         * math/s_fmaxl.c: Removed.
17527         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17528         (LDOUBLE_fmaxl_libm_version): New macro.
17530         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17531         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17533         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17534         s_fmin.c to pick the aarch64 version of the file.
17535         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17536         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17538 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17540         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17541         (libm-calls): Remove above.
17543         * math/s_nextdown.c: Refactor into ...
17544         * math/s_nextdown_template.c: New file.
17545         * math/s_nextdownf.c: Removed.
17546         * math/s_nextdownl.c: Removed.
17548         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17550 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17552         * math/Makefile (gen-libm-calls): Add s_fdim.
17553         (libm-calls): Move to above.
17555         * math/s_fdim.c: Renamed and refactored into to ...
17556         * math/s_fdim_template.c: New file.
17557         * math/s_fdiml.c: Removed.
17558         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17559         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17561         * sysdeps/generic/math-type-macros-double.h:
17562         (declare_mgen_alias): Don't declare if already declared.
17563         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17564         Likewise.
17566         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17567         (declare_mgen_alias): Don't declare if already declared.
17568         (M_LIBM_NEED_COMPAT): Likewise.
17569         (declare_mgen_libm_compat): Likewise.
17570         (LDOUBLE_fdiml_libm_version): New macro.
17572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17573         Include math/s_fdim.c now that ldbl-opt version is not needed.
17574         (declare_mgen_alias): New macro to disable aliasing.
17576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17577         (declare_mgen_alias): Likewise.
17578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17579         (declare_mgen_alias): Likewise.
17580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17581         (declare_mgen_alias): Likewise.
17582         (M_LIBM_NEED_COMPAT): Likewise.
17584 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17586         [BZ #20525]
17587         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17588         Include <linux/quota.h>.
17589         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17590         and btodb.
17591         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17592         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17593         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17594         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17595         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17596         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17597         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17598         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17599         types.
17600         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17601         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17603 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17605         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17606         (gammal_positive): Fix spacing.
17607         (__ieee754_gammal_r): Likewise.
17609 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17611         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17612         (_Float128): Define as long double, always.
17613         (L): Apply long double type suffix, always.
17615         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17616         _Float128, excepting comments.
17618         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17630         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17668         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17673         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17674         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17676         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17678         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17679         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17681         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17682         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17684         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17685         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17688         _Float128, and include math_private.h.
17689         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17691         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17692         long double semantics.
17693         (_Float128): Likewise.
17694         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17695         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17697         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17699 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17701         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17702         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17703         * sysdeps/s390/configure: Regenerated.
17704         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17705         instruction for raising over-/underflow if z196 zarch is supported
17706         by default.
17707         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17709 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17711         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17712         it point to a dumb buffer for RPC to fill it.
17714 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17716         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17717         instead of if/else.
17718         (do_sin_slow): Likewise.
17719         (do_sincos_1): Use fabs instead of if/else.
17720         (do_sincos_2): Likewise.
17721         (__sin): Likewise.
17722         (__cos): Likewise.
17723         (slow2): Likewise.
17724         (sloww): Likewise.
17725         (sloww1): Likewise.  Drop argument M.
17726         (sloww2): Use fabs instead of if/else.
17727         (bsloww): Likewise.
17728         (bsloww1): Likewise.
17729         (bsloww2): Likewise.
17731         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17732         fall through comment.
17733         (do_sincos_1): Likewise.
17735         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17736         Consolidate switch cases 0 and 2.
17738 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17740         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17741         (libm-calls): Remove the above.
17743         * math/s_cexp_template.c: Update using type-generic macros.
17744         * math/s_clog10_template.c: Likewise.
17745         * math/s_cpow_template.c: Likewise.
17746         * math/s_clog_template.c: Likewise.
17747         * math/s_cproj_template.c: Likewise.
17748         * math/s_csqrt_template.c: Likewise.
17750         * math/s_cexp.c: Removed.
17751         * math/s_cexpf.c: Removed.
17752         * math/s_cexpl.c: Removed.
17753         * math/s_clog10.c: Removed.
17754         * math/s_clog10f.c: Removed.
17755         * math/s_clog10l.c: Removed.
17756         * math/s_cpow.c: Removed.
17757         * math/s_cpowf.c: Removed.
17758         * math/s_cpowl.c: Removed.
17759         * math/s_clog.c: Removed.
17760         * math/s_clogf.c: Removed.
17761         * math/s_clogl.c: Removed.
17762         * math/s_cproj.c: Removed.
17763         * math/s_cprojf.c: Removed.
17764         * math/s_cprojl.c: Removed.
17765         * math/s_csqrt.c: Removed.
17766         * math/s_csqrtf.c: Removed.
17767         * math/s_csqrtl.c: Removed.
17769         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17770         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17771         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17772         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17773         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17774         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17776         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17777         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17778         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17779         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17780         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17781         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17782         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17783         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17784         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17785         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17786         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17788         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17789         version.
17791         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17792         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17793         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17794         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17796 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17798         * s_cexp_template.c: Copy of s_cexp.c.
17799         * s_clog_template.c: Copy of s_clog.c.
17800         * s_clog10_template.c: Copy of s_clog10.c.
17801         * s_cpow_template.c: Copy of s_cpow.c.
17802         * s_cproj_template.c: Copy of s_cproj.c.
17803         * s_csqrt_template.c: Copy of s_csqrt.c.
17805 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17807         [BZ #20517]
17808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17809         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17810         exported.
17812 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17814         * math/fetestexceptflag.c: New file.
17815         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17816         Stefan Liebler.
17817         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17818         (fetestexceptflag): New function declaration.
17819         * manual/arith.texi (fetestexceptflag): Document function.
17820         * math/Versions (fetestexceptflag): New libm symbol at version
17821         GLIBC_2.25.
17822         * math/Makefile (libm-support): Add fetestexceptflag.
17823         (tests): Add test-fetestexceptflag.
17824         * math/test-fetestexceptflag.c: New file.
17825         * sysdeps/nacl/libm.abilist: Update.
17826         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17827         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17828         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17829         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17830         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17831         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17832         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17833         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17834         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17835         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17836         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17837         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17839         Likewise.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17841         Likewise.
17842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17843         Likewise.
17844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17845         Likewise.
17846         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17847         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17848         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17849         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17850         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17852         Likewise.
17853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17854         Likewise.
17855         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17856         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17857         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17859 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17861         [BZ #20432]
17862         Avoid strong references to malloc-internal symbols when linking
17863         statically, to support statically interposed mallocs.
17864         * include/libc-symbols.h (call_function_static_weak): New macro.
17865         * malloc/Makefile (tests): Add tst-interpose-nothread,
17866         tst-interpose-thread, tst-interpose-static-nothread,
17867         tst-interpose-static-thread.
17868         (tests-static): Add tst-interpose-static-nothread,
17869         tst-interpose-static-thread.
17870         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17871         tst-interpose-aux-thread.o.
17872         (test-extras): Add tst-interpose-aux-nothread,
17873         tst-interpose-aux-thread.
17874         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17875         tst-interpose-aux-nothread.o.
17876         (tst-interpose-thread, tst-interpose-static-thread): Link with
17877         tst-interpose-aux-thread.o and libthread.
17878         * malloc/tst-interpose-aux-nothread.c: New file.
17879         * malloc/tst-interpose-aux-thread.c: Likewise.
17880         * malloc/tst-interpose-aux.c: Likewise.
17881         * malloc/tst-interpose-aux.h: Likewise.
17882         * malloc/tst-interpose-nothread.c: Likewise.
17883         * malloc/tst-interpose-skeleton.c: Likewise.
17884         * malloc/tst-interpose-static-nothread.c: Likewise.
17885         * malloc/tst-interpose-static-thread.c: Likewise.
17886         * malloc/tst-interpose-thread.c: Likewise.
17887         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17888         * sysdeps/mach/hurd/fork.c (__fork): Only call
17889         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17890         __malloc_fork_unlock_child if defined.
17891         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17893 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17895         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17896         timespec C99 designated initialization.
17898 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17900         [BZ #19946]
17901         Avoid expected SIGALRM signals.
17902         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17903         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17904         (xpthread_create, xpthread_detach, xpthread_join)
17905         (delayed_exit_thread, delayed_exit): New functions.
17906         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17907         (tf): Use xpthread_cond_wait.
17908         (do_test): Likewise.  Replace alarm with delayed_exit.
17909         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17910         (do_test): Call delayed_exit.  Report failure.
17911         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17912         (do_test): Call delayed_exit.
17913         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17914         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17915         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17916         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17917         error.
17918         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17919         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17920         error.
17921         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17922         (do_test): Call delayed_exit.
17923         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17924         (do_test): Call delayed_exit.
17925         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17926         (do_test): Call delayed_exit instead of alarm.  Use
17927         xpthread_mutex_lock.
17928         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17929         (do_test): Call delayed_exit instead of alarm.  Use
17930         xpthread_mutex_lock.
17931         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17932         (do_test): Call delayed_exit instead of alarm.
17933         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17934         (do_test): Call delayed_exit instead of alarm.  Use
17935         xpthread_spin_lock.
17936         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17937         (do_test): Call delayed_exit instead of alarm.  Use
17938         xpthread_join.
17940 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17942         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17943         adjust CFA when allocating register save area on re-aligned
17944         stack.
17946 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17948         * string/tst-cmp.c: New test.
17949         * string/Makefile (tests): Add it.
17951 2016-08-25  Mark Wielaard  <mark@klomp.org>
17953         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17954         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17955         (check_tree_recurse): Use newly defined accessors.
17956         (check_tree): Likewise.
17957         (maybe_split_for_insert): Likewise.
17958         (__tfind): Likewise.
17959         (__tdelete): Likewise.
17960         (trecurse): Likewise.
17961         (tdestroy_recurse): Likewise.
17962         (__tsearch): Likewise. And add asserts for malloc alignment.
17963         (__twalk): Cast root to node in case CHECK_TREE is defined.
17965 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17967         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17969 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17971         * math/Makefile (libm-gen-calls): Add
17972         catan, catanh, ctan, ctanh.
17973         (libm-calls): Remove the above.
17975         * math/s_catan_template.c: Update using type-generic macros.
17976         * math/s_catanh_template.c: Likewise.
17977         * math/s_ctan_template.c: Likewise.
17978         * math/s_ctanh_template.c: Likewise.
17980         * math/s_catanf.c: Removed.
17981         * math/s_catan.c: Removed.
17982         * math/s_catanl.c: Removed.
17983         * math/s_catanhf.c: Removed.
17984         * math/s_catanh.c: Removed.
17985         * math/s_catanhl.c: Removed.
17986         * math/s_ctanf.c: Removed.
17987         * math/s_ctan.c: Removed.
17988         * math/s_ctanl.c: Removed.
17989         * math/s_ctanhf.c: Removed.
17990         * math/s_ctanh.c: Removed.
17991         * math/s_ctanhl.c: Removed.
17993         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17994         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17995         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17996         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17997         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17998         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18000         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18001         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18002         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18003         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18005 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18007         * s_catan_template.c: Copy of s_catan.c.
18008         * s_catanh_template.c: Copy of s_catanh.c.
18009         * s_ctan_template.c: Copy of s_ctan.c.
18010         * s_ctanh_template.c: Copy of s_ctanh.c.
18012 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18014         * math/Makefile (gen-libm-calls): Move
18015         casin, casinh, csin, csinh here.
18016         (libm-calls): Remove the above.
18018         * math/s_casin_template.c: Update using type-generic macros.
18019         * math/s_casinh_template.c: Likewise.
18020         * math/s_csin_template.c: Likewise.
18021         * math/s_csinh_template.c: Likewise.
18022         * math/k_casinh_template.c: Likewise.
18024         * math/s_casinf.c: Removed.
18025         * math/s_casin.c: Removed.
18026         * math/s_casinl.c: Removed.
18027         * math/s_casinh.c: Removed.
18028         * math/s_casinhf.c: Removed.
18029         * math/s_casinhl.c: Removed.
18030         * math/s_csin.c: Removed.
18031         * math/s_csinf.c: Removed.
18032         * math/s_csinl.c: Removed.
18033         * math/s_csinh.c: Removed.
18034         * math/s_csinhf.c: Removed.
18035         * math/s_csinhl.c: Removed.
18036         * math/k_casinh.c: Removed.
18037         * math/k_casinhf.c: Removed.
18038         * math/k_casinhl.c: Removed.
18040         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18041         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18042         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18043         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18045         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18046         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18047         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18048         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18049         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18050         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18051         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18052         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18054         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18055         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18056         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18057         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18059         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18060         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18061         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18062         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18064 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18066         * s_casin_template.c: Copy of s_casin.c.
18067         * s_casinh_template.c: Copy of s_casinh.c.
18068         * s_csin_template.c: Copy of s_csin.c.
18069         * s_csinh_template.c: Copy of s_csinh.c.
18070         * k_casinh_template.c: Copy of k_casinh.c.
18072 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18074         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18076 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18078         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18079         (mul_split) Remove, rename as mul_splitl, remove
18080         redundant float.h include, and include via mul_splitl.h
18082         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18083         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18084         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18085         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18086         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18088         * math/mul_splitl.h: New file.
18090         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18091         Move into mul_split.h, and remove redundant float.h include.
18093         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18094         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18095         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18096         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18098         * math/mul_split.h: New file.
18100 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18102         * math/Makefile (libm-gen-calls): Move
18103         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18104         (libm-calls): Remove above.
18106         * math/s_cacos_template.c: Update using type-generic macros.
18107         * math/s_cacosh_template.c: Likewise.
18108         * math/s_ccos_template.c: Likewise.
18109         * math/s_ccosh_template.c: Likewise.
18111         * math/s_cacosf.c: Removed.
18112         * math/s_cacos.c: Removed.
18113         * math/s_cacosl.c: Removed.
18114         * math/s_cacoshf.c: Removed.
18115         * math/s_cacosh.c: Removed.
18116         * math/s_cacoshl.c: Removed.
18117         * math/s_ccosf.c: Removed.
18118         * math/s_ccos.c: Removed.
18119         * math/s_ccosl.c: Removed.
18120         * math/s_ccoshf.c: Removed.
18121         * math/s_ccosh.c: Removed.
18122         * math/s_ccoshl.c: Removed.
18124         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18125         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18126         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18127         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18128         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18129         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18131         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18132         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18133         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18134         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18136         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18137         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18138         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18139         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18141 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18143         * s_cacos_template.c: Copy of s_cacos.c.
18144         * s_cacosh_template.c: Copy of s_cacosh.c.
18145         * s_ccos_template.c: Copy of s_ccos.c.
18146         * s_ccosh_template.c: Copy of s_ccosh.c.
18148 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18150         * stdlib/tst-strtod-round-skeleton.c:
18151         Refactored from tst-strtod-round.c.
18153         (L_): New macro to apply literal modifier.
18154         (FNPFX): New macro to select str or wcs prefix.
18155         (CHAR): New macro to choose wchar_t or char.
18156         (STRM): New macro to choose printf for tested character type.
18158         (STRTO): New macro to choose appropriate string -> real function.
18159         (FNPFXS): Stringitized version of FNPFX.
18160         (STR): Support for above macro.
18161         (STRX): Likewise.
18163         (TEST): Update with above macros.
18164         (test): Likewise.
18165         (GEN_ONE_TEST): Likewise.
18166         (test_in_one_mode): Likewise.
18168         * stdlib/tst-strtod-round.c: New file.
18169         * wcsmbs/tst-wcstod-round.c: New file.
18171         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18172         (tst-wcstod-round): Add libm depencency for fesetround.
18174 2016-08-19  Zack Weinberg  <zackw@panix.com>
18176         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18178 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18180         [BZ #20477]
18181         * resolv/res_hconf.c (do_init): Use atomic access.
18182         * resolv/res_hconf.h: Add comments.
18183         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18184         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18187 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18189         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18190         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18191         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18192         Likewise.
18194 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18196         [BZ #16907]
18197         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18198         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18199         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18200         (__attribute__): Remove definition.
18202 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18204         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18205         Remove unused sqrtl declaration.
18207 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18209         * math/Makefile: (gen-libm-templates.stmp): New rule.
18210         (libm-calls): Move carg conj cimag and cabs into ...
18211         (gen-libm-calls): New variable.
18212         (generated): Inform Make objects from gen-libm-calls
18213         may be generated.
18215         * sysdeps/generic/math-type-macros.h: New file.
18216         * sysdeps/generic/math-type-macros-float.h: Likewise.
18217         * sysdeps/generic/math-type-macros-double.h: Likewise.
18218         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18219         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18220         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18222         * math/cabs.c: Refactor into
18223         * math/cabs_template.c: new file.
18224         * math/cabsf.c: Removed.
18225         * math/cabsl.c: Removed.
18226         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18227         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18229         * math/carg.c: Refactor into
18230         * math/carg_template.c: new file.
18231         * math/cargf.c: Removed.
18232         * math/cargl.c: Removed.
18233         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18234         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18236         * math/conj.c: Refactor into
18237         * math/conj_template.c: new file.
18238         * math/conjf.c: Removed.
18239         * math/conjl.c: Removed.
18240         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18241         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18243         * math/cimag.c: Refactor into
18244         * math/cimag_template.c: new file.
18245         * math/cimagf.c: Removed.
18246         * math/cimagl.c: Removed.
18247         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18248         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18250         * math/cimag.c: Refactor into
18251         * math/cimag_template.c: new file.
18252         * math/cimagf.c: Removed.
18253         * math/cimagl.c: Removed.
18254         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18255         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18257 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18259         Reduce time to expected nptl/tst-once5 failure.
18260         * nptl/tst-once5.cc (TIMEOUT): Define.
18262 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18264         [BZ #20452]
18265         Avoid additional copies of objects in libc.a in static libraries.
18266         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18267         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18268         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18269         rt-sysdep.
18270         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18271         Add nptl-sysdep.
18272         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18273         Add ptw-sysdep.
18274         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18275         rt-sysdep.
18276         * sysdeps/unix/sysv/linux/alpha/Makefile
18277         (libpthread-shared-only-routines): Add ptw-sysdep,
18278         ptw-sigprocmask, ptw-rt_sigaction.
18279         * sysdeps/unix/sysv/linux/ia64/Makefile
18280         (librt-shared-only-routines): Add rt-sysdep.
18281         * sysdeps/unix/sysv/linux/i386/Makefile
18282         (libpthread-shared-only-routines): Add libc-do-syscall.
18283         * sysdeps/unix/sysv/linux/microblaze/Makefile
18284         (libpthread-shared-only-routines): Add sysdep.
18285         * sysdeps/unix/sysv/linux/powerpc/Makefile
18286         (librt-shared-only-routines): Add rt-sysdep.
18287         (libpthread-shared-only-routines): Add sysdep.
18288         * sysdeps/unix/sysv/linux/s390/Makefile
18289         (librt-shared-only-routines): Add rt-sysdep.
18290         * sysdeps/unix/sysv/linux/sparc/Makefile
18291         (librt-shared-only-routines): Add rt-sysdep.
18292         (libpthread-shared-only-routines): Add sysdep.
18293         * sysdeps/unix/sysv/linux/tile/Makefile
18294         (libpthread-shared-only-routines): Likewise.
18296 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18298         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18299         Mask implicit bit out of unpacked value.
18300         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18304         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18306         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18308         * sysdeps/s390/fpu/fesetexcept.c: New file.
18310         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18311         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18312         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18314         * sysdeps/mips/fpu/fesetexcept.c: New file.
18316         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18318         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18320         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18322         * sysdeps/arm/fesetexcept.c: New file.
18324         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18326         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18328         * math/fesetexcept.c: New file.
18329         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18330         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18331         * math/fenv.h: Define
18332         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18333         <bits/libc-header-start.h> instead of including <features.h>.
18334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18335         declaration.
18336         * manual/arith.texi (fesetexcept): Document function.
18337         * math/Versions (fesetexcept): New libm symbol at version
18338         GLIBC_2.25.
18339         * math/Makefile (libm-support): Add fesetexcept.
18340         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18341         * math/test-fesetexcept.c: New file.
18342         * math/test-fesetexcept-traps.c: Likewise.
18343         * sysdeps/nacl/libm.abilist: Update.
18344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18345         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18346         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18347         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18348         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18349         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18350         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18352         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18353         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18354         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18355         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18357         Likewise.
18358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18359         Likewise.
18360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18361         Likewise.
18362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18363         Likewise.
18364         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18365         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18366         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18367         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18368         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18370         Likewise.
18371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18372         Likewise.
18373         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18374         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18377 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18379         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18380         New.
18381         (do_test): Apply default_stack_size_in_mb if not set.
18382         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18384 2016-08-15  Andreas Schwab  <schwab@suse.de>
18386         [BZ #20435]
18387         CVE-2016-6323
18388         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18389         as .cantunwind.
18391 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18393         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18394         comment from fraiseexcpt.c.
18396         * math/test-fexcept.c (feraiseexcept_exact): New function.
18397         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18398         (test_except): Likewise.
18400 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18402         [BZ #20455]
18403         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18404         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18405         to be restored.
18407         * math/test-fexcept-traps.c: New file.
18408         * math/test-fexcept.c: Likewise.
18409         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18410         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18411         macro.
18412         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18413         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18415 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18417         * include/atomic.h (atomic_fetch_and_relaxed,
18418         atomic_fetch_and_release, atomic_fetch_or_release,
18419         atomic_fetch_xor_release): New.
18421 2016-08-06  Christian Seiler  <christian@iwakd.de>
18423         [BZ #20444]
18424         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18425         MACH_PORT_NULL.
18427 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18429         * math/s_fdim.c: Avoid alias renamed.
18430         * math/s_fdimf.c: Likewise.
18431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18432         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18433         Add s_fdimf-vis3, s_fdim-vis3.
18434         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18435         (CFLAGS-s_fdim-vis3.c): Likewise.
18436         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18437         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18439 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18442         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18443         Remove s_fdimf-vis3, s_fdim-vis3.
18444         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18445         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18452         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18453         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18455 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18457         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18458         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18459         -Wa,-Av9a -mvis.
18461 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18463         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18464         LIT() to individual constants in simple expressions
18465         after splitting on spaces.
18466         (_apply_lit): Rename replaced version, and use it to
18467         apply to what appears to be a token.
18469         * math/libm-test.inc: Fix many, many issues with
18470         spacing.
18472 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18474         * math/math.h: Move comment about <bits/mathdef.h> definitions
18475         above inclusion of <bits/mathdef.h>.  Do not mention
18476         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18478 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18480         * include/atomic.h (atomic_exchange_relaxed): New.
18482 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18484         * math/e_scalb.c: Do not include <fenv.h>.
18485         (invalid_fn): Do calculation resulting in NaN instead of raising
18486         FE_INVALID and returning a NaN explicitly.
18487         * math/e_scalbf.c: Do not include <fenv.h>.
18488         (invalid_fn): Do calculation resulting in NaN instead of raising
18489         FE_INVALID and returning a NaN explicitly.
18490         * math/e_scalbl.c: Do not include <fenv.h>.
18491         (invalid_fn): Do calculation resulting in NaN instead of raising
18492         FE_INVALID and returning a NaN explicitly.
18494 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18496         * po/de.po: Updated from Translation Project.
18497         * po/fi.po: Likewise.
18498         * po/sv.po: Likewise.
18500 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18502         [BZ #20452]
18503         Use sysdep.o from libc.a in static libraries.
18504         * sysdeps/unix/sysv/linux/i386/Makefile
18505         (libpthread-shared-only-routines): Add sysdep.
18506         (librt-shared-only-routines): Likewise.
18508 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18510         * math/tgmath.h (nextdown): Define if
18511         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18512         (nextup): Likewise.
18514         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18515         macro.
18516         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18517         Document.
18518         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18519         Document macro.
18520         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18521         (exp10f): Likewise.
18522         (exp10l): Likewise.
18523         * math/bits/mathcalls.h (exp10): Declare if
18524         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18526         * manual/arith.texi (nextup): Fix typo in last change.
18528 2016-08-03  Zack Weinberg  <zackw@panix.com>
18530         [BZ #19239]
18531         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18532         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18533         define major, minor, and makedev to issue deprecation warnings on use.
18534         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18535         previously-activated deprecation warnings for these macros and prevent
18536         subsequent inclusions of this header from having any effect.
18537         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18538         including <sys/sysmacros.h>, and undefine it again afterward.
18540 2016-08-03  Zack Weinberg  <zackw@panix.com>
18542         * sysdeps/generic/sys/sysmacros.h: Delete file.
18543         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18544         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18545         * bits/sysmacros.h: ... here; this encoding is now the generic
18546         encoding.  Now defines only the following macros:
18547         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18548         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18549         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18551         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18552         bits/sysmacros.h and the above new macros to generate the
18553         public implementations of major, minor, and makedev.
18554         * misc/tst-makedev.c: New test.
18555         * include/sys/sysmacros.h: New wrapper.
18557         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18558         (routines): Add makedev.
18559         (tests): Add tst-makedev.
18560         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18561         gnu_dev_makedev.
18562         * posix/Makefile (headers): Remove sys/sysmacros.h.
18563         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18565         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18566         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18567         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18568         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18569         * sysdeps/unix/sysv/linux/arm/libc.abilist
18570         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18571         * sysdeps/unix/sysv/linux/i386/libc.abilist
18572         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18573         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18574         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18575         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18576         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18577         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18578         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18579         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18580         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18585         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18586         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18587         * sysdeps/unix/sysv/linux/sh/libc.abilist
18588         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18589         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18592         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18593         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18594         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18595         Add GLIBC_2.25.
18597         * include/features.h (__glibc_clang_prereq): New macro.
18598         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18599         (__attribute_deprecated_msg__): New macros.
18601 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18603         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18604         macro.
18605         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18606         * manual/arith.texi (issignaling): Document as ISO from TS
18607         18661-1:2014.
18608         (nextup): Likewise.
18609         (nextupf): Likewise.
18610         (nextupl): Likewise.
18611         (nextdown): Likewise.
18612         (nextdownf): Likewise.
18613         (nextdownl): Likewise.
18614         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18615         macro.
18616         * math/math.h: Define
18617         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18618         <bits/libc-header-start.h> instead of including <features.h>.
18619         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18620         [__USE_GNU].
18621         * math/bits/mathcalls.h (nextdown): Declare if
18622         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18623         (nextup): Likewise.
18624         (__issignaling): Likewise.
18626 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18628         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18629         check, and remove __glibc_likely hint
18630         from FP_INFINITE check.
18631         * s_csinhf.c (__csinhf): Likewise.
18633         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18634         hint from FP_INFINITE check.
18635         * s_csinhl.c (__csinhl): Likewise.
18637 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18639         * math/Makefile (libm-calls): Insert F placeholder into
18640         object names.  Move w_lgamma_compat* routines into
18641         (libm-compat-calls): New variable.
18642         (libm-compat-calls-ldouble-yes): New variable.
18643         (calls): Insert F placeholder.
18644         (generated): Redefine using new type-foreach macro call.
18645         (routines): Likewise.
18647         (types): New variable to hold a list of symbolic names
18648         for each type supported by the target machine.
18649         (libm-routines): Redefine using new types variable.
18650         (type-foreach): macro to replace fooF with the
18651         appropriately suffixed foo for each types.
18653         (type-ldouble-suffix): New variable.
18654         (type-ldouble-routines): Likewise.
18655         (type-ldouble-yes): Likewise.
18656         (type-double-suffix): Likewise.
18657         (type-double-routines): Likewise.
18658         (type-float-suffix): Likewise.
18659         (type-float-routines): Likewise.
18661         (dbl-only-routines): Remove.
18662         (long-c-yes): Likewise.
18663         (long-m-routines): Likewise.
18664         (long-m-support): Likewise.
18665         (long-m-yes): Likewise.
18666         (test-longdouble-yes): Likewise.
18668         (test-float.o): Simplify by increasing the scope of the
18669         recipe which adds libm-test.stmp to the vector types.
18670         (test-ifloat.o): Likewise.
18671         (test-float-finite.o): Likewise.
18672         (test-double.o): Likewise
18673         (test-idouble.o): Likewise.
18674         (test-double-finite.o): Likewise.
18675         (test-ldouble.o): Likewise
18676         (test-ildoubl.o): Likewise.
18677         (test-ldouble-finite.o): Likewise.
18679         (libm-tests): Redefine type tests using foreach and the
18680         list of types in types.
18682         (CPPFLAGS-test-ildoubl.c): Rename to
18683         (CPPFLAGS-test-ildouble.c): New variable
18685         * math/test-ildoubl.c: Rename to
18686         * math/test-ildouble.c: New file.
18688 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18690         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18691         Use fabsl instead of fabs.
18692         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18693         Likewise.
18694         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18695         Add long double suffix to constant to ensure proper
18696         promotion to long double.
18698 2016-08-03  Tom Tromey  <tom@tromey.com>
18700         [BZ #20311]
18701         * nptl_db/Makefile (headers): Add proc_service.h.
18702         * nptl_db/proc_service.h: Add include guard.  Use
18703         __BEGIN/__END_DECLS.
18704         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18705         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18706         arguments.
18709 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18711         [BZ #17730]
18712         Avoid using memalign for TCB allocations.
18713         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18714         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18715         Avoid alignment gap in the TLS_DTV_AT_TP case.
18716         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18717         determine the pointer to free.
18718         * nptl/tst-tls3-malloc.c: New test.
18719         * nptl/Makefile (tests): Add it.
18720         (tst-tls3-malloc): Link with libdl, libpthread.
18721         (LDFLAGS-tst-tls3-malloc): Set.
18722         (tst-tls3-malloc.out): Depend on DSO used in test.
18724 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18726         [BZ #17730]
18727         Avoid using memalign for TLS allocations.
18728         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18729         is_static member with to_free member.
18730         (union dtv): Use struct dtv_pointer.
18731         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18732         dtv_pointer instead of is_static.
18733         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18734         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18735         instead of val.
18736         (allocate_dtv_entry): New function.
18737         (allocate_and_init): Return struct dtv_pointer.  Call
18738         allocate_dtv_entry instead of __libc_memalign.
18739         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18740         instead of val.
18741         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18742         instead of is_static.  Adjust call to allocate_and_init.
18743         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18744         struct dtv_pointer instead of val.
18746 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18748         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18749         (MALLOC_ALIGN_MASK): Move ...
18750         * malloc/malloc-internal.h: ... to here.
18751         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18753 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18755         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18756         (UDP_ENCAP_GTP1U): Likewise.
18758         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18759         (PF_MAX): Update value.
18760         (AF_QIPCRTR): New macro.
18762 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18764         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18765         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18766         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18767         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18768         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18769         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18770         s_truncf-vis3, s_trunc-vis3.
18771         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18772         (CFLAGS-s_ceil-vis3.c): Likewise.
18773         (CFLAGS-s_floorf-vis3.c): Likewise.
18774         (CFLAGS-s_floor-vis3.c): Likewise.
18775         (CFLAGS-s_truncf-vis3.c): Likewise.
18776         (CFLAGS-s_trunc-vis3.c): Likewise.
18777         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18783         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18785         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18786         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18787         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18788         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18790 2016-08-02  David S. Miller  <davem@davemloft.net>
18792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18793         (__nearbyint_vis3): Don't check for sNaN before float register is
18794         loaded with the incoming argument.
18795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18796         (__nearbyintf_vis3): Likewise.
18797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18798         Likewise.
18799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18800         Likewise.
18802         * string/test-strncmp.c (do_test_limit): Make sure the test data
18803         stream is aligned as required for the type "CHAR".
18804         (do_test): Likewise.
18806 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18808         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18809         by beq instructions jumping to the end of the function.
18810         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18811         clobber list. Use "i" constraint instead of "X".
18812         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18813         of "X".
18815 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18817         * bits/libc-header-start.h: New file.
18818         * Makefile (headers): Add bits/libc-header-start.h.
18819         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18820         (__GLIBC_USE): New macro.
18821         * libio/stdio.h: Define
18822         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18823         <bits/libc-header-start.h> instead of including <features.h>.
18824         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18825         (open_memstream): Likewise.
18826         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18827         (__asprintf): Likewise.
18828         (asprintf): Likewise.
18829         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18830         (getdelim): Likewise.
18831         (getline): Likewise.
18832         * string/string.h: Define
18833         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18834         <bits/libc-header-start.h> instead of including <features.h>.
18835         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18836         (strndup): Likewise.
18837         * wcsmbs/wchar.h: Define
18838         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18839         <bits/libc-header-start.h> instead of including <features.h>.
18840         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18841         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18843 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18845         Support linking against compatibility symbols, for use in tests.
18846         * include/libc-symbols.h (symbol_version_reference): New macro.
18847         (symbol_version): Use it.
18848         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18849         (compat_symbol): Use compat_symbol_reference.
18850         (compat_symbol_1, compat_symbol_2): Remove.
18851         (compat_symbol_reference, compat_symbol_reference_1)
18852         (compat_symbol_reference_2): New macro.  Use
18853         symbol_version_reference.
18855 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18857         [BZ #19469]
18858         * malloc/Makefile (CPPFLAGS): Compile tests with
18859         -DTEST_NO_MALLOPT.
18860         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18862 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18864         [BZ #20033]
18865         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18866         finite version.
18867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18869         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18870         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18871         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18872         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18874         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18883         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18884         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18885         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18886         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18887         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18888         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18889         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18890         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18891         in zero power.
18893 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18895         [BZ #20370]
18896         * malloc/arena.c (get_free_list): Update comment.  Assert that
18897         arenas on the free list have no attached threads.
18898         (remove_from_free_list): New function.
18899         (reused_arena): Call it.
18901 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18903         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18904         when it is a NaN.
18905         [_IEEE_FP_INEXACT] Remove.
18906         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18907         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18908         when it is a NaN.
18909         [_IEEE_FP_INEXACT] Remove.
18910         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18911         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18912         when it is a NaN.
18913         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18914         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18915         when its absolute value is greater than 0x1.0p52.
18916         [_IEEE_FP_INEXACT] Remove.
18917         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18918         when its absolute value is greater than 0x1.0p23.
18919         [_IEEE_FP_INEXACT] Remove.
18921 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18923         * version.h (RELEASE): Set to "development"
18924         (VERSION): Set to 2.24.90.
18925         * NEWS: Add 2.25 section.
18927         * version.h (RELEASE): Set to "stable"
18928         (VERSION): Set to 2.24.
18929         * include/features.h (__GLIBC_MINOR__): Set to 24.
18931         * NEWS: Add 2.24 fixed bugs.
18932         * po/libc.pot: Regenerate.
18934 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18937         [$(subdir) = math] (libm-sysdep_routines): Remove.
18938         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18939         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18940         s_truncf-vis3, s_trunc-vis3.
18941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18943         file.
18944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18977         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18978         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18979         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18980         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18981         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18982         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18983         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18984         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18985         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18986         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18988 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18990         [BZ #20384]
18991         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18992         test-double-libmvec-sincos-avx-main.o,
18993         test-double-libmvec-sincos-avx2-main.o,
18994         test-double-libmvec-sincos-main.o,
18995         test-float-libmvec-sincosf-avx-main.o,
18996         test-float-libmvec-sincosf-avx2-main.o and
18997         test-float-libmvec-sincosf-main.o.
18998         test-float-libmvec-sincosf-avx512-main.o.
18999         ($(objpfx)test-double-libmvec-sincos): Also link with
19000         $(objpfx)test-double-libmvec-sincos-main.o.
19001         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19002         $(objpfx)test-double-libmvec-sincos-avx-main.o.
19003         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19004         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19005         ($(objpfx)test-float-libmvec-sincosf): Also link with
19006         $(objpfx)test-float-libmvec-sincosf-main.o.
19007         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19008         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19009         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19010         test-double-libmvec-sincos-avx512-main.o and
19011         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19012         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19013         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19014         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19015         (CFLAGS-test-double-libmvec-sincos.c): Removed.
19016         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19017         (CFLAGS-test-double-libmvec-sincos-main.c): New.
19018         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19019         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19020         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19021         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19022         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19023         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19024         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19025         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19026         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19027         -DREQUIRE_AVX2.
19028         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19029         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19030         -DREQUIRE_AVX512F.
19031         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19032         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19033         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19034         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19035         file.
19036         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19037         Likewise.
19038         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19039         Likewise.
19040         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19041         Likewise.
19042         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19043         Likewise.
19044         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19045         Likewise.
19046         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19047         Likewise.
19048         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19049         Likewise.
19051 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19053         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19055 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19057         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19058         and typo in a comment about AT_HWCAP entry.
19060 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19062         * sysdeps/aarch64/libm-test-ulps: Updated.
19064 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19066         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19067         of r13 as it is not restored in mvcle case.
19069 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19071         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19072         Rename "ret" to "__ret".
19073         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19074         inline_syscall5, inline_syscall6): Likewise.
19076 2016-07-19   Will Newton  <will.newton@gmail.com>
19078         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19079         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19080         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19081         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19082         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19084 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19086         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19087         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19088         -mfpmath=387 with $(rtld-CFLAGS).
19089         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19090         $(rtld-CFLAGS).
19092 2016-07-18   Ross Burton  <ross.burton@intel.com>
19093              Khem Raj  <raj.khem@gmail.com>
19095         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19096         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19097         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19098         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19099         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19100         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19101         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19102         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19103         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19104         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19105         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19106         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19107         R_METAG_TLS_DTPOFF): New.
19109 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19110             Matt Clay  <mclay@lycos.com>
19112         [BZ #20357]
19113         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19114         to call __mpsin/__mpcos and to negate values.
19115         * math/auto-libm-test-in: Add test.
19116         * math/auto-libm-test-out: Regenerate.
19118 2016-07-18  Zack Weinberg  <zackw@panix.com>
19120         * grp/Makefile: Don't install the internal header grp-merge.h.
19122 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19124         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19126 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19128         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19130 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19132         [BZ #15368]
19133         * sysdeps/unix/sysv/linux/nptl-signals.h
19134         (__nptl_clear_internal_signals): New function.
19135         (__libc_signal_block_all): Likewise.
19136         (__libc_signal_block_app): Likewise.
19137         (__libc_signal_restore_set): Likewise.
19138         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19139         implementation.
19140         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19141         the cached pid/tid value in pthread structure.
19143 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19145         [BZ #20347]
19146         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19148 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19150         [BZ #20348]
19151         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19152         preadv64, pwrite64 and pwritev64.
19154 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19156         [BZ #20350]
19157         * posix/tst-preadwrite.c: Renamed to ...
19158         * posix/tst-preadwrite-common.c: This.
19159         (PREAD): Removed.
19160         (PWRITE): Likewise.
19161         (STRINGIFY): Likewise.
19162         (STRINGIFY2): Likewise.
19163         (do_prepare): Make it static and remove function arguments.
19164         (do_test): Likewise.
19165         (PREPARE): Updated.
19166         (TEST_FUNCTION): New.
19167         (name): Make it static.
19168         (fd): Likewise.
19169         (do_prepare): Use create_temp_file.
19170         (do_test): Renamed to ...
19171         (do_test_with_offset): This.  Make it static and accept offset.
19172         Properly check return value of PWRITE and PREAD.  Return bytes
19173         read.  Don't close fd nor unlink name.
19174         * posix/tst-preadwrite.c: Rewrite.
19175         * posix/tst-preadwrite64.c: Likewise.
19177 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19179         [BZ #20309]
19180         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19181         -mtls-dialect=gnu2 works.
19182         * configure: Regenerated.
19183         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19184         (tests): Add tst-gnu2-tls1.
19185         (modules-names): Add tst-gnu2-tls1mod.
19186         ($(objpfx)tst-gnu2-tls1): New.
19187         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19188         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19189         * elf/tst-gnu2-tls1.c: New file.
19190         * elf/tst-gnu2-tls1mod.c: Likewise.
19191         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19192         bytes for push in the PLT entry to align the stack.
19194 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19196         [BZ #20349]
19197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19199 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19201         [BZ #18707]
19202         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19203         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19205 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19207         * sysdeps/unix/sysv/linux/sysdep.h
19208         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19209         guards.
19210         * misc/tst-preadvwritev-common.c: New file.
19211         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19212         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19213         a check for files larger than 2GB.
19215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19216         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19217         * sysdeps/unix/sysv/linux/pread.c
19218         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19219         __OFF_T_MATCHES_OFF64_T.
19220         * sysdeps/unix/sysv/linux/pread64.c
19221         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19222         * sysdeps/unix/sysv/linux/preadv.c
19223         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19224         * sysdeps/unix/sysv/linux/preadv64.c
19225         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19226         * sysdeps/unix/sysv/linux/pwrite.c
19227         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19228         * sysdeps/unix/sysv/linux/pwrite64.c
19229         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19230         * sysdeps/unix/sysv/linux/pwritev.c
19231         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19232         * sysdeps/unix/sysv/linux/pwritev64.c
19233         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19235 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19237         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19238         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19240 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19242         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19244 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19246         [BZ #20240]
19247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19248         (CFLAGS-s_modf-ppc32.c): New variable.
19249         (CFLAGS-s_modff-ppc32.c): Likewise.
19250         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19251         (CFLAGS-s_modf-ppc64.c): Likewise.
19252         (CFLAGS-s_modff-ppc64.c): Likewise.
19254 2016-07-07  Andreas Schwab  <schwab@suse.de>
19256         [BZ #20263]
19257         * nptl/tst-robust10.c: New test.
19258         * nptl/Makefile (tests): Add tst-robust10.
19260 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19262         [BZ #20263]
19263         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19265 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19267         * sysdeps/s390/linkmap.h (struct link_map_machine):
19268         Remove member gotplt and add member jmprel.
19269         * sysdeps/s390/s390-32/dl-machine.h
19270         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19271         instead of gotplt with &got[3].
19272         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19273         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19275 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19277         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19279 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19281         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19282         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19283         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19284         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19285         * libio/vtables.c (_IO_vtable_check)
19286         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19287         * libio/libioP.h (IO_set_accept_foreign_vtables)
19288         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19290 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19292         [BZ #20314]
19293         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19294         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19295         $(common-objpfx)cmath.
19296         ($(common-objpfx)cstdlib): New target.
19297         ($(common-objpfx)cmath): Likewise.
19299 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19301         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19303 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19305         [BZ #20327]
19306         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19307         are not part of the string.
19309 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19311         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19312         * nptl/tst-cancel4-common.h (fifoname): New variable.
19313         (fifofd): Likewise.
19314         (cl_fifo): New function.
19315         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19316         SIGINT.
19317         (tf_open): Add early cancel test.
19319 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19321         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19323 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19325         * sysdeps/generic/ldsodefs.h
19326         (dl_symbol_visibility_binds_local_p): New inline function.
19327         * elf/dl-addr.c (determine_info): Treat hidden and internal
19328         symbols as local.
19329         * elf/dl-lookup.c (do_lookup_x): Likewise.
19330         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19332 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19334         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19335         invalid exception for a sNaN input.
19336         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19337         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19338         (__nearbyint_vis3): Likewise
19339         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19340         (__nearbyintf_vis3): Likewise
19341         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19342         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19343         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19344         Likewise.
19345         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19346         Likewise.
19348 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19350         [BZ #20139]
19351         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19352         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19353         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19354         2.24 or above.
19355         (HAVE_AVX512_ASM_SUPPORT): Removed.
19356         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19357         * sysdeps/x86_64/configure: Regenerated.
19358         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19359         check unconditional.
19360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19361         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19362         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19363         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19364         Likewise.
19365         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19366         Likewise.
19367         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19368         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19369         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19370         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19371         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19372         Likewise.
19373         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19374         Likewise.
19375         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19376         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19378         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19379         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19380         Likewise.
19381         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19382         Likewise.
19383         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19384         Likewise.
19385         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19386         Likewise.
19387         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19388         Likewise.
19389         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19390         Likewise.
19391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19392         Likewise.
19393         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19394         Likewise.
19395         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19396         Likewise.
19397         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19398         Likewise.
19399         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19400         Likewise.
19402 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19404         [BZ #20024]
19405         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19406         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19407         of this implementation of vector function.
19408         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19409         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19410         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19411         Likewise.
19412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19414         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19415         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19416         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19417         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19418         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19419         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19420         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19421         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19422         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19423         for testing vector sincos with fixed ABI.
19424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19425         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19426         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19427         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19429         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19432         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19433         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19434         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19435         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19436         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19437         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19438         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19439         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19441 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19443         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19445 2016-06-30  Anton Blanchard  <anton@samba.org>
19447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19448         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19449         s_sinf-ppc64.
19450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19453         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19455 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19459         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19460         e_expf-ppc64.
19461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19463         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19464         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19466 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19468         [BZ #20277]
19469         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19470         when SHARED is defined.
19472 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19474         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19475         (index_arch_Prefer_ERMS): Likewise.
19476         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19477         __memcpy_erms for Prefer_ERMS.
19478         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19479         (__memmove_erms): Enabled for libc.a.
19480         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19481         __memmove_erms or Prefer_ERMS.
19482         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19483         __mempcpy_erms for Prefer_ERMS.
19484         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19485         __memset_erms for Prefer_ERMS.
19487 2016-06-30  Andreas Schwab  <schwab@suse.de>
19489         [BZ #20262]
19490         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19491         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19492         of memory.
19494 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19496         [BZ #18645]
19497         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19498         (test-extras): Add tst-cleanupx4aux.
19499         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19500         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19501         tst-cleanupx4aux.o.
19502         * nptl/tst-cleanupx4aux.c: New file.
19504 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19506         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19508 2016-06-29  Andreas Schwab  <schwab@suse.de>
19510         [BZ #20260]
19511         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19512         address before the beginning of the string as an integer to avoid
19513         array-bounds warning.
19515 2016-06-28  Richard Henderson  <rth@redhat.com>
19517         * elf/elf.h (EM_BPF): New.
19518         (EM_NUM): Update.
19519         (R_BPF_NONE, R_BPF_MAP_FD): New.
19521         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19522         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19523         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19524         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19525         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19526         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19527         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19528         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19529         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19530         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19531         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19532         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19533         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19534         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19535         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19536         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19537         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19538         (EM_NUM): Update.
19540 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19542         [BZ #18960]
19543         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19544         Set _nl_current_LC_CATEGORY_used to two instead of one.
19546 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19548         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19549         (do_test): ... this.
19550         (TEST_FUNCTION): New macro.
19551          Include test-skeleton.c.
19552         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19553         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19555 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19557         [BZ #15479]
19558         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19559         floating-point environment rather than just control word.
19560         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19561         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19562         floating-point environment, with "invalid" exceptions merged in,
19563         rather than just control word.
19564         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19565         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19566         "inexact" exceptions.
19568         [BZ #15479]
19569         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19570         floating-point environment rather than just control word.
19571         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19572         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19573         floating-point environment, with "invalid" exceptions merged in,
19574         rather than just control word.
19575         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19576         * math/libm-test.inc (floor_test_data): Do not allow spurious
19577         "inexact" exceptions.
19579         [BZ #15479]
19580         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19581         floating-point environment rather than just control word.
19582         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19583         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19584         floating-point environment, with "invalid" exceptions merged in,
19585         rather than just control word.
19586         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19587         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19588         "inexact" exceptions.
19590 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19592         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19593         __libc_vfork.
19594         (__vfork) [IS_IN (libc)]: Remove alias.
19595         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19596         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19597         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19599 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19601         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19602         of atomic_compare_and_exchange_bool_rel.
19603         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19604         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19605         catomic_compare_and_exchange_bool_rel): Remove.
19606         * sysdeps/aarch64/atomic-machine.h
19607         (atomic_compare_and_exchange_bool_rel): Likewise.
19608         * sysdeps/alpha/atomic-machine.h
19609         (atomic_compare_and_exchange_bool_rel): Likewise.
19610         * sysdeps/arm/atomic-machine.h
19611         (atomic_compare_and_exchange_bool_rel): Likewise.
19612         * sysdeps/mips/atomic-machine.h
19613         (atomic_compare_and_exchange_bool_rel): Likewise.
19614         * sysdeps/microblaze/atomic-machine.h
19615         ( __arch_compare_and_exchange_bool_8_rel,
19616         __arch_compare_and_exchange_bool_16_rel): Likewise.
19617         * sysdeps/powerpc/atomic-machine.h
19618         ( __arch_compare_and_exchange_bool_8_rel,
19619         __arch_compare_and_exchange_bool_16_rel): Likewise.
19620         * sysdeps/powerpc/powerpc32/atomic-machine.h
19621         ( __arch_compare_and_exchange_bool_32_rel,
19622         __arch_compare_and_exchange_bool_64_rel): Likewise.
19623         * sysdeps/powerpc/powerpc64/atomic-machine.h
19624         ( __arch_compare_and_exchange_bool_32_rel,
19625         __arch_compare_and_exchange_bool_64_rel): Likewise.
19626         * sysdeps/tile/atomic-machine.h
19627         (atomic_compare_and_exchange_bool_rel): Likewise.
19629 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19631         [BZ #20296]
19632         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19633         when either argument is a NaN.
19634         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19635         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19637         * math/libm-test.inc (snan_value_ld): New macro.
19638         (isgreater_test_data): Add sNaN tests.
19639         (isgreaterequal_test_data): Likewise.
19640         (isless_test_data): Likewise.
19641         (islessequal_test_data): Likewise.
19642         (islessgreater_test_data): Likewise.
19643         (isunordered_test_data): Likewise.
19644         (nextafter_test_data): Likewise.
19645         (nexttoward_test_data): Likewise.
19646         (remainder_test_data): Likewise.
19647         (remquo_test_data): Likewise.
19648         (significand_test_data): Likewise.
19649         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19651 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19653         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19654         environment macros are defined.
19655         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19657 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19659         [BZ #20191]
19660         Implement vtable verification in libio.
19661         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19662         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19663         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19664         _IO_new_file_init_internal instead of _IO_file_init.
19665         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19666         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19667         * libio/Makefile (routines): Add vtables.
19668         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19669         (_IO_init): Remove, not for internal use.
19670         (_IO_init_internal): Declare, internal replacement for _IO_init.
19671         (_IO_file_init): Remove, not for internal use.
19672         (_IO_new_file_init): Remove, not for internal use.
19673         (_IO_new_file_init_internal): Declare, internal replacement for
19674         _IO_new_file_init.
19675         (_IO_old_file_init): Remove, not for internal use.
19676         (_IO_old_file_init_internal): Declare, internal replacement for
19677         _IO_old_file_init.
19678         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19679         internal use.
19680         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19681         Declare.
19682         (libio_vtable): New macro.
19683         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19684         functions.
19685         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19686         _IO_new_file_init.
19687         (_IO_new_file_init): New externally visible wrapper which disables
19688         vtable verification.
19689         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19690         Define as vtables.
19691         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19692         (_IO_init): New externally visible wrapper which disables
19693         vtable verification.
19694         * libio/iofdopen.c (_IO_new_fdopen): Call
19695         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19696         comment.
19697         * libio/iofopen.c (__fopen_internal): Call
19698         _IO_new_file_init_internal instead of _IO_file_init.
19699         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19700         Define as vtables.
19701         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19702         _IO_new_file_init_internal instead of _IO_file_init.
19703         * libio/iopopen.c (_IO_new_popen): Likewise.
19704         (_IO_proc_jumps): Define as vtable.
19705         * libio/iovdprintf.c (_IO_vdprintf): Call
19706         _IO_new_file_init_internal instead of _IO_file_init.
19707         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19708         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19709         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19710         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19711         _IO_old_file_init.
19712         (_IO_old_file_init): New externally visible wrapper which disables
19713         vtable verification.
19714         (_IO_old_file_jumps): Define as vtable.
19715         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19716         _IO_old_file_init_internal instead of _IO_old_file_init.
19717         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19718         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19719         (_IO_old_proc_jumps): Define as vtable.
19720         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19721         Define as vtables.
19722         * libio/vtables.c: New file.
19723         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19724         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19725         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19726         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19727         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19728         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19729         instead of _IO_init.
19731 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19733         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19735 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19737         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19738         potentially unused.
19740 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19742         * test-skeleton.c (write_message): New function.
19743         * malloc/tst-mallocfork2.c (write_message): Remove.
19744         * debug/tst-longjmp_chk2.c (write_indented): New function.
19745         (write_message): Remove.
19746         (stackoverflow_handler): Call write_indented.
19748 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19750         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19751         "inexact" exceptions after fnstenv.
19752         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19753         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19754         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19756 2015-06-22  Zack Weinberg  <zackw@panix.com>
19758         * sysdeps/generic/bits/hwcap.h: Moved to ...
19759         * bits/hwcap.h: Here.
19761 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19763         * sysdeps/aarch64/memcpy.S (memcpy):
19764         Further tuning for performance.
19766 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19768         [BZ #20284]
19769         * malloc/arena.c (reused_arena): Do not return NULL if we start
19770         out with a non-corrupted arena.
19772 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19774         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19775         * misc/tst-preadvwritev.c: New file.
19776         * misc/tst-preadvwritev64.c: Likewise.
19777         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19778         usage.
19779         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19780         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19781         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19782         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19784 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19786         [BZ #19654]
19787         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19788         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19789         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19790         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19791         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19792         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19793         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19794         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19795         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19796         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19797         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19798         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19799         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19800         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19801         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19802         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19803         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19804         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19805         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19806         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19807         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19808         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19809         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19810         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19811         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19812         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19814 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19816         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19817         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19819 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19821         * sysdeps/aarch64/memcpy.S (memcpy):
19822         Rewrite of optimized memcpy and memmove.
19823         * sysdeps/aarch64/memmove.S (memmove): Remove
19824         memmove code (merged into memcpy.S).
19826 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19828         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19829         * sysdeps/generic/dl-dtv.h: New file.
19830         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19831         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19832         (dtv_t): Remove.
19833         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19834         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19835         (dtv_t): Remove.
19836         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19837         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19838         (dtv_t): Remove.
19839         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19840         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19841         (dtv_t): Remove.
19842         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19843         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19844         (dtv_t): Remove.
19845         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19846         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19847         (dtv_t): Remove.
19848         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19849         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19850         (dtv_t): Remove.
19851         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19852         (dtv_t): Remove.
19853         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19854         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19855         (dtv_t): Remove.
19856         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19857         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19858         (dtv_t): Remove.
19859         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19860         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19861         (dtv_t): Remove.
19862         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19863         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19864         (dtv_t): Remove.
19865         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19866         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19867         (dtv_t): Remove.
19868         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19869         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19870         (dtv_t): Remove.
19871         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19872         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19873         (dtv_t): Remove.
19874         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19875         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19876         (dtv_t): Remove.
19878 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19880         Revert symbol poisoning of  __malloc_initialize_hook.
19881         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19882         poisoning.
19883         * malloc/Makefile: Remove un-poisoning.
19884         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19885         instead of old__malloc_initialize_hook.
19886         * malloc/malloc-hooks.h: Likewise.
19887         * malloc/malloc.c: Likewise.
19888         * malloc/mcheck-init.c: Likewise.
19890 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19892         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19894 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19896         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19897         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19898         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19899         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19901 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19903         * NEWS: Mention addition of nextup and nextdown.
19904         * manual/arith.texi: Document nextup and nextdown.
19905         * manual/libm-err-tab.pl: Add nextup and nextdown.
19906         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19907         * math/Versions (libm): Add GLIBC_2.24.
19908         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19909         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19910         Add new test.
19911         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19912         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19913         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19914         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19915         (nextup_test_data): Likewise.
19916         (nextdown_test_data): Likewise.
19917         * math/s_nextdown.c: New file.
19918         * math/s_nextdownf.c: Likewise.
19919         * math/s_nextdownl.c: Likewise.
19920         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19921         F(nextup): New function.
19922         F(nextdown): Likewise.
19923         * math/tgmath.h: Add nextup and nextdown.
19924         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19925         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19928         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19929         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19930         Add nextup and nextdown.
19931         (CFLAGS-nldbl-nextup.c): New variable.
19932         (CFLAGS-nldbl-nextdown.c): Likewise.
19933         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19934         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19935         * sysdeps/nacl/libm.abilist: Update.
19936         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19937         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19938         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19939         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19940         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19941         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19942         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19943         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19944         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19945         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19946         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19947         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19950         Likewise.
19951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19953         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19954         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19955         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19956         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19957         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19960         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19961         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19962         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19963         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19965 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19967         * manual/pattern.texi: Fix typos & grammar errors.
19969 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19971         * manual/search.texi: Fix typos & grammar errors.
19973 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19975         * manual/message.texi: Fix typos & grammar errors.
19977 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19979         * manual/contrib.texi: Fix spelling typos.
19980         * manual/crypt.texi: Likewise.
19981         * manual/filesys.texi: Likewise.
19982         * manual/locale.texi: Likewise.
19983         * manual/message.texi: Likewise.
19984         * manual/nss.texi: Likewise.
19985         * manual/string.texi: Likewise.
19987 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19989         * manual/locale.texi: Fix typos & grammar errors.
19991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19993         * manual/charset.texi: Fix typos & grammar errors.
19995 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19997         * manual/string.texi: Fix typos.
19999 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20001         * manual/ctype.texi: Fix typos.
20003 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20005         * manual/memory.texi: Fix various typos & grammar errors.
20007 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
20009         [BZ #20255]
20010         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
20011         * math/libm-test.inc (fdim_test_data): Add another test.
20013         [BZ #6796]
20014         [BZ #20255]
20015         [BZ #20256]
20016         * math/s_fdim.c: Include <math_private.h>.
20017         (__fdim): Use math_narrow_eval on result.
20018         * math/s_fdimf.c: Include <math_private.h>.
20019         (__fdimf): Use math_narrow_eval on result.
20020         * sysdeps/i386/fpu/s_fdim.S: Remove file.
20021         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20022         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20023         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20024         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20025         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20026         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20027         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20028         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20029         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20030         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20031         * math/libm-test.inc (fdim_test_data): Expect errno setting on
20032         overflow.  Add sNaN tests.
20034         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20035         fpclassify.
20036         * math/s_fdimf.c (__fdimf): Likewise.
20037         * math/s_fdiml.c (__fdiml): Likewise.
20039 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20041         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20042         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20044         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20045         ifunc'ed strcasecmp/strncasecmp.
20046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20047         [EALIGN]: Removed.
20048         [END]: Likewise.
20049         [__strcasecmp]: Define instead of the above to control symbol name.
20050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20051         for __strcasecmp_power8.
20052         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20053         for __strncasecmp_power8.
20054         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20055         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20056         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20057         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20058         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20059         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20061 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20063         [BZ #20252]
20064         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20065         arguments when second argument is a NaN.
20066         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20067         qNaN tests.
20069         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20070         (conj_test_data): Likewise.
20071         (copysign_test_data): Likewise.
20072         (creal_test_data): Likewise.
20073         (fma_test_data): Likewise.
20074         (fmod_test_data): Likewise.
20076         [BZ #20250]
20077         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20078         itself.
20079         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20080         zero input to itself.
20081         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20082         Likewise.
20083         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20084         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20085         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20086         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20087         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20089 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20091         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20092         * nptl/tst-cancel4-common.c: New file.
20093         * nptl/tst-cancel4-common.h: Likewise.
20094         * nptl/tst-cancel4.c: Move common definitions to
20095         tst-cancel4-common.{c,h} file.
20096         * nptl/tst-cancel4_1.c: New test.
20097         * nptl/tst-cancel4_2.c: New test.
20099 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20101         [BZ #20248]
20102         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20103         (write_message): New function.
20104         (stackoverflow_handler): Call it instead of printf, to avoid
20105         excessive stack usage by printf.
20106         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20108 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20110         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20111         (prio_inherit_missing): Remove define.
20112         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20113         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20114         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20115         Likewise.
20116         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20117         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20118         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20119         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20120         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20121         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20123 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20125         [BZ #19670]
20126         [BZ #19672]
20128         * io/test-lfs.c (do_prepare): Use xmalloc.
20129         * io/tst-fcntl.c (do_prepare): Likewise.
20130         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20131         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20132         * login/tst-utmp.c (do_prepare): Likewise.
20133         * posix/tst-exec.c (do_prepare): Likewise.
20134         * posix/tst-pathconf.c (prepare): Likewise.
20135         * posix/tst-spawn.c (do_prepare): Likewise.
20136         * posix/tst-truncate.c (do_prepare): Likewise.
20137         * rt/tst-aio.c (do_prepare): Likewise.
20138         * rt/tst-aio64.c (do_prepare): Likewise.
20140 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20142         [BZ #20237]
20143         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20144         (get*ent): Set entidx to NULL during initialization.  If entidx is
20145         NULL, start iteration from the beginning.
20147 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20149         * malloc/malloc.c (musable): Return correct size for dumped fake
20150         mmapped chunk.
20152 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20154         [BZ #20222]
20155         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20156         (_IO_cookie_write): Likewise.
20157         (_IO_cookie_seek): Likewise.
20158         (_IO_cookie_close): Likewise.
20159         (_IO_old_cookie_seek): Likewise.
20160         (set_callbacks): New function.
20161         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20163 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20165         * locale/programs/localedef.c (oldstyle_tables): Remove.
20166         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20168 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20170         [BZ #20240]
20171         * math/Makefile (CFLAGS-s_modf.c): New variable.
20172         (CFLAGS-s_modff.c): Likewise.
20173         (CFLAGS-s_modfl.c): Likewise.
20174         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20176 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20178         [BZ #20215]
20179         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20180         [!__GNUC_PREREQ (3,2)]: Likewise.
20182 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20184         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20185         (msghdr.msg_controllen): Likewise.
20186         (cmsghdr.cmsg_len): Likewise.
20187         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20188         ptw-oldsendmsg.
20189         (CFLAGS-oldrecvmsg.c): Remove rule.
20190         (CFLAGS-oldsendmsg.c): Likewise.
20191         (CFLAGS-recvmsg.c): Add rule.
20192         (CFLAGS-sendmsg.c): Likewise.
20193         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20194         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20195         (CFLAGS-recvmsg.c): Remove rule.
20196         (CFLAGS-sendmsg.c): Likewise.
20197         (CFLAGS-oldrecvmsg.c): Likewise.
20198         (CFLAGS-oldsendmsg.c): Likewise.
20199         (CFLAGS-recvmmsg.c): Likewise.
20200         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20201         to kernel defined interfaces.
20202         (msghdr.msg_controllen): Likewise.
20203         (cmsghdr.cmsg_len): Likewise.
20204         (msghdr.__glibc_reserved1): Remove member.
20205         (msghdr.__glibc_reserved2): Likewise.
20206         (cmsghdr.__glibc_reserved1): Likewise.
20207         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20208         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20209         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20210         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20211         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20212         version.
20213         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20214         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20215         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20216         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20217         Remove recvmsg and sendmsg.
20218         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20219         Likewise.
20220         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20221         Likewise.
20222         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20223         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20224         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20225         Likewise.
20226         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20227         Likewise.
20228         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20229         [libc] (GLIBC_2.24): Likewise.
20230         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20231         Likewise.
20232         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20233         Likewise.
20234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20235         [libc] (GLIBC_2.24): Likewise.
20236         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20237         Likewise.
20238         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20239         Likewise.
20240         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20241         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20242         Likewise.
20243         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20246         Likewise.
20247         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20248         Likewise.
20249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20250         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20251         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20253         version for {recv,send,recm,sendm}msg.
20254         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20255         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20257         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20259         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20260         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20267         Likewise.
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20269         Likewise.
20270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20272         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20273         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20274         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20275         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20276         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20280         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20284 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20286         [BZ #19564]
20287         Remove __malloc_initialize_hook from the API.
20288         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20289         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20290         #pragma GCC poison.
20291         * malloc/malloc-hooks.h: New file.
20292         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20293         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20294         (old__malloc_initialize_hook): Rename from
20295         __malloc_initialize_hook to evade poisoning.  Turn into compat
20296         symbol.
20297         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20298         __malloc_initialize_hook.
20299         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20300         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20301         * manual/memory.texi (Hooks for Malloc): Remove
20302         __malloc_initialize_hook.  Adjust hook example.
20304 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20306         [BZ #20235]
20307         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20308         itself.
20309         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20310         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20312         [BZ #20234]
20313         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20314         infinity or NaN input to itself.
20316         [BZ #20233]
20317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20318         to itself.
20320         [BZ #20232]
20321         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20322         itself.
20324 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20326         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20327         __libc_start_main via GOT.
20329 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20331         * sysdeps/x86_64/memcopy.h: New file.
20332         * sysdeps/x86_64/wordcopy.c: Likewise.
20334 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20336         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20337         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20338         <cstdlib>.
20339         (optimization_barrier): New.
20340         (do_test): Use it.  Call quick_exit in the global namespace.
20341         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20342         instead of <cstdlib>, <thread>.
20343         (optimization_barrier): New.
20344         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20345         Call quick_exit in the global namespace.
20346         (do_test): Call optimization_barrier.  Use pthread_create,
20347         pthread_join instead of std::thread.
20349 2016-06-09  Andreas Schwab  <schwab@suse.de>
20351         [BZ #19755]
20352         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20353         new entries in auto-propagate mode.
20354         * nscd/grpcache.c (cache_addgr): Likewise.
20356 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20358         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20359         New functions.
20360         (add_temp_file): Use them.
20362 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20364         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20366 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20368         [BZ #20229]
20369         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20370         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20371         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20373         [BZ #20228]
20374         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20375         itself.
20376         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20377         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20379         [BZ #20227]
20380         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20381         itself.
20382         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20383         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20384         * math/libm-test.inc (log_test_data): Add sNaN tests.
20386         [BZ #20226]
20387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20388         itself.
20389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20390         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20391         (exp10_test_data): Likewise.
20392         (expm1_test_data): Likewise.
20394         [BZ #20225]
20395         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20396         itself.
20397         * math/s_ldexpf.c (__ldexpf): Likewise.
20398         * math/s_ldexpl.c (__ldexpl): Likewise.
20399         * math/w_scalbln.c (__w_scalbln): Likewise.
20400         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20401         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20402         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20403         (scalbln_test_data): Likewise.
20405         [BZ #20224]
20406         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20407         argument to itself.
20408         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20410 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20412         [BZ #19776]
20413         * sysdeps/x86_64/memcpy.S: Make it dummy.
20414         * sysdeps/x86_64/mempcpy.S: Likewise.
20415         * sysdeps/x86_64/memmove.S: New file.
20416         * sysdeps/x86_64/memmove_chk.S: Likewise.
20417         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20418         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20419         * sysdeps/x86_64/memmove.c: Removed.
20420         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20421         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20422         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20423         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20424         Likewise.
20425         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20426         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20428         memcpy-sse2-unaligned, memmove-avx-unaligned,
20429         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20431         (__libc_ifunc_impl_list): Replace
20432         __memmove_chk_avx512_unaligned_2 with
20433         __memmove_chk_avx512_unaligned.  Remove
20434         __memmove_chk_avx_unaligned_2.  Replace
20435         __memmove_chk_sse2_unaligned_2 with
20436         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20437         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20438         with __memmove_avx512_unaligned.  Replace
20439         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20440         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20441         with __memcpy_chk_avx512_unaligned.  Remove
20442         __memcpy_chk_avx_unaligned_2.  Replace
20443         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20444         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20445         Replace __memcpy_avx512_unaligned_2 with
20446         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20447         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20448         with __mempcpy_chk_avx512_unaligned.  Remove
20449         __mempcpy_chk_avx_unaligned_2.  Replace
20450         __mempcpy_chk_sse2_unaligned_2 with
20451         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20452         Replace __mempcpy_avx512_unaligned_2 with
20453         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20454         Replace __mempcpy_sse2_unaligned_2 with
20455         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20456         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20457         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20458         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20459         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20460         (ENTRY): Removed.
20461         (END): Likewise.
20462         (ENTRY_CHK): Likewise.
20463         (libc_hidden_builtin_def): Likewise.
20464         Don't include ../memcpy.S.
20465         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20466         __memcpy_chk_avx512_unaligned_erms and
20467         __memcpy_chk_avx512_unaligned.  Use
20468         __memcpy_chk_avx_unaligned_erms and
20469         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20470         Default to __memcpy_chk_sse2_unaligned.
20471         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20472         Change function suffix from unaligned_2 to unaligned.
20473         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20474         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20475         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20476         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20477         (ENTRY): Removed.
20478         (END): Likewise.
20479         (ENTRY_CHK): Likewise.
20480         (libc_hidden_builtin_def): Likewise.
20481         Don't include ../mempcpy.S.
20482         (mempcpy): New.  Add a weak alias.
20483         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20484         __mempcpy_chk_avx512_unaligned_erms and
20485         __mempcpy_chk_avx512_unaligned.  Use
20486         __mempcpy_chk_avx_unaligned_erms and
20487         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20488         Default to __mempcpy_chk_sse2_unaligned.
20490 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20492         [BZ #19881]
20493         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20494         into ...
20495         * sysdeps/x86_64/memset.S: This.
20496         (__bzero): Removed.
20497         (__memset_tail): Likewise.
20498         (__memset_chk): Likewise.
20499         (memset): Likewise.
20500         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20501         defined.
20502         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20503         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20504         (__memset_zero_constant_len_parameter): Check SHARED instead of
20505         PIC.
20506         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20507         memset-avx2 and memset-sse2-unaligned-erms.
20508         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20509         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20510         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20511         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20512         (__bzero): Enabled.
20513         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20514         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20515         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20516         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20517         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20518         (memset): Removed.
20519         (__memset_chk): Likewise.
20520         (MEMSET_SYMBOL): New.
20521         (libc_hidden_builtin_def): Replace __memset_sse2 with
20522         __memset_sse2_unaligned.
20523         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20524         __memset_chk_sse2 and __memset_chk_avx2 with
20525         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20526         Use __memset_chk_sse2_unaligned_erms or
20527         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20528         __memset_chk_avx512_unaligned_erms and
20529         __memset_chk_avx512_unaligned.
20531 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20533         * math/gen-auto-libm-test.c (fp_format_desc): remove
20534         suffix member.
20535         (output_generic_value): Remove usage of suffix member,
20536         and the resulting unuse of the fp_format argument.
20537         (output_for_one_input_case): Remove unused fp_format
20538         parameter.
20540         * math/auto-libm-test-out: Regenerate.
20542         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20543         usage with TEST_COND_ibm128.
20544         (TEST_COND_flt_32): Remove.
20545         (TEST_COND_dbl_64): Remove.
20546         (TEST_COND_ldbl_96_intel): Remove.
20547         (TEST_COND_ldbl_96_m68k): Remove.
20548         (TEST_COND_ldbl_128): Remove.
20550 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20552         * auto-libm-test-in:
20553         Replace flt-32 usage with binary32.
20554         Replace dbl-64 usage with binary64.
20555         Replace ldbl-intel-96 usage with intel96.
20556         Replace ldbl-m68k-96 usage with m68k96.
20557         Replace ldbl-128ibm usage with ibm128.
20558         Replace ldbl-128 usage with binary128.
20560         * auto-libm-test-out: Regenerate.
20562 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20564         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20565         (parse_ulps): Dynamically generate type name matching
20566         string from all_floats.
20567         (get_ulps): Generate the ulps as an array instead.
20568         (output_ulps): Dynamically compose the type based
20569         on the number of supported formats, and print
20570         the indices as type specific helper macros.
20572         * math/libm-test.inc: Remove comment about CHOOSE.
20573         (ulp_data): Generate the type in libm-test-ulps.h.
20574         (ULP_IDX): New macro.
20575         (find_ulps): Update usage of max_ulp.
20577         * math/test-double-vlen2.h (CHOOSE): Remove.
20578         * math/test-double-vlen4.h (CHOOSE): Likewise.
20579         * math/test-double-vlen8.h (CHOOSE): Likewise.
20580         * math/test-float.c (CHOOSE): Likewise.
20581         * math/test-float-finite.c (CHOOSE): Likewise.
20582         * math/test-double.c (CHOOSE): Likewise.
20583         * math/test-double-finite.c (CHOOSE): Likewise.
20584         * math/test-idouble.c (CHOOSE): Likewise.
20585         * math/test-ifloat.c (CHOOSE): Likewise.
20586         * math/test-ildoubl.c (CHOOSE): Likewise.
20587         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20588         * math/test-ldouble.c (CHOOSE): Likewise.
20590         * math/test-float.h (TEST_FLOAT): Remove.
20591         * math/test-double.h (TEST_DOUBLE): Likewise.
20592         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20594 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20596         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20597         (parse_args): Strip C suffix from floating point literals
20598         typed with 'f' and wrap them with LIT().
20600         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20601         (test_ff_f_data_nexttoward): Rename to
20602         (test_fj_f_data): New struct.
20603         (nexttoward_test_data): Relabel tests as
20604         TEST_fj_f instead of TEST_ff_f.
20606 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20608         Emacs bug 23726.
20609         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20610         (__libc_realloc): Correct size computation for dumped fake mmapped
20611         chunks.
20613 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20615         [BZ #20219]
20616         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20617         to itself.
20618         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20620         [BZ #20218]
20621         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20622         to itself.
20623         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20625 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20627         [BZ #20195]
20628         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20629         check to ...
20630         (init_cpu_features): Here.
20632 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20634         [BZ #20214]
20635         * sysdeps/unix/sysv/linux/bits/in.h
20636         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20637          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20638         Define to 1.
20639         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20640          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20641         Define to 0.
20642         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20643         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20645 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20647         [BZ #20198]
20648         * stdlib/Makefile (tests): Add tst-quick_exit, and
20649         tst-thread-quick_exit.
20650         [ifeq ($(have-cxx-thread_local),yes)]
20651         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20652         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20653         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20654         (LDLIBS-tst-thread-quick_exit): Likewise.
20655         [ifneq ($(have-cxx-thread_local),yes)]
20656         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20657         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20658         If run_dtors is true call __call_tls_dtors.
20659         (exit): Call __run_exit_handlers with run_dtors set to true.
20660         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20661         definition.
20662         * stdlib/quick_exit.c (quick_exit): Remove function.
20663         (__new_quick_exit): New function.
20664         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20665         function.
20666         * stdlib/tst-quick_exit.cc: New file.
20667         * stdlib/tst-thread-quick_exit.cc: New file.
20668         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20669         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20670         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20671         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20672         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20673         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20674         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20675         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20676         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20677         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20678         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20679         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20680         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20681         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20682         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20683         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20688         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20689         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20690         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20691         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20692         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20695         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20697         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20699 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20701         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20702         a typo in comments.
20704 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20706         [BZ #20213]
20707         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20708         argument to itself.
20709         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20711 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20713         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20714         required flags.
20715         (CFLAGS-pwritev64.c): Likewise.
20716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20717         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20718         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20719         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20720         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20721         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20722         syscall from auto-generation.
20723         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20724         [WORDSIZE == 64] (pwritev64): Remove macro.
20725         [!PWRITEV] (PWRITEV): Likewise.
20726         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20727         [!PWRITEV] (PWRITE): Likewise.
20728         [!PWRITEV] (OFF_T): Likewise.
20729         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20730         (LO_HI_LONG): Remove macro.
20731         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20732         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20733         (PWRITEV): Remove macro.
20734         (PWRITEV_REPLACEMENTE): Likewise.
20735         (PWRITE): Likewise.
20736         (OFF_T): Likewise.
20737         (pwritev64): New function.
20738         * nptl/tst-cancel4.c (tf_writev): Add test.
20740         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20741         required flags.
20742         (CFLAGS-preadv64.c): Likewise.
20743         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20744         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20745         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20746         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20747         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20748         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20749         syscall from auto-generation.
20750         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20751         [WORDSIZE == 64] (preadv64): Remove macro.
20752         [!PREADV] (PREADV): Likewise.
20753         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20754         [!PREADV] (PREAD): Likewise.
20755         [!PREADV] (OFF_T): Likewise.
20756         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20757         (LO_HI_LONG): Remove macro.
20758         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20759         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20760         (PREADV): Remove macro.
20761         (PREADV_REPLACEMENTE): Likewise.
20762         (PREAD): Likewise.
20763         (OFF_T): Likewise.
20764         (preadv64): New function.
20765         * nptl/tst-cancel4.c (tf_preadv): Add test.
20767 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20769         [BZ #20212]
20770         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20771         argument to itself.
20772         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20774 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20776         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20777         New symbol defined as libc_hidden_def.
20778         (strcasestr): Became a weak alias to __strcasestr.
20779         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20780         according to multi-arch support.  Move __stpncpy hidden
20781         definition from here to...
20782         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20783         symbol stpncpy.
20784         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20785         libc_hidden_builtin_def.
20786         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20787         memset symbol to use when multi-arch support is available.
20789 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20791         * dlfcn/tst-rec-dlopen.c: Include string.h.
20793 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20795         * manual/install.texi: Remove mention of --without-tls
20796         * INSTALL: Regenerate.
20798 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20800         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20801         Remove.
20802         (call_function, interposed_malloc_called): New variables.
20803         (malloc): New function.
20804         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20805         and clear call_function as needed.
20807 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20809         * include/wchar.h (__wmemset): Use __typeof.
20811 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20813         * include/wchar.h (__wmemset): Declare function without typeof.
20815 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20817         [BZ #20205]
20818         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20819         exponent when incrementing negative subnormal with low mantissa
20820         word zero.
20821         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20822         Add another test.
20824 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20826         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20827         __wmemset instead of wmemset.
20829 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20831         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20832         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20833         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20834         __USE_KERNEL_IPV6_DEFS to 0.
20835         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20836         Update comment.
20838 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20840         [BZ #19861]
20841         Do not use IFUNC resolver with potentially unrelocated symbol.
20842         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20843         (DEFINE_FORK): Remove macro and inline definition.
20844         (fork_alias): Renamed from fork_ifunc.
20845         (__fork_alias): Renamed from __fork_ifunc.
20847 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20849         [BZ 19653]
20850         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20851         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20853 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20855         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20856         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20857         i386-linux-gnu).
20858         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20859         Set to no.
20860         * sysdeps/mach/hurd/configure: Refresh.
20862 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20864         [BZ #20178]
20865         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20866         on failure instead of exit.
20868 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20870         [BZ #3629]
20871         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20872         of POSIX.1-2008.
20874 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20876         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20877           Use PLT entry for calling _hurd_self_sigstate.
20879 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20881         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20882         available logical processors with SMT level type sharing L2
20883         cache for Intel processors.
20885 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20887         [BZ #20160]
20888         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20889         argument to itself before returning the result.
20890         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20891         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20892         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20893         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20894         Likewise.
20895         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20896         Likewise.
20897         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20898         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20899         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20900         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20901         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20902         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20904         [BZ #20160]
20905         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20906         argument to itself before returning the result.
20907         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20908         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20909         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20910         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20911         Likewise.
20912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20913         Likewise.
20914         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20915         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20916         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20917         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20918         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20919         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20921 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20923         * libm-test.inc: Replace usage of M_El with
20924         (lit_e): New macro.
20926 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20928         * libm-test.inc: Replace usage of M_PI_4l with
20929         (lit_pi_4_d): New macro.
20931 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20933         * libm-test.inc: Replace usage of M_PIl with
20934         (lit_pi): New macro.
20936 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20938         * libm-test.inc: Replace usage of M_PI2l with
20939         (lit_pi_2_d): New macro.
20941         * math/test-double.h (LITM): New macro.
20942         * math/test-float.h (LITM): Likewise.
20943         * math/test-ldouble.h (LITM): Likewise.
20945 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20947         * libm-test.inc (M_PI_34l): Rename to
20948         (lit_pi_3_m_4_d): New Macro.
20949         (M_PI_34_LOG10El): Rename to
20950         (lit_pi_3_m_4_ln10_m_d): New Macro.
20951         (M_PI2_LOG10El): Rename to
20952         (lit_pi_2_ln10_m_d):  New Macro.
20953         (M_PI4_LOG10El): Rename to
20954         (lit_pi_4_ln10_m_d):  New Macro.
20955         (M_PI_LOG10El): Rename to
20956         (lit_pi_ln10_d):  New Macro.
20958 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20960         [BZ #20157]
20961         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20962         determine whether to negate low half if [_ARCH_PPCGR], and integer
20963         comparison otherwise.
20964         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20965         determine whether to negate low half.
20967         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20968         (NO_TEST_INLINE_DOUBLE): Likewise.
20969         (TEST_COND_x86_64): Likewise.
20970         (TEST_COND_x86): Likewise.
20971         (M_PI_6l): Likewise.
20973 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20975         * math/libm-test.inc:
20976         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20977         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20978         (TEST_LDOUBLE): Update usage to evaluate as true if
20979         the guarded tests match the property being tested.
20980         (LDBL_MAX_EXP): Change to MAX_EXP.
20981         (LDBL_MIN_EXP): Change to MIN_EXP.
20982         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20983         nexttoward tests.
20985 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20987         * math/libm-test.inc:
20988         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20989         (TYPE_MIN): Likewise.
20990         (TYPE_TRUE_MIN): Likewise.
20991         (TYPE_MAX): Likewise.
20992         (MIN_EXP): Likewise.
20993         (MAX_EXP): Likewise.
20994         (MANT_DIG): Likewise.
20996         (FSTR_MAX): New macro.
20997         (__CONCATX): Likewise.
20998         (QTYPE_STR): Likewise.
20999         (TEST_COND_binary32): Likewise.
21000         (TEST_COND_binary64): Likewise.
21001         (TEST_COND_binary128): Likewise.
21002         (TEST_COND_ibm128): Likewise.
21003         (TEST_COND_intel96): Likewise.
21004         (TEST_COND_m68k96): Likewise.
21006         (TEST_COND_flt_32): Redefine as equivalent format test macro.
21007         (TEST_COND_dbl_64): Likewise.
21008         (TEST_COND_ldbl_96_intel): Likewise.
21009         (TEST_COND_ldbl_96_m68k): Likewise.
21010         (TEST_COND_ldbl_128): Likewise.
21011         (TEST_COND_ldbl_128ibm): Likewise.
21013         (plus_zero): Redefine using LIT macro.
21014         (minus_zero): Likewise.
21015         (plus_infty): Redefine as (INF).
21016         (minux_infty): Redefine as (-INF).
21017         (max_value): Redefine as TYPE_MAX.
21018         (min_value): Redefine as TYPE_MIN.
21019         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21021         (print_float): Refactor to use snprintf to convert FLOAT values
21022         to string. This brings it closer to dropin replacement of strtof
21023         for the TS 18661 defined types.
21024         (update_stats): Likewise.
21025         (print_complex_function_ulps): Likewise.
21026         (print_max_error): Likewise.
21027         (print_complex_max_error): Likewise.
21028         (check_float_internal): Likewise.
21030         * math/test-float.h (PREFIX): New macro.
21031         (LIT): Likewise.
21032         (TYPE_STR): Likewise.
21033         (FTOSTR): Likewise.
21035         * math/test-double.h (PREFIX): New macro.
21036         (LIT): Likewise.
21037         (TYPE_STR): Likewise.
21038         (FTOSTR): Likewise.
21040         * math/test-ldouble.h (PREFIX): New macro.
21041         (LIT): Likewise.
21042         (TYPE_STR): Likewise.
21043         (FTOSTR): Likewise.
21045 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21047         [BZ #20156]
21048         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21049         to itself when zero or not finite.
21050         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21051         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21052         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21053         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21055 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21057         [BZ #20153]
21058         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21059         x * x + x for infinities and NaNs.
21061         [BZ #20151]
21062         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21063         argument to itself before returning result.
21064         (__ieee754_y0l): Likewise.
21065         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21066         (__ieee754_y1l).
21068         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21069         (atan_test_data): Likewise.
21070         (ceil_test_data): Likewise.
21071         (cos_test_data): Likewise.
21072         (cosh_test_data): Likewise.
21073         (erf_test_data): Likewise.
21074         (exp2_test_data): Likewise.
21075         (fabs_test_data): Likewise.
21076         (floor_test_data): Likewise.
21077         (ilogb_test_data): Likewise.
21078         (j0_test_data): Likewise.
21079         (j1_test_data): Likewise.
21080         (jn_test_data): Likewise.
21081         (lgamma_test_data): Likewise.
21082         (lrint_test_data): Likewise.
21083         (llrint_test_data): Likewise.
21084         (logb_test_data): Likewise.
21085         (lround_test_data): Likewise.
21086         (llround_test_data): Likewise.
21087         (nearbyint_test_data): Likewise.
21088         (rint_test_data): Likewise.
21089         (round_test_data): Likewise.
21090         (sin_test_data): Likewise.
21091         (sincos_test_data): Likewise.
21092         (sinh_test_data): Likewise.
21093         (sqrt_test_data): Likewise.
21094         (tan_test_data): Likewise.
21095         (tanh_test_data): Likewise.
21096         (tgamma_test_data): Likewise.
21097         (trunc_test_data): Likewise.
21098         (y0_test_data): Likewise.
21099         (y1_test_data): Likewise.
21100         (yn_test_data): Likewise.
21102         * math/libm-test.inc: Update comment about NaN testing.
21103         (TEST_SNAN): New macro.
21104         (snan_value): Likewise.
21105         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21106         (fpclassify_test_data): Add sNaN tests.
21107         (isfinite_test_data): Likewise.
21108         (isinf_test_data): Likewise.
21109         (isnan_test_data): Likewise.
21110         (isnormal_test_data): Likewise.
21111         (issignaling_test_data): Likewise.
21112         (signbit_test_data): Likewise.
21113         * math/gen-libm-test.pl (%beautify): Add snan_value.
21114         (show_exceptions): Add argument $test_snan.
21115         (parse_args): Handle snan_value as non-finite.  Update call to
21116         show_exceptions.
21117         * math/Makefile (libm-test-no-inline-cflags): Add
21118         -fsignaling-nans.
21120 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21122         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21123         (CFLAGS-oldsendmsg.c): Add rule.
21124         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21125         Correct recvmsg symbol name.
21126         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21127         Likewise.
21129 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21131         * sysdeps/unix/sysv/linux/Makefile
21132         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21133         oldsendmmsg.
21134         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21135         sendmmsg.
21136         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21137         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21139         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21141         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21142         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21144         Likewise.
21145         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21146         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21147         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21148         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21149         iovlen and controllen fields to adjust to POSIX specification.
21150         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21152         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21153         and change to correct expected type.
21154         (msghdr.msg_controllen): Likewise.
21155         (cmsghdr.cmsg_len): Likewise.
21156         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21157         expected POSIX assumption about the size.
21158         (msghdr.msg_controllen): Likewise.
21159         (msghdr.__glibc_reserved1): Likewise.
21160         (msghdr.__glibc_reserved2): Likewise.
21161         (cmsghdr.cmsg_len): Likewise.
21162         (cmsghdr.__glibc_reserved1): Likewise.
21163         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21164         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21165         (CFLAGS-sendmsg.c): Remove rule.
21166         (CFLAGS-recvmsg.c): Likewise.
21167         (CFLAGS-oldsendmsg.c): Add rule.
21168         (CFLAGS-oldrecvmsg.c): Likewise.
21169         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21170         recvmsg and sendmsg.
21171         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21172         Likewise.
21173         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21174         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21175         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21176         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21177         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21178         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21179         Likewise.
21180         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21181         Likewise.
21182         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21183         Likewise.
21184         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21185         Likewise.
21186         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21187         Likewise.
21188         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21189         Likewise.
21190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21191         (GLIBC_2.24): Likewise.
21192         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21193         Likewise.
21194         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21195         Likewise.
21196         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21197         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21198         Likewise.
21199         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21200         Likewise.
21201         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21202         Likewise.
21203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21204         (GLIBC_2.24): Likewise.
21205         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21206         Likewise.
21207         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21208         Likewise.
21209         * sysdeps/unix/sysv/linux/Makefile
21210         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21211         (CFLAGS-sendmsg.c): Add rule.
21212         (CFLAGS-recvmsg.c): Likewise.
21213         (CFLAGS-oldsendmsg.c): Likewise.
21214         (CFLAGS-oldrecvmsg.c): Likewise.
21215         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21216         initialization.
21217         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21218         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21219         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21220         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21221         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21222         iovlen and controllen fields to adjust to POSIX specification.
21223         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21224         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21225         added recvmsg and sendmsg.
21226         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21227         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21228         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21229         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21230         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21231         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21232         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21233         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21234         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21235         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21236         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21237         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21239         Likewise.
21240         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21242         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21243         Likewise.
21244         Likewise.
21245         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21247         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21248         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21249         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21250         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21252         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21254         Likewise.
21255         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21256         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21258         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21259         from auto-generation.
21260         (sendmsg): Likewise.
21261         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21262         (sendmsg): Likewise.
21263         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21264         (sendmsg): Likewise.
21265         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21266         (sendmsg): Likewise.
21267         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21268         (sendmsg): Likewise.
21269         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21270         (sendmsg): Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21272         Likewise.
21273         (sendmsg): Likewise.
21274         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21275         (sendmsg): Likewise.
21276         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21278         Remove.
21279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21280         Likewise.
21281         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21282         Undefine.
21283         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21284         Likewise.
21285         * sysdeps/unix/sysv/linux/kernel-features.h
21286         (__ASSUME_SENDMSG_SYSCALL): Define.
21287         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21290         Remove.
21291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21292         Likewise.
21293         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21294         Undefine.
21295         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21296         Likewise.
21297         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21299         Remove.
21300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21301         Likewise.
21302         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21303         Undefine.
21304         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21305         Likewise.
21306         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21307         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21308         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21310         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21311         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21312         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21313         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21314         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21316 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21318         * stdlib/gen-tst-strtod-round.c: Add backslash to
21319         compile command in comment.
21320         (printfp): Remove the literal suffix, and define an infinite
21321         value as INF to avoid expansion clash with INFINITY.
21322         (round_str): Remove the literal suffix.
21323         (round_for_all): Likewise, remove the now duplicate ldbl-64
21324         entry, and remove some magic constants.
21326         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21327         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21328         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21329         (_CONCAT): New macro.
21330         (CONCAT): Likewise.
21331         (CHOOSE_ld): Likewise.
21332         (CHOOSE_f): Likewise.
21333         (CHOOSE_d): Likewise.
21334         (FTYPE_MEMBER): Likewise.
21335         (BOOL_MEMBER): Likewise.
21336         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21337         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21338         (_XNTRY): Likewise.
21339         (XNTRY): Likewise.
21340         (_ENTRY): Likewise.
21341         (ENTRY): Likewise.
21342         (test_exactness): Generate members via macro.
21343         (test_results): Likewise.
21344         (test): Update members.
21345         (TEST): Redefine using new macros.
21346         (INF): New macro.
21347         (fetestmodes): New structure.
21348         (do_test): Refactor to be type generic.
21349         (test_in_one_mode): Refactor duplicate code into
21350         (GEN_ONE_TEST): New macro.
21352         * stdlib/tst-strtod-round-data.h: Regenerate.
21354         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21355         Extend to pass additional arbitrary parameters to
21356         generators.
21358 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21360         [BZ #15479]
21361         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21362         floating-point state after first floating-point operation on
21363         input.  Restore full floating-point state instead of just rounding
21364         mode.
21365         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21366         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21367         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21368         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21369         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21371         [BZ #15479]
21372         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21373         floating-point state after first floating-point operation on
21374         input.  Restore full floating-point state instead of just rounding
21375         mode.
21376         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21377         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21378         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21379         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21380         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21384         [BZ #19727]
21385         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21386         valid high surrogate.
21387         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21388         of an utf16 surrogate.
21389         * iconv/gconv_simple.c (BODY): Likewise.
21390         * iconvdata/bug-iconv12.c: New file.
21391         * iconvdata/Makefile (tests): Add bug-iconv12.
21393 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21395         [BZ #19726]
21396         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21397         outptrp in case of an illegal input.
21398         * iconv/tst-iconv6.c: New file.
21399         * iconv/Makefile (tests): Add tst-iconv6.
21401 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21403         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21404         an error in case of a value in range of an utf16 low surrogate.
21406 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21409         an error in case of a value in range of an utf16 low surrogate.
21411 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21413         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21414         Move to ...
21415         * sysdeps/s390/Makefile: ... here.
21416         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21417         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21418         (BRANCH_ON_COUNT): New define.
21419         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21420         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21421         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21422         run on s390-32, too.
21423         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21424         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21425         run on s390-32, too.
21426         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21427         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21428         run on s390-32, too.
21430 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21432         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21433         etf3eh or new vector loop-variant.
21435 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21437         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21438         etf3eh or new vector loop-variant.
21440 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21442         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21443         or new vector loop-variant.
21445 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21447         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21448         Rename to TR_LOOP and usage of tr instead of troo instruction.
21450 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21452         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21455 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21457         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21458         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21459         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21460         New override define.
21461         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21463 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21465         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21466         * sysdeps/s390/configure.ac: Add test for S390 vector register
21467         support in gcc.
21468         * sysdeps/s390/configure: Regenerated.
21470 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21472         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21473         Install file from $(objpfx)gconv-modules.
21474         ($(objpfx)gconv-modules): Concatenate architecture specific file
21475         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21476         * sysdeps/s390/gconv-modules: New file.
21477         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21478         Deleted.
21479         ($(objpfx)gconv-modules-s390): Deleted.
21480         (sysdeps-gconv-modules): New variable.
21482 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21484         [BZ #15479]
21485         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21486         of immediate operand to rounding instruction.
21487         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21488         Likewise.
21489         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21490         Likewise.
21491         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21492         Likewise.
21494 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21496         * math/libm-test.inc (MIN_EXP): Directly define as
21497         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21499 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21501         * math/libm-test.inc (MANT_DIG): Directly define as
21502         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21504 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21506         * stdlib/gen-tst-strtod-round.c (main):
21507           Change usage to more closely match the generated
21508           output.  Add usage and compilation instructions.
21509           (string_to_fp): Add and use FILE* parameter as
21510           output target.
21511           (print_fp): Likewise.
21512           (round_str): Likewise.
21513           (round_for_all): Likewise.
21514         * stdlib/tst-strtod-round.c (tests): Move into
21515         * stdlib/tst-strtod-round-data.h: New file.
21517 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21519         [BZ #15479]
21520         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21521         (__round): Do not force "inexact" exception.
21522         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21523         variable.
21524         (__round): Do not force "inexact" exception.
21525         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21526         (__roundf): Do not force "inexact" exception.
21527         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21528         (__roundl): Do not force "inexact" exception.
21529         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21530         (__roundl): Do not force "inexact" exception.
21531         * math/libm-test.inc (round_test_data): Do not allow spurious
21532         "inexact" exceptions.
21534         [BZ #15479]
21535         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21536         exception in comment.
21537         (huge): Remove variable.
21538         (__floor): Do not force "inexact" exception.
21539         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21540         "inexact" exception in comment.
21541         (huge): Remove variable.
21542         (__floor): Do not force "inexact" exception.
21543         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21544         exception in comment.
21545         (huge): Remove variable.
21546         (__floorf): Do not force "inexact" exception.
21547         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21548         exception in comment.
21549         (huge): Remove variable.
21550         (__floorl): Do not force "inexact" exception.
21552         [BZ #15479]
21553         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21554         exception in comment.
21555         (huge): Remove variable.
21556         (__ceil): Do not force "inexact" exception.
21557         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21558         "inexact" exception in comment.
21559         (huge): Remove variable.
21560         (__ceil): Do not force "inexact" exception.
21561         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21562         (__ceilf): Do not force "inexact" exception.
21563         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21564         exception in comment.
21565         (huge): Remove variable.
21566         (__ceill): Do not force "inexact" exception.
21568 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21570         * config.h.in (BIND_NOW): New.
21571         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21572         * configure: Regenerated.
21573         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21574         indirect branch via the GOT slot.
21576 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21578         [BZ #19765]
21579         * sysdeps/s390/mempcpy.S: New File.
21580         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21581         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21582         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21583         Add mempcpy variants.
21584         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21585         (memcpy): Adjust to be usable from mempcpy entry point.
21586         (__memcpy_mvcle): Likewise.
21587         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21588         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21589         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21590         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21591         (__memcpy_z10): Likewise.
21592         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21594 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21596         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21597         Remove __GI_ symbol.
21598         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21599         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21600         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21601         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21602         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21603         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21605 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21607         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21608         Use cghi instead of chi to compare 64bit value.
21610 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21612         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21613         Jump to 1MB check before executing mvc-loop.
21615 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21617         [BZ #6527]
21618         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21619         unconditionally.
21620         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21622 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21624         * stdlib/tst-strtod6.c (do_test): Use new type generic
21625         invocation of the test function.
21626         (test): Refactor into ...
21627         (TEST_STRTOD): New macro base function.
21629 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21631         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21632         (TEST_STRTOD): New macro.
21633         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21635 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21637         * stdlib/tst-strtod6.c (do_test): Use new type generic
21638         invocation of the test function.
21639         (test): Refactor into ...
21640         (TEST_STRTOD): New macro base function.
21642 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21644         CVE-2016-4429
21645         [BZ #20112]
21646         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21647         payload.
21649 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21651         [BZ #20111]
21652         * bits/sockaddr.h (_SS_SIZE): Define.
21653         * bits/socket.h (_SS_SIZE): Remove.
21654         (_SS_PADSIZE): Adjust to account for all padding.
21655         (struct sockaddr_storage): Update comment.  Avoid implicit
21656         padding.
21657         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21658         (_SS_PADSIZE): Adjust to account for all padding.
21659         (struct sockaddr_storage): Update comment.  Avoid implicit
21660         padding.
21661         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21662         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21663         (_SS_PADSIZE): Adjust to account for all padding.
21664         (struct sockaddr_storage): Update comment.  Avoid implicit
21665         padding.
21666         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21667         __SS_SIZE is 126 in this version.
21668         * inet/tst-sockaddr.c: New file.
21669         * inet/Makefile (tests): Add tst-sockaddr.c
21670         (tst-sockaddr.c): Compile with non-strict aliasing.
21672 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21674         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21675         [XPG3 || XPG4].
21676         (NL_ARGMAX): Also expect for [XPG3].
21677         (NL_LANGMAX): Likewise.
21678         (NL_MSGMAX): Likewise.
21679         (NL_NMAX): Likewise.
21680         (NL_SETMAX): Likewise.
21681         (NL_TEXTMAX): Likewise.
21682         (NZERO): Likewise.
21683         (TMP_MAX): Likewise.
21684         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21685         variable.
21687         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21688         (PF_MAX): Update value.
21689         (AF_KCM): New macro.
21690         (SOL_NETBEUI): Likewise.
21691         (SOL_LLC): Likewise.
21692         (SOL_DCCP): Likewise.
21693         (SOL_NETLINK): Likewise.
21694         (SOL_TIPC): Likewise.
21695         (SOL_RXRPC): Likewise.
21696         (SOL_PPPOL2TP): Likewise.
21697         (SOL_BLUETOOTH): Likewise.
21698         (SOL_PNPIPE): Likewise.
21699         (SOL_RDS): Likewise.
21700         (SOL_IUCV): Likewise.
21701         (SOL_CAIF): Likewise.
21702         (SOL_ALG): Likewise.
21703         (SOL_NFC): Likewise.
21704         (SOL_KCM): Likewise.
21705         (MSG_BATCH): New enum value and macro.
21707 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21709         [BZ #18185]
21710         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21711         sharing L2 cache to 2 for Knights Landing.
21713 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21715         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21716         (FTW_DP): Do not expect for [XPG3 || XPG4].
21717         (FTW_SL): Do not expect for [XPG3].
21718         (FTW_SLN): Likewise.
21719         (FTW_PHYS): Likewise.
21720         (FTW_MOUNT): Likewise.
21721         (FTW_DEPTH): Likewise.
21722         (FTW_CHDIR): Likewise.
21723         (nftw): Likewise.
21724         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21725         variable.
21727 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21729         * manual/errno.texi: Fix various typos & grammar errors.
21731 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21733         * manual/intro.texi: Fix duplicated typo.
21735 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21737         [BZ #13304]
21738         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21739         <float.h>, <math_private.h> and <stdlib.h>.
21740         (add_split): New function.
21741         (mul_split): Likewise.
21742         (ext_val): New typedef.
21743         (store_ext_val): New function.
21744         (mul_ext_val): New function.
21745         (compare): New function.
21746         (add_split_ext): New function.
21747         (__fmal): After checking for Inf, NaN and zero, compute result as
21748         an exact sum of scaled double values in round-to-nearest before
21749         adding those up and adjusting for other rounding modes.
21750         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21751         tests of fma.
21752         * math/auto-libm-test-out: Regenerated.
21754 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21756         [BZ #20119]
21757         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21758         processor level type mask for CPUID with EAX == 11.
21760 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21762         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21763         logical threads if the HTT bit is 0.
21764         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21765         (index_cpu_HTT): Likewise.
21766         (reg_HTT): Likewise.
21768 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21770         [BZ #20115]
21771         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21772         Remove alignments on jump targets.
21774 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21776         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21777         (getpwent): Likewise.
21778         (setpwent): Likewise.
21779         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21780         variable.
21782         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21783         (remque): Likewise.
21784         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21785         variable.
21787 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21789         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21790         not being tested.
21792 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21794         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21795         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21796         call.
21797         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21798         (__condvar_cleanup1): Likewise.
21800 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21802         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21803         New
21804         (__pthread_unwind): Renamed to ...
21805         (PTHREAD_UNWIND): This.
21806         (__pthread_enable_asynccancel): Replace
21807         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21809 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21811         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21812         (CLONE_NEWCGROUP): New macro.
21814         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21815         (Q_GETNEXTQUOTA): New macro.
21817 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21819         [BZ #19907]
21820         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21821         buffer updated by the previous run.
21822         * string/test-memcpy.c (do_one_test): Likewise.
21823         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21824         * string/test-memmove.c (do_one_test): Likewise.
21826 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21828         [BZ #20094]
21829         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21830         not [__USE_XOPEN].
21831         (unlockpt): Likewise.
21832         (ptsname): Likewise.
21833         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21834         variable.
21836         [BZ #20076]
21837         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21838         instead of [__USE_UNIX98].
21839         (S_ISSOCK): Likewise.
21840         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21841         variable.
21843         [BZ #20074]
21844         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21845         [__USE_POSIX].
21846         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21847         variable.
21849         [BZ #20051]
21850         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21851         (ttyslot): Do not declare.
21852         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21853         (ttyslot): New prototype.
21854         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21855         variable.
21856         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21858 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21860         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21862 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21864         Fix race condition in tst-mallocfork2, use fewer resources.
21865         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21866         to current process group.
21867         (signal_sender): Yield in the non-sleeping case.
21869 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21871         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21872         (ecvt): Likewise.
21873         (fcvt): Likewise.
21874         (gcvt): Likewise.
21875         (getsubopt): Likewise.
21876         (grantpt): Likewise.
21877         (initstate): Likewise.
21878         (l64a): Likewise.
21879         (mktemp): Likewise.
21880         (mkstemp): Likewise.
21881         (ptsname): Likewise.
21882         (random): Likewise.
21883         (realpath): Likewise.
21884         (setstate): Likewise.
21885         (srandom): Likewise.
21886         (ttyslot): Likewise.
21887         (unlockpt): Likewise.
21888         (valloc): Likewise.
21890         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21891         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21892         variable.
21894 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21896         [BZ #20072]
21897         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21898         init_cpu_features only if SHARED is defined.
21899         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21901 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21903         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21904         non-inclusive caches on Intel processors.
21906 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21908         * malloc/malloc.c (dumped_main_arena_start)
21909         (dumped_main_arena_end): New variables.
21910         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21911         (do_check_chunk): Skip dumped fake mmapped chunks.
21912         (munmap_chunk): Likewise.
21913         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21914         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21915         mmapped chunks.
21916         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21917         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21918         and dumped_main_arena_end to cover the dumped heap.
21920 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21922         * conform/data/time.h-data (getdate_err): Do not expect for
21923         [XPG3].
21924         (getdate): Likewise.
21925         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21926         variable.
21928         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21929         (F_ULOCK): Likewise.
21930         (F_TEST): Likewise.
21931         (F_TLOCK): Likewise.
21932         (useconds_t): Likewise.
21933         (intptr_t): Do not expect for [XPG3] or [XPG4].
21934         (brk): Do not expect for [XPG3]
21935         (fchown): Likewise.
21936         (fchdir): Likewise.
21937         (ftruncate): Likewise.
21938         (getdtablesize): Likewise.
21939         (gethostid): Likewise.
21940         (getpagesize): Likewise.
21941         (getpgid): Likewise.
21942         (getsid): Likewise.
21943         (getwd): Likewise.
21944         (lchown): Likewise.
21945         (lockf): Likewise.
21946         (readlink): Likewise.
21947         (sbrk): Likewise.
21948         (setpgrp): Likewise.
21949         (setregid): Likewise.
21950         (setreuid): Likewise.
21951         (symlink): Likewise.
21952         (sync): Likewise.
21953         (truncate): Likewise.
21954         (ualarm): Likewise.
21955         (usleep): Likewise.
21956         (vfork): Likewise.
21957         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21958         variable.
21960         [BZ #20054]
21961         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21962         not [__USE_UNIX98].
21963         * conform/data/unistd.h-data (gethostname): Do not expect for
21964         [XPG3].
21966         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21967         [!POSIX] (S_IFBLK): Likewise.
21968         [!POSIX] (S_IFCHR): Likewise.
21969         [!POSIX] (S_IFIFO): Likewise.
21970         [!POSIX] (S_IFREG): Likewise.
21971         [!POSIX] (S_IFDIR): Likewise.
21972         [!POSIX] (S_IFLNK): Likewise.
21973         [!POSIX] (S_IFSOCK): Likewise.
21974         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21975         variable.
21976         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21978 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21980         * sysdeps/aarch64/memset.S (__memset):
21981         Rewrite of optimized memset.
21983 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21985         [BZ #19703]
21986         Partially async-signal-safe fork for single-threaded processes.
21987         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21988         variable.  Do not acquire and reset/release malloc and libio locks
21989         in single-threaded processes.
21990         * malloc/tst-mallocfork2.c: New file.
21991         * malloc/Makefile (tests): Add it.
21993 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21995         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21996         argument.  Use scratch buffer instead of extend_alloca.
21997         (gethosts): Use scratch buffer instead of extend_alloca.
21998         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21999         extend_alloca.
22000         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22002 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
22004         [BZ #20055]
22005         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22006         instead of [__USE_UNIX98].
22007         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22008         [__USE_UNIX98].
22009         * conform/data/termios.h-data (tcgetsid): Do not expect for
22010         [XPG3].
22011         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22012         variable.
22013         (test-xfail-XPG4/termios.h/conform): Likewise.
22015 2016-05-11  Florian Weimer  <fweimer@redhat.com>
22017         Do not use mcheck in localedef.
22018         * locale/programs/localedef.c (turn_on_mcheck)
22019         (__malloc_initialize_hook): Remove.
22021 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22023         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22024         * sysdeps/s390/s390-64/Makefile: Likewise.
22026 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22028         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22029         Remove ifunc-defines.sym.
22030         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22031         Likewise.
22032         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22033         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22034         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22035         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22036         rtld-global-offsets.sym.
22037         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22038         * sysdeps/x86/cpu-features-offsets.sym: This.
22039         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22040         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22042 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22044         [BZ #20073]
22045         * io/sys/stat.h (fchmod): Declare for
22046         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22047         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22048         variable.
22050         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22051         [XPG3] (S_IFSOCK): Likewise.
22052         [XPG3] (S_ISVTX): Likewise.
22053         [XPG3] (S_ISLNK): Likewise.
22054         [XPG3] (S_ISSOCK): Likewise.
22055         [XPG3] (fchmod): Likewise.
22056         [XPG3] (lstat): Likewise.
22057         [XPG3] (mknod): Likewise.
22059         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22060         [XPG3].  Expect type long and XFAIL for [XPG4].
22061         (st_blocks): Likewise.
22063         [BZ #20044]
22064         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22065         (pthread_atfork): New prototype.
22066         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22067         variable.
22069         [BZ #20043]
22070         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22071         prototype.
22073 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22075         [BZ #20017]
22076         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22077         gmtime.
22079 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22081         [BZ #19994]
22082         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22083         flag in _res.options.
22085 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22087         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22088         [XPG3 || XPG4].
22089         (blksize_t): Likewise.
22090         (clockid_t): Likewise.
22091         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22092         variable.
22093         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22095 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22097         * sysdeps/unix/sysv/linux/s390/init-first.c:
22098         Add VDSO_SYMBOL(getcpu).
22099         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22100         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22101         Add VDSO_SYMBOL(getcpu).
22102         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22103         New define HAVE_GETCPU_VSYSCALL.
22104         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22106 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22108         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22109         instead of <sysdeps/x86_64/cacheinfo.c>.
22110         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22111         * sysdeps/x86/cacheinfo.c: Here.
22113 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22115         * malloc/malloc-internal.h: Adjust header file guard.
22117 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22119         [BZ #19787]
22120         * inet/getnameinfo.c (check_sprintf_result): New function.
22121         (CHECKED_SNPRINTF): New macro.
22122         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22123         to the host buffer.
22124         (gni_host_local): Use checked_copy to copy the host name.
22125         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22126         (gni_serv_local): Use checked_copy to copy the service name.
22127         (getnameinfo): Remove unnecessary truncation of result buffers.
22129 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22131         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22132         in case of inet_ntop failure.
22134 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22136         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22137         avoid long lines.
22138         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22139         variables.
22140         (gni_host_inet, gni_host_local): Add comment.
22141         (gni_host): Add comment.  Use temporary to avoid long lines.
22143 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22145         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22146         registers specifiers where general purpose registers specifiers should
22147         have been used.
22149 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22151         [BZ #19779]
22152         CVE-2016-1234
22153         Avoid copying names of directory entries.
22154         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22155         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22156         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22157         (struct readdir_result): New type.
22158         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22159         (GL_READDIR): New macros.
22160         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22161         (convert_dirent, convert_dirent64): New functions.
22162         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22163         convert_dirent64.  Adjust references to the readdir result.
22164         * sysdeps/unix/sysv/linux/i386/glob64.c:
22165         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22166         * posix/bug-glob2.c (LONG_NAME): Define.
22167         (filesystem): Add LONG_NAME.
22168         (my_DIR): Increase the size of room_for_dirent.
22170 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22172         [BZ #20041]
22173         * misc/sys/select.h (__need_timespec): Only define if
22174         [__USE_XOPEN2K].
22175         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22176         variable.
22177         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22178         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22179         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22181 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22182             Segher Boessenkool  <segher@gcc.gnu.org>
22184         [BZ #20004]
22185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22186         (__novec_swapcontext): Add missing load.
22188 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22190         [BZ #20023]
22191         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22192         <time.h>.
22193         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22194         variable.
22195         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22197 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22200         flags CLONE_VM compare.
22202 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22204         [BZ #20031]
22205         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22206         completely empty.
22208 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22210         [BZ #19573]
22211         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22212         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22213         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22214         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22215         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22216         (hesiod_free_list): Mark as hidden.
22217         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22218         res_set, res_get.
22219         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22220         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22221         (hesiod_init): Remove obsolete res_ninit call.
22222         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22223         (hesiod_bind): Do not call init.
22224         (get_txt_records): Use res_mkquery, res_send instead of
22225         res_nmkquery, res_nsend.
22226         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22227         instead of _nss_hesiod_init.
22228         (_nss_hesiod_initgroups_dyn): Likewise.
22229         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22230         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22231         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22233 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22235         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22236         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22238 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22240         * hesiod/hesiod.h: Remove RCS keyword.
22241         * hesiod/hesiod_p.h: Likewise.
22243         * hesiod/hesiod.c: Likewise.
22245 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22247         [BZ #12450]
22248         * locale/iso-639.def: Add Samogitian/sgs.
22250 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22252         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22254         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22256 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22257             Carlos O'Donell  <carlos@redhat.com>
22259         [BZ #19072]
22260         * grp/Makefile (headers): Add grp-merge.h
22261         (routines): Add grp-merge.
22262         * grp/getgrgid_r.c: Include grp-merge.h.
22263         (DEEPCOPY_FN): Define.
22264         (MERGE_FN): Define.
22265         * grp/getgrname_r.c: Include grp-merge.h.
22266         (DEEPCOPY_FN): Define.
22267         (MERGE_FN): Define.
22268         * grp/grp-merge.c: New file.
22269         * grp/grp-merge.h: New file.
22270         * include/grp-merge.h: New file.
22271         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22272         __copy_grp@GLIBC_PRIVATE.
22273         * manual/nss.texi (Actions in the NSS configuration): Describe
22274         return, continue, and merge.
22275         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22276         (DEEPCOPY_FN): Define.
22277         (MERGE_FN): Define.
22278         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22279         (DEEPCOPY_FN): Define.
22280         (MERGE_FN): Define.
22281         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22282         [!MERGE_FN]: Define __merge_einval.
22283         (CHECK_MERGE): Define.
22284         (REENTRANT_NAME): Process merge if do_merge is true.
22285         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22286         (__nss_getent_r): Likewise.
22287         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22288         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22290 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22292         [BZ #20012]
22293         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22294         length to calculate the buffer to read.
22295         (fmemopen_write): Set the buffer position based on bytes written.
22296         (fmemopen_seek): Return EINVAL for invalid whence modes.
22298         [BZ #19957]
22299         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22300         tst-getpid2.
22301         (test): Add tst-clone2.
22302         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22303         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22304         pid/tid fields for CLONE_VM.
22305         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22306         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22307         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22308         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22309         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22310         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22311         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22312         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22314         Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22316         Likewise.
22317         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22318         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22319         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22320         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22321         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22322         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22323         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22324         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22326 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22328         [BZ #19642]
22329         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22330         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22331         (gni_serv_local, gni_serv): New functions extracted from
22332         getnameinfo.
22333         (getnameinfo): Call gni_host and gni_serv to perform the
22334         processing.  Always free scratch buffer.
22336 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22338         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22339         remaining bytes in the dest string, with zeros.
22341 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22343         [BZ #20010]
22344         CVE-2016-3706
22345         * sysdeps/posix/getaddrinfo.c
22346         (convert_hostent_to_gaih_addrtuple): New function.
22347         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22348         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22349         AF_INET data.
22351 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22353         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22354         callback function gl_readdir.
22355         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22356         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22357         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22358         memcpy to copy the name.
22359         * manual/pattern.texi (Calling Glob): Document requirements for
22360         implementations of the gl_readdir callback function.
22361         * manual/examples/mkdirent.c: New example.
22362         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22363         per the manual guidance.
22364         * posix/tst-gnuglob.c (my_readdir): Likewise.
22366 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22368         [BZ #20014]
22369         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22370         not [__USE_POSIX].
22371         (getchar_unlocked): Likewise.
22372         (putc_unlocked): Likewise.
22373         (putchar_unlocked): Likewise.
22374         (flockfile): Likewise.
22375         (ftrylockfile): Likewise.
22376         (funlockfile): Likewise.
22377         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22378         variable.
22379         (test-xfail-XPG4/stdio.h/conform): Likewise.
22381         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22382         Expect constant.
22383         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22384         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22385         variable.
22386         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22387         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22389         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22390         [__USE_LARGEFILE64] (off64_t): Likewise.
22391         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22392         variable.
22394 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22396         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22398 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22400         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22401         * resolv/res_init.c: Likewise.
22402         * resolv/res_mkquery.c: Likewise.
22404 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22406         * resolv/res_init.c (isascii): Do not define.  Use definition in
22407         <ctype.h>.
22408         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22409         (LOG_AUTH): Remove.
22410         (SPRINTF): Remove, adjust caller.
22411         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22413 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22415         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22416         SUNSECURITY conditional.
22417         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22419 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22421         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22422         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22423         Remove BSD-related preprocessor conditionals.
22424         * conf/portability.h: Remove.
22426 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22428         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22429         * resolv/res_data.c: Likewise.
22431 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22433         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22434         * resolv/res_data.c: Remove code conditional on ultrix.
22436 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22438         * resolv/res_init.c (RFC1535): Do not define.  Remove
22439         RFC1535 preprocessor conditionals.
22440         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22441         because there configuration options which make the resolver
22442         behavior different.
22444 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22446         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22447         RESOLVSORT preprocessor conditionals.
22448         * resolv/nss_dns/dns-host.c: Likewise.
22449         * resolv/res_init.c: Likewise.
22451 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22453         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22454         is never defined.
22456 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22458         * inet/inet_lnaof.c: Remove SCSS keyword.
22459         * inet/inet_mkadr.c: Likewise.
22460         * inet/inet_net.c: Likewise.
22461         * inet/inet_netof.c: Likewise.
22462         * inet/rcmd.c: Likewise.
22463         * inet/rexec.c: Likewise.
22464         * inet/ruserpass.c: Likewise.
22466 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22468         * resolv/inet_addr.c: Remove _LIBC conditionals.
22469         * resolv/res_data.c: Likewise.
22470         * resolv/res_init.c: Likewise.
22471         * resolv/res_mkquery.c: Likewise.
22472         * resolv/res_libc.c: Update comment.
22473         * resolv/README: Update.
22475 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22477         * resolv/gethnamaddr.c: Remove SCSS keyword.
22478         * resolv/herror.c: Likewise.
22479         * resolv/inet_addr.c: Likewise.
22480         * resolv/inet_net_ntop.c: Likewise.
22481         * resolv/inet_net_pton.c: Likewise.
22482         * resolv/inet_neta.c: Likewise.
22483         * resolv/inet_ntop.c: Likewise.
22484         * resolv/inet_pton.c: Likewise.
22485         * resolv/ns_date.c: Remove RCS keyword.
22486         * resolv/ns_name.c: Likewise.
22487         * resolv/ns_netint.c: Likewise.
22488         * resolv/ns_parse.c: Likewise.
22489         * resolv/ns_print.c: Likewise.
22490         * resolv/ns_samedomain.c: Likewise.
22491         * resolv/ns_ttl.c: Likewise.
22492         * resolv/nsap_addr.c: Likewise.
22493         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22494         * resolv/res_data.c: Remove RCS keyword.
22495         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22496         * resolv/res_init.c: Likewise.
22497         * resolv/res_mkquery.c: Likewise.
22498         * resolv/res_query.c: Likewise.
22499         * resolv/res_send.c: Likewise.
22501 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22503         * conform/data/stdio.h-data (fdopen): Expect also for
22504         [XPG3 || XPG4].
22506         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22507         (fseeko): Likewise.
22508         (ftello): Likewise.
22509         (ftrylockfile): Likewise.
22510         (funlockfile): Likewise.
22511         (getc_unlocked): Likewise.
22512         (getchar_unlocked): Likewise.
22513         (putc_unlocked): Likewise.
22514         (putchar_unlocked): Likewise.
22516 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22518         [BZ #19868]
22519         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22520         DNS packet syntax checks (which were not needed before).  Skip
22521         over non-PTR records.
22523 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22525         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22526         definition.  Include <stddef.h> instead.
22528 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22530         [BZ #19831]
22531         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22532         function.
22533         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22534         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22536 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22538         [BZ #19862]
22539         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22540         (getanswer_r): Do not call syslog.
22541         (gaih_getanswer_slice): Likewise.
22542         * resolv/gethnamaddr.c (AskedForGot): Remove.
22543         (getanswer): Do not call syslog.
22544         (gethostbyaddr): Likewise.
22546 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22548         * conform/data/signal.h-data (union sigval): Expect also if
22549         [XOPEN2K].
22550         (struct sigevent): Likewise.
22551         (SIGEV_NONE): Likewise.
22552         (SIGEV_SIGNAL): Likewise.
22553         (SIGEV_THREAD): Likewise.
22554         (SIGRTMIN): Likewise.
22555         (SIGRTMAX): Likewise.
22556         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22557         variable.
22558         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22560 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22562         [BZ #19830]
22563         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22564         (gaih_getanswer_slice): Likewise.
22565         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22566         Also check for availability of RR metadata.
22568 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22570         [BZ #19825]
22571         * resolv/res_send.c (send_vc): Remove early *resplen2
22572         initialization.  Set *resplen2 on socket error.  Call
22573         close_and_return_error for other errors.
22575 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22577         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22578         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22579         (SCM_IUCV_TRGCLS): New define.
22581 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22583         [BZ #20005]
22584         * libio/fmemopen.c (fmemopen_write): Update internal position after
22585         write.
22586         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22587         * stdio-common/tst-fmemopen4.c: New file..
22589 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22591         [BZ #19996]
22592         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22593         not [__USE_XOPEN2K].
22594         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22595         variable.
22597         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22598         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22599         variable.
22601         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22602         [__USE_XOPEN2K8].
22603         [__USE_LARGEFILE64] (off64_t): Likewise.
22604         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22605         variable.
22607 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22609         [BZ #19989]
22610         * libio/stdio.h (cuserid): Do not declare if
22611         [__USE_XOPEN2K && !__USE_GNU].
22612         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22613         variable.
22615 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22617         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22618         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22620         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22621         ifunc'ed strcspn.
22622         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22623         [EALIGN]: Removed.
22624         [END]: Likewise
22625         [STRSPN]: Define instead of the above to control symbol name.
22626         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22627         New file.
22628         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22629         Likewise.
22630         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22631         Likewise.
22632         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22633         Likewise.
22634         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22635         [INITIAL_MASK]: New macro.
22636         [STRCSPN]: Likewise.
22637         [UPDATE_MASK]: Likewise.
22638         [USE_AS_STRCSPN]: Likewise.
22640 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22642         [BZ #19931]
22643         * stdio-common/tst-vfprintf-width-prec.c: New file.
22644         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22645         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22646         (generated): Add mtrace-related files.
22647         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22648         (tst-%-mem.out): New pattern rule, replaces
22649         tst-printf-bz18872-mem.out.
22650         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22651         specifier, deallocate any previously allocated work buffer.
22653 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22655         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22656         Add nop before __startcontext, add explaining comments.
22658 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22660         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22661         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22662         completely different API.
22664         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22665         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22666         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22667         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22668         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22669         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22670         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22671         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22672         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22673         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22675 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22677         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22679 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22681         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22682         when it is the default of 0.
22684 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22686         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22687         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22688         (sysdep_routines): Add new strcasestr targets.
22689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22690         (__libc_ifunc_impl_list): Likewise.
22691         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22692         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22693         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22694         * sysdeps/powerpc/powerpc64/power8/Makefile:
22695         New file to add strcasestr-ppc64 to sysdep_routines.
22696         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22697         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22699 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22701         * benchtests/Makefile (wcsmbs-benchset): Include only for
22702         native builds and runs.
22703         (LOCALES): Likewise.
22704         (bench-build): Build timing-type here instead of the bench
22705         target.  Generate locale only for native builds.
22706         * benchtests/README: Add note for cross-building.
22708         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22710         * benchtests/README: Update README to include instructions on
22711         using bench-build.
22713         * Makefile.in (bench-build): New target.
22714         * Rules (PHONY): Add bench-build target.
22715         * benchtests/Makefile (bench): Depend on bench-build.
22716         (bench-build): New target.
22718 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22720         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22721         profil_reply_port.
22722         (profile_waiter): Do not initialize profil_reply_port.
22723         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22724         frequency instead of tick length in us.
22726 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22728         [BZ #18712]
22729         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22730         (__old_mempcpy_small): Likewise.
22731         (__old_strcpy_small): Likewise.
22732         (__old_stpcpy_small): Likewise.
22733         (__old_strpbrk_c2): Fix compat symbol name.
22734         (__old_strpbrk_c3): Likewise.
22735         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22736         (__mempcpy_small): Remove.
22737         (__strcpy_small): Remove.
22738         (__stpcpy_small): Remove.
22740 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22742         [BZ #19400]
22743         * locale/iso-639.def: Add the Talossan/tzl language.
22745 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22747         [BZ #16983]
22748         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22749         comment.  Add "ln" to strchr check on postal_fmt.
22751 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22753         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22754         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22755         tel_dom_fmt.
22757 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22759         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22760         (sysdep_routines): Added __strlen_power8.
22761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22762         __strlen_power8 entry.
22763         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22764         Implementation for POWER8.
22765         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22766         for __strlen_power8.
22767         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22768         Implementation for POWER8.
22770 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22772         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22774 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22776         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22777         Goldmont and Airmont processors.
22779 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22781         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22782         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22783         (__STRING2_SMALL_GET32): Remove.
22784         (memset): Remove.
22785         (__memset_1): Remove.
22786         (__memset_gc): Remove.
22787         (__mempcpy): Remove.
22788         (mempcpy): Remove.
22789         (__mempcpy_args): Remove.
22790         (strchr): Remove.
22791         (strcpy): Remove.
22792         (strcpy_args): Remove.
22793         (__stpcpy_args): Remove.
22794         (__strcmp_cc): Remove.
22795         (__strcmp_gc): Remove.
22796         (strstr): Remove.
22798 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22800         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22801         * nis/nis_call.c (nis_server_cache_add): Likewise.
22803 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22805         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22807 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22809         * malloc/arena.c (__malloc_fork_lock_parent)
22810         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22811         internal_function attribute.
22813 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22815         * stdio-common/printf_fp.c (__printf_fp_l):
22816         Rename ___printf_fp_l to __printf_fp_l and
22817         remove strong alias. Use libc_hidden_def instead
22818         of ldbl_hidden_def macro.
22820 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22822         Remove malloc hooks from fork handler.  They are no longer needed
22823         because malloc runs right before fork, and no malloc calls from
22824         other fork handlers are not possible anymore.
22825         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22826         declarations.
22827         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22828         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22829         (atfork_recursive_cntr): Remove.
22830         (__malloc_fork_lock_parent): Do not override malloc hooks and
22831         thread_arena.
22832         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22833         thread_arena.
22834         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22835         thread_arena instead of save_arena.
22837 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22839         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22840         (thread_atfork, thread_atfork_static): Remove.
22841         * sysdeps/mach/hurd/malloc-machine.h:
22842         (thread_atfork, thread_atfork_static): Remove.
22844 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22846         [BZ #19431]
22847         Run the malloc fork handler as late as possible to avoid deadlocks.
22848         * malloc/malloc-internal.h: New file.
22849         * malloc/malloc.c: Include it.
22850         * malloc/arena.c (ATFORK_MEM): Remove.
22851         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22852         Update comment.
22853         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22854         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22855         Remove outdated comment.
22856         (ptmalloc_init): Do not call thread_atfork.  Remove
22857         thread_atfork_static.
22858         * malloc/tst-malloc-fork-deadlock.c: New file.
22859         * Makefile (tests): Add tst-malloc-fork-deadlock.
22860         (tst-malloc-fork-deadlock): Link against libpthread.
22861         * manual/memory.texi (Aligned Memory Blocks): Update safety
22862         annotation comments.
22863         * sysdeps/nptl/fork.c (__libc_fork): Call
22864         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22865         __malloc_fork_unlock_child.
22866         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22868 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22870         [BZ #19613]
22871         Remove union wait.
22872         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22873         (w_stopsig, w_stopval): Remove.
22874         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22875         stat_loc argument.
22876         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22877         (__WAIT_STATUS_DEFN): Remove.
22878         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22879         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22880         (wait, wait3, wait4): Use int * for the stat_loc argument.
22881         * posix/wait.c (__wait): Likewise.
22882         * posix/wait3.c (__wait3): Likewise.
22883         * posix/wait4.c (__wait4): Likewise.
22884         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22885         (__WAIT_STATUS_DEFN): Remove.
22886         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22887         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22888         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22889         argument.
22890         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22891         * sysdeps/posix/wait3.c (__wait3): Likewise.
22892         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22893         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22894         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22895         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22896         stat_loc argument.
22897         * manual/process.texi (BSD Wait Functions): Remove union wait.
22899 2016-04-13  Andreas Schwab  <schwab@suse.de>
22901         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22902         (test-extras): Add tst-tlsalign-vars.
22903         * math/Makefile: Wrap long lines.
22904         (libm-vec-test-wrappers): Define.
22905         (test-extras): Add $(libm-vec-test-wrappers).
22906         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22907         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22908         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22909         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22910         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22911         (extra-test-objs): Add corresponding objects.
22913 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22915         [BZ #19928]
22916         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22917         New.
22918         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22919         times of shared cache size.
22920         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22921         (VMOVNT): New.
22922         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22923         (VMOVNT): Likewise.
22924         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22925         (VMOVNT): Likewise.
22926         (VMOVU): Changed to movups for smaller code sizes.
22927         (VMOVA): Changed to movaps for smaller code sizes.
22928         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22929         comments.
22930         (PREFETCH): New.
22931         (PREFETCH_SIZE): Likewise.
22932         (PREFETCHED_LOAD_SIZE): Likewise.
22933         (PREFETCH_ONE_SET): Likewise.
22934         Rewrite to use forward and backward loops, which move 4 vector
22935         registers at a time, to support overlapping addresses and use
22936         non temporal store if size is above the threshold and there is
22937         no overlap between destination and source.
22939 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22941         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22942         Include dl-vdso.
22943         * sysdeps/unix/sysv/linux/mips/Versions: Add
22944         __vdso_clock_gettime.
22945         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22946         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22947         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22948         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22949         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22950         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22951         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22952         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22953         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22955 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22957         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22958         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22959         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22960         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22961         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22962         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22965         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22967         syscalls generation.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22969         [__NR_pwrite64] (__NR_write): Remove define.
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22971         [__NR_pwrite64] (__NR_write): Remove define.
22972         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22973         Remove define.
22974         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22975         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22976         Remove define.
22977         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22978         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22979         Linux implementation as base.
22980         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22982         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22983         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22984         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22988         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22989         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22990         syscall generation.
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22992         [__NR_pread64] (__NR_pread): Remove define.
22993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22994         [__NR_pread64] (__NR_pread): Likewise.
22995         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22996         define.
22997         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22998         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22999         Remove define.
23000         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23001         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23002         Linux implementation as base.
23003         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23004         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23005         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23007         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23008         definition.
23009         (__ALIGNMENT_COUNT): Likewise.
23010         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23011         (__ALIGNMENT_COUNT): Likewise.
23012         (SYSCALL_LL): New define.
23013         (SYSCALL_LL64): Likewise.
23014         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23015         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23016         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23017         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23019         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23020         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23021         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23022         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23023         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23024         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23026 2016-04-11  Florian Weimer  <fweimer@redhat.com>
23028         [BZ #19865]
23029         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23030         original buffer before retry.
23032 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23034         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23035         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23036         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23037         GLRO(dl_auxv) list.
23038         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23039         including <ldsodefs.h>.
23040         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23042 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23044         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23045         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23046         $(CPPFLAGS).
23048 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23050         [BZ #17950]
23051         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23052         Add -mfpmath=387.
23054 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23056         * sysdeps/i386/configure.ac: Change == to = when calling test.
23057         * sysdeps/x86_64/configure.ac: Likewise.
23058         * sysdeps/i386/configure: Regenerated.
23059         * sysdeps/x86_64/configure: Likewise.
23061 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23063         [BZ #16137]
23064         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23065         * benchtests/bench-strcoll.c (input_files): Likewise.
23066         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23067         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23068         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23070 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #19929]
23073         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23074         [__USE_XOPEN2K8 && !__USE_GNU].
23075         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23076         variable.
23078         [BZ #19925]
23079         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23080         define if [!__USE_MISC && __USE_XOPEN2K].
23081         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23082         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23083         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23084         Likewise.
23085         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23086         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23087         variable.
23088         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23090 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23092         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23093         (sysdep_routines): Add new strspn targets.
23094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23095         (__libc_ifunc_impl_list): Add strspn.
23096         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23097         New file.
23098         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23099         Likewise.
23100         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23101         Likewise.
23102         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23103         Likewise.
23105 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23107         * misc/hsearch_r.c: Include <limits.h>.
23109 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23111         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23113 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23115         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23116         (MEMCPY_SYMBOL): New.
23117         (MEMPCPY_SYMBOL): Likewise.
23118         (MEMMOVE_CHK_SYMBOL): Likewise.
23119         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23120         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23121         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23122         Provide alias for memcpy in libc.a and ld.so.
23124 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23126         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23127         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23128         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23129         Disabled fro now.
23130         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23131         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23133 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23135         * benchtests/Makefile (string-benchset): Add memcpy-large,
23136         memmove-large and memset-large.
23137         * benchtests/bench-memcpy-large.c: New file.
23138         * benchtests/bench-memmove-large.c: Likewise.
23139         * benchtests/bench-memmove-large.c: Likewise.
23140         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23142 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23144         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23145         32-bit displacement to avoid long nop between instructions.
23147 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23149         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23150         a comment on VMOVU and VMOVA.
23152 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23154         [BZ #19633]
23155         Use specified locale for number formatting in strfmon_l.
23156         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23157         (__nl_lookup_word): New inline functions.
23158         * include/printf.h (__print_fp_l): Declare.
23159         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23160         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23161         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23162         (___printf_fp): New function.
23163         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23164         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23165         * stdlib/tst-strfmon_l.c (do_test): New test.
23166         * stdlib/Makefile (tests): Add kt.
23167         (LOCALES): Build additional locales.
23168         (tst-strfmon_l.out): Require locales.
23170 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23172         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23173         if not in libc.
23174         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23175         Likewise.
23176         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23177         Likewise.
23178         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23179         Likewise.
23181 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23183         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23184         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23185         with unaligned_erms.
23186         (__memmove_erms): Skip if source == destination.
23187         (__memmove_unaligned_erms): Don't check source == destination
23188         first.
23190 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23192         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23193         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23195 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23197         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23198         * string/strspn.c (strspn): Likewise.
23200 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23202         * benchtests/bench-memset.c (do_test): Support 64-byte
23203         alignment.
23204         (test_main): Test 64-byte alignment.
23206 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23208         * benchtests/bench-memmove.c (test_main): Test 64-byte
23209         alignment.
23211 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23213         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23215 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23217         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23218         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23219         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23221         * string/strpbrk.c (strpbrk): Rewrite function.
23222         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23223         (__strpbrk_c2): Likewise.
23224         (__strpbrk_c3): Likewise.
23225         * string/string-inlines.c
23226         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23227         Likewise.
23228         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23229         Likewise.
23231         * string/strspn.c (strcspn): Rewrite function.
23232         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23233         (__strspn_c1): Remove inline function.
23234         (__strspn_c2): Likewise.
23235         (__strspn_c3): Likewise.
23236         * string/string-inlines.c
23237         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23238         compatibility symbol.
23239         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23240         Likewise.
23241         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23242         Likewise.
23243         * string/string-inlines.c: Include generic version.
23245 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23246             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23248         * string/Version (libc): Add GLIBC_2.24.
23249         * string/strcspn.c (strcspn): Rewrite function.
23250         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23251         (__strcspn_c1): Remove inline function.
23252         (__strcspn_c2): Likewise.
23253         (__strcspn_c3): Likewise.
23254         * string/string-inline.c
23255         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23256         compatibility symbol.
23257         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23258         Likewise.
23259         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23260         Likewise.
23261         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23263 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23265         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23266         Use ahi instead of aghi to adjust stack pointer.
23268 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23270         [BZ #19853]
23271         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23272         TEST to take significant digits as second parameter.
23273         [TEST]: Redefine in terms of TEST_N taking 30
23274         significant digits.
23275         (do_test): Add test case to demonstrate precision
23276         failure in the ldbl-128ibm printf.
23277         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23278         (__mpn_extract_long_double): Carry 7 extra intermediate
23279         bits of precision to aide computing difference when
23280         signs differ.
23282 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23284         [BZ #19881]
23285         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23286         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23287         memset-avx512-unaligned-erms.
23288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23289         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23290         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23291         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23292         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23293         __memset_sse2_unaligned_erms, __memset_erms,
23294         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23295         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23296         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23297         file.
23298         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23299         Likewise.
23300         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23301         Likewise.
23302         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23303         Likewise.
23305 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23307         [BZ #19776]
23308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23309         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23310         memmove-avx512-unaligned-erms.
23311         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23312         (__libc_ifunc_impl_list): Test
23313         __memmove_chk_avx512_unaligned_2,
23314         __memmove_chk_avx512_unaligned_erms,
23315         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23316         __memmove_chk_sse2_unaligned_2,
23317         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23318         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23319         __memmove_avx512_unaligned_erms, __memmove_erms,
23320         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23321         __memcpy_chk_avx512_unaligned_2,
23322         __memcpy_chk_avx512_unaligned_erms,
23323         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23324         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23325         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23326         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23327         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23328         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23329         __mempcpy_chk_avx512_unaligned_erms,
23330         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23331         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23332         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23333         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23334         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23335         __mempcpy_erms.
23336         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23337         file.
23338         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23339         Likewise.
23340         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23341         Likewise.
23342         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23343         Likewise.
23345 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23347         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23348         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23349         (La_s390_64_regs): Likewise.
23350         (La_s390_32_retval): Append vector register lrv_v24.
23351         (La_s390_64_retval): Likeweise.
23352         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23353         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23354         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23355         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23357 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23359         [BZ #19916]
23360         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23361         to create a non-vector/vector version for _dl_runtime_resolve and
23362         _dl_runtime_profile. Move implementation to ...
23363         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23364         (_dl_runtime_resolve) Save and restore fpr/vrs.
23365         (_dl_runtime_profile) Save and restore vrs and fix some issues
23366         if _dl_call_pltexit is called.
23367         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23368         Choose the correct resolver function if running on a machine with vx.
23369         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23370         to create a non-vector/vector version for _dl_runtime_resolve and
23371         _dl_runtime_profile. Move implementation to ...
23372         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23373         (_dl_runtime_resolve) Save and restore fpr/vrs.
23374         (_dl_runtime_profile) Save and restore vrs and fix some issues
23375         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23376         Choose the correct resolver function if running on a machine with vx.
23378 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23380         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23382 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23384         [BZ #19509]
23385         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23386         skip_map != NULL.
23387         * elf/tst-dlsym-error.c: New file.
23388         * elf/Makefile (tests): Add tst-dlsym-error.
23389         (tst-dlsym-error): Link against libdl.
23391 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23393         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23394         (__ASSUME_FUTIMESAT): Remove macro.
23395         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23397 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23399         [BZ #19879]
23400         CVE-2016-3075
23401         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23402         copy name.
23404 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23406         [BZ #19837]
23407         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23408         error if parse_line fails.
23410 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23412         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23413         (index_cpu_ERMS): Likewise.
23414         (reg_ERMS): Likewise.
23416 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23418         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23419         PER_LINUX_FDPIC): Add.
23421 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23423         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23424         memcpy-avx512-no-vzeroupper.
23425         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23426         to ...
23427         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23428         (MEMCPY): Don't define.
23429         (MEMCPY_CHK): Likewise.
23430         (MEMPCPY): Likewise.
23431         (MEMPCPY_CHK): Likewise.
23432         (MEMPCPY_CHK): Renamed to ...
23433         (__mempcpy_chk_avx512_no_vzeroupper): This.
23434         (MEMPCPY_CHK): Renamed to ...
23435         (__mempcpy_chk_avx512_no_vzeroupper): This.
23436         (MEMCPY_CHK): Renamed to ...
23437         (__memmove_chk_avx512_no_vzeroupper): This.
23438         (MEMCPY): Renamed to ...
23439         (__memmove_avx512_no_vzeroupper): This.
23440         (__memcpy_avx512_no_vzeroupper): New alias.
23441         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23443 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23445         [BZ #18858]
23446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23447         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23448         and mempcpy-avx512-no-vzeroupper.
23449         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23450         New.
23451         (MEMPCPY): Likewise.
23452         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23453         (MEMPCPY_CHK): New.
23454         (MEMPCPY): Likewise.
23455         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23456         (MEMPCPY): Likewise.
23457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23458         (MEMPCPY): Likewise.
23459         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23460         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23461         Likewise.
23462         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23463         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23465 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23466              Amit Pawar  <Amit.Pawar@amd.com>
23468         [BZ #19583]
23469         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23470         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23471         processors.  Set Fast_Copy_Backward for AMD Excavator
23472         processors.
23473         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23474         New.
23475         (index_arch_Fast_Unaligned_Copy): Likewise.
23476         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23477         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23479 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23481         [BZ #19791]
23482         * resolv/res_send.c (close_and_return_error): New function.
23483         (send_dg): Initialize *resplen2 after reopen failure.  Call
23484         close_and_return_error for error returns.  On error paths without
23485         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23486         successful return.
23488 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23490         [BZ #19860]
23491         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23492         zero if the compiler does not provide the AVX512F bit.
23494 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23496         [BZ #19848]
23497         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23498         from 8 to 4.
23499         (__ieee754_powl): Compare integer exponent against 4 not 8.
23500         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23501         from 8 to 4.
23502         (__ieee754_powl): Compare integer exponent against 4 not 8.
23503         * math/auto-libm-test-in: Add more tests of pow.
23504         * math/auto-libm-test-out: Regenerated.
23505         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23508 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23510         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23511         Make code unconditional.
23512         [!__NR_utimensat]: Remove conditional code.
23513         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23514         Make code unconditional.
23515         [!__NR_utimensat]: Remove conditional code.
23516         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23517         Make code unconditional.
23518         [!__NR_utimensat]: Remove conditional code.
23520 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23522         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23523         Make code unconditional.
23525 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23527         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23528         call-clobbered %eax on retry path.
23529         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23531 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23533         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23534         Don't set %rcx twice before "rep movsb".
23536 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23538         [BZ #19583]
23539         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23540         inline.  Check family before setting family, model and
23541         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23542         bits here.
23543         (init_cpu_features): Replace HAS_CPU_FEATURE and
23544         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23545         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23546         for Intel processors with usable AVX2.  Call get_common_indeces
23547         for other processors with family == NULL.
23548         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23549         (CPU_FEATURES_ARCH_P): Likewise.
23550         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23551         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23553 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23555         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23556         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23557         $(shared-thread-library) instead of hardcoding the path to libpthread.
23559 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23561         * sysdeps/unix/sysv/linux/kernel-features.h
23562         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23563         * sysdeps/unix/sysv/linux/getdents.c
23564         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23565         [!have_no_getdents64_defined]: Likewise.
23566         (__GETDENTS): Remove __have_no_getdents64 conditional.
23568 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23570         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23571         Remove macro.
23572         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23573         <kernel-features.h>.
23574         (signalfd) [__NR_signalfd4]: Make code unconditional.
23575         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23577 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23579         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23580         style.
23582 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23584         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23585         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23586         __pthread_unwind.
23587         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23588         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23589         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23590         (__condvar_cleanup1): Likewise.
23592 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23594         [BZ #19822]
23595         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23596         move it to the final $@ location.
23598 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23600         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23601         access where posix_spawn success and pid argument is null.
23602         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23603         success case.
23605 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23607         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23609         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23611         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23612         and __fcntl.
23613         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23614         __fcntl only.
23615         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23616         adding attribute_hidden to __open and __fcntl.
23618         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23619         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23620         depend on libc-modules.h,
23621         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23623 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23625         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23626         Remove macro.
23627         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23628         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23629         entry.
23631         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23632         Remove macro.
23633         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23634         include <kernel-features.h>.
23635         [!__ASSUME_FALLOCATE]: Remove conditional code.
23636         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23638 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23640         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23641         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23642         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23643         (_ZGVdN4v_cos_avx2): Likewise.
23644         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23645         (_ZGVdN4v_cos): Likewise.
23646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23647         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23649         (_ZGVdN4v_exp_avx2): Likewise.
23650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23651         (_ZGVdN4v_exp): Likewise.
23652         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23653         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23654         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23655         (_ZGVdN4v_log_avx2): Likewise.
23656         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23657         (_ZGVdN4v_log): Likewise.
23658         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23659         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23660         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23661         (_ZGVdN4vv_pow_avx2): Likewise.
23662         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23663         (_ZGVdN4vv_pow): Likewise.
23664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23665         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23666         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23667         (_ZGVdN4v_sin_avx2): Likewise.
23668         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23669         (_ZGVdN4v_sin): Likewise.
23670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23671         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23673         (_ZGVdN4vvv_sincos_avx2): Likewise.
23674         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23675         (_ZGVdN4vvv_sincos): Likewise.
23676         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23677         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23678         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23679         (_ZGVbN4v_cosf_sse4): Likewise.
23680         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23681         (_ZGVdN8v_cosf_avx2): Likewise.
23682         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23683         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23684         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23685         (_ZGVbN4v_expf_sse4): Likewise.
23686         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23687         (_ZGVdN8v_expf_avx2): Likewise.
23688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23689         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23691         (_ZGVbN4v_logf_sse4): Likewise.
23692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23693         (_ZGVdN8v_logf_avx2): Likewise.
23694         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23695         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23696         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23697         (_ZGVbN4vv_powf_sse4): Likewise.
23698         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23699         (_ZGVdN8vv_powf_avx2): Likewise.
23700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23701         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23703         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23704         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23705         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23707         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23709         (_ZGVbN4v_sinf_sse4): Likewise.
23710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23711         (_ZGVdN8v_sinf_avx2): Likewise.
23712         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23713         Use JUMPTARGET to call callee.
23714         (WRAPPER_IMPL_SSE2_ff): Likewise.
23715         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23716         (WRAPPER_IMPL_AVX): Likewise.
23717         (WRAPPER_IMPL_AVX_ff): Likewise.
23718         (WRAPPER_IMPL_AVX_fFF): Likewise.
23719         (WRAPPER_IMPL_AVX512): Likewise.
23720         (WRAPPER_IMPL_AVX512_ff): Likewise.
23721         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23722         Likewise.
23723         (WRAPPER_IMPL_SSE2_ff): Likewise.
23724         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23725         (WRAPPER_IMPL_AVX): Likewise.
23726         (WRAPPER_IMPL_AVX_ff): Likewise.
23727         (WRAPPER_IMPL_AVX_fFF): Likewise.
23728         (WRAPPER_IMPL_AVX512): Likewise.
23729         (WRAPPER_IMPL_AVX512_ff): Likewise.
23730         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23732 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23734         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23735         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23736         qualifier.
23737         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23738         internal_function qualifiers.
23740 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23742         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23743         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23744         * math/atest-exp.c (exp_mpn): Mark chk unused.
23745         * math/atest-exp2.c (exp_mpn): Likewise.
23746         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23747         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23749 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23751         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23752         Remove macro.
23753         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23754         <kernel-features.h>.
23755         [__NR_ppoll]: Make code unconditional.
23756         [!__ASSUME_PPOLL]: Remove conditional code.
23758         * sysdeps/unix/sysv/linux/kernel-features.h
23759         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23760         (__ASSUME_ACCEPT4): Likewise.
23761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23762         Define.
23763         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23764         Likewise.
23765         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23766         Likewise.
23767         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23768         Likewise.
23769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23770         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23771         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23772         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23773         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23774         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23775         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23776         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23777         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23778         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23779         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23780         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23781         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23783         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23784         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23785         Likewise.
23786         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23787         Likewise.
23788         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23789         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23790         0x040300].
23791         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23792         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23793         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23794         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23795         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23796         0x030300].
23797         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23798         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23799         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23800         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23801         0x040300].
23802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23804         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23805         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23806         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23807         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23808         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23809         0x030300].
23810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23811         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23812         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23813         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23814         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23815         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23816         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23818         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23819         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23820         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23821         0x040300].
23822         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23823         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23824         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23825         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23826         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23827         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23828         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23829         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23830         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23832         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23833         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23834         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23835         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23836         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23837         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23838         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23839         Likewise.
23840         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23841         Likewise.
23843 2016-03-15  Andreas Schwab  <schwab@suse.de>
23845         [BZ #19257]
23846         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23847         statp->_u._ext.nscount as loop count.
23849 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23851         * math/test-signgam-finite-c99.c: Also #undef
23852         __LIBC_INTERNAL_MATH_INLINES.
23853         * math/test-signgam-main.c: Likewise.
23855 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23857         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23858         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23859         (MADV_FREE): Likewise.
23860         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23861         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23862         EPOLLEXCLUSIVE.
23864 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23866         * timezone/README: Remove mention of checktab.awk. Mention wiki
23867         SharedSourceFiles.
23869 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23871         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23872         WUNTRACED.
23874 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23876         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23877         order to match the type of p when calling atomic_exchange_acq().
23879 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23881         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23882         cfi_offset calls.
23883         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23884         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23885         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23886         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23887         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23889 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23891         * timezone/checktab.awk: Removed.
23893 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23895         * manual/math.texi (Errors in Math Functions): Document relaxed
23896         accuracy goals for IBM long double.
23897         * math/libm-test.inc (test_exceptions): Always allow spurious
23898         "underflow" and "inexact" exceptions for IBM long double.
23900 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23902         [BZ #19762]
23903         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23904         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23905         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23906         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23907         (bit_arch_*): This for feature array.
23908         (bit_*): Renamed to ...
23909         (bit_cpu_*): This for cpu array.
23910         (index_*): Renamed to ...
23911         (index_arch_*): This for feature array.
23912         (index_*): Renamed to ...
23913         (index_cpu_*): This for cpu array.
23914         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23915         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23916         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23917         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23918         bit_##name with index_cpu_##name and bit_cpu_##name.
23919         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23920         bit_##name with index_arch_##name and bit_arch_##name.
23922 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23924         [BZ #19792]
23925         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23926         Terminate FDE before return label.
23928 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #19790]
23931         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23932         (rintl): Define as macro.
23933         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23934         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23935         of fesetround.  Ensure results are evaluated before end of scope.
23936         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23937         USE_AS_NEARBYINTL and include s_rintl.c.
23938         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23939         Disable exception traps in new environment.
23940         (libc_feholdsetround_ppc_ctx): Likewise.
23942 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23944         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23945         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23946         (tst_audit10_aux) [__AVX512F__]: ... here.
23948 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23950         * include/sys/auxv.h: New file.
23952 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23954         [BZ #19759]
23955         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23957 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23959         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23960         operand modifier.
23961         (feclearexcept): Likewise.
23963 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23965         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23966         to reflect the entire 32-bit HWCAP.
23967         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23968         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23970 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23972         [BZ #19783]
23973         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23974         $(test-via-rtld-prefix).
23975         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23977 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23979         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23980         union wait.  Report any non-zero exit status as error.
23982 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23984         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23985         configured with --enable-hardcoded-path-in-tests.
23987 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23989         [BZ #19677]
23990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23991         (__ieee754_remainderl): Put zero low parts in canonical form.
23992         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23993         file.  Based on
23994         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23995         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23996         with wrapper round test-fmodrem-ldbl-128ibm.c.
23997         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23998         file.
23999         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24000         Likewise.
24001         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24002         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24004 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24006         [BZ #19610]
24007         * elf/ldconfig.c (opt_link): Update comment.
24008         (options): Update help string for option -X.
24009         (search_dir): Unlink stale symbolic link only if updating symbolic
24010         links.
24011         * elf/tst-ldconfig-X.sh: New file.
24012         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24013         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24015 2016-03-07  Andreas Schwab  <schwab@suse.de>
24017         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24018         needed arguments.
24020 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
24022         [BZ #15333]
24023         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24024         to lstat64.
24026 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24028         * libio/filedoalloc.c (isatty): Remove.
24029         (local_isatty): Add comment.  Call __isatty directly.
24030         (_IO_file_doallocate): Update comment.  Assume _LIBC.
24031         * libio/wfiledoalloc.c (isatty): Remove.
24032         (_IO_wfile_doallocate): Update comment.
24034 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24036         [BZ #19269]
24037         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24038         tst-audit4-aux.o.
24039         (tst-audit10): Depend on tst-audit10-aux.o.
24040         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24041         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24042         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24043         instead of inline AVX code.
24044         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24045         instead of inline AVX512 code.
24046         * sysdeps/x86_64/tst-audit4-aux.c: New file
24047         * sysdeps/x86_64/tst-audit10-aux.c: New file
24049         [BZ #19648]
24050         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24052 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24054         [BZ #14750]
24055         [BZ #10354]
24056         [BZ #18433]
24057         * include/sched.h (__clone): Add hidden prototype.
24058         (__clone2): Likewise.
24059         * include/unistd.h (__dup): Likewise.
24060         * posix/Makefile (tests): Add tst-spawn2.
24061         * posix/tst-spawn2.c: New file.
24062         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24063         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24064         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24065         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24066         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24067         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24068         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24069         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24070         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24071         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24072         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24074         Likewise.
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24076         Likewise.
24077         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24078         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24079         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24080         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24081         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24082         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24083         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24084         * sysdeps/unix/sysv/linux/nptl-signals.h
24085         (____nptl_is_internal_signal): New function.
24086         * sysdeps/unix/sysv/linux/spawni.c: New file.
24088         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24089         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24090         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24091         * posix/tst-execvp2.c (do_test): Likewise.
24092         * posix/tst-execvp3.c (do_test): Likewise.
24093         * posix/tst-execvp4.c (do_test): Likewise.
24094         * posix/tst-execvpe1.c: New file.
24095         * posix/tst-execvpe2.c: Likewise.
24096         * posix/tst-execvpe3.c: Likewise.
24097         * posix/tst-execvpe4.c: Likewise.
24098         * posix/tst-execvpe5.c: Likewise.
24099         * posix/tst-execvpe6.c: Likewise.
24101         [BZ #19534]
24102         * posix/execl.c (execl): Remove dynamic memory allocation.
24103         * posix/execle.c (execle): Likewise.
24104         * posix/execlp.c (execlp): Likewise.
24106 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24108         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24109         Replace .text with .text.avx512.
24110         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24111         Likewise.
24113 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24115         * sysdeps/generic/libnsl.abilist: New file.
24116         * sysdeps/generic/libutil.abilist: New file.
24118 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24120         [BZ #19762]
24121         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24122         HAS_ARCH_FEATURE with Fast_Rep_String.
24123         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24124         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24125         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24126         Likewise.
24127         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24128         Likewise.
24129         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24130         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24131         Likewise.
24132         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24133         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24134         Likewise.
24136 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24138         [BZ #19745]
24139         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24140         with *%rax in call.
24142 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24144         [BZ #19745]
24145         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24146         with *__libc_start_main@GOTPCREL(%rip) in call.
24148 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24150         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24151         inside conditional for nonempty $(CXX).
24153         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24154         nonempty.
24156         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24157         to test for empty $(CXX) rather than $(CXX) of "no".
24159 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24161         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24163 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24164             H.J. Lu  <hongjiu.lu@intel.com>
24166         [BZ #18880]
24167         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24168         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24169         enable __memcpy_ssse3_back.
24171 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24173         [BZ #19758]
24174         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24175         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24177 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24179         [BZ #19490]
24180         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24181         (__fentry__): Likewise.
24183 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24185         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24186         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24188 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24190         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24191         __mcount_internal directly.
24192         (C_LABEL(__fentry__)): Likewise.
24193         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24194         directly.
24196 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24198         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24199         (__start_context): Call __setcontext directly.
24201 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24203         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24204         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24205         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24206         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24208         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24209         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24210         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24211         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24212         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24213         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24214         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24215         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24216         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24217         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24219         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24220         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24221         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24222         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24223         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24224         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24225         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24226         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24227         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24228         Remove conditional code.
24229         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24230         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24231         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24232         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24233         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24234         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24235         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24236         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24237         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24238         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24240         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24242 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24244         * NEWS (2.23): Fix typo in bug 19048 text.
24246 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24248         [BZ #14259]
24249         * Makeconfig: Rename msgcatdir to localedir.
24250         Rename inst_msgcatdir to inst_localedir.
24251         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24252         * config.make.in: Add localedir.
24253         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24254         (ldd-rewrite): Likewise.
24255         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24256         (install-others): Use inst_localedir.
24257         (CPPFLAGS): Use localedir.
24258         * locale/Makefile (locale-CPPFLAGS): Likewise.
24259         * po/Makefile (mo-installed): Use inst_localedir.
24261         [BZ #19575]
24262         * localedata/charmaps/GB18030: Update comments regarding PAU to
24263         non-PUA mappings.
24265 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24267         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24268         test for header.
24269         * sysdeps/unix/sysv/linux/configure: Regenerated.
24270         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24271         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24272         Remove conditional code.
24273         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24275         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24276         Define to 3.2.0.
24277         (arch_minimum_kernel): Likewise.
24278         * sysdeps/unix/sysv/linux/configure: Regenerated.
24279         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24280         Define to 2.6.32.
24281         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24282         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24283         (arch_minimum_kernel): Define to 2.6.32.
24284         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24285         * README: Document Linux 3.2 requirement.
24286         * manual/install.texi (Linux): Document Linux 3.2 headers
24287         requirement.
24288         * INSTALL: Regenerated.
24290 2016-02-24  Andreas Schwab  <schwab@suse.de>
24292         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24293         if !NO_LONG_DOUBLE.
24295 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24297         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24298         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24300 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24302         [BZ #19512]
24303         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24305 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24307         * posix/tst-dir.c: Include libc-internal.h.
24309 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24311         [BZ #19056]
24312         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24313         * manual/filesys.texi (Reading/Closing Directory): Mention
24314         deprecaion.
24315         * posix/tst-dir.c (main): Disable deprecation warning in test.
24317 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24319         [BZ #19679]
24320         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24321         Renamed to ...
24322         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24323         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24324         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24325         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24326         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24327         * sysdeps/x86_64/dl-trampoline.h
24328         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24329         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24331 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24333         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24335 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24337         * elf/elf.h (R_386_GOT32X): New.
24338         (R_386_NUM): Update.
24339         (R_X86_64_GOTPCRELX: New.
24340         (R_X86_64_REX_GOTPCRELX): New.
24341         (R_X86_64_NUM): Update.
24343 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24345         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24347 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24349         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24350         assign attr->stackaddr to it, and adjust it down when
24351         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24352         [_STACK_GROWS_UP]: Delete assert.
24353         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24354         Implement stack grows up logic.
24355         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24356         stack grows up logic.
24358 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24360         * NEWS: Update with 2.24 template.
24362 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24364         [BZ #19678]
24365         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24366         Ensure +0.0 is returned when taking the next value below the least
24367         positive value.
24369 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24371         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24372         available.  Do not define NO_THREADS.
24373         * malloc/malloc.c: Do not check NO_THREADS.
24374         * malloc/arena.c: Likewise.
24376 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24378         * malloc/malloc.c (__libc_mallinfo): Update comment.
24379         (struct malloc_par): Remove max_total_mem member, it was always 0.
24380         (int_mallinfo): Store 0 into usmblks (no functional change).
24381         * malloc/hooks.c (struct malloc_state): Document that
24382         max_total_mem is always 0.
24383         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24384         always 0.
24385         * manual/memory.texi (Statistics of Malloc): Likewise.
24387 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24389         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24390         * malloc/arena.c (arena_max): Remove.
24391         (heap_trim, _int_new_arena): Do not update arena_max.
24393 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24395         * resolv/res_init.c (res_ninit): Update comment.
24397 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24399         [BZ #19505]
24400         * posix/spawn_int.h: Add headers and include guard.
24401         (__spawn_valid_fd): New function.
24402         * posix/spawn_faction_addopen.c
24403         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24404         * posix/spawn_faction_addclose.c
24405         (posix_spawn_file_actions_addclose): Likewise.
24406         * posix/spawn_faction_adddup2.c
24407         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24408         second file descriptor.
24409         * posix/spawn_valid_fd.c: New file.
24410         * posix/tst-posix_spawn-fd.c: New file.
24411         * posix/Makefile (routines): Add spawn_valid_fd.
24412         (tests): Add tst-posix_spawn-fd.
24414 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24416         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24417         (do_test): Limit the number of arenas, so that we can use fewer
24418         outer threads.  Limit timeout to 3 seconds, in preparation for a
24419         larger TIMEOUT value.
24421 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24423         [BZ #19674]
24424         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24425         sign in overflowing and underflowing results when overflow or
24426         underflow is detected early.  Include sign in result before rather
24427         than after scaling.
24429         [BZ #19603]
24430         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24431         (__ieee754_remainderl): Adjust sign of integer version of low part
24432         when taking absolute value of high part.
24433         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24434         * math/libm-test.inc (remainder_test_data): Add another test.
24435         (remquo_test_data): Likewise.
24437 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24439         [BZ #19602]
24440         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24441         equal high parts and both low parts zero specially.
24442         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24443         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24444         Add test-fmodl-ldbl-128ibm.
24446         [BZ #19595]
24447         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24448         common logic for all cases of shifting subnormal results.  Do not
24449         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24450         exponent to ldbl_insert_mantissa in subnormal case.
24452         [BZ #19594]
24453         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24454         on high and low parts then adjust result and use
24455         ldbl_canonicalize_int if needed.
24457         [BZ #19593]
24458         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24459         on high part and __floor or __ceil on low part then use
24460         ldbl_canonicalize_int if needed.
24462         [BZ #19592]
24463         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24464         high and low parts then use ldbl_canonicalize_int if needed.
24466         [BZ #17899]
24467         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24468         New function.
24469         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24470         on high and low parts then use ldbl_canonicalize_int if needed.
24472 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24474         * configure: Regenerated.
24476         * po/libc.pot: Regenerated.
24478         * po/be.po: Updated translation.
24479         * po/bg.po: Likewise.
24480         * po/ca.po: Likewise.
24481         * po/cs.po: Likewise.
24482         * po/da.po: Likewise.
24483         * po/el.po: Likewise.
24484         * po/eo.po: Likewise.
24485         * po/es.po: Likewise.
24486         * po/fi.po: Likewise.
24487         * po/fr.po: Likewise.
24488         * po/gl.po: Likewise.
24489         * po/hr.po: Likewise.
24490         * po/hu.po: Likewise.
24491         * po/ia.po: Likewise.
24492         * po/id.po: Likewise.
24493         * po/it.po: Likewise.
24494         * po/ja.po: Likewise.
24495         * po/lt.po: Likewise.
24496         * po/nb.po: Likewise.
24497         * po/nl.po: Likewise.
24498         * po/pt_BR.po: Likewise.
24499         * po/rw.po: Likewise.
24500         * po/sk.po: Likewise.
24501         * po/sl.po: Likewise.
24502         * po/sv.po: Likewise.
24503         * po/tr.po: Likewise.
24504         * po/zh_CN.po: Likewise.
24505         * po/zh_TW.po: Likewise.
24507         * version.h (RELEAES): Set to "development".
24508         (VERSION): Set to 2.23.90.
24510         * version.h (RELEASE): Set to "stable".
24511         (VERSION): Set to 2.23.
24512         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24514         * NEWS: Updated fixed bugs.
24516 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24517             Wilco Dijkstra  <wdijkstr@arm.com>
24519         [BZ #19462]
24520         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24521         (_STRING_INLINE_unaligned): This.
24522         * include/string.h: Include <string_private.h>.
24523         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24524         _STRING_INLINE_unaligned.
24525         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24526         (_STRING_INLINE_unaligned): New.
24527         * sysdeps/aarch64/string_private.h: New file.
24528         * sysdeps/generic/string_private.h: Likewise.
24529         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24530         * sysdeps/s390/string_private.h: Likewise.
24531         * sysdeps/x86/string_private.h: Likewise.
24532         * sysdeps/m68k/m680x0/m68020/bits/string.h
24533         (_STRING_ARCH_unaligned): Renamed to ...
24534         (_STRING_INLINE_unaligned): This.
24535         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24536         to ...
24537         (_STRING_INLINE_unaligned): This.
24538         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24539         to ...
24540         (_STRING_INLINE_unaligned): This.
24541         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24542         to ...
24543         (_STRING_INLINE_unaligned): This.
24545 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24546             H.J. Lu  <hongjiu.lu@intel.com>
24548         [BZ #19590]
24549         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24550         relocation.
24552 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24554         [BZ #18665]
24555         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24556         *herrno_p.
24557         (gaih_getanswer): Document functional behviour. Return tryagain
24558         if any result is tryagain.
24559         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24560         when freed.
24561         * resolv/res_send.c: Add copyright text.
24562         (__libc_res_nsend): Document that MAXPACKET is expected.
24563         (send_vc): Document. Remove buffer reuse.
24564         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24565         size of the buffer. Add Dprint for truncated UDP buffer.
24567 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24569         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24570         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24571         * INSTALL: Regenerate.
24573 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24574             Jonathan Wakely  <jwakely@redhat.com>
24575             Carlos O'Donell  <carlos@redhat.com>
24577         [BZ 19439]
24578         * math/Makefile (tests): Add test-math-isinff.
24579         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24580         * math/bits/mathcalls.h [__USE_MISC]: Use
24581         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24582         functions not in C++11 and which don't conflict e.g. isinff,
24583         isinfl etc.
24584         * math/test-math-isinff.cc: New file.
24586 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24588         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24590 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24592         [BZ #19529]
24593         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24595 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24597         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24599 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24601         [BZ #19550]
24602         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24603         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24604         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24605         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24606         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24607         New syscall entry.
24608         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24609         New syscall entry.
24610         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24611         syscall entry.
24613 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24615         [BZ #18240]
24616         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24617         unsigned int wraparound.
24619 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24621         [BZ #18240]
24622         * misc/bug18240.c: New test.
24623         * misc/Makefile (tests): Add it.
24625 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24626             Joseph Myers  <joseph@codesourcery.com>
24628         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24629         load in branch delay slot when less than a word of input left.
24631 2016-01-27  Andreas Schwab  <schwab@suse.de>
24633         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24634         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24635         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24636         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24638 2016-01-26  David S. Miller  <davem@davemloft.net>
24640         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24642 2016-01-25  David S. Miller  <davem@davemloft.net>
24644         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24645         __sqrtl_finite.
24646         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24647         instead using versioned_symbol.
24648         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24649         of entries.
24651         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24652         __sqrtl_finite to GLIBC_2.23
24654 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24656         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24658 2016-01-25  Andreas Schwab  <schwab@suse.de>
24660         [BZ #17514]
24661         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24662         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24663         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24664         * nptl/tst-mutex-errorcheck.c: New file.
24666 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24668         [BZ #18560]
24669         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24670         (IPCOP_semop): Likewise.
24671         (IPCOP_semget): Likewise.
24672         (IPCOP_semctl): Likewise.
24673         (IPCOP_msgsnd): Likewise.
24674         (IPCOP_msgrcv): Likewise.
24675         (IPCOP_msgget): Likewise.
24676         (IPCOP_msgctl): Likewise.
24677         (IPCOP_shmat): Likewise.
24678         (IPCOP_shmdt): Likewise.
24679         (IPCOP_shmget): Likewise.
24680         (IPCOP_shmctl): Likewise.
24682 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24684         * string/tst-endian.c: Include <libc-internal.h>.
24685         (do_test): Ignore tautological-compare warnings around
24686         "htobeXX (beXXtoh (i)) != i" and
24687         "htoleXX (leXXtoh (i)) != i" if-statements.
24689 2016-01-24  David S. Miller  <davem@davemloft.net>
24691         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24692         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24693         alias.
24694         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24695         __sqrtl_finite.
24697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24699 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24701         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24702         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24703         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24705 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24707         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24708         (thread_func): Use new function to simplify barrier check.
24709         (do_test): Use new function to simplify checking barrier exit
24710         code, and actually join the child thread.
24712 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24714         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24715         semicolon.
24716         (__libc_tend): Likewise.
24717         (__libc_tabort): Likewise.
24719 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24721         * sysdeps/nios2/libm-test-ulps: Update.
24722         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24723         (__gtsf2): Likewise.
24724         (__unorddf2): Likewise.
24725         (__unordsf2): Likewise.
24726         (__ledf2): Likewise.
24728 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24730         * nis/nis_table.c (__follow_path): Disable diagnostic for
24731         uninitialized variable that is a false positive for gcc 4.7.
24732         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24734 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24736         * sysdeps/nacl/lowlevellock-futex.h
24737         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24738         Always evaluate PRIVATE argument.
24740 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24742         [BZ #19490]
24743         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24744         (pthread_cond_broadcast): Use ENTRY/END
24745         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24746         (pthread_cond_signal): Likewise.
24747         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24748         Likewise.
24749         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24750         Likewise.
24751         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24752         Likewise.
24754 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24756         * sysdeps/ieee754/dbl-64/s_finite.c
24757         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24758         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24759         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24760         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24761         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24764         (__gtsf2): Add as optional for libc.so.
24765         (__unordsf2): Likewise.
24766         (__signbit): Remove for libc.so.
24767         (__signbitl): Likewise.
24769 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24771         * iconvdata/bug-iconv11.c (test_ibm93x):
24772         Use %zu printf format specifier for size_t argument.
24774 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24776         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24777         already-recorded ulps.
24778         * sysdeps/arm/libm-test-ulps: Regenerated.
24779         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24780         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24781         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24783 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24784             Paul Pluzhnikov  <ppluzhnikov@google.com>
24786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24787         assembler not supporting AVX-512.
24789 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24791         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24793 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24795         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24796         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24798         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24800         * sysdeps/arm/libm-test-ulps: Regenerated.
24802 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24804         [BZ #19451]
24805         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24807 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24809         [BZ #19486]
24810         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24811         * sysdeps/generic/fix-fp-int-convert-overflow.h
24812         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24813         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24814         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24815         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24816         Likewise.
24817         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24818         Avoid conversions to long int where inexact exceptions
24819         could be raised.
24820         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24821         Likewise.
24822         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24823         Avoid conversions to long long int where inexact exceptions
24824         could be raised.
24825         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24826         Likewise.
24828 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24830         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24831         * configure: Regenerated.
24833 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24835         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24837 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24839         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24840         outside of comment.
24842 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24844         * nptl/tst-barrier1.c: Add description on first line.
24845         * nptl/tst-barrier2.c: Likewise.
24846         * nptl/tst-barrier3.c: Likewise.
24847         * nptl/tst-barrier4.c: Likewise.
24848         * nptl/tst-barrier5.c: Likewise.
24850 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24852         [BZ #18868]
24853         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24855 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24859         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24860         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24861         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24862         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24863         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24864         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24865         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24866         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24867         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24869 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24871         [BZ #13065]
24872         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24873         new implementation.
24874         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24875         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24876         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24877         (BARRIER_IN_THRESHOLD): New macro.
24878         * nptl/pthread_barrierattr_setpshared.c
24879         (pthread_barrierattr_setpshared): Clean up.
24880         * nptl/tst-barrier4.c: Correct comment.
24881         * nptl/tst-barrier5.c: New file.
24882         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24883         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24884         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24885         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24886         * nptl/lowlevelbarrier.sym: Remove.
24887         * nptl/DESIGN-barrier.txt: Remove.
24888         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24889         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24890         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24891         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24892         error.
24893         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24894         implementation.
24896 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24898         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24899         (do_child): Mask SIGRTMIN while thr is running.
24901 2016-01-15  Martin Sebor  <msebor@redhat.com>
24903         [BZ #19432]
24904         * iconvdata/Makefile: Add bug-iconv11.
24905         * iconvdata/bug-iconv11.c: New test.
24906         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24907         * iconvdata/ibm933.c: Same.
24908         * iconvdata/ibm935.c: Same.
24909         * iconvdata/ibm937.c: Same.
24910         * iconvdata/ibm939.c: Same.
24912 2016-01-15  Martin Sebor  <msebor@redhat.com>
24914         [BZ #19443]
24915         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24916         [DEBUG] (_ufc_set_bits): Declare used.
24917         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24918         [DEBUG] (print_all): Declare used.
24919         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24920         operands of the ternary ?: expression to target type.
24921         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24922         calling the undeclared abort.
24923         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24925 2016-01-15  Martin Sebor  <msebor@redhat.com>
24927         [BZ #18755]
24928         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24929         warnings.
24930         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24931         (__gai_create_helper_thread): Same.
24932         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24933         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24934         to suppress -Wmaybe-uninitialized warnings.
24936 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24938         [BZ #19465]
24939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24940         inside if.
24941         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24942         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24943         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24945 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24947         [BZ #19466]
24948         * time/tst-mktime2.c (time_t_max): Removed.
24949         (time_t_min): Likewise.
24950         (TYPE_SIGNED): New.
24951         (TYPE_MINIMUM): Likewise.
24952         (TYPE_MAXIMUM): Likewise.
24953         (TIME_T_MIN): Likewise.
24954         (TIME_T_MAX): Likewise.
24955         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24956         and TIME_T_MIN.
24957         (do_test): Likewise.
24959 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24961         [BZ #19467]
24962         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24963         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24965 2016-01-02  Marcin Koƛcielnicki  <koriakin@0x04.net>
24967         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24969 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24971         * benchtests/Makefile (PYTHON): Define.
24972         (bench-func): Use $(PYTHON) to run python scripts.
24973         ($(objpfx)bench-%.c): Likewise.
24975 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24977         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24978         leading slash when `file_name' is "/".
24980 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24982         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24983         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24984         Likewise.
24985         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24986         Likewise.
24987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24988         Likewise.
24989         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24990         enum constant and macro.
24991         (PTRACE_SETSIGMASK): Likewise.
24992         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24993         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24994         (PTRACE_GETSIGMASK): Likewise.
24995         (PTRACE_SETSIGMASK): Likewise.
24996         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24997         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24998         Likewise.
24999         (PTRACE_SETSIGMASK): Likewise.
25000         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25001         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25002         (PTRACE_GETSIGMASK): Likewise.
25003         (PTRACE_SETSIGMASK): Likewise.
25004         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25005         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25006         Likewise.
25007         (PTRACE_SETSIGMASK): Likewise.
25008         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25009         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25010         Likewise.
25011         (PTRACE_SETSIGMASK): Likewise.
25012         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25013         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25014         Likewise.
25015         (PTRACE_SETSIGMASK): Likewise.
25016         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25018 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
25019             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25021         [BZ #19439]
25022         * math/bits/mathcalls.h
25023         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25024         prototype.
25025         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25027 2016-01-11  Andreas Schwab  <schwab@suse.de>
25029         [BZ #19253]
25030         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25031         cache when TZDEFRULES was used.
25032         * time/tst-tzname.c: New file.
25033         * time/Makefile (test): Add tst-tzname.
25034         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25035         * timezone/Makefile (test-zones): Add $(posixrules-file).
25036         ($(testdata)/$(posixrules-file)): New rule.
25038 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25040         Fix doc quoting problems with Texinfo 5
25041         Without this change, in the info file output, Texinfo 5 quotes code
25042         in text with undirected single quotes 'like this' and generates
25043         code examples that with many PDF readers cannot be cut out of PDFs
25044         and pasted into code.
25045         * manual/libc.texinfo: Configure the libc manual like the GNU
25046         Emacs manual, by using @documentencoding and setting
25047         txicodequoteundirected and txicodequotebacktick.  This way,
25048         Texinfo 5 quotes code in text with directed single quotes â€˜like
25049         this’ and produces examples that can be cut out of PDFs.  This
25050         change causes Texinfo 5 to generate info files that contain UTF-8
25051         characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25052         '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25054 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25056         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25057         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25058         barriers to their respective compiler built-ins.
25059         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25060         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25061         * sysdeps/powerpc/sysdep.h: Likewise.
25062         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25063         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25064         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25066 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25068         * scripts/config.guess: Revert previous shebang change.
25069         * scripts/config.sub: Likewise.
25070         * scripts/mkinstalldirs: Likewise.
25072 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25074         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25075         PPC_FEATURE2_HAS_IEEE128.
25076         * sysdeps/powerpc/dl-procinfo.c:
25077         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25079 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25081         [BZ #19415]
25082         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25083         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25084         (_dl_lookup_address): Rewrite using function resolver trampoline.
25085         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25086         two bits in address.
25088 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25090         * longlong.h: Change !__SHMEDIA__ to
25091         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25092         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25094 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25095             Joseph Myers  <joseph@codesourcery.com>
25096             Mark Shinwell  <shinwell@codesourcery.com>
25097             Andrew Stubbs  <ams@codesourcery.com>
25098             Rich Felker <dalias@libc.org>
25100         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25102 2016-01-07  Richard Henderson  <rth@redhat.com>
25104         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25106 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25108         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25109         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25110         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25111         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25112         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25114 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25115             Joseph Myers  <joseph@codesourcery.com>
25117         * timezone/private.h: Update from tzcode 2015g.
25118         * timezone/tzfile.h: Likewise.
25119         * timezone/tzselect.ksh: Likewise.
25120         * timezone/zdump.c: Likewise.
25121         * timezone/zic.c: Likewise.
25122         * timezone/ialloc.c: Remove file.
25123         * timezone/scheck.c: Likewise.
25124         * timezone/Makefile (extra-objs): Remove variable.
25125         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25126         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25127         -Wno-maybe-uninitialized.
25128         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25129         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25130         (CFLAGS-ialloc.c): Remove variable.
25131         (CFLAGS-scheck.c): Likewise.
25132         * timezone/README: Update list of files from tzcode.
25134 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25136         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25137         instead of __fxprintf when _LIBC is undefined.
25139 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25141         * catgets/test-gencat.sh: Remove space after shebang.
25142         * conform/GlibcConform.pm: Likewise.
25143         * conform/check-header-lists.sh: Likewise.
25144         * conform/conformtest.pl: Likewise.
25145         * conform/linknamespace.pl: Likewise.
25146         * conform/list-header-symbols.pl: Likewise.
25147         * debug/catchsegv.sh: Likewise.
25148         * elf/genrtldtbl.awk: Likewise.
25149         * elf/tst-pathopt.sh: Likewise.
25150         * elf/tst-rtld-load-self.sh: Likewise.
25151         * grp/tst_fgetgrent.sh: Likewise.
25152         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25153         * iconvdata/gen-8bit-gap.sh: Likewise.
25154         * iconvdata/gen-8bit.sh: Likewise.
25155         * iconvdata/run-iconv-test.sh: Likewise.
25156         * intl/tst-gettext.sh: Likewise.
25157         * intl/tst-gettext2.sh: Likewise.
25158         * intl/tst-gettext4.sh: Likewise.
25159         * intl/tst-gettext6.sh: Likewise.
25160         * intl/tst-translit.sh: Likewise.
25161         * io/ftwtest-sh: Likewise.
25162         * libio/test-freopen.sh: Likewise.
25163         * locale/gen-translit.pl: Likewise.
25164         * malloc/tst-mtrace.sh: Likewise.
25165         * manual/check-safety.sh: Likewise.
25166         * manual/libc-texinfo.sh: Likewise.
25167         * manual/tsort.awk: Likewise.
25168         * manual/xtract-typefun.awk: Likewise.
25169         * nptl/tst-cancel-wrappers.sh: Likewise.
25170         * nptl/tst-tls6.sh: Likewise.
25171         * posix/globtest.sh: Likewise.
25172         * posix/tst-getconf.sh: Likewise.
25173         * posix/wordexp-tst.sh: Likewise.
25174         * scripts/check-c++-types.sh: Likewise.
25175         * scripts/check-local-headers.sh: Likewise.
25176         * scripts/config.guess: Likewise.
25177         * scripts/config.sub: Likewise.
25178         * scripts/cpp: Likewise.
25179         * scripts/cross-test-ssh.sh: Likewise.
25180         * scripts/documented.sh: Likewise.
25181         * scripts/evaluate-test.sh: Likewise.
25182         * scripts/gen-libc-abis: Likewise.
25183         * scripts/gen-sorted.awk: Likewise.
25184         * scripts/list-fixed-bugs.py: Likewise.
25185         * scripts/merge-test-results.sh: Likewise.
25186         * scripts/mkinstalldirs: Likewise.
25187         * scripts/rellns-sh: Likewise.
25188         * scripts/test-installation.pl: Likewise.
25189         * scripts/update-copyrights: Likewise.
25190         * stdio-common/tst-printf.sh: Likewise.
25191         * stdio-common/tst-unbputc.sh: Likewise.
25192         * stdlib/tst-fmtmsg.sh: Likewise.
25193         * stdlib/tst-setcontext3.sh: Likewise.
25194         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25195         * sysdeps/unix/make-syscalls.sh: Likewise.
25197 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25199         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25200         asm stw with atomic_exchange_rel.  Add explanatory comment.
25201         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25202         Likewise.
25204 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25206         [BZ #19122]
25207         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25208         * sysdeps/generic/dl-unistd.h: New file.
25209         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25211 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25213          [BZ #19122]
25214          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25215          * sysdeps/generic/dl-mman.h: New file.
25216          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25218 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25220         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25221         trailing whitespace removed.
25222         * scripts/config.guess: Update to version 2016-01-01.
25223         * scripts/config.sub: Update to version 2016-01-01.
25224         * scripts/move-if-change: Update from gnulib.
25226 2016-01-04  Anton Blanchard  <anton@samba.org>
25228         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25229         for array indices.
25230         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25232 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25234         * NEWS: Update copyright dates.
25235         * catgets/gencat.c (print_version): Likewise.
25236         * csu/version.c (banner): Likewise.
25237         * debug/catchsegv.sh: Likewise.
25238         * debug/pcprofiledump.c (print_version): Likewise.
25239         * debug/xtrace.sh (do_version): Likewise.
25240         * elf/ldconfig.c (print_version): Likewise.
25241         * elf/ldd.bash.in: Likewise.
25242         * elf/pldd.c (print_version): Likewise.
25243         * elf/sotruss.sh: Likewise.
25244         * elf/sprof.c (print_version): Likewise.
25245         * iconv/iconv_prog.c (print_version): Likewise.
25246         * iconv/iconvconfig.c (print_version): Likewise.
25247         * locale/programs/locale.c (print_version): Likewise.
25248         * locale/programs/localedef.c (print_version): Likewise.
25249         * login/programs/pt_chown.c (print_version): Likewise.
25250         * malloc/memusage.sh (do_version): Likewise.
25251         * malloc/memusagestat.c (print_version): Likewise.
25252         * malloc/mtrace.pl: Likewise.
25253         * manual/libc.texinfo: Likewise.
25254         * nptl/version.c (banner): Likewise.
25255         * nscd/nscd.c (print_version): Likewise.
25256         * nss/getent.c (print_version): Likewise.
25257         * nss/makedb.c (print_version): Likewise.
25258         * posix/getconf.c (main): Likewise.
25259         * scripts/test-installation.pl: Likewise.
25260         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25262         * All files with FSF copyright notices: Update copyright dates
25263         using scripts/update-copyrights.
25264         * intl/plural.c: Regenerated.
25265         * locale/programs/charmap-kw.h: Likewise.
25266         * locale/programs/locfile-kw.h: Likewise.
25268 2016-01-02  Helge Deller  <deller@gmx.de>
25270         [BZ #19285]
25271         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25272         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25273         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25274         (MADV_xxK_PAGES): Remove.
25276 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25278         [BZ #15421]
25279         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25280         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25281         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25282         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25284 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25286         [BZ #19408]
25287         * sysdeps/unix/sysv/linux/personality.c: New file.
25288         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25289         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25290         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25291         (sysdep_routines): Add personality.
25292         (tests): Add tst-personality.
25293         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25294         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25295         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25296         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25297         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25298         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25299         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25300         Likewise.
25301         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25302         Likewise.
25303         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25304         Likewise.
25305         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25306         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25307         Likewise.
25309 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25311         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25312         (PATH_ARM_SYSTYPE): Remove.
25313         (PATH_CPUINFO): Likewise.
25314         (IO_BASE_FOOTBRIDGE): Likewise.
25315         (IO_SHIFT_FOOTBRIDGE): Likewise.
25316         (struct platform): Likewise.
25317         (init_iosys): Remove compatibility code for 2.4 kernels.
25318         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25320 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25322         * malloc/tst-malloc-thread-fail.c: New file.
25323         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25324         (tst-malloc-thread-fail): Link against libpthread.
25326 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25328         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25329         (get_parser): New function.
25330         (main): New function.
25332 2015-12-29  Rob Wu  <rob@robwu.nl>
25334         [BZ #19369]
25335         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25337 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25339         [BZ #19270]
25340         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25342 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25344         [BZ #15421]
25345         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25347 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25349         [BZ #13690]
25350         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25351         after releasing it.
25352         (__lll_robust_unlock): Likewise.
25353         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25354         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25355         (lll_robust_unlock): Likewise.
25356         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25357         Prevent warnings in callers.
25359 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25361         * malloc/arena.c (list_lock): Update comment.
25363 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25365         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25366         __parse_hwcap_and_convert_at_platform to libc.a.
25368 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25370         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25371         platform and feature support for POWER9.
25372         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25373         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25374         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25375         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25376         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25377         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25378         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25379         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25381 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25383         Harmonize generic stdio-lock support with nptl
25385         This fixes build when _IO_funlockfile is a macro, fixes build where
25386         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25387         stack unwind.
25389         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25390         _IO_release_lock ): Use cleanup attribute on new
25391         _IO_acquire_lock_file variable instead of assuming that
25392         _IO_release_lock will be called.
25393         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25394         _IO_acquire_lock_needs_exceptions_enabled.
25395         (_IO_acquire_lock_clear_flags2): New macro.
25397 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25399         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25401 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25403         [BZ #19182]
25404         * malloc/arena.c (list_lock): Document lock ordering requirements.
25405         (free_list_lock): New lock.
25406         (ptmalloc_lock_all): Comment on free_list_lock.
25407         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25408         (detach_arena): Update comment.  free_list_lock is now needed.
25409         (_int_new_arena): Use free_list_lock around detach_arena call.
25410         Acquire arena lock after list_lock.  Add comment, including FIXME
25411         about incorrect synchronization.
25412         (get_free_list): Switch to free_list_lock.
25413         (reused_arena): Acquire free_list_lock around detach_arena call
25414         and attached threads counter update.  Add two FIXMEs about
25415         incorrect synchronization.
25416         (arena_thread_freeres): Switch to free_list_lock.
25417         * malloc/malloc.c (struct malloc_state): Update comments to
25418         mention free_list_lock.
25420 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25422         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25423         Remove functions.
25424         (sloww, sloww1): Accept argument to offset quadrant.
25425         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25426         quadrant.
25427         (__sin, __cos): Consolidate common code into new functions.
25428         (reduce_sincos_1, do_sincos_1): New functions.
25429         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25432         code to new functions.
25433         (reduce_sincos_2, do_sincos_2): New functions.
25434         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25436         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25437         common code for sincos.
25438         (__cos) [!IN_SINCOS]: Likewise.
25439         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25440         New function.
25441         (__sincos): Use it.
25443 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25445         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25446         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25447         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25449 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25451         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25453         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25454         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25455         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25456         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25457         index_Prefer_No_VZEROUPPER): New feature.
25458         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25459         Prefer_No_VZEROUPPER for Knights Landing.
25461 015-12-18  Torvald Riegel  <triegel@redhat.com>
25463         * math/atest-exp2.c (mp_exp_m1): Remove.
25465 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25467         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25468         syscalls.
25469         (__SYSCALL0): New macro.
25470         (__SYSCALL1): Likewise.
25471         (__SYSCALL2): Likewise.
25472         (__SYSCALL3): Likewise.
25473         (__SYSCALL4): Likewise.
25474         (__SYSCALL5): Likewise.
25475         (__SYSCALL6): Likewise.
25476         (__SYSCALL_CONCAT_X): Likewise.
25477         (__SYSCALL_CONCAT): Likewise.
25478         (__SYSCALL_DIST): Likewise.
25479         (__SYSCALL_CALL): Likewise.
25481 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25483         [BZ #19363]
25484         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25486 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25488         [BZ #19375]
25489         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25490         negative subnormals.
25492 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25495         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25496         (INTERNAL_SYSCALL_NCS): Use it.
25497         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25499 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25501         [BZ #19243]
25502         * malloc/arena.c (get_free_list): Remove assert and adjust
25503         reference count handling.  Add comment about reused_arena
25504         interaction.
25505         (reused_arena): Add comments abount get_free_list interaction.
25506         * malloc/tst-malloc-thread-exit.c: New file.
25507         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25508         (tst-malloc-thread-exit): Link against libpthread.
25510 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25512         [BZ #19367]
25513         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25514         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25515         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25516         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25517         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25519 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25521         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25522         Silvermont optimizations for Knights Landing.
25524 2015-12-15  Andreas Schwab  <schwab@suse.de>
25526         [BZ #17197]
25527         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25528         immediately after emitting SI.
25529         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25530         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25531         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25532         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25533         * iconvdata/bug-iconv10.c: New file.
25534         * iconvdata/Makefile (tests): Add bug-iconv10.
25535         ($(objpfx)bug-iconv10.out): New rule.
25537 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25539         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25540         aliasing violation.
25542 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25544         [BZ #18472]
25545         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25546         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25547         conditionals for them.
25548         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25549         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25550         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25551         sys/kdaemon.h.
25552         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25553         compat-only syscall, obsoleted in glibc 2.23.
25554         (create_module): Likewise.
25555         (get_kernel_syms): Likewise.
25556         (query_module): Likewise.
25557         (uselib): Likewise.
25558         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25560 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25562         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25563         <linux/version.h>.
25564         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25565         conditional code.
25566         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25567         and ioshift_name initialization.
25569 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25571         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25572         Fix indentation.
25574 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25576         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25578 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25580         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25582 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25583             Jakub Wilk  <jwilk@debian.org>
25585         [BZ #19347]
25586         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25587         to change the group of the device to the tty group.
25589 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25591         Split large string section; add truncation advice
25592         * manual/examples/strncat.c: Remove.
25593         This example was misleading, as the code would have undefined
25594         behavior if "hello" was longer than SIZE.  Anyway, the manual
25595         shouldn't encourage strncpy+strncat for this sort of thing.
25596         * manual/string.texi (Copying Strings and Arrays): Split into
25597         three sections Copying Strings and Arrays, Concatenating Strings,
25598         and Truncating Strings, as this section was way too long.  All
25599         cross-referenced changed.  Add advice about string-truncation
25600         functions.  Remove misleading strncat example.
25602 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25604         * manual/nss.texi (NSS Modules Interface): Document
25605         NSS_STATUS_NOTFOUND and SUCCESS.
25607 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25609         [BZ 18568]
25610         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25611         201505L, for Unicode 8.
25613 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25615         * locale/C-translit.h: Regenerate.
25617 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25619         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25620         and U+0153.
25622 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25624         [BZ #19351]
25625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25626         expanding log(1+z), compare z rather than its square with epsilon
25627         to determine when to avoid evaluating the expansion.
25629         [BZ #19350]
25630         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25631         Increase overflow threshold.
25633         [BZ #19349]
25634         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25635         when small.
25637         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25639         New macro.
25640         [__LINUX_KERNEL_VERSION >= 0x040300]
25641         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25643         Likewise.
25644         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25645         Likewise.
25646         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25647         Likewise.
25648         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25649         Likewise.
25650         [__LINUX_KERNEL_VERSION >= 0x040300]
25651         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25652         [__LINUX_KERNEL_VERSION >= 0x040300]
25653         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25654         [__LINUX_KERNEL_VERSION >= 0x040300]
25655         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25656         [__LINUX_KERNEL_VERSION >= 0x040300]
25657         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25658         [__LINUX_KERNEL_VERSION >= 0x040300]
25659         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25660         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25661         Likewise.
25662         [__LINUX_KERNEL_VERSION >= 0x040300]
25663         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25665         Likewise.
25666         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25667         Likewise.
25668         [__LINUX_KERNEL_VERSION >= 0x040300]
25669         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25671         Likewise.
25672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25673         Likewise.
25674         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25675         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25676         Likewise.
25677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25678         Likewise.
25679         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25680         Likewise.
25681         [__LINUX_KERNEL_VERSION >= 0x040300]
25682         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25684         Likewise.
25685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25686         Likewise.
25687         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25688         Likewise.
25689         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25690         Likewise.
25691         [__LINUX_KERNEL_VERSION >= 0x040300]
25692         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25693         [__LINUX_KERNEL_VERSION >= 0x040300]
25694         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25695         [__LINUX_KERNEL_VERSION >= 0x040300]
25696         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25697         [__LINUX_KERNEL_VERSION >= 0x040300]
25698         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25699         [__LINUX_KERNEL_VERSION >= 0x040300]
25700         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25702         Likewise.
25703         [__LINUX_KERNEL_VERSION >= 0x040300]
25704         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25706         Likewise.
25707         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25708         Likewise.
25709         [__LINUX_KERNEL_VERSION >= 0x040300]
25710         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25712         Likewise.
25713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25714         Likewise.
25715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25716         (__ASSUME_SOCKET_SYSCALL): Likewise.
25717         (__ASSUME_BIND_SYSCALL): Likewise.
25718         (__ASSUME_CONNECT_SYSCALL): Likewise.
25719         (__ASSUME_LISTEN_SYSCALL): Likewise.
25720         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25721         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25722         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25723         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25724         (__ASSUME_SEND_SYSCALL): Likewise.
25725         (__ASSUME_SENDTO_SYSCALL): Likewise.
25726         (__ASSUME_RECV_SYSCALL): Likewise.
25727         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25728         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25729         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25730         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25731         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25732         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25733         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25734         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25735         Likewise.
25736         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25737         Likewise.
25738         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25739         Likewise.
25740         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25741         Likewise.
25742         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25743         Likewise.
25744         [__LINUX_KERNEL_VERSION >= 0x020625]
25745         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25746         [__LINUX_KERNEL_VERSION >= 0x020625]
25747         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25748         [__LINUX_KERNEL_VERSION >= 0x020625]
25749         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25750         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25751         Likewise.
25752         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25753         Likewise.
25754         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25755         Likewise.
25756         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25757         Likewise.
25758         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25759         Likewise.
25760         [__LINUX_KERNEL_VERSION >= 0x020625]
25761         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25762         [__LINUX_KERNEL_VERSION >= 0x020625]
25763         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25764         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25765         Likewise.
25766         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25767         Likewise.
25769 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25771         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25772         record the current if the current ABI and CPU support the FP64
25773         extension.
25774         (has-modd-spreg): Define to record the current if the current ABI and
25775         CPU support 32-bit floating point values in odd FPU registers.
25776         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25777         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25778         $(has-modd-spreg) equals yes.
25779         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25780         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25781         $(has-modd-spreg) equal yes.
25783 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25785         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25786         basename.
25788 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25790         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25791         (bench-string): ... here.
25792         (bench): Add bench-string.
25793         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25794         to *-benchset to reflect what they are.
25795         (benchset): Adjust.
25797         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25798         cos-inputs.
25800 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25802         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25803         __attribute__ ((__simd__)) for vector math function declarations.
25805 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25807         Fix typo in strncat, wcsncat manual entries
25808         * manual/string.texi (Copying and Concatenation): Fix typos in
25809         sample implementations of strncat and wcsncat, by having them use
25810         the old value of the destination length, not the new one.
25812 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25814         [BZ #16961]
25815         [BZ #16962]
25816         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25817         string on the stack for strtod.
25818         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25819         a string on the stack for strtof.
25820         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25821         constructing a string on the stack for strtold.
25822         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25823         __strtold_nan to GLIBC_PRIVATE.
25824         * math/test-nan-overflow.c: New file.
25825         * math/test-nan-payload.c: Likewise.
25826         * math/Makefile (tests): Add test-nan-overflow and
25827         test-nan-payload.
25829 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25831         Consistency about byte vs character in string.texi
25832         * manual/string.texi (String and Array Utilities):
25833         Distinguish more carefully among bytes, multibyte characters,
25834         and wide characters.  Use "byte" when talking about C 'char',
25835         to distinguish it more clearly from multibyte characters.
25836         Say "wide character" or "multibyte character" instead of
25837         "character", when a wide or multibyte character is intended.
25838         Similarly for "multibyte string" versus "string".
25839         Define these terms more carefully.
25841 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25843         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25844         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25845         Likewise.
25846         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25847         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25848         * sysdeps/sh/math_private.h: New file.
25849         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25850         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25851         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25852         long double function name.
25853         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25854         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25855         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25859         Remove __finitel, __isinfl, and __isnanl.
25860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25861         Likewise.
25862         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25864         Remove __finitel.
25865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25866         Likewise.
25867         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25869 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25871         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25872         installed libmvec_nonshared.a.
25874 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25876         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25877         (sysdep_routines): Likewise.
25878         (sysdep-rtld-routines): Likewise.
25879         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25880         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25881         * sysdeps/powerpc/Versions: Added new
25882         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25883         * sysdeps/powerpc/hwcapinfo.c: New file.
25884         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25885         and parse hwcap, hwcap2 and platform number information.
25886         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25887         to store HWCAP+HWCAP2 and platform number.
25888         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25889         for HWCAP+HWCAP2 and platform number in the TCB.
25890         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25891         the HWCAP, HWCAP2 and platform number in the TCB.
25892         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25893         (TLS_INIT_TP): Included calls to add the hwcap and
25894         at_platform values in the TCB in TP initialization.
25895         (TLS_DEFINE_INIT_TP): Likewise.
25896         (THREAD_GET_HWCAP): New macro.
25897         (THREAD_SET_HWCAP): Likewise.
25898         (THREAD_GET_AT_PLATFORM): Likewise.
25899         (THREAD_SET_AT_PLATFORM): Likewise.
25900         * sysdeps/powerpc/powerpc32/dl-machine.h:
25901         (dl_platform_init): New function that calls
25902         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25903         powerpc32.
25904         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25905         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25906         this functionality, static linking case.
25907         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25908         linking case.
25909         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25910         __parse_hwcap_and_convert_at_platform for the static linking case.
25911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25912         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25913         ABI list for GLIBC 2.23.
25914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25915         Likewise.
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25917         Likewise.
25919 2015-12-02  Ludovic CourtĂšs  <ludo@gnu.org>
25921         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25922         * configure: Regenerate.
25923         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25924         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25926 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25928         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25929         * iconvdata/ibm933.c: Likewise.
25930         * iconvdata/ibm935.c: Likewise.
25931         * iconvdata/ibm937.c: Likewise.
25932         * iconvdata/ibm939.c: Likewise.
25934 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25936         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25937         pthread_join.
25938         * nptl/tst-cancel21.c (tf): Likewise.
25940 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25942         [BZ #19313]
25943         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25944         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25945         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25946         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25947         Likewise.
25948         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25949         Likewise.
25950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25951         Likewise.
25952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25953         Likewise.
25954         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25955         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25956         unsigned long int with __CPU_MASK_TYPE.
25958 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25960         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25962 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25964         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25965         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25966         t512.x.
25967         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25969 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25971         [BZ #19214]
25972         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25973         argument to return extended model.  Update family and model
25974         with extended family and model when family == 0x0f.
25975         (init_cpu_features): Updated.
25977 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25979         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25980         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25982         * sysdeps/mach/hurd/mmap64.c: New file.
25984 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25986         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25987         rights for its main user thread in NEWTASK.
25989 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25991         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25992         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25994 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25996         [BZ #14259]
25997         * Makeconfig: Rename localedir to complocaledir.
25998         Rename inst_localedir to inst_complocaledir.
25999         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26000         * config.make.in: Use complocaledir and libc_cv_complocaledir.
26001         * configure.ac: Use libc_cv_complocaledir.
26002         * configure: Regenerate.
26003         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26004         -DCOMPLOCALEDIR.
26005         * locale/findlocale.c: Use COMPLOCALEDIR.
26006         * locale/loadarchive.c: Likewise.
26007         * locale/programs/locale.c: Likewise.
26008         * locale/programs/localedef.c: Likewise.
26009         * locale/programs/locarchive.c: Likewise.
26010         * localedata/Makefile: Use inst_complocaledir.
26011         * sysdeps/gnu/configure: Regenerate.
26012         * sysdeps/hppa/configure: Regenerate.
26013         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26014         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26016         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26017         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26018         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26019         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26021 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
26023         [BZ #19058]
26024         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26025         AS_NEEDED.
26026         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26027         workaround.
26028         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26029         libmvec-static-only-routines): Added new file.
26030         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26032 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26034         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26035         of interrupted RPC instead of restoring it.
26037         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26038         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26039         libc_hidden_def.
26040         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26041         into initialized data instead of common. Define rtld_hidden_data_def.
26042         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26043         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26044         libc_hidden_def.
26045         (if_freenameindex): Add libc_hidden_weak.
26046         (if_nameindex): Add libc_hidden_weak.
26047         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26048         __open64.
26049         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26050         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26051         * sysdeps/mach/nanosleep.c: Include <time.h>
26052         (__nanosleep): Rename to __libc_nanosleep.
26053         (__nanosleep): Add weak_alias.
26054         (nanosleep): Update alias.
26056 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26058         * stdlib/strtod_nan.c: New file.
26059         * stdlib/strtod_nan_double.h: Likewise.
26060         * stdlib/strtod_nan_float.h: Likewise.
26061         * stdlib/strtod_nan_main.c: Likewise.
26062         * stdlib/strtod_nan_narrow.h: Likewise.
26063         * stdlib/strtod_nan_wide.h: Likewise.
26064         * stdlib/strtof_nan.c: Likewise.
26065         * stdlib/strtold_nan.c: Likewise.
26066         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26067         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26068         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26069         * wcsmbs/wcstod_nan.c: Likewise.
26070         * wcsmbs/wcstof_nan.c: Likewise.
26071         * wcsmbs/wcstold_nan.c: Likewise.
26072         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26073         strtold_nan.
26074         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26075         wcstof_nan.
26076         * include/stdlib.h (__strtof_nan): Declare and use
26077         libc_hidden_proto.
26078         (__strtod_nan): Likewise.
26079         (__strtold_nan): Likewise.
26080         (__wcstof_nan): Likewise.
26081         (__wcstod_nan): Likewise.
26082         (__wcstold_nan): Likewise.
26083         * include/wchar.h (____wcstoull_l_internal): Declare.
26084         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26085         (____strtoull_l_internal): Remove declaration.
26086         (STRTOF_NAN): Define macro.
26087         (SET_MANTISSA): Remove macro.
26088         (STRTOULL): Likewise.
26089         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26090         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26091         (STRTOF_NAN): Define macro.
26092         (SET_MANTISSA): Remove macro.
26093         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26094         (SET_MANTISSA): Remove macro.
26095         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26096         macro.
26097         (SET_MANTISSA): Remove macro.
26098         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26099         macro.
26100         (SET_MANTISSA): Remove macro.
26101         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26102         (SET_MANTISSA): Remove macro.
26103         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26104         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26105         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26107         [BZ #19266]
26108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26109         upper case and lower case letters inside NAN(), not using TOLOWER.
26110         * stdlib/tst-strtod-nan-locale-main.c: New file.
26111         * stdlib/tst-strtod-nan-locale.c: Likewise.
26112         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26113         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26114         Depend on $(gen-locales).
26115         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26116         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26117         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26118         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26119         Depend on $(gen-locales).
26120         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26122 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26124         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26126         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26128         __finitel, __isinfl, and __isnanl.
26129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26130         Likewise.
26131         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26133         __finitel.
26134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26135         Likewise.
26136         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26138 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26140         * malloc/memusage.c (me): Remove redundant getenv call.
26142 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26144         [BZ #19143]
26145         [BZ #19164]
26146         * nptl/check-cpuset.h: Remove.
26147         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26148         Remove CPU set size check.
26149         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26150         Likewise.
26151         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26152         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26153         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26154         (__pthread_setaffinity_new): Remove CPU set size check.
26155         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26156         (__kernel_cpumask_size): Remove.
26157         (__sched_setaffinity_new): Remove CPU set size check.
26158         * manual/threads.texi (Default Thread Attributes): Remove stale
26159         reference to check_cpuset_attr, determine_cpumask_size in comment.
26160         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26161         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26162         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26163         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26164         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26165         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26166         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26167         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26168         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26169         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26170         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26171         skeleton test file.
26172         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26173         tst-affinity-pid.
26175 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26177         * scripts/update-abilist.sh: New file.
26178         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26179         * Makerules (update-all-abi-%, update-all-abi)
26180         (subdir_update-all-abi): New targets.
26181         * elf/Makefile (update-all-abi): New target.
26183 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26185         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26186         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26187         (__libc_lock_define_initialized): Use it.
26188         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26189         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26190         * malloc/malloc.c (main_arena): Likewise.
26191         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26192         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26194 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26196         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26197         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26198         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26199         (PTRACE_O_MASK): Update value.
26200         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26201         New value in enum __ptrace_setoptions.
26202         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26203         (PTRACE_O_MASK): Update value.
26204         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26205         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26206         (PTRACE_O_MASK): Update value.
26207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26208         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26209         (PTRACE_O_MASK): Update value.
26210         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26211         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26212         (PTRACE_O_MASK): Update value.
26213         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26214         New value in enum __ptrace_setoptions.
26215         (PTRACE_O_MASK): Update value.
26216         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26217         New value in enum __ptrace_setoptions.
26218         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26219         (PTRACE_O_MASK): Update value.
26221         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26222         New macro.
26223         (PACKET_AUXDATA): Likewise.
26224         (PACKET_ORIGDEV): Likewise.
26225         (PACKET_VERSION): Likewise.
26226         (PACKET_HDRLEN): Likewise.
26227         (PACKET_RESERVE): Likewise.
26228         (PACKET_TX_RING): Likewise.
26229         (PACKET_LOSS): Likewise.
26230         (PACKET_VNET_HDR): Likewise.
26231         (PACKET_TX_TIMESTAMP): Likewise.
26232         (PACKET_TIMESTAMP): Likewise.
26233         (PACKET_FANOUT): Likewise.
26234         (PACKET_TX_HAS_OFF): Likewise.
26235         (PACKET_QDISC_BYPASS): Likewise.
26236         (PACKET_ROLLOVER_STATS): Likewise.
26237         (PACKET_FANOUT_DATA): Likewise.
26238         (PACKET_MR_UNICAST): Likewise.
26240         [BZ #19242]
26241         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26242         (TOUPPER): Likewise.
26243         * stdlib/tst-strtol-locale-main.c: New file.
26244         * stdlib/tst-strtol-locale.c: Likewise.
26245         * stdlib/Makefile (tests): Add tst-strtol-locale.
26246         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26247         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26248         Depend on $(gen-locales).
26249         * wcsmbs/tst-wcstol-locale.c: New file.
26250         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26251         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26252         tr_TR.ISO-8859-9.
26253         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26254         Depend on $(gen-locales).
26256 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26258         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26259         __glibc_likely instead of __builtin_expect.  After falling back to
26260         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26261         system interface to register the code pages as occupied.
26263 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26265         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26266         [!ARM_MATH_PRIVATE_H].
26267         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26268         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26269         [!HPPA_MATH_PRIVATE_H].
26270         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26271         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26272         to [!I386_MATH_PRIVATE_H].
26273         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26274         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26275         Change guard to [!M68K_MATH_PRIVATE_H].
26276         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26277         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26278         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26279         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26280         macro.
26281         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26282         [!MIPS_MATH_PRIVATE_H].
26283         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26284         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26285         [!NIO2_MATH_PRIVATE_H].
26286         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26287         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26288         [!TILE_MATH_PRIVATE_H].
26289         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26291         [BZ #15421]
26292         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26293         initialize with 0 and define as weak alias of __signgam.
26294         * include/math.h [!_ISOMAC] (__signgam): Declare.
26295         * math/Makefile (libm-calls): Add w_lgamma_compat.
26296         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26297         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26298         test-signgam-ullong-init.
26299         (tests-static): Add test-signgam-uchar-static,
26300         test-signgam-uchar-init-static, test-signgam-uint-static,
26301         test-signgam-uint-init-static, test-signgam-ullong-static and
26302         test-signgam-ullong-init-static.
26303         (CFLAGS-test-signgam-uchar.c): New variable.
26304         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26305         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26306         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26307         (CFLAGS-test-signgam-uint.c): Likewise.
26308         (CFLAGS-test-signgam-uint-init.c): Likewise.
26309         (CFLAGS-test-signgam-uint-static.c): Likewise.
26310         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26311         (CFLAGS-test-signgam-ullong.c): Likewise.
26312         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26313         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26314         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26315         * math/Versions (libm): Add GLIBC_2.23.
26316         * math/lgamma-compat.h: New file.
26317         * math/test-signgam-main.c: Likewise.
26318         * math/test-signgam-uchar-init-static.c: Likewise.
26319         * math/test-signgam-uchar-init.c: Likewise.
26320         * math/test-signgam-uchar-static.c: Likewise.
26321         * math/test-signgam-uchar.c: Likewise.
26322         * math/test-signgam-uint-init-static.c: Likewise.
26323         * math/test-signgam-uint-init.c: Likewise.
26324         * math/test-signgam-uint-static.c: Likewise.
26325         * math/test-signgam-uint.c: Likewise.
26326         * math/test-signgam-ullong-init-static.c: Likewise.
26327         * math/test-signgam-ullong-init.c: Likewise.
26328         * math/test-signgam-ullong-static.c: Likewise.
26329         * math/test-signgam-ullong.c: Likewise.
26330         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26331         wrapper of w_lgamma_main.c.
26332         * math/w_lgamma_compat.c: New file.
26333         * math/w_lgamma_compatf.c: Likewise.
26334         * math/w_lgamma_compatl.c: Likewise.
26335         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26336         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26337         defining compatibility symbols.
26338         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26339         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26340         wrapper of w_lgammaf_main.c.
26341         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26342         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26343         defining compatibility symbols.
26344         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26345         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26346         wrapper of w_lgammal_main.c.
26347         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26348         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26349         defining compatibility symbols.
26350         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26351         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26352         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26353         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26354         <lgamma-compat.h>.
26355         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26356         (__ieee754_gamma): Define as alias.
26357         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26358         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26359         <lgamma-compat.h>.
26360         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26361         (__ieee754_gammaf): Define as alias.
26362         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26363         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26364         <lgamma-compat.h>.
26365         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26366         (__ieee754_gammal): Define as alias.
26367         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26368         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26369         <math/w_lgamma_compat.c>.
26370         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26371         Define as alias of __lgamma_compat and use in defining lgammal.
26372         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26373         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26374         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26375         (USE_AS_COMPAT): New macro.
26376         (LGAMMA_OLD_VER): Undefine and redefine.
26377         (lgammal): Do not define here.
26378         (gammal): Only define here if [GAMMA_ALIAS].
26379         * conform/linknamespace.pl (@whitelist): Remove signgam.
26380         * sysdeps/nacl/libm.abilist: Update.
26381         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26382         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26383         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26384         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26385         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26386         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26387         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26388         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26389         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26390         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26391         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26392         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26394         Likewise.
26395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26396         Likewise.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26398         Likewise.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26400         Likewise.
26401         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26402         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26403         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26404         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26405         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26407         Likewise.
26408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26409         Likewise.
26410         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26411         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26414 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26416         [BZ #16364]
26417         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26418         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26420 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26422         * sysdeps/s390/fpu/bits/mathinline.h:
26423         Use __asm__ [__volatile__] instead of asm [volatile].
26424         * sysdeps/s390/abort-instr.h: Likewise.
26425         * sysdeps/s390/atomic-machine.h: Likewise.
26426         * sysdeps/s390/bits/string.h: Likewise.
26427         * sysdeps/s390/dl-tls.h: Likewise.
26428         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26429         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26430         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26431         * sysdeps/s390/fpu/fesetround.c: Likewise.
26432         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26433         * sysdeps/s390/fpu/s_fma.c: Likewise.
26434         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26435         * sysdeps/s390/memusage.h: Likewise.
26436         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26437         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26438         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26439         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26440         * sysdeps/s390/nptl/tls.h: Likewise.
26441         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26442         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26443         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26444         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26445         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26446         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26447         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26448         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26449         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26450         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26451         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26452         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26453         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26454         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26455         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26456         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26457         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26458         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26459         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26461         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26463         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26465 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26466             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26468         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26469         Add lwarx hint, and use macro for acquire instruction.
26470         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26471         Likewise.
26472         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26473         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26474         update to use new atomic macros.
26476 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26479         (__lll_trylock_elision): Fix setting of adapt_count.
26480         * sysdeps/unix/sysv/linux/powerpc/htm.h
26481         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26482         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26483         (_ABORT_SYSCALL): Renumber, and clarify definition.
26484         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26486 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26488         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26489         after system headers to prevent MIN/MAX redefinition.  Define
26490         HAVE_ALLOCA to preserve builtin alloca usage.
26492 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26495         static and don't set or restore rounding.
26496         (__cos)[IN_SINCOS]: Likewise.
26497         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26498         (__sincos): Set and restore rounding mode.  Remove check for infinite
26499         or NaN input.
26501         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26503         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26504         as used.
26506 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26508         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26510 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26512         * config.make.in (have-glob-dat-reloc): New.
26513         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26514         target supports GLOB_DAT relocaton. AC_SUBST.
26515         * configure: Regenerated.
26516         * elf/Makefile (tests): Add tst-prelink.
26517         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26518         (tst-prelink-ENV): New.
26519         ($(objpfx)tst-prelink-conflict.out): Likewise.
26520         ($(objpfx)tst-prelink-cmp.out): Likewise.
26521         * sysdeps/x86/tst-prelink.c: Moved to ...
26522         * elf/tst-prelink.c: Here.
26523         * sysdeps/x86/tst-prelink.exp: Moved to ...
26524         * elf/tst-prelink.exp: Here.
26525         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26526         (tst-prelink-ENV): Removed.
26527         ($(objpfx)tst-prelink-conflict.out): Likewise.
26528         ($(objpfx)tst-prelink-cmp.out): Likewise.
26529         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26531 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26533         [BZ #14551]
26534         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26535         (__mpn_construct_long_double): If high part overflows to infinity,
26536         set errno and recompute overflowed result of the correct sign.
26537         * sysdeps/ieee754/ldbl-128ibm/Makefile
26538         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26539         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26540         $(libm).
26541         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26543 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26545         [BZ #15479]
26546         [BZ #19238]
26547         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26548         floating-point state after first operation on input.  Restore full
26549         state rather than just rounding mode.
26550         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26551         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26552         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26554         [BZ #19235]
26555         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26556         add 0.5 to integer arguments.
26557         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26558         Likewise.
26559         (.LC2): New object.
26561 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26563         * scripts/pylintrc (reports): Set to no.
26565 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26567         * elf/dl-load.c (open_verify): Take new argument FD.
26568         Skip __open call if passed FD is not -1.
26569         (_dl_map_object, open_path): Update callers.
26570         * elf/dl-sysdep-open.h: New file.
26571         * elf/dl-load.c: Include it.
26572         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26573         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26574         * sysdeps/nacl/dl-sysdep-open.h: New file.
26575         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26576         from libc to rtld.
26578 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26580         [BZ #19228]
26581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26582         and restore full floating-point state.
26583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26584         Likewise.
26585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26586         Likewise.
26587         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26588         Likewise.
26589         * math/test-nearbyint-except-2.c: New file.
26590         * math/Makefile (tests): Add test-nearbyint-except-2.
26592 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26594         [BZ #19178]
26595         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26596         (tst-prelink-ENV): New.
26597         ($(objpfx)tst-prelink-conflict.out): Likewise.
26598         ($(objpfx)tst-prelink-cmp.out): Likewise.
26599         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26600         * sysdeps/x86/tst-prelink.c: New file.
26601         * sysdeps/x86/tst-prelink.exp: Likewise.
26603 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26605         * math/auto-libm-test-in: Add another test of pow.
26606         * math/auto-libm-test-out: Regenerated.
26607         * math/libm-test.inc (pow_test_data): Add another test.
26609 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26611         [BZ #19219]
26612         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26613         weak_alias to nearbyintl.
26615 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26617         * sysdeps/aarch64/bits/string.h: New file.
26618         (_STRING_ARCH_unaligned): Define.
26620 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26622         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26623         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26624         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26625         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26628 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26630         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26631         for original name of the DSO.  Add it to the name list of the DSO
26632         if it is actually given.
26633         (_dl_map_object): Keep track of whether an audit module rewrote
26634         the file name.  If yes, pass the original name to
26635         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26636         debugging is enabled, log the change of the file name.
26637         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26638         _dl_map_object_from_fd.
26639         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26640         * elf/tst-audit11.c: New file
26641         * elf/tst-auditmod11.c: New file.
26642         * elf/tst-audit11mod1.c: New file.
26643         * elf/tst-audit11mod2.c: New file.
26644         * elf/tst-audit11mod2.map: New file.
26645         * elf/tst-audit12.c: New file
26646         * elf/tst-auditmod12.c: New file.
26647         * elf/tst-audit12mod1.c: New file.
26648         * elf/tst-audit12mod2.c: New file.
26649         * elf/tst-audit12mod2.map: New file.
26650         * elf/tst-audit12mod3.c: New file.
26652 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26654         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26655         Don't create weak aliases,
26656         because versioned symbols are created later.
26657         * sysdeps/s390/s390-32/setjmp.S
26658         (setjmp, _setjmp): Remove weak and rename to an unique name
26659         in SHARED case due to existing versioned symbols.
26660         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26662         (getcontext): Create weak alias only in non SHARED case.
26663         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26665 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26667         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26668         (__ASSUME_*_SYSCALL) Define new macros.
26669         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26670         Remove socketcall syscalls.
26671         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26672         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26673         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26674         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26675         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26676         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26678 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26680         [BZ #12926]
26681         Terminate process on invalid netlink response.
26682         * sysdeps/unix/sysv/linux/netlinkaccess.h
26683         (__netlink_assert_response): Declare.
26684         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26685         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26686         (sysdep_routines): Add netlink_assert_response.
26687         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26688         __netlink_assert_response.
26689         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26690         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26691         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26692         __netlink_assert_response.
26694 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26696         [BZ #19178]
26697         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26698         (RTYPE_CLASS_PLT): Likewise.
26699         (RTYPE_CLASS_COPY): Likewise.
26700         (RTYPE_CLASS_TLS): Likewise.
26701         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26702         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26703         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26704         DL_DEBUG_PRELINK.
26706 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26708         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26709         calls with argument -0.5.
26710         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26712         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26713         (libc_cv_z_nodlopen): Likewise.
26714         (libc_cv_z_initfirst): Likewise.
26715         * configure: Regenerated.
26717 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26719         Simplify abilist format to be line-based.
26720         * scripts/abilist.awk: Collect descriptors in the descs variable.
26721         (emit): Write descs variable and sort it
26722         externally, with sort.
26723         * sysdeps/**/*.abilist: Convert to new format.
26725 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26727         [BZ #11460]
26728         * io/Makefile (routines): Add fts64.
26729         (tests): Add tst-fts and tst-fts-lfs.
26730         (CFLAGS-fts64.c): New.
26731         * io/Versions (GLIBC_2.23): New.
26732         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26733         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26734         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26735         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26736         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26737         (FTSENT64): Likewise.
26738         (fts64_children): Likewise.
26739         (fts64_close): Likewise.
26740         (fts64_open): Likewise.
26741         (fts64_read): Likewise.
26742         (fts64_set): Likewise.
26743         * io/fts64.c: New file.
26744         * io/tst-fts.c: New test.
26745         * io/tst-fts-lfs.c: Likewise.
26746         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26747         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26748         fts64_set.
26749         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26750         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26751         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26752         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26753         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26754         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26755         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26756         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26757         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26758         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26759         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26760         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26761         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26763         Likewise.
26764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26765         Likewise.
26766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26768         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26769         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26770         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26771         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26772         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26775         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26776         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26777         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26778         * sysdeps/wordsize-64/fts.c: New file.
26779         * sysdeps/wordsize-64/fts64.c: Likewise.
26780         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26781         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26782         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26783         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26785 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26787         * math/libm-test.inc (NON_FINITE): New macro.
26788         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26789         * math/gen-libm-test.pl (show_exceptions): Add argument
26790         $non_finite.
26791         (parse_args): Update call to show_exceptions.
26792         * math/test-math-finite.h: New file.
26793         * math/test-math-no-finite.h: Likewise.
26794         * math/test-double-finite.c: Likewise.
26795         * math/test-float-finite.c: Likewise.
26796         * math/test-ldouble-finite.c: Likewise.
26797         * math/test-double.c: Include "test-math-no-finite.h".
26798         * math/test-float.c: Include "test-math-no-finite.h".
26799         * math/test-ldouble.c: Include "test-math-no-finite.h".
26800         * math/test-math-inline.h (TEST_FINITE): New macro.
26801         * math/test-math-vector.h (TEST_FINITE): Likewise.
26802         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26803         (libm-tests): Add test-float-finite and test-double-finite.
26804         ($(objpfx)test-float-finite.o): New dependency on
26805         $(objpfx)libm-test.stmp.
26806         ($(objpfx)test-double-finite.o): Likewise.
26807         ($(objpfx)test-ldouble-finite.o): Likewise.
26808         (libm-test-no-inline-cflags): New variable.
26809         (libm-test-finite-cflags): Likewise.
26810         (CFLAGS-test-float-finite.c): Likewise.
26811         (CFLAGS-test-double-finite.c): Likewise.
26812         (CFLAGS-test-ldouble-finite.c): Likewise.
26813         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26814         (CFLAGS-test-double.c): Likewise.
26815         (CFLAGS-test-ldouble.c): Likewise.
26817 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26819         * io/fcntl.c (__fcntl): Add ... to prototype.
26820         * misc/ioctl.c (__ioctl): Likewise.
26821         * misc/syscall.c (syscall): Likewise.
26823 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26825         * scripts/list-fixed-bugs.py: New file.
26827         [BZ #19213]
26828         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26829         returned for argument 1.
26830         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26831         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26832         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26833         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26834         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26835         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26837         [BZ #19211]
26838         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26839         __USE_XOPEN], not if [!__USE_ISOC99].
26840         (lgammaf): Likewise.
26841         (lgammal): Likewise.
26842         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26843         (gammaf): Likewise.
26844         (gammal): Likewise.
26845         * math/test-signgam-finite-c11.c: New file.
26846         * math/test-signgam-finite-c99.c: Likewise.
26847         * math/test-signgam-finite.c: Likewise.
26848         * math/Makefile (tests): Add test-signgam-finite,
26849         test-signgam-finite-c99 and test-signgam-finite-c11.
26850         (CFLAGS-test-signgam-finite.c): New variable.
26851         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26852         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26854         [BZ #19212]
26855         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26856         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26857         500].
26858         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26859         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26860         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26861         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26862         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26863         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26864         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26865         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26866         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26867         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26869         [BZ #19209]
26870         * math/bits/math-finite.h (ldexp): Remove declaration.
26871         (ldexpf): Likewise.
26872         (ldexpl): Likewise.
26874         [BZ #19205]
26875         * math/bits/math-finite.h (acosf): Condition declaration on
26876         [__USE_ISOC99].
26877         (acosl): Likewise.
26878         (acoshf): Likewise.
26879         (acoshl): Likewise.
26880         (asinf): Likewise.
26881         (asinl): Likewise.
26882         (atan2f): Likewise.
26883         (atan2l): Likewise.
26884         (atanhf): Likewise.
26885         (atanhl): Likewise.
26886         (coshf): Likewise.
26887         (coshl): Likewise.
26888         (expf): Likewise.
26889         (expl): Likewise.
26890         (fmodf): Likewise.
26891         (fmodl): Likewise.
26892         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26893         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26894         (j0l): Likewise.
26895         (y0f): Likewise.
26896         (y0l): Likewise.
26897         (j1f): Likewise.
26898         (j1l): Likewise.
26899         (y1f): Likewise.
26900         (y1l): Likewise.
26901         (jnf): Likewise.
26902         (jnl): Likewise.
26903         (ynf): Likewise.
26904         (ynl): Likewise.
26905         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26906         (lgammal_r): Likewise.
26907         (__lgamma_r_finite): New declaration.
26908         (__lgammaf_r_finite): Likewise.
26909         (__lgammal_r_finite): Likewise.
26910         (lgamma): Use __lgamma_r_finite.
26911         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26912         __lgammaf_r_finite.
26913         (lgammal): Condition definition on [__USE_ISOC99].  Use
26914         __lgammal_r_finite.
26915         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26916         __lgamma_r_finite.
26917         (gammaf): Condition definition on [__USE_ISOC99].  Use
26918         __lgammaf_r_finite.
26919         (gammal): Condition definition on [__USE_ISOC99].  Use
26920         __lgammal_r_finite.
26921         (logf): Condition declaration on [__USE_ISOC99].
26922         (logl): Likewise.
26923         (log10f): Likewise.
26924         (log10l): Likewise.
26925         (ldexpf): Likewise.
26926         (ldexpl): Likewise.
26927         (powf): Likewise.
26928         (powl): Likewise.
26929         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26930         __USE_ISOC99].
26931         (remainderf): Condition declaration on [__USE_ISOC99].
26932         (remainderl): Likewise.
26933         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26934         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26935         (scalbl): Likewise.
26936         (sinhf): Condition declaration on [__USE_ISOC99].
26937         (sinhl): Likewise.
26938         (sqrtf): Likewise.
26939         (sqrtl): Likewise.
26941 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26943         * sysdeps/arm/atomic-machine.h
26944         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26945         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26946         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26947         Remove conditional code.
26948         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26949         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26950         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26951         Change conditional to [__ASSEMBLER__].
26952         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26953         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26954         [!__ASSEMBLER__].
26955         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26956         code.
26957         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26958         conditional macro definitions.
26959         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26960         (__arch_compare_and_exchange_val_16_acq): Likewise.
26961         (__arch_compare_and_exchange_val_32_acq): Likewise.
26962         (atomic_exchange_and_add): Likewise.
26963         (atomic_add): Likewise.
26964         (atomic_add_negative): Likewise.
26965         (atomic_add_zero): Likewise.
26966         (atomic_bit_set): Likewise.
26967         (atomic_bit_test_set): Likewise.
26968         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26969         code unconditional.
26970         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26972         * math/test-math-errno.h: New file.
26973         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26974         empty.
26975         (TEST_ERRNO): New macro.
26976         (TEST_EXCEPTIONS): Likewise.
26977         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26978         (TEST_EXCEPTIONS): Likewise.
26979         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26980         * math/test-double.c: Include "test-math-errno.h".
26981         * math/test-float.c: Likewise.
26982         * math/test-ldouble.c: Likewise.
26983         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26984         code unconditional.
26985         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26986         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26987         unconditional.
26988         (test_errno): Only run code if TEST_ERRNO.
26989         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26991 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26993         * nptl/tst-once5.cc: Remove attribution.
26995 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26997         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26998         sqrt, tan, tanh, y0, y1 and yn.
26999         * math/auto-libm-test-out: Regenerated.
27000         * math/libm-test.inc (scalb_test_data): Add more tests.
27001         (scalbn_test_data): Likewise.
27002         (scalbln_test_data): Likewise.
27003         (signbit_test_data): Likewise.
27004         (sin_test_data): Likewise.
27005         (sincos_test_data): Likewise.
27006         (sinh_test_data): Likewise.
27007         (sqrt_test_data): Likewise.
27008         (tan_test_data): Likewise.
27009         (tanh_test_data): Likewise.
27010         (tgamma_test_data): Likewise.
27011         (y0_test_data): Likewise.
27012         (y1_test_data): Likewise.
27013         (yn_test_data): Likewise.
27014         (significand_test_data): Likewise.
27015         * sysdeps/i386/fpu/libm-test-ulps: Update.
27017 2015-11-03  David Kastrup  <dak@gnu.org>
27019         [BZ #18604]
27020         * assert/assert.h (assert): Don't macro-expand failed assertion
27021         expression in error message.
27022         * malloc/malloc.c (assert): Likewise.
27024 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
27026         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27027         test.
27028         * configure: Regenerated.
27030 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
27032         * math/libm-test.inc (modf_test_data): Add more tests.
27033         (nearbyint_test_data): Likewise.
27034         (nextafter_test_data): Likewise.
27035         (nexttoward_test_data): Likewise.
27036         (pow_test_data): Likewise.
27037         (remainder_test_data): Likewise.
27038         (remquo_test_data): Likewise.
27039         (rint_test_data): Likewise.
27041         [BZ #19201]
27042         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27043         Check for zero remainder in case of large exponents and ensure
27044         correct sign of result in that case.
27045         * math/libm-test.inc (remainder_test_data): Add more tests.
27047         [BZ #6799]
27048         * math/s_nextafter.c: Include <errno.h>.
27049         (__nextafter): Set errno on overflow and underflow.
27050         * math/s_nexttowardf.c: Include <errno.h>.
27051         (__nexttowardf): Set errno on overflow and underflow.
27052         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27053         (__nextafterl): Set errno on overflow and underflow.
27054         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27055         (__nexttoward): Set errno on overflow and underflow.
27056         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27057         (__nexttowardf): Set errno on overflow and underflow.
27058         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27059         (__nextafterf): Set errno on overflow and underflow.
27060         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27061         (__nextafterl): Set errno on overflow and underflow.
27062         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27063         (__nexttoward): Set errno on overflow and underflow.
27064         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27065         (__nexttowardf): Set errno on overflow and underflow.
27066         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27067         (__nextafterl): Set errno on overflow and underflow.
27068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27069         (__nexttoward): Set errno on overflow and underflow.
27070         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27071         (__nexttowardf): Set errno on overflow and underflow.
27072         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27073         (__nexttoward): Set errno on overflow and underflow.
27074         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27075         (__nexttowardf): Set errno on overflow and underflow.
27076         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27077         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27078         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27079         (__nextafterl): Set errno on overflow and underflow.
27080         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27081         setting to be missing on overflow.  Add more tests.
27082         (nexttoward_test_data): Likewise.
27084         * configure.ac (libc_cv_initfini_array): Remove configure test.
27085         * configure: Regenerated.
27087 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27089         [BZ #19189]
27090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27091         non-finite argument handle arguments with negative sign.
27093         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27094         result from infinite argument.
27095         (j1_test_data): Likewise.
27096         (jn_test_data): Likewise.
27097         (y0_test_data): Likewise.
27098         (y1_test_data): Likewise.
27099         (yn_test_data): Likewise.
27101         [BZ #16171]
27102         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27103         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27104         * math/w_remainderf.c (dremf): Define as weak alias of
27105         __remainderf.
27106         * math/w_remainderl.c (dreml): Define as weak alias of
27107         __remainderl.
27108         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27109         __remainder.
27110         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27111         __remainderf.
27112         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27113         __remainderl.
27114         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27115         weak alias of remainderl.
27116         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27117         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27118         alias of __remainder.
27119         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27120         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27121         strong alias of __remainderl.
27122         (dreml): Use long_double_symbol.
27123         * math/Makefile (libm-calls): Remove w_drem.
27124         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27125         (CFLAGS-nldbl-drem.c): Remove variable.
27126         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27127         * math/w_drem.c: Remove file.
27128         * math/w_dremf.c: Likewise.
27129         * math/w_dreml.c: Likewise.
27130         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27131         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27132         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27134         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27135         * sysdeps/i386/configure: Regenerated.
27136         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27137         * sysdeps/x86_64/configure: Regenerated.
27139         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27140         test.
27141         (libc_cv_visibility_attribute): Likewise.
27142         (libc_cv_protected_data): Test unconditionally.
27143         (libc_cv_broken_visibility_attribute): Remove configure test.
27144         (libc_cv_have_sdata_section): Test unconditionally.
27145         * configure: Regenerated.
27147         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27148         * include/scratch_buffer.h: Include <stddef.h> instead of
27149         <libc-internal.h>.
27150         (struct scratch_buffer): Use max_align_t instead of
27151         libc_max_align_t.
27153 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27155         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27156         instead of extend_alloca.  Change control flow to avoid a goto.
27157         Remove assert which is trivially always true.
27159 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27161         [BZ #16068]
27162         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27163         (FE_ALL_EXCEPT_X86): New macro.
27164         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27165         FE_ALL_EXCEPT.  Ensure precision control is included in
27166         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27167         handle "denormal operand exception" and clear FZ and DAZ bits.
27168         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27169         (FE_ALL_EXCEPT_X86): New macro.
27170         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27171         FE_ALL_EXCEPT.  Ensure precision control is included in
27172         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27173         handle "denormal operand exception" and clear FZ and DAZ bits.
27174         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27175         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27176         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27177         test-fenv-x87 and test-fenv-sse-2.
27178         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27180         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27181         * math/test-double.h (BUILD_COMPLEX): New macro.
27182         * math/test-float.h (BUILD_COMPLEX): Likewise.
27183         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27185         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27186         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27187         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27188         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27189         instead of DBL_DENORM_MIN in comment.
27190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27191         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27192         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27193         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27194         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27195         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27197 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27199         [BZ #19048]
27200         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27201         attached_threads member.
27202         (main_arena): Initialize attached_threads.
27203         * malloc/arena.c (list_lock): Update comment.
27204         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27205         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27206         (deattach_arena): New function.
27207         (_int_new_arena): Initialize arena reference count and deattach
27208         replaced arena.
27209         (get_free_list, reused_arena): Update reference count and deattach
27210         replaced arena.
27211         (arena_thread_freeres): Update arena reference count and only put
27212         unreferenced arenas on the free list.
27214 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27216         [BZ #19181]
27217         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27218         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27219         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27220         * math/test-fenv-clear-main.c: New file.
27221         * math/test-fenv-clear.c: Likewise.
27222         * math/Makefile (tests): Add test-fenv-clear.
27223         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27224         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27225         test-fenv-clear-sse.
27226         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27228         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27229         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27230         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27232 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27234         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27235         static libc.
27237 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27239         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27240         test.
27241         * sysdeps/i386/configure: Regenerated.
27242         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27243         test.
27244         * sysdeps/x86_64/configure: Regenerated.
27245         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27247         memset-avx2 unconditionally instead of conditionally on
27248         [$(config-cflags-avx2) = yes].
27249         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27250         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27251         unconditional.
27252         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27253         * sysdeps/x86_64/multiarch/memset_chk.S
27254         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27255         to [IS_IN (libc) && SHARED].
27257 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27259         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27260         configure test.
27261         * sysdeps/arm/configure: Regenerated.
27262         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27263         Define variable if not already defined.
27265         [BZ #17404]
27266         * sysdeps/mips/atomic-machine.h
27267         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27268         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27269         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27271         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27272         unconditional.
27273         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27274         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27275         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27276         unconditional.
27277         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27278         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27279         unconditional.
27280         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27281         * stdlib/setenv.c
27282         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27283         code unconditional.
27284         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27285         Remove conditional code.
27286         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27287         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27288         unconditional.
27289         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27290         code.
27291         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27292         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27293         unconditional.
27294         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27295         code.
27296         * sysdeps/ieee754/ldbl-128/k_tanl.c
27297         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27298         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27299         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27300         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27301         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27303         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27304         unconditional.
27305         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27306         code.
27307         * sysdeps/ieee754/ldbl-96/k_tanl.c
27308         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27309         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27311         * nptl/tst-initializers1-c11.c: New file.
27312         * nptl/tst-initializers1-gnu11.c: Likewise.
27313         * nptl/Makefile (tests): Add these new tests.
27314         (CFLAGS-tst-initializers1-c11.c): New variable.
27315         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27317         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27318         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27319         instead of -std=gnu99.
27320         * configure.ac (systemtap): Test with -std=gnu11 instead of
27321         -std=gnu99.
27322         * configure: Regenerated.
27323         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27324         in compilation command in comment.
27326         * sysdeps/nptl/configure.ac: Remove file.
27327         * sysdeps/nptl/configure: Remove generated file.
27328         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27329         * configure: Regenerated.
27330         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27331         * config.make.in (have-forced-unwind): Remove variable.
27332         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27333         unconditional.
27334         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27335         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27336         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27337         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27338         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27339         unconditional.
27341 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27343         [BZ #19174]
27344         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27345         .skip_lock_out_of_tbegin_retries.
27346         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27347         (__lll_lock_elision): Likewise, and respect a value of
27348         try_tbegin <= 0.
27350 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27352         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27353         statement.
27355 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27357         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27358         variable.
27359         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27360         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27362         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27363         of -std=c1x -D_ISOC11_SOURCE.
27365         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27366         * configure: Regenerated.
27367         * manual/install.texi (Tools for Compilation): Document
27368         requirement for GCC 4.7 or later.
27369         * INSTALL: Regenerated.
27371 2015-10-27  Ludovic CourtĂšs  <ludo@gnu.org>
27373         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27374         on CNT to a conditional jump to 'puntdata'.
27376 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27378         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27379         (libc_cv_gcc_tls_model_attr): Likewise.
27380         * configure: Regenerated.
27382         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27383         * configure: Regenerated.
27384         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27386 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27388         * configure.ac (old_glibc_headers): Remove configure test.
27389         * configure: Regenerated.
27390         * config.make.in (old-glibc-headers): Remove variable.
27391         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27392         (install): Remove dependency on remove-old-headers.
27393         (headers2_0): Remove variable.
27394         (remove-old-headers): Remove rule.
27396         * configure.ac (libc_cv_dot_text): Remove configure test.
27397         (libc_cv_asm_set_directive): Use .text instead of
27398         ${libc_cv_dot_text} in configure test.
27399         * configure: Regenerated.
27401 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27403         [BZ #19168]
27404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27406 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27408         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27409         not support static linking.
27410         * configure: Regenerate.
27412 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27414         * math/libm-test.inc (check_float_internal): Do not special-case
27415         errors up to 0.5 ulp.
27417         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27418         log2.
27419         * math/auto-libm-test-out: Regenerated.
27420         * math/libm-test.inc (MAX_EXP): New macro.
27421         (ilogb_test_data): Add more tests.
27422         (isfinite_test_data): Likewise.
27423         (isgreater_test_data): Likewise.
27424         (isgreaterequal_test_data): Likewise.
27425         (isinf_test_data): Likewise.
27426         (isless_test_data): Likewise.
27427         (islessequal_test_data): Likewise.
27428         (islessgreater_test_data): Likewise.
27429         (isnan_test_data): Likewise.
27430         (isnormal_test_data): Likewise.
27431         (issignaling_test_data): Likewise.
27432         (isunordered_test_data): Likewise.
27433         (j0_test_data): Likewise.
27434         (j1_test_data): Likewise.
27435         (jn_test_data): Likewise.
27436         (lgamma_test_data): Likewise.
27437         (log_test_data): Likewise.
27438         (log10_test_data): Likewise.
27439         (log1p_test_data): Likewise.
27440         (log2_test_data): Likewise.
27441         (logb_test_data): Likewise.
27442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27444         [BZ #18611]
27445         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27446         avoid excess range and precision on underflow.
27447         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27448         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27449         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27450         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27451         underflow.
27452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27454         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27455         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27456         * math/auto-libm-test-in: Do not allow missing errno setting for
27457         tests of j1 and jn.
27458         * math/auto-libm-test-out: Regenerated.
27460 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27462         [BZ #15491]
27463         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27464         floating-point environment instead of clearing all exceptions.
27465         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27466         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27467         merging in "invalid" exceptions from frndint.
27468         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27469         * math/test-nearbyint-except.c: New file.
27470         * math/Makefile (tests): Add test-nearbyint-except.
27472 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27474         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27476         * sysdeps/tile/libm-test-ulps: Regenerated.
27478 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27481         (__NR_sync_file_range2): Assume it is always defined.
27482         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27483         (__NR_sync_file_range): Assume it is always defined.
27485 2015-10-22  Andreas Schwab  <schwab@suse.de>
27487         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27488         INTERNAL_SYSCALL_ERRNO.
27489         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27490         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27491         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27492         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27493         Likewise.
27494         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27496 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27498         * io/tst-fcntl.c (fd): New static variable.
27499         (do_prepare): Open temporary file here....
27500         (do_test): ...not here.
27502         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27504 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27506         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27507         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27508         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27509         Moved before "#ifdef __ASSEMBLER__".
27511 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27513         [BZ #19156]
27514         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27515         arguments very close to 0.
27517 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27519         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27520         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27522 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27524         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27525         New.  Defined for GCC 5 and above when not compiling for
27526         profiling.
27527         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27529         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27530         Renamed to ...
27531         (CFLAGS-epoll_pwait.o): This.
27532         (CFLAGS-mmap.c): Renamed to ...
27533         (CFLAGS-mmap.o): This.
27534         (CFLAGS-mmap64.c): Renamed to ...
27535         (CFLAGS-mmap64.o): This.
27536         (CFLAGS-epoll_pwait.os): New.
27537         (CFLAGS-mmap.os): Likewise.
27538         (CFLAGS-mmap64.os): Likewise.
27539         (CFLAGS-semtimedop.os): Likewise.
27540         (CFLAGS-semtimedop.c): Renamed to ...
27541         (CFLAGS-semtimedop.o): This.
27543 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27545         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27546         warning message.
27548 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27550         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27551         * Makefile ($(objpfx)c++-types-check.out): Filter out
27552         $(+gccwarn-c) instead of -Wstrict-prototypes.
27554         * io/fts.c (fts_open): Convert to prototype-style function
27555         definition.
27556         * malloc/mcheck.c (mcheck): Likewise.
27557         (mcheck_pedantic): Likewise.
27558         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27559         internal_function.
27560         (re_search_internal): Likewise.
27561         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27562         prototype-style function definition.
27563         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27564         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27565         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27566         (xdr_utmpptr): Likewise.
27567         (xdr_utmparr): Likewise.
27568         (xdr_utmpidle): Likewise.
27569         (xdr_utmpidleptr): Likewise.
27570         (xdr_utmpidlearr): Likewise.
27572         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27573         log, log10 and log2.
27574         * math/auto-libm-test-out: Regenerated.
27575         * math/libm-test.inc (fmod_test_data): Add more tests.
27576         (fpclassify_test_data): Likewise.
27577         (frexp_test_data): Likewise.
27578         (hypot_test_data): Likewise.
27579         (ilogb_test_data): Likewise.
27581 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27583         * debug/fortify_fail.c (__fortify_fail): Convert to
27584         prototype-style function definition.  Use internal_function.
27585         * libio/genops.c (save_for_backup): Convert to prototype-style
27586         function definition.
27587         * libio/wgenops.c (save_for_wbackup): Likewise.
27588         * login/grantpt.c (grantpt): Likewise.
27589         * login/ptsname.c (ptsname): Likewise.
27590         (__ptsname_r): Likewise.
27591         * login/unlockpt.c (unlockpt): Likewise.
27592         * mach/msgserver.c (__mach_msg_server): Likewise.
27593         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27594         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27595         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27596         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27597         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27598         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27599         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27600         Likewise.
27601         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27602         internal_function.
27603         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27604         prototype-style function definition.
27605         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27606         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27607         (__pthread_create_2_0): Likewise.
27608         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27609         * nptl/register-atfork.c (__register_atfork): Likewise.
27610         * posix/glob.c (glob): Likewise.
27611         * posix/regcomp.c (re_comp): Likewise.
27612         * posix/regexec.c (re_exec): Likewise.
27613         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27614         [!__STDC__]: Remove conditional code.
27615         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27616         [!__STDC__]: Remove conditional code.
27617         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27618         [!__STDC__]: Remove conditional code.
27619         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27620         [!__STDC__]: Remove conditional code.
27621         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27622         [!__STDC__]: Remove conditional code.
27623         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27624         [!__STDC__]: Remove conditional code.
27625         * stdlib/mul.c [__STDC__]: Make code unconditional.
27626         [!__STDC__]: Remove conditional code.
27627         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27628         [!__STDC__]: Remove conditional code.
27629         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27630         [!__STDC__]: Remove conditional code.
27631         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27632         function definition.
27633         (STRTOF): Likewise.
27634         * stdlib/strtod_l.c (__STRTOF): Likewise.
27635         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27636         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27637         (__strtol_l): Likewise.
27638         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27639         [!__STDC__]: Remove conditional code.
27640         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27641         definition.
27642         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27643         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27644         type.
27645         (__strcasecmp): Convert to prototype-style function definition.
27646         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27647         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27648         type.
27649         (__strncasecmp): Convert to prototype-style function definition.
27650         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27651         * sunrpc/xdr.c (xdr_union): Likewise.
27652         * sunrpc/xdr_array.c (xdr_array): Likewise.
27653         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27654         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27655         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27656         Likewise.
27657         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27658         Likewise.
27659         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27660         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27661         Likewise.
27662         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27663         (LOCALE_PARAM_PROTO): Likewise.
27664         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27665         argument type.
27666         (ut_argument_spec): Remove macro.
27667         (ut_argument_spec_iso): Rename to ut_argument_spec.
27668         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27669         prototype-style function definition.
27670         (memcpy_uppcase): Likewise.
27671         (__strftime_internal): Likewise.
27672         (my_strftime): Likewise.
27673         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27674         (LOCALE_PARAM_DECL): Likewise.
27675         [_LIBC] (LOCALE_PARAM): Include argument type.
27676         (__strptime_internal): Convert to prototype-style function
27677         definition.
27678         (strptime): Likewise.
27679         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27680         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27681         type.
27682         (__wcscasecmp): Convert to prototype-style function definition.
27683         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27684         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27685         type.
27686         (__wcsncasecmp): Convert to prototype-style function definition.
27688         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27689         function definition.
27690         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27691         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27692         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27693         * elf/dl-minimal.c (_itoa): Likewise.
27694         * hurd/hurdmalloc.c (malloc): Likewise.
27695         (free): Likewise.
27696         (realloc): Likewise.
27697         * inet/inet6_option.c (inet6_option_space): Likewise.
27698         (inet6_option_init): Likewise.
27699         (inet6_option_append): Likewise.
27700         (inet6_option_alloc): Likewise.
27701         (inet6_option_next): Likewise.
27702         (inet6_option_find): Likewise.
27703         * io/ftw.c (FTW_NAME): Likewise.
27704         (NFTW_NAME): Likewise.
27705         (NFTW_NEW_NAME): Likewise.
27706         (NFTW_OLD_NAME): Likewise.
27707         * libio/iofwide.c (_IO_fwide): Likewise.
27708         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27709         (_IO_str_init_static): Likewise.
27710         (_IO_str_init_readonly): Likewise.
27711         (_IO_str_overflow): Likewise.
27712         (_IO_str_underflow): Likewise.
27713         (_IO_str_count): Likewise.
27714         (_IO_str_seekoff): Likewise.
27715         (_IO_str_pbackfail): Likewise.
27716         (_IO_str_finish): Likewise.
27717         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27718         (_IO_wstr_overflow): Likewise.
27719         (_IO_wstr_underflow): Likewise.
27720         (_IO_wstr_count): Likewise.
27721         (_IO_wstr_seekoff): Likewise.
27722         (_IO_wstr_pbackfail): Likewise.
27723         (_IO_wstr_finish): Likewise.
27724         * locale/programs/localedef.c (normalize_codeset): Likewise.
27725         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27726         (add_locales_to_archive): Likewise.
27727         (delete_locales_from_archive): Likewise.
27728         * malloc/malloc.c (__libc_mallinfo): Likewise.
27729         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27730         * misc/tsearch.c (__tfind): Likewise.
27731         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27732         * nptl/pthread_attr_getdetachstate.c
27733         (__pthread_attr_getdetachstate): Likewise.
27734         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27735         Likewise.
27736         * nptl/pthread_attr_getinheritsched.c
27737         (__pthread_attr_getinheritsched): Likewise.
27738         * nptl/pthread_attr_getschedparam.c
27739         (__pthread_attr_getschedparam): Likewise.
27740         * nptl/pthread_attr_getschedpolicy.c
27741         (__pthread_attr_getschedpolicy): Likewise.
27742         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27743         Likewise.
27744         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27745         Likewise.
27746         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27747         Likewise.
27748         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27749         Likewise.
27750         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27751         (__pthread_attr_init_2_0): Likewise.
27752         * nptl/pthread_attr_setdetachstate.c
27753         (__pthread_attr_setdetachstate): Likewise.
27754         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27755         Likewise.
27756         * nptl/pthread_attr_setinheritsched.c
27757         (__pthread_attr_setinheritsched): Likewise.
27758         * nptl/pthread_attr_setschedparam.c
27759         (__pthread_attr_setschedparam): Likewise.
27760         * nptl/pthread_attr_setschedpolicy.c
27761         (__pthread_attr_setschedpolicy): Likewise.
27762         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27763         Likewise.
27764         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27765         Likewise.
27766         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27767         Likewise.
27768         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27769         Likewise.
27770         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27771         Likewise.
27772         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27773         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27774         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27775         use internal_function.
27776         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27777         prototype-style function definition.
27778         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27779         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27780         internal_function.
27781         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27782         Convert to prototype-style function definition.
27783         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27784         Likewise.
27785         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27786         Likewise.
27787         (__pthread_mutex_unlock): Likewise.
27788         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27789         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27790         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27791         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27792         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27793         * nss/makedb.c (process_input): Likewise.
27794         * posix/fnmatch.c (__strchrnul): Likewise.
27795         (__wcschrnul): Likewise.
27796         (fnmatch): Likewise.
27797         * posix/fnmatch_loop.c (FCT): Likewise.
27798         * posix/glob.c (globfree): Likewise.
27799         (__glob_pattern_type): Likewise.
27800         (__glob_pattern_p): Likewise.
27801         * posix/regcomp.c (re_compile_pattern): Likewise.
27802         (re_set_syntax): Likewise.
27803         (re_compile_fastmap): Likewise.
27804         (regcomp): Likewise.
27805         (regerror): Likewise.
27806         (regfree): Likewise.
27807         * posix/regexec.c (regexec): Likewise.
27808         (re_match): Likewise.
27809         (re_search): Likewise.
27810         (re_match_2): Likewise.
27811         (re_search_2): Likewise.
27812         (re_search_stub): Likewise.  Use internal_function
27813         (re_copy_regs): Likewise.
27814         (re_set_registers): Convert to prototype-style function
27815         definition.
27816         (prune_impossible_nodes): Likewise.  Use internal_function.
27817         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27818         prototype-style function definition.
27819         (inet_net_pton_ipv4): Likewise.
27820         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27821         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27822         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27823         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27824         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27825         Make variadic.
27826         * time/strptime_l.c (localtime_r): Convert to prototype-style
27827         function definition.
27828         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27829         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27830         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27831         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27833         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27834         definition.
27835         (_ufc_doit_r): Likewise.
27836         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27837         (_ufc_output_conversion_r): Likewise.
27838         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27839         * inet/rcmd.c (rcmd_af): Likewise.
27840         (rcmd): Likewise.
27841         (ruserok_af): Likewise.
27842         (ruserok): Likewise.
27843         (ruserok2_sa): Likewise.
27844         (ruserok_sa): Likewise.
27845         (iruserok_af): Likewise.
27846         (iruserok): Likewise.
27847         (__ivaliduser): Likewise.
27848         (__validuser2_sa): Likewise.
27849         * inet/rexec.c (rexec_af): Likewise.
27850         (rexec): Likewise.
27851         * inet/ruserpass.c (ruserpass): Likewise.
27852         * locale/programs/xmalloc.c (xcalloc): Likewise.
27853         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27854         * math/w_drem.c (__drem): Likewise.
27855         * math/w_dremf.c (__dremf): Likewise.
27856         * math/w_dreml.c (__dreml): Likewise.
27857         * misc/daemon.c (daemon): Likewise.
27858         * resolv/res_debug.c (p_fqnname): Likewise.
27859         * stdlib/div.c (div): Likewise.
27860         * string/memcmp.c (memcmp_bytes): Likewise.
27861         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27862         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27864         * crypt/cert.c (main): Convert to prototype-style function
27865         definition.
27866         * io/pipe.c (__pipe): Likewise.
27867         * io/pipe2.c (__pipe2): Likewise.
27868         * misc/futimesat.c (futimesat): Likewise.
27869         * misc/utimes.c (__utimes): Likewise.
27870         * posix/execve.c (__execve): Likewise.
27871         * posix/execvp.c (execvp): Likewise.
27872         * posix/execvpe.c (__execvpe): Likewise.
27873         * posix/fexecve.c (fexecve): Likewise.
27874         * socket/socketpair.c (socketpair): Likewise.
27875         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27876         * stdlib/erand48.c (erand48): Likewise.
27877         * stdlib/erand48_r.c (__erand48_r): Likewise.
27878         * stdlib/jrand48.c (jrand48): Likewise.
27879         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27880         * stdlib/lcong48.c (lcong48): Likewise.
27881         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27882         * stdlib/nrand48.c (nrand48): Likewise.
27883         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27884         * stdlib/seed48.c (seed48): Likewise.
27885         * stdlib/seed48_r.c (__seed48_r): Likewise.
27886         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27887         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27888         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27890 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27892         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27893         * configure: Regenerated.
27894         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27895         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27896         unconditional.
27897         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27898         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27899         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27900         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27901         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27902         unconditional.
27903         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27905         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27906         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27908         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27909         function definition.
27910         * crypt/crypt_util.c (__encrypt_r): Likewise.
27911         * libio/genops.c (_IO_no_init): Likewise.
27912         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27913         (_IO_old_fopencookie): Likewise.
27914         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27915         * libio/iogetline.c (_IO_getline): Likewise.
27916         (_IO_getline_info): Likewise.
27917         * libio/iogetwline.c (_IO_getwline): Likewise.
27918         (_IO_getwline_info): Likewise.
27919         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27920         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27921         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27922         (find_entry): Likewise.
27923         (iterate_table): Likewise.
27924         (lookup): Likewise.
27925         * login/forkpty.c (forkpty): Likewise.
27926         * misc/hsearch_r.c (__hsearch_r): Likewise.
27927         * misc/select.c (__select): Likewise.
27928         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27929         Likewise.
27930         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27931         Likewise.
27932         * nptl/old_pthread_cond_timedwait.c
27933         (__pthread_cond_timedwait_2_0): Likewise.
27934         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27935         * nptl/pthread_barrierattr_getpshared.c
27936         (pthread_barrierattr_getpshared): Likewise.
27937         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27938         Likewise.
27939         * nptl/pthread_mutex_setprioceiling.c
27940         (pthread_mutex_setprioceiling): Likewise.
27941         * nptl/pthread_mutexattr_getprioceiling.c
27942         (pthread_mutexattr_getprioceiling): Likewise.
27943         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27944         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27945         Likewise.
27946         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27947         Likewise.
27948         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27949         Likewise.
27950         * socket/recvfrom.c (__recvfrom): Likewise.
27951         * socket/sendto.c (__sendto): Likewise.
27952         * socket/setsockopt.c (__setsockopt): Likewise.
27953         * stdio-common/_itoa.c (_itoa): Likewise.
27954         * stdio-common/_itowa.c (_itowa): Likewise.
27955         * stdio-common/reg-printf.c (__register_printf_specifier):
27956         Likewise.
27957         (__register_printf_function): Likewise.
27958         * stdio-common/tempname.c (__path_search): Likewise.
27959         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27960         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27961         * stdlib/random_r.c (__initstate_r): Likewise.
27962         * stdlib/setenv.c (__add_to_environ): Likewise.
27963         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27964         * streams/getpmsg.c (getpmsg): Likewise.
27965         * streams/putmsg.c (putmsg): Likewise.
27966         * streams/putpmsg.c (putpmsg): Likewise.
27967         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27968         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27969         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27970         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27971         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27972         * sunrpc/svc_udp.c (cache_get): Likewise.
27973         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27974         * sysdeps/mach/hurd/getcwd.c
27975         (__canonicalize_directory_name_internal): Likewise.
27976         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27977         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27978         * sysdeps/mach/hurd/select.c (__select): Likewise.
27979         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27980         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27981         * sysdeps/sparc/nptl/pthread_barrier_init.c
27982         (__pthread_barrier_init): Likewise.
27983         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27984         (__pthread_cond_timedwait): Likewise.
27985         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27986         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27987         Likewise.
27988         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27989         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27990         Likewise.
27991         * sysvipc/semtimedop.c (semtimedop): Likewise.
27992         * time/setitimer.c (__setitimer): Likewise.
27993         * time/strftime_l.c (emacs_strftime): Likewise.
27995 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27997         * config.make.in (have-ssp): Delete.
27998         (stack-protector): New variable.
27999         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
28000         cache test for -fstack-protector-strong.  Export stack_protector to
28001         the best ssp flag.
28002         * configure: Regenerated.
28003         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28004         * nscd/Makefile (CFLAGS-nscd): Likewise.
28005         * resolv/Makefile (CFLAGS-libresolv): Likewise.
28007 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
28009         [BZ #19122]
28010         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28011         attribute_hidden.
28013 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28015         [BZ #18743]
28016         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28017         code to...
28018         (ELIDE_LOCK): ...here.
28019         (__get_new_count): New function with part of the code from
28020         __elide_lock that updates the value of adapt_count after a
28021         transaction abort.
28022         (__elided_trylock): Moved this code to...
28023         (ELIDE_TRYLOCK): ...here.
28025 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28027         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28028         * configure: Regenerate.
28029         * INSTALL: Regenerate.
28030         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28031         and tweak grammar.
28033 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28035         * login/programs/pt_chown.c: Include signal.h
28036         (main): Clear any signal mask from the parent process.
28038 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28040         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28041         * configure: Regenerated.
28042         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28043         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28044         $(gnu89-inline-CFLAGS).
28046         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28047         test.
28048         (libc_cv_asm_weakext_directive): Likewise.
28049         * configure: Regenerated.
28050         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28051         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28052         * include/libc-symbols.h
28053         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28054         #error.
28055         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28056         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28058         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28059         prototype-style function definition.
28060         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28061         * sysdeps/i386/ffs.c (__ffs): Likewise.
28062         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28063         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28064         Likewise.
28065         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28066         Likewise.
28067         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28068         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28069         Likewise.
28070         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28071         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28072         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28073         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28074         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28075         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28076         * sysdeps/mach/hurd/access.c (__access): Likewise.
28077         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28078         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28079         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28080         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28081         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28082         (cthread_getspecific): Likewise.
28083         (cthread_setspecific): Likewise.
28084         (__libc_getspecific): Likewise.
28085         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28086         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28087         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28088         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28089         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28090         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28091         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28092         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28093         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28094         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28095         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28096         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28097         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28098         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28099         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28100         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28101         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28102         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28103         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28104         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28105         * sysdeps/mach/hurd/link.c (__link): Likewise.
28106         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28107         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28108         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28109         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28110         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28111         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28112         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28113         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28114         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28115         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28116         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28117         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28118         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28119         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28120         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28121         * sysdeps/mach/hurd/send.c (__send): Likewise.
28122         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28123         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28124         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28125         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28126         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28127         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28128         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28129         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28130         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28131         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28132         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28133         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28134         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28135         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28136         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28137         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28138         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28139         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28140         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28141         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28142         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28143         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28144         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28145         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28146         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28147         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28148         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28149         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28150         * sysdeps/posix/alarm.c (alarm): Likewise.
28151         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28152         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28153         * sysdeps/posix/dup.c (__dup): Likewise.
28154         * sysdeps/posix/dup2.c (__dup2): Likewise.
28155         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28156         (main): Likewise.
28157         * sysdeps/posix/flock.c (__flock): Likewise.
28158         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28159         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28160         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28161         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28162         * sysdeps/posix/isatty.c (__isatty): Likewise.
28163         * sysdeps/posix/killpg.c (killpg): Likewise.
28164         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28165         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28166         * sysdeps/posix/raise.c (raise): Likewise.
28167         * sysdeps/posix/remove.c (remove): Likewise.
28168         * sysdeps/posix/rename.c (rename): Likewise.
28169         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28170         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28171         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28172         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28173         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28174         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28175         * sysdeps/posix/sigset.c (sigset): Likewise.
28176         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28177         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28178         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28179         * sysdeps/posix/time.c (time): Likewise.
28180         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28181         (ttyname): Likewise.
28182         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28183         * sysdeps/posix/utime.c (utime): Likewise.
28184         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28185         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28186         Likewise.
28187         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28188         (pthread_spin_trylock): Likewise.
28189         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28190         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28191         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28192         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28193         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28194         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28195         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28196         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28197         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28198         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28199         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28200         * sysdeps/s390/ffs.c (__ffs): Likewise.
28201         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28202         Likewise.
28203         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28204         Likewise.
28205         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28206         Likewise.
28207         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28208         (pthread_barrier_destroy): Likewise.
28209         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28210         (__pthread_barrier_wait): Likewise.
28211         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28212         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28213         (__pthread_barrier_wait): Likewise.
28214         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28215         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28216         (memcmp_not_common_alignment): Likewise.
28217         (MEMCMP): Likewise.
28218         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28219         (_wordcopy_fwd_dest_aligned): Likewise.
28220         (_wordcopy_bwd_aligned): Likewise.
28221         (_wordcopy_bwd_dest_aligned): Likewise.
28222         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28223         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28224         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28225         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28226         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28227         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28228         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28229         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28230         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28231         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28232         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28233         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28234         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28235         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28236         * sysdeps/unix/stime.c (stime): Likewise.
28237         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28238         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28239         Likewise.  Use internal_function.
28240         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28241         Convert to prototype-style function definition.
28242         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28243         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28244         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28245         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28246         Likewise.  Use internal_function.
28247         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28248         prototype-style function definition
28249         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28250         Likewise.
28251         (__getlogin_r): Likewise.
28252         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28254         (__pthread_cond_broadcast): Likewise.
28255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28256         (__pthread_cond_destroy): Likewise.
28257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28258         (__pthread_cond_init): Likewise.
28259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28260         (__pthread_cond_signal): Likewise.
28261         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28262         (__pthread_cond_wait): Likewise.
28263         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28264         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28265         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28266         Likewise.
28267         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28268         Likewise.
28269         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28270         Likewise.
28271         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28272         Likewise.
28273         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28275         (__ftruncate64): Likewise.
28276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28277         (truncate64): Likewise.
28278         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28279         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28280         (pthread_getcpuclockid): Likewise.
28281         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28282         Likewise.
28283         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28284         Likewise.
28285         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28286         Likewise.
28287         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28288         Likewise.
28289         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28290         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28291         (__libc_sigaction): Likewise.
28292         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28293         Likewise.
28294         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28295         (__sigprocmask): Likewise.
28296         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28297         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28298         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28299         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28300         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28301         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28302         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28303         Likewise.
28304         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28305         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28306         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28307         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28309         Likewise.
28310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28311         (__sigprocmask): Likewise.
28312         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28313         (cfgetispeed): Likewise.
28314         (cfsetospeed): Likewise.
28315         (cfsetispeed): Likewise.
28316         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28317         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28318         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28319         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28320         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28321         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28322         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28323         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28324         Likewise.
28325         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28326         Likewise.
28327         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28328         Likewise.
28329         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28330         Likewise.
28331         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28333 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28335         sunrpc: Rewrite with explicit TLS access using __thread.
28336         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28337         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28338         directly.
28339         (__rpc_thread_variables): Access thread_rpc_vars directly.
28340         Eliminate redundant assignment of the tvp variable.
28342 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28344         malloc: Rewrite with explicit TLS access using __thread.
28345         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28346         (tsd_setspecific, tsd_getspecific): Remove.
28347         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28348         (tsd_setspecific, tsd_getspecific): Likewise.
28349         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28350         (tsd_setspecific, tsd_getspecific): Likewise.
28351         * malloc/arena.c (thread_arena): New TLS variable.
28352         (arena_key): Remove variable.
28353         (arena_get): Use thread_arena.
28354         (arena_lookup): Remove macro.
28355         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28356         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28357         (_int_new_arena, get_free_list, reused_arena)
28358         (arena_thread_freeres): Use thread_arena.
28359         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28360         tsd_getspecific, tsd_setspecific from safety annotations.
28361         (Allocating Cleared Space): Remove arena_lookup from safety
28362         annotations.
28364 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28366         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28367         struct scratch_buffer instead of extend_alloca.
28369 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28371         * sysdeps/unix/sysv/linux/kernel-features.h
28372         (__ASSUME_SOCK_CLOEXEC): Remove.
28373         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28374         (__have_paccept): Remove unused macro.
28375         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28376         * misc/syslog.c (openlog_internal): Remove fallback code for
28377         !__ASSUME_SOCK_CLOEXEC.
28378         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28379         missing SOCK_CLOEXEC.
28380         * nscd/connections.c (have_sock_cloexec): Remove definition.
28381         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28382         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28383         !__ASSUME_SOCK_CLOEXEC.
28384         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28385         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28386         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28387         definition.
28388         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28389         code for !__ASSUME_SOCK_CLOEXEC.
28391 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28393         [BZ #18982]
28394         * manual/stdio.texi (Variable Arguments Output): Add portability
28395         note, explaining that vfprintf clobbers the va_list pointer.
28397 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28399         * math/libm-test.inc (fabs_test_data): Add more tests.
28400         (fdim_test_data): Likewise.
28401         (fma_test_data): Likewise.
28402         (fmax_test_data): Likewise.
28403         (fmin_test_data): Likewise.
28404         (fmod_test_data): Likewise.
28406 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28408         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28409         data.
28411 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28413         * math/libm-test.inc (ceil_test_data): Add more tests and more
28414         expectations for "inexact".
28415         (floor_test_data): Add more tests.
28416         (round_test_data): Likewise.
28417         (trunc_test_data): Likewise.
28419         * crypt/cert.c (good_bye): Convert to prototype-style function
28420         definition.
28421         (get8): Likewise.
28422         (put8): Likewise.
28423         * crypt/crypt-entry.c (crypt): Likewise.
28424         (__fcrypt): Likewise.
28425         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28426         (_ufc_set_bits): Likewise.
28427         (_ufc_clearmem): Likewise.
28428         (__init_des_r): Likewise.
28429         (shuffle_sb): Likewise.
28430         (shuffle_sb): Likewise.
28431         (_ufc_setup_salt_r): Likewise.
28432         (_ufc_mk_keytab_r): Likewise.
28433         (_ufc_dofinalperm_r): Likewise.
28434         (encrypt): Likewise.
28435         (__setkey_r): Likewise.
28436         (setkey): Likewise.
28437         * crypt/md5.c (md5_init_ctx): Likewise.
28438         (md5_read_ctx): Likewise.
28439         (md5_finish_ctx): Likewise.
28440         (md5_stream): Likewise.
28441         (md5_buffer): Likewise.
28442         (md5_process_bytes): Likewise.
28443         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28444         (__sha256_finish_ctx): Likewise.
28445         (__sha256_process_bytes): Likewise.
28446         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28447         (__sha512_finish_ctx): Likewise.
28448         (__sha512_process_bytes): Likewise.
28449         * ctype/isctype.c (__isctype): Likewise.
28450         * debug/backtrace.c (__backtrace): Likewise.
28451         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28452         * debug/fgets_chk.c (__fgets_chk): Likewise.
28453         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28454         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28455         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28456         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28457         * debug/memset_chk.c (__memset_chk): Likewise.
28458         * debug/strcat_chk.c (__strcat_chk): Likewise.
28459         * debug/strncat_chk.c (__strncat_chk): Likewise.
28460         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28461         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28462         * dirent/dirfd.c (dirfd): Likewise.
28463         * dirent/getdents.c (__getdirentries): Likewise.
28464         * dirent/getdents64.c (getdirentries64): Likewise.
28465         * dirent/rewinddir.c (__rewinddir): Likewise.
28466         * dirent/seekdir.c (seekdir): Likewise.
28467         * dirent/telldir.c (telldir): Likewise.
28468         * elf/sln.c (makesymlinks): Likewise.
28469         (makesymlink): Likewise.
28470         * gmon/gmon.c (__moncontrol): Likewise.
28471         (__monstartup): Likewise.
28472         (write_hist): Likewise.
28473         (write_call_graph): Likewise.
28474         (write_bb_counts): Likewise.
28475         * grp/setgroups.c (setgroups): Likewise.
28476         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28477         * inet/inet_net.c (inet_network): Likewise.
28478         * inet/inet_netof.c (inet_netof): Likewise.
28479         * inet/rcmd.c (rresvport_af): Likewise.
28480         (rresvport): Likewise.
28481         * io/access.c (__access): Likewise.
28482         * io/chdir.c (__chdir): Likewise.
28483         * io/chmod.c (__chmod): Likewise.
28484         * io/chown.c (__chown): Likewise.
28485         * io/close.c (__close): Likewise.
28486         * io/creat.c (creat): Likewise.
28487         * io/creat64.c (creat64): Likewise.
28488         * io/dup.c (__dup): Likewise.
28489         * io/dup2.c (__dup2): Likewise.
28490         * io/dup3.c (__dup3): Likewise.
28491         * io/euidaccess.c (__euidaccess): Likewise.
28492         * io/faccessat.c (faccessat): Likewise.
28493         * io/fchmod.c (__fchmod): Likewise.
28494         * io/fchmodat.c (fchmodat): Likewise.
28495         * io/fchown.c (__fchown): Likewise.
28496         * io/fchownat.c (fchownat): Likewise.
28497         * io/fcntl.c (__fcntl): Likewise.
28498         * io/flock.c (__flock): Likewise.
28499         * io/fts.c (fts_load): Likewise.
28500         (fts_close): Likewise.
28501         (fts_read): Likewise.
28502         (fts_set): Likewise.
28503         (fts_children): Likewise.
28504         (fts_build): Likewise.
28505         (fts_stat): Likewise.
28506         (fts_sort): Likewise.
28507         (fts_alloc): Likewise.
28508         (fts_lfree): Likewise.
28509         (fts_palloc): Likewise.
28510         (fts_padjust): Likewise.
28511         (fts_maxarglen): Likewise.
28512         (fts_safe_changedir): Likewise.
28513         * io/getwd.c (getwd): Likewise.
28514         * io/isatty.c (__isatty): Likewise.
28515         * io/lchown.c (__lchown): Likewise.
28516         * io/link.c (__link): Likewise.
28517         * io/linkat.c (linkat): Likewise.
28518         * io/lseek.c (__libc_lseek): Likewise.
28519         * io/mkdir.c (__mkdir): Likewise.
28520         * io/mkdirat.c (mkdirat): Likewise.
28521         * io/mkfifo.c (mkfifo): Likewise.
28522         * io/mkfifoat.c (mkfifoat): Likewise.
28523         * io/open.c (__libc_open): Likewise.
28524         * io/open64.c (__libc_open64): Likewise.
28525         * io/readlink.c (__readlink): Likewise.
28526         * io/readlinkat.c (readlinkat): Likewise.
28527         * io/rmdir.c (__rmdir): Likewise.
28528         * io/symlink.c (__symlink): Likewise.
28529         * io/symlinkat.c (symlinkat): Likewise.
28530         * io/ttyname.c (ttyname): Likewise.
28531         * io/ttyname_r.c (__ttyname_r): Likewise.
28532         * io/umask.c (__umask): Likewise.
28533         * io/unlink.c (__unlink): Likewise.
28534         * io/unlinkat.c (unlinkat): Likewise.
28535         * io/utime.c (utime): Likewise.
28536         * libio/clearerr.c (clearerr): Likewise.
28537         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28538         * libio/feof.c (_IO_feof): Likewise.
28539         * libio/feof_u.c (feof_unlocked): Likewise.
28540         * libio/ferror.c (_IO_ferror): Likewise.
28541         * libio/ferror_u.c (ferror_unlocked): Likewise.
28542         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28543         * libio/fileno.c (__fileno): Likewise.
28544         * libio/fputc.c (fputc): Likewise.
28545         * libio/fputc_u.c (fputc_unlocked): Likewise.
28546         * libio/fputwc.c (fputwc): Likewise.
28547         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28548         * libio/freopen.c (freopen): Likewise.
28549         * libio/freopen64.c (freopen64): Likewise.
28550         * libio/fseek.c (fseek): Likewise.
28551         * libio/fseeko.c (fseeko): Likewise.
28552         * libio/fseeko64.c (fseeko64): Likewise.
28553         * libio/ftello.c (__ftello): Likewise.
28554         * libio/ftello64.c (ftello64): Likewise.
28555         * libio/fwide.c (fwide): Likewise.
28556         * libio/genops.c (_IO_un_link): Likewise.
28557         (_IO_link_in): Likewise.
28558         (_IO_least_marker): Likewise.
28559         (_IO_switch_to_main_get_area): Likewise.
28560         (_IO_switch_to_backup_area): Likewise.
28561         (_IO_switch_to_get_mode): Likewise.
28562         (_IO_free_backup_area): Likewise.
28563         (_IO_switch_to_put_mode): Likewise.
28564         (__overflow): Likewise.
28565         (__underflow): Likewise.
28566         (__uflow): Likewise.
28567         (_IO_setb): Likewise.
28568         (_IO_doallocbuf): Likewise.
28569         (_IO_default_underflow): Likewise.
28570         (_IO_default_uflow): Likewise.
28571         (_IO_default_xsputn): Likewise.
28572         (_IO_sgetn): Likewise.
28573         (_IO_default_xsgetn): Likewise.
28574         (_IO_sync): Likewise.
28575         (_IO_default_setbuf): Likewise.
28576         (_IO_default_seekpos): Likewise.
28577         (_IO_default_doallocate): Likewise.
28578         (_IO_init): Likewise.
28579         (_IO_old_init): Likewise.
28580         (_IO_default_sync): Likewise.
28581         (_IO_default_finish): Likewise.
28582         (_IO_default_seekoff): Likewise.
28583         (_IO_sputbackc): Likewise.
28584         (_IO_sungetc): Likewise.
28585         (_IO_set_column): Likewise.
28586         (_IO_set_column): Likewise.
28587         (_IO_adjust_column): Likewise.
28588         (_IO_get_column): Likewise.
28589         (_IO_init_marker): Likewise.
28590         (_IO_remove_marker): Likewise.
28591         (_IO_marker_difference): Likewise.
28592         (_IO_marker_delta): Likewise.
28593         (_IO_seekmark): Likewise.
28594         (_IO_unsave_markers): Likewise.
28595         (_IO_nobackup_pbackfail): Likewise.
28596         (_IO_default_pbackfail): Likewise.
28597         (_IO_default_seek): Likewise.
28598         (_IO_default_stat): Likewise.
28599         (_IO_default_read): Likewise.
28600         (_IO_default_write): Likewise.
28601         (_IO_default_showmanyc): Likewise.
28602         (_IO_default_imbue): Likewise.
28603         (_IO_iter_next): Likewise.
28604         (_IO_iter_file): Likewise.
28605         * libio/getc.c (_IO_getc): Likewise.
28606         * libio/getwc.c (_IO_getwc): Likewise.
28607         * libio/iofclose.c (_IO_new_fclose): Likewise.
28608         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28609         * libio/iofflush.c (_IO_fflush): Likewise.
28610         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28611         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28612         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28613         * libio/iofgets.c (_IO_fgets): Likewise.
28614         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28615         * libio/iofgetws.c (fgetws): Likewise.
28616         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28617         * libio/iofopen64.c (_IO_fopen64): Likewise.
28618         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28619         (_IO_cookie_write): Likewise.
28620         (_IO_cookie_seek): Likewise.
28621         (_IO_cookie_close): Likewise.
28622         (_IO_cookie_seekoff): Likewise.
28623         (_IO_old_cookie_seek): Likewise.
28624         * libio/iofputs.c (_IO_fputs): Likewise.
28625         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28626         * libio/iofputws.c (fputws): Likewise.
28627         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28628         * libio/iofread.c (_IO_fread): Likewise.
28629         * libio/iofread_u.c (__fread_unlocked): Likewise.
28630         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28631         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28632         * libio/ioftell.c (_IO_ftell): Likewise.
28633         * libio/iofwrite.c (_IO_fwrite): Likewise.
28634         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28635         * libio/iogets.c (_IO_gets): Likewise.
28636         * libio/iopadn.c (_IO_padn): Likewise.
28637         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28638         (_IO_new_popen): Likewise.
28639         (_IO_new_proc_close): Likewise.
28640         * libio/ioputs.c (_IO_puts): Likewise.
28641         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28642         (_IO_seekoff): Likewise.
28643         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28644         (_IO_seekpos): Likewise.
28645         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28646         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28647         * libio/ioungetc.c (_IO_ungetc): Likewise.
28648         * libio/ioungetwc.c (ungetwc): Likewise.
28649         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28650         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28651         * libio/iowpadn.c (_IO_wpadn): Likewise.
28652         * libio/libc_fatal.c (__libc_fatal): Likewise.
28653         * libio/memstream.c (__open_memstream): Likewise.
28654         (_IO_mem_sync): Likewise.
28655         (_IO_mem_finish): Likewise.
28656         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28657         (_IO_old_file_close_it): Likewise.
28658         (_IO_old_file_finish): Likewise.
28659         (_IO_old_file_fopen): Likewise.
28660         (_IO_old_file_attach): Likewise.
28661         (_IO_old_file_setbuf): Likewise.
28662         (_IO_old_do_write): Likewise.
28663         (old_do_write): Likewise.
28664         (_IO_old_file_underflow): Likewise.
28665         (_IO_old_file_overflow): Likewise.
28666         (_IO_old_file_sync): Likewise.
28667         (_IO_old_file_seekoff): Likewise.
28668         (_IO_old_file_write): Likewise.
28669         (_IO_old_file_xsputn): Likewise.
28670         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28671         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28672         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28673         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28674         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28675         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28676         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28677         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28678         (_IO_old_popen): Likewise.
28679         (_IO_old_proc_close): Likewise.
28680         * libio/oldpclose.c (__old_pclose): Likewise.
28681         * libio/pclose.c (__new_pclose): Likewise.
28682         * libio/peekc.c (_IO_peekc_locked): Likewise.
28683         * libio/putc.c (_IO_putc): Likewise.
28684         * libio/putc_u.c (putc_unlocked): Likewise.
28685         * libio/putchar.c (putchar): Likewise.
28686         * libio/putchar_u.c (putchar_unlocked): Likewise.
28687         * libio/putwc.c (putwc): Likewise.
28688         * libio/putwc_u.c (putwc_unlocked): Likewise.
28689         * libio/putwchar.c (putwchar): Likewise.
28690         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28691         * libio/rewind.c (rewind): Likewise.
28692         * libio/setbuf.c (setbuf): Likewise.
28693         * libio/setlinebuf.c (setlinebuf): Likewise.
28694         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28695         * libio/vscanf.c (_IO_vscanf): Likewise.
28696         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28697         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28698         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28699         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28700         (_IO_switch_to_main_wget_area): Likewise.
28701         (_IO_switch_to_wbackup_area): Likewise.
28702         (_IO_wsetb): Likewise.
28703         (_IO_wdefault_pbackfail): Likewise.
28704         (_IO_wdefault_finish): Likewise.
28705         (_IO_wdefault_uflow): Likewise.
28706         (__woverflow): Likewise.
28707         (__wuflow): Likewise.
28708         (__wunderflow): Likewise.
28709         (_IO_wdefault_xsputn): Likewise.
28710         (_IO_wdefault_xsgetn): Likewise.
28711         (_IO_wdoallocbuf): Likewise.
28712         (_IO_wdefault_doallocate): Likewise.
28713         (_IO_switch_to_wget_mode): Likewise.
28714         (_IO_free_wbackup_area): Likewise.
28715         (_IO_switch_to_wput_mode): Likewise.
28716         (_IO_sputbackwc): Likewise.
28717         (_IO_sungetwc): Likewise.
28718         (_IO_adjust_wcolumn): Likewise.
28719         (_IO_init_wmarker): Likewise.
28720         (_IO_wmarker_delta): Likewise.
28721         (_IO_seekwmark): Likewise.
28722         (_IO_unsave_wmarkers): Likewise.
28723         * libio/wmemstream.c (open_wmemstream): Likewise.
28724         (_IO_wmem_sync): Likewise.
28725         (_IO_wmem_finish): Likewise.
28726         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28727         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28728         * locale/programs/simple-hash.c (init_hash): Likewise.
28729         (delete_hash): Likewise.
28730         (insert_entry): Likewise.
28731         (set_entry): Likewise.
28732         (next_prime): Likewise.
28733         (is_prime): Likewise.
28734         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28735         (xmalloc): Likewise.
28736         (xrealloc): Likewise.
28737         * locale/programs/xstrdup.c (xstrdup): Likewise.
28738         * localedata/collate-test.c (xstrcoll): Likewise.
28739         * localedata/xfrm-test.c (xstrcmp): Likewise.
28740         * login/getlogin_r.c (__getlogin_r): Likewise.
28741         * login/getpt.c (__posix_openpt): Likewise.
28742         * login/login_tty.c (login_tty): Likewise.
28743         * login/setlogin.c (setlogin): Likewise.
28744         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28745         (mach_msg_destroy_port): Likewise.
28746         (mach_msg_destroy_memory): Likewise.
28747         * malloc/mcheck.c (flood): Likewise.
28748         * misc/acct.c (acct): Likewise.
28749         * misc/brk.c (__brk): Likewise.
28750         * misc/chflags.c (chflags): Likewise.
28751         * misc/chroot.c (chroot): Likewise.
28752         * misc/fchflags.c (fchflags): Likewise.
28753         * misc/fstab.c (getfsspec): Likewise.
28754         (getfsfile): Likewise.
28755         * misc/fsync.c (fsync): Likewise.
28756         * misc/ftruncate.c (__ftruncate): Likewise.
28757         * misc/ftruncate64.c (__ftruncate64): Likewise.
28758         * misc/getdomain.c (getdomainname): Likewise.
28759         (getdomainname): Likewise.
28760         * misc/gethostname.c (__gethostname): Likewise.
28761         * misc/getpass.c (getpass): Likewise.
28762         * misc/getttyent.c (skip): Likewise.
28763         (value): Likewise.
28764         * misc/gtty.c (gtty): Likewise.
28765         * misc/hsearch.c (hsearch): Likewise.
28766         (hcreate): Likewise.
28767         * misc/hsearch_r.c (__hcreate_r): Likewise.
28768         (__hdestroy_r): Likewise.
28769         * misc/ioctl.c (__ioctl): Likewise.
28770         * misc/mkdtemp.c (mkdtemp): Likewise.
28771         * misc/mkostemp.c (mkostemp): Likewise.
28772         * misc/mkostemp64.c (mkostemp64): Likewise.
28773         * misc/mkostemps.c (mkostemps): Likewise.
28774         * misc/mkostemps64.c (mkostemps64): Likewise.
28775         * misc/mkstemp.c (mkstemp): Likewise.
28776         * misc/mkstemp64.c (mkstemp64): Likewise.
28777         * misc/mkstemps.c (mkstemps): Likewise.
28778         * misc/mkstemps64.c (mkstemps64): Likewise.
28779         * misc/mktemp.c (__mktemp): Likewise.
28780         * misc/preadv.c (preadv): Likewise.
28781         * misc/preadv64.c (preadv64): Likewise.
28782         * misc/pwritev.c (pwritev): Likewise.
28783         * misc/pwritev64.c (pwritev64): Likewise.
28784         * misc/readv.c (__readv): Likewise.
28785         * misc/revoke.c (revoke): Likewise.
28786         * misc/setdomain.c (setdomainname): Likewise.
28787         * misc/setegid.c (setegid): Likewise.
28788         * misc/seteuid.c (seteuid): Likewise.
28789         * misc/sethostid.c (sethostid): Likewise.
28790         * misc/sethostname.c (sethostname): Likewise.
28791         * misc/setregid.c (__setregid): Likewise.
28792         * misc/setreuid.c (__setreuid): Likewise.
28793         * misc/sstk.c (sstk): Likewise.
28794         * misc/stty.c (stty): Likewise.
28795         * misc/syscall.c (syscall): Likewise.
28796         * misc/syslog.c (setlogmask): Likewise.
28797         * misc/truncate.c (__truncate): Likewise.
28798         * misc/truncate64.c (truncate64): Likewise.
28799         * misc/ualarm.c (ualarm): Likewise.
28800         * misc/usleep.c (usleep): Likewise.
28801         * misc/ustat.c (ustat): Likewise.
28802         * misc/writev.c (__writev): Likewise.
28803         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28804         * nptl/old_pthread_cond_broadcast.c
28805         (__pthread_cond_broadcast_2_0): Likewise.
28806         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28807         Likewise.
28808         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28809         Likewise.
28810         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28811         Likewise.
28812         * nptl/pt-raise.c (raise): Likewise.
28813         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28814         Likewise.
28815         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28816         * nptl/pthread_barrierattr_destroy.c
28817         (pthread_barrierattr_destroy): Likewise.
28818         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28819         Likewise.
28820         * nptl/pthread_barrierattr_setpshared.c
28821         (pthread_barrierattr_setpshared): Likewise.
28822         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28823         Likewise.
28824         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28825         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28826         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28827         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28828         Likewise.
28829         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28830         Likewise.
28831         * nptl/pthread_condattr_getpshared.c
28832         (pthread_condattr_getpshared): Likewise.
28833         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28834         Likewise.
28835         * nptl/pthread_condattr_setpshared.c
28836         (pthread_condattr_setpshared): Likewise.
28837         * nptl/pthread_detach.c (pthread_detach): Likewise.
28838         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28839         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28840         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28841         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28842         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28843         Likewise.
28844         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28845         Likewise.
28846         * nptl/pthread_mutex_getprioceiling.c
28847         (pthread_mutex_getprioceiling): Likewise.
28848         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28849         Likewise.
28850         * nptl/pthread_mutexattr_getprotocol.c
28851         (pthread_mutexattr_getprotocol): Likewise.
28852         * nptl/pthread_mutexattr_getpshared.c
28853         (pthread_mutexattr_getpshared): Likewise.
28854         * nptl/pthread_mutexattr_getrobust.c
28855         (pthread_mutexattr_getrobust): Likewise.
28856         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28857         Likewise.
28858         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28859         Likewise.
28860         * nptl/pthread_mutexattr_setprioceiling.c
28861         (pthread_mutexattr_setprioceiling): Likewise.
28862         * nptl/pthread_mutexattr_setprotocol.c
28863         (pthread_mutexattr_setprotocol): Likewise.
28864         * nptl/pthread_mutexattr_setpshared.c
28865         (pthread_mutexattr_setpshared): Likewise.
28866         * nptl/pthread_mutexattr_setrobust.c
28867         (pthread_mutexattr_setrobust): Likewise.
28868         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28869         Likewise.
28870         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28871         Likewise.
28872         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28873         Likewise.
28874         * nptl/pthread_rwlockattr_getkind_np.c
28875         (pthread_rwlockattr_getkind_np): Likewise.
28876         * nptl/pthread_rwlockattr_getpshared.c
28877         (pthread_rwlockattr_getpshared): Likewise.
28878         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28879         Likewise.
28880         * nptl/pthread_rwlockattr_setkind_np.c
28881         (pthread_rwlockattr_setkind_np): Likewise.
28882         * nptl/pthread_rwlockattr_setpshared.c
28883         (pthread_rwlockattr_setpshared): Likewise.
28884         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28885         Likewise.
28886         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28887         Likewise.
28888         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28889         Likewise.
28890         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28891         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28892         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28893         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28894         * nptl/sem_close.c (sem_close): Likewise.
28895         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28896         * nptl/sem_init.c (__old_sem_init): Likewise.
28897         * nptl/sigaction.c (__sigaction): Likewise.
28898         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28899         * posix/_exit.c (_exit): Likewise.
28900         * posix/alarm.c (alarm): Likewise.
28901         * posix/confstr.c (confstr): Likewise.
28902         * posix/fpathconf.c (__fpathconf): Likewise.
28903         * posix/getgroups.c (__getgroups): Likewise.
28904         * posix/getpgid.c (__getpgid): Likewise.
28905         * posix/group_member.c (__group_member): Likewise.
28906         * posix/pathconf.c (__pathconf): Likewise.
28907         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28908         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28909         * posix/setgid.c (__setgid): Likewise.
28910         * posix/setpgid.c (__setpgid): Likewise.
28911         * posix/setuid.c (__setuid): Likewise.
28912         * posix/sleep.c (__sleep): Likewise.
28913         * posix/sysconf.c (__sysconf): Likewise.
28914         * posix/times.c (__times): Likewise.
28915         * posix/uname.c (__uname): Likewise.
28916         * posix/waitid.c (__waitid): Likewise.
28917         * pwd/getpw.c (__getpw): Likewise.
28918         * resolv/base64.c (b64_pton): Likewise.
28919         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28920         * resolv/gethnamaddr.c (Dprintf): Likewise.
28921         (gethostbyname): Likewise.
28922         (gethostbyname2): Likewise.
28923         (gethostbyaddr): Likewise.
28924         (_sethtent): Likewise.
28925         (_gethtbyname): Likewise.
28926         (_gethtbyname2): Likewise.
28927         (_gethtbyaddr): Likewise.
28928         (map_v4v6_address): Likewise.
28929         (map_v4v6_hostent): Likewise.
28930         (addrsort): Likewise.
28931         (ht_sethostent): Likewise.
28932         (ht_gethostbyname): Likewise.
28933         (ht_gethostbyaddr): Likewise.
28934         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28935         (inet_net_ntop_ipv4): Likewise.
28936         * resolv/inet_neta.c (inet_neta): Likewise.
28937         * resolv/inet_ntop.c (inet_ntop): Likewise.
28938         (inet_ntop4): Likewise.
28939         (inet_ntop6): Likewise.
28940         * resolv/inet_pton.c (__inet_pton): Likewise.
28941         (inet_pton4): Likewise.
28942         (inet_pton6): Likewise.
28943         * resolv/res_debug.c (loc_aton): Likewise.
28944         (loc_ntoa): Likewise.
28945         * resource/getpriority.c (__getpriority): Likewise.
28946         * resource/getrusage.c (__getrusage): Likewise.
28947         * resource/nice.c (nice): Likewise.
28948         * resource/setpriority.c (__setpriority): Likewise.
28949         * resource/setrlimit64.c (setrlimit64): Likewise.
28950         * resource/vlimit.c (vlimit): Likewise.
28951         * resource/vtimes.c (vtimes): Likewise.
28952         * rt/aio_error.c (aio_error): Likewise.
28953         * rt/aio_return.c (aio_return): Likewise.
28954         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28955         * signal/kill.c (__kill): Likewise.
28956         * signal/killpg.c (killpg): Likewise.
28957         * signal/raise.c (raise): Likewise.
28958         * signal/sigaction.c (__sigaction): Likewise.
28959         * signal/sigaddset.c (sigaddset): Likewise.
28960         * signal/sigaltstack.c (sigaltstack): Likewise.
28961         * signal/sigandset.c (sigandset): Likewise.
28962         * signal/sigblock.c (__sigblock): Likewise.
28963         * signal/sigdelset.c (sigdelset): Likewise.
28964         * signal/sigempty.c (sigemptyset): Likewise.
28965         * signal/sigfillset.c (sigfillset): Likewise.
28966         * signal/sighold.c (sighold): Likewise.
28967         * signal/sigignore.c (sigignore): Likewise.
28968         * signal/sigintr.c (siginterrupt): Likewise.
28969         * signal/sigisempty.c (sigisemptyset): Likewise.
28970         * signal/sigismem.c (sigismember): Likewise.
28971         * signal/signal.c (signal): Likewise.
28972         * signal/sigorset.c (sigorset): Likewise.
28973         * signal/sigpause.c (__sigpause): Likewise.
28974         * signal/sigpending.c (sigpending): Likewise.
28975         * signal/sigprocmask.c (__sigprocmask): Likewise.
28976         * signal/sigrelse.c (sigrelse): Likewise.
28977         * signal/sigreturn.c (__sigreturn): Likewise.
28978         * signal/sigset.c (sigset): Likewise.
28979         * signal/sigsetmask.c (__sigsetmask): Likewise.
28980         * signal/sigstack.c (sigstack): Likewise.
28981         * signal/sigsuspend.c (__sigsuspend): Likewise.
28982         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28983         * signal/sysv_signal.c (__sysv_signal): Likewise.
28984         * socket/accept.c (accept): Likewise.
28985         * socket/accept4.c (__libc_accept4): Likewise.
28986         * socket/bind.c (__bind): Likewise.
28987         * socket/connect.c (__connect): Likewise.
28988         * socket/getpeername.c (getpeername): Likewise.
28989         * socket/getsockname.c (__getsockname): Likewise.
28990         * socket/getsockopt.c (getsockopt): Likewise.
28991         * socket/listen.c (__listen): Likewise.
28992         * socket/recv.c (__recv): Likewise.
28993         * socket/recvmsg.c (__recvmsg): Likewise.
28994         * socket/send.c (__send): Likewise.
28995         * socket/sendmsg.c (__sendmsg): Likewise.
28996         * socket/shutdown.c (shutdown): Likewise.
28997         * socket/sockatmark.c (sockatmark): Likewise.
28998         * socket/socket.c (__socket): Likewise.
28999         * stdio-common/ctermid.c (ctermid): Likewise.
29000         * stdio-common/cuserid.c (cuserid): Likewise.
29001         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29002         * stdio-common/remove.c (remove): Likewise.
29003         * stdio-common/rename.c (rename): Likewise.
29004         * stdio-common/renameat.c (renameat): Likewise.
29005         * stdio-common/tempname.c (__gen_tempname): Likewise.
29006         * stdio-common/xbug.c (InitBuffer): Likewise.
29007         (AppendToBuffer): Likewise.
29008         (ReadFile): Likewise.
29009         * stdlib/a64l.c (a64l): Likewise.
29010         * stdlib/drand48_r.c (drand48_r): Likewise.
29011         * stdlib/getcontext.c (getcontext): Likewise.
29012         * stdlib/getenv.c (getenv): Likewise.
29013         * stdlib/l64a.c (l64a): Likewise.
29014         * stdlib/llabs.c (llabs): Likewise.
29015         * stdlib/lldiv.c (lldiv): Likewise.
29016         * stdlib/lrand48_r.c (lrand48_r): Likewise.
29017         * stdlib/mrand48_r.c (mrand48_r): Likewise.
29018         * stdlib/putenv.c (putenv): Likewise.
29019         * stdlib/random.c (__srandom): Likewise.
29020         (__initstate): Likewise.
29021         (__setstate): Likewise.
29022         * stdlib/random_r.c (__srandom_r): Likewise.
29023         (__setstate_r): Likewise.
29024         (__random_r): Likewise.
29025         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29026         * stdlib/setcontext.c (setcontext): Likewise.
29027         * stdlib/setenv.c (setenv): Likewise.
29028         (unsetenv): Likewise.
29029         * stdlib/srand48.c (srand48): Likewise.
29030         * stdlib/srand48_r.c (__srand48_r): Likewise.
29031         * stdlib/swapcontext.c (swapcontext): Likewise.
29032         * stdlib/system.c (__libc_system): Likewise.
29033         * stdlib/tst-strtod.c (expand): Likewise.
29034         * stdlib/tst-strtol.c (expand): Likewise.
29035         * stdlib/tst-strtoll.c (expand): Likewise.
29036         * streams/fattach.c (fattach): Likewise.
29037         * streams/fdetach.c (fdetach): Likewise.
29038         * streams/getmsg.c (getmsg): Likewise.
29039         * streams/isastream.c (isastream): Likewise.
29040         * string/ffs.c (__ffs): Likewise.
29041         * string/ffsll.c (ffsll): Likewise.
29042         * string/memcmp.c (memcmp_common_alignment): Likewise.
29043         (memcmp_not_common_alignment): Likewise.
29044         (MEMCMP): Likewise.
29045         * string/memcpy.c (memcpy): Likewise.
29046         * string/memmove.c (MEMMOVE): Likewise.
29047         * string/memset.c (memset): Likewise.
29048         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29049         * string/strchrnul.c (STRCHRNUL): Likewise.
29050         * string/strerror.c (strerror): Likewise.
29051         * string/strndup.c (__strndup): Likewise.
29052         * string/strverscmp.c (__strverscmp): Likewise.
29053         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29054         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29055         (clnttcp_freeres): Likewise.
29056         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29057         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29058         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29059         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29060         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29061         (xdr_callhdr): Likewise.
29062         * sunrpc/rpcinfo.c (udpping): Likewise.
29063         (tcpping): Likewise.
29064         (pstatus): Likewise.
29065         (pmapdump): Likewise.
29066         (brdcst): Likewise.
29067         (deletereg): Likewise.
29068         (getprognum): Likewise.
29069         (getvers): Likewise.
29070         (get_inet_address): Likewise.
29071         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29072         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29073         (svcudp_stat): Likewise.
29074         (svcudp_recv): Likewise.
29075         (svcudp_reply): Likewise.
29076         (svcudp_getargs): Likewise.
29077         (svcudp_freeargs): Likewise.
29078         (svcudp_destroy): Likewise.
29079         * sunrpc/xdr.c (xdr_bytes): Likewise.
29080         (xdr_netobj): Likewise.
29081         (xdr_string): Likewise.
29082         (xdr_wrapstring): Likewise.
29083         * sunrpc/xdr_float.c (xdr_float): Likewise.
29084         (xdr_double): Likewise.
29085         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29086         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29087         * sysvipc/ftok.c (ftok): Likewise.
29088         * sysvipc/msgctl.c (msgctl): Likewise.
29089         * sysvipc/msgget.c (msgget): Likewise.
29090         * sysvipc/msgrcv.c (msgrcv): Likewise.
29091         * sysvipc/msgsnd.c (msgsnd): Likewise.
29092         * sysvipc/semget.c (semget): Likewise.
29093         * sysvipc/semop.c (semop): Likewise.
29094         * sysvipc/shmat.c (shmat): Likewise.
29095         * sysvipc/shmctl.c (shmctl): Likewise.
29096         * sysvipc/shmdt.c (shmdt): Likewise.
29097         * sysvipc/shmget.c (shmget): Likewise.
29098         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29099         * termios/speed.c (cfgetospeed): Likewise.
29100         (cfgetispeed): Likewise.
29101         (cfsetospeed): Likewise.
29102         (cfsetispeed): Likewise.
29103         * termios/tcflow.c (tcflow): Likewise.
29104         * termios/tcflush.c (tcflush): Likewise.
29105         * termios/tcgetattr.c (__tcgetattr): Likewise.
29106         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29107         * termios/tcgetsid.c (tcgetsid): Likewise.
29108         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29109         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29110         * time/adjtime.c (__adjtime): Likewise.
29111         * time/dysize.c (dysize): Likewise.
29112         * time/ftime.c (ftime): Likewise.
29113         * time/getitimer.c (__getitimer): Likewise.
29114         * time/gettimeofday.c (__gettimeofday): Likewise.
29115         * time/gmtime.c (__gmtime_r): Likewise.
29116         (gmtime): Likewise.
29117         * time/localtime.c (__localtime_r): Likewise.
29118         (localtime): Likewise.
29119         * time/offtime.c (__offtime): Likewise.
29120         * time/settimeofday.c (__settimeofday): Likewise.
29121         * time/stime.c (stime): Likewise.
29122         * time/strftime_l.c (tm_diff): Likewise.
29123         (iso_week_days): Likewise.
29124         * time/strptime.c (strptime): Likewise.
29125         * time/time.c (time): Likewise.
29126         * time/timespec_get.c (timespec_get): Likewise.
29127         * time/tzset.c (tzset_internal): Likewise.
29128         (compute_change): Likewise.
29129         (__tz_compute): Likewise.
29130         * wcsmbs/btowc.c (__btowc): Likewise.
29131         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29132         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29133         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29134         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29135         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29136         * wcsmbs/wcscat.c (__wcscat): Likewise.
29137         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29138         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29139         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29140         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29141         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29142         * wcsmbs/wcslen.c (__wcslen): Likewise.
29143         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29144         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29145         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29146         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29147         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29148         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29149         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29150         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29151         * wcsmbs/wcstok.c (wcstok): Likewise.
29152         * wcsmbs/wctob.c (wctob): Likewise.
29153         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29154         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29155         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29156         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29157         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29158         * wcsmbs/wmemset.c (__wmemset): Likewise.
29159         * wctype/wcfuncs.c (__towlower): Likewise.
29160         (__towupper): Likewise.
29162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29163         (lll_unlock_elision): Add adapt_count parameter.
29165 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29167         * sysdeps/nptl/configure.ac: Do not give errors based on the
29168         results of top-level configure tests.
29169         * sysdeps/nptl/configure: Regenerated.
29171         * configure.ac (libc_cv_Bgroup): Remove configure test.
29172         * configure: Regenerated.
29173         * config.make.in (have-Bgroup): Remove variable.
29175         * configure.ac (sizeof_long_double): Remove configure test.
29176         * configure: Regenerated.
29177         * config.make.in (sizeof-long-double): Remove variable.
29179         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29180         * configure: Regenerated.
29181         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29182         variable.
29183         (exceptions): Likewise.
29184         * sysdeps/arm/configure: Regenerated.
29185         * config.make.in (exceptions): Remove variable.
29186         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29187         $(exceptions).
29188         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29189         (CFLAGS-vdprintf_chk.c): Likewise.
29190         (CFLAGS-printf_chk.c): Likewise.
29191         (CFLAGS-fprintf_chk.c): Likewise.
29192         (CFLAGS-vprintf_chk.c): Likewise.
29193         (CFLAGS-vfprintf_chk.c): Likewise.
29194         (CFLAGS-gets_chk.c): Likewise.
29195         (CFLAGS-fgets_chk.c): Likewise.
29196         (CFLAGS-fgets_u_chk.c): Likewise.
29197         (CFLAGS-fread_chk.c): Likewise.
29198         (CFLAGS-fread_u_chk.c): Likewise.
29199         (CFLAGS-wprintf_chk.c): Likewise.
29200         (CFLAGS-fwprintf_chk.c): Likewise.
29201         (CFLAGS-vwprintf_chk.c): Likewise.
29202         (CFLAGS-vfwprintf_chk.c): Likewise.
29203         (CFLAGS-fgetws_chk.c): Likewise.
29204         (CFLAGS-fgetws_u_chk.c): Likewise.
29205         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29206         (CFLAGS-fputc.c): Likewise.
29207         (CFLAGS-fputwc.c): Likewise.
29208         (CFLAGS-freopen64.c): Likewise.
29209         (CFLAGS-freopen.c): Likewise.
29210         (CFLAGS-fseek.c): Likewise.
29211         (CFLAGS-fseeko64.c): Likewise.
29212         (CFLAGS-fseeko.c): Likewise.
29213         (CFLAGS-ftello64.c): Likewise.
29214         (CFLAGS-ftello.c): Likewise.
29215         (CFLAGS-fwide.c): Likewise.
29216         (CFLAGS-genops.c): Likewise.
29217         (CFLAGS-getc.c): Likewise.
29218         (CFLAGS-getchar.c): Likewise.
29219         (CFLAGS-getwc.c): Likewise.
29220         (CFLAGS-getwchar.c): Likewise.
29221         (CFLAGS-iofclose.c): Likewise.
29222         (CFLAGS-iofflush.c): Likewise.
29223         (CFLAGS-iofgetpos64.c): Likewise.
29224         (CFLAGS-iofgetpos.c): Likewise.
29225         (CFLAGS-iofgets.c): Likewise.
29226         (CFLAGS-iofgetws.c): Likewise.
29227         (CFLAGS-iofputs.c): Likewise.
29228         (CFLAGS-iofputws.c): Likewise.
29229         (CFLAGS-iofread.c): Likewise.
29230         (CFLAGS-iofsetpos64.c): Likewise.
29231         (CFLAGS-iofsetpos.c): Likewise.
29232         (CFLAGS-ioftell.c): Likewise.
29233         (CFLAGS-iofwrite.c): Likewise.
29234         (CFLAGS-iogetdelim.c): Likewise.
29235         (CFLAGS-iogetline.c): Likewise.
29236         (CFLAGS-iogets.c): Likewise.
29237         (CFLAGS-iogetwline.c): Likewise.
29238         (CFLAGS-ioputs.c): Likewise.
29239         (CFLAGS-ioseekoff.c): Likewise.
29240         (CFLAGS-ioseekpos.c): Likewise.
29241         (CFLAGS-iosetbuffer.c): Likewise.
29242         (CFLAGS-iosetvbuf.c): Likewise.
29243         (CFLAGS-ioungetc.c): Likewise.
29244         (CFLAGS-ioungetwc.c): Likewise.
29245         (CFLAGS-oldfileops.c): Likewise.
29246         (CFLAGS-oldiofclose.c): Likewise.
29247         (CFLAGS-oldiofgetpos64.c): Likewise.
29248         (CFLAGS-oldiofgetpos.c): Likewise.
29249         (CFLAGS-oldiofsetpos64.c): Likewise.
29250         (CFLAGS-oldiofsetpos.c): Likewise.
29251         (CFLAGS-peekc.c): Likewise.
29252         (CFLAGS-putc.c): Likewise.
29253         (CFLAGS-putchar.c): Likewise.
29254         (CFLAGS-putwc.c): Likewise.
29255         (CFLAGS-putwchar.c): Likewise.
29256         (CFLAGS-rewind.c): Likewise.
29257         (CFLAGS-wfileops.c): Likewise.
29258         (CFLAGS-wgenops.c): Likewise.
29259         (CFLAGS-oldiofopen.c): Likewise.
29260         (CFLAGS-iofopen.c): Likewise.
29261         (CFLAGS-iofopen64.c): Likewise.
29262         (CFLAGS-oldtmpfile.c): Likewise.
29263         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29264         (CFLAGS-fprintf.c): Likewise.
29265         (CFLAGS-printf.c): Likewise.
29266         (CFLAGS-vfwprintf.c): Likewise.
29267         (CFLAGS-vfscanf.c): Likewise.
29268         (CFLAGS-vfwscanf.c): Likewise.
29269         (CFLAGS-fscanf.c): Likewise.
29270         (CFLAGS-scanf.c): Likewise.
29271         (CFLAGS-isoc99_vfscanf.c): Likewise.
29272         (CFLAGS-isoc99_vscanf.c): Likewise.
29273         (CFLAGS-isoc99_fscanf.c): Likewise.
29274         (CFLAGS-isoc99_scanf.c): Likewise.
29275         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29276         (CFLAGS-isoc99_fwscanf.c): Likewise.
29277         (CFLAGS-isoc99_vwscanf.c): Likewise.
29278         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29280         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29281         after mkstemp64.
29282         * login/tst-utmp.c (do_prepare): Likewise.
29283         * rt/tst-aio.c (do_prepare): Likewise.
29284         * rt/tst-aio64.c (do_prepare): Likewise.
29286 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29288         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29289         (__lll_lock_elision): Remove adapt_count decrement...
29290         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29291         (__lll_trylock_elision): Likewise.
29292         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29293         (__lll_unlock_elision): ... to here. And utilize
29294         new adapt_count parameter.
29295         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29296         (__lll_unlock_elision): Update to include adapt_count
29297         parameter.
29298         (lll_unlock_elision): Pass pointer to adapt_count
29299         variable.
29301 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29303         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29304         Add elision adapt_count parameter to list of arguments.
29305         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29306         (lll_unlock_elision): Update with new parameter list
29307         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29308         (lll_unlock_elision): Likewise.
29309         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29310         (lll_unlock_elision): Likewise.
29312 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29314         [BZ #19122]
29315         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29316         attribute_hidden.
29318         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29319         attribute_hidden.
29320         [IS_IN (rtld)] (__strdup): Likewise.
29321         [IS_IN (rtld)] (__strerror_r): Likewise.
29322         [IS_IN (rtld)] (__strsep_g): Likewise.
29323         [IS_IN (rtld)] (memchr): Likewise.
29324         [IS_IN (rtld)] (memcmp): Likewise.
29325         [IS_IN (rtld)] (memcpy): Likewise.
29326         [IS_IN (rtld)] (memmove): Likewise.
29327         [IS_IN (rtld)] (memset): Likewise.
29328         [IS_IN (rtld)] (rawmemchr): Likewise.
29329         [IS_IN (rtld)] (stpcpy): Likewise.
29330         [IS_IN (rtld)] (strchr): Likewise.
29331         [IS_IN (rtld)] (strcmp): Likewise.
29332         [IS_IN (rtld)] (strlen): Likewise.
29333         [IS_IN (rtld)] (strnlen): Likewise.
29334         [IS_IN (rtld)] (strsep): Likewise.
29336         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29337         attribute_hidden.
29338         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29340         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29341         attribute_hidden.
29342         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29344         * include/setjmp.h (__longjmp): Add attribute_hidden.
29345         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29347         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29348         Add attribute_hidden.
29350         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29351         [IS_IN (rtld)] (__open): Likewise.
29352         [IS_IN (rtld)] (__fcntl): Likewise.
29354         * include/dirent.h (__opendirat): Add attribute_hidden.
29355         (__getdents): Likewise.
29356         (__getdents64): Likewise.
29357         (__alloc_dir): Likewise.
29358         [IS_IN (rtld)] (__closedir): Likewise.
29359         [IS_IN (rtld)] (__fdopendir): Likewise.
29360         [IS_IN (rtld)] (__readdir): Likewise.
29361         [IS_IN (rtld)] (__readdir64): Likewise.
29362         [IS_IN (rtld)] (__rewinddir): Likewise.
29364         * include/dlfcn.h (_dl_catch_error): Moved to ...
29365         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29366         attribute_hidden.
29368         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29369         (_itoa_word): Likewise.
29371         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29372         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29373         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29374         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29375         (_dl_higher_prime_number): Likewise.
29376         (_dl_debug_printf_c): Likewise.
29377         (_dl_signal_cerror): Likewise.
29378         (_dl_receive_error): Likewise.
29379         (_dl_reloc_bad_type): Likewise.
29380         (_dl_resolve_conflicts): Likewise.
29381         (_dl_check_all_versions): Likewise.
29382         (_dl_check_map_versions): Likewise.
29383         (_dl_sort_fini): Likewise.
29384         (_dl_debug_initialize): Likewise.
29385         (_dl_init_paths): Likewise.
29386         (_dl_show_auxv): Likewise.
29387         (_dl_next_ld_env_entry): Likewise.
29388         (_dl_important_hwcaps): Likewise.
29389         (_dl_load_cache_lookup): Likewise.
29390         (_dl_update_slotinfo): Likewise.
29391         (_dl_show_scope): Likewise.
29393         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29394         attribute_hidden.
29395         (_wordcopy_fwd_dest_aligned): Likewise.
29396         (_wordcopy_bwd_aligned): Likewise.
29397         (_wordcopy_bwd_dest_aligned): Likewise.
29399         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29400         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29401         Likewise.
29402         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29403         Likewise.
29404         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29406 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29409         GCC 5 requirement.
29411 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29413         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29414         test.
29415         * sysdeps/i386/configure: Regenerated.
29416         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29417         code unconditional.
29419         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29420         test.
29421         (libc_cv_asm_popsection_directive): Likewise.
29422         * configure: Regenerated.
29423         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29424         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29425         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29426         (__make_section_unallocated): Make definition unconditional.
29427         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29428         Remove conditional definition.
29429         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29430         (__make_section_unallocated): Likewise.
29432         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29433         * configure: Regenerated.
29434         * config.make.in (static-libgcc): Remove variable.
29435         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29436         $(static-libgcc).
29437         (build-module-helper): Likewise.
29439         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29440         * configure: Regenerated.
29442 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29444         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29445         (struct char_buffer): New type.
29446         (char_buffer_start, char_buffer_size, char_buffer_error)
29447         (char_buffer_rewind, char_buffer_add): New functions.
29448         (ADDW): Remove macro, replaced by the char_buffer_add function.
29449         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29450         of extend_alloca.  Make control flow more explicit.
29452 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29454         [BZ #19137]
29455         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29456         Add -fomit-frame-pointer.
29457         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29459 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29461         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29462         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29463         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29464         only if !__GNUC_PREREQ (5,0).
29465         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29466         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29467         (INTERNAL_SYSCALL_NCS): Likewise.
29468         (LOADREGS_0): New macro for GCC 5.
29469         (ASMARGS_0): Likewise.
29470         (LOADREGS_1): Likewise.
29471         (ASMARGS_1): Likewise.
29472         (LOADREGS_2): Likewise.
29473         (ASMARGS_2): Likewise.
29474         (LOADREGS_3): Likewise.
29475         (ASMARGS_3): Likewise.
29476         (LOADREGS_4): Likewise.
29477         (ASMARGS_4): Likewise.
29478         (LOADREGS_5): Likewise.
29479         (ASMARGS_5): Likewise.
29480         (LOADREGS_6): Likewise.
29481         (ASMARGS_6): Likewise.
29483 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29485         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29486         -fomit-frame-pointer.
29487         (CFLAGS-mmap64.c): Likewise.
29488         (CFLAGS-semtimedop.c): Likewise.
29489         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29490         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29491         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29492         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29494 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29496         [BZ #18928]
29497         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29498         _dl_pointer_guard member.
29499         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29500         initializer.
29501         (security_init): Always set up pointer guard.
29502         (process_envvars): Do not process LD_POINTER_GUARD.
29504 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29506         [BZ #19134]
29507         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29508         (.LC2): Likewise.
29509         (.LC3): Likewise.
29510         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29512 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29514         [BZ #19129]
29515         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29516         r0 and r1.
29518 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29520         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29522 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29524         * include/stap-probe.h: Fix macro definition formatting.
29526 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29528         [BZ #19074]
29529         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29530         load and store num_ifs.
29532 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29534         [BZ #18822]
29535         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29536         (__sched_getaffinity_new): Add libc_hidden_proto and
29537         libc_hidden_def.
29539 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29541         [BZ #19007]
29542         * scripts/localplt.awk: Also allow GOT references.
29543         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29544         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29545         with "+ REL R_386_GLOB_DAT".
29546         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29547         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29549 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29551         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29552         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29553         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29554         Likewise.
29555         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29556         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29557         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29558         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29559         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29560         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29561         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29562         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29563         Likewise.
29564         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29566 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29568         [BZ #19125]
29569         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29570         <math_private.h> and <stdint.h>.
29571         (__llround): Avoid conversions to and from long long int, and
29572         subtractions, where those might raise spurious exceptions.
29573         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29574         <math_private.h> and <stdint.h>.
29575         (__llroundf): Avoid conversions to and from long long int, and
29576         subtractions, where those might raise spurious exceptions.
29578 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29580         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29581         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29582         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29583         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29584         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29585         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29586         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29587         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29588         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29589         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29590         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29591         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29592         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29593         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29594         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29596         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29597         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29598         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29599         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29600         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29601         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29602         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29603         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29604         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29605         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29606         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29607         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29608         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29609         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29610         (__xstat64_conv): Likewise.
29611         (__xstat32_conv): Likewise.
29613 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29615         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29616         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29617         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29618         <sysdeps/unix/sysv/linux/sysdep.h>.
29619         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29620         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29621         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29622         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29623         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29624         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29625         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29626         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29627         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29632         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29633         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29634         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29635         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29636         (sysdep-dl-routines): Add sysdep.
29637         [$(subdir) == nptl] (libpthread-routines): Likewise.
29638         [$(subdir) == rt] (librt-routines): Likewise.
29639         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29640         PIC when branching to SYSCALL_ERROR_LABEL.
29641         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29643         <sysdeps/unix/sysv/linux/sysdep.h>.
29644         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29645         (SYSCALL_ERROR_ERRNO): Removed.
29646         (SYSCALL_ERROR_HANDLER): Changed to empty.
29647         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29648         (__syscall_error): New prototype.
29649         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29650         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29652 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29654         [BZ #19124]
29655         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29656         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29657         _dl_runtime_resolve_avx.
29658         (_dl_runtime_profile_avx512): Make it a hidden alias of
29659         _dl_runtime_profile_avx.
29661 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29663         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29664         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29665         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29666         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29668         [BZ #16422]
29669         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29670         New configure test.
29671         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29672         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29673         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29674         <math_private.h> and <stdint.h>.
29675         (__llrint): Avoid conversions to long long int where those might
29676         raise spurious exceptions.
29677         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29678         <math_private.h> and <stdint.h>.
29679         (__llrintf): Avoid conversions to long long int where those might
29680         raise spurious exceptions.
29682 2015-10-12  Andreas Schwab  <schwab@suse.de>
29684         [BZ #18969]
29685         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29686         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29687         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29688         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29689         $(gen-locales).
29690         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29691         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29692         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29693         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29694         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29695         $(gen-locales).
29696         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29697         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29698         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29699         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29700         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29701         ($(objpfx)tst-ftell-active-handler.out)
29702         ($(objpfx)tst-ftell-append.out)
29703         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29704         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29705         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29706         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29707         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29708         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29709         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29710         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29711         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29712         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29713         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29714         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29715         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29716         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29717         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29718         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29719         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29720         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29721         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29722         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29723         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29724         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29725         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29726         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29727         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29728         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29729         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29730         $(gen-locales).
29731         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29732         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29733         $(gen-locales).
29734         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29735         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29736         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29737         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29738         $(gen-locales).
29739         * libio/tst_wprintf2.c (main): Use explicit locale.
29740         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29742 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29744         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29745         __msg_sig_post.
29746         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29748 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29750         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29751         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29753         * sysdeps/arm/libm-test-ulps: Regenerated.
29755         [BZ #15470]
29756         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29758         [BZ #16399]
29759         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29760         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29761         and <fix-fp-int-convert-overflow.h>.
29762         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29763         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29764         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29765         and <fix-fp-int-convert-overflow.h>.
29766         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29767         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29768         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29769         <fix-fp-int-convert-overflow.h>.
29770         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29771         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29772         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29773         <fix-fp-int-convert-overflow.h>.
29774         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29775         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29776         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29777         and <fix-fp-int-convert-overflow.h>.
29778         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29779         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29780         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29781         <limits.h> and <fix-fp-int-convert-overflow.h>.
29782         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29783         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29784         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29785         and <fix-fp-int-convert-overflow.h>.
29786         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29787         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29788         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29789         and <fix-fp-int-convert-overflow.h>.
29790         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29791         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29792         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29794 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29796         [BZ #18589]
29797         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29798         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29799         $(gen-locales).
29801 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29802             Phil Blundell <pb@pbcl.net>
29804         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29805         * nptl/tst-cancel26.c: New file.
29806         * nptl/tst-cancel27.c: Likewise.
29808 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29810         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29811         __ILP32__ isn't defined.
29812         (lrint): Likewise.
29813         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29814         (lrintf): Likewise.
29815         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29816         (lrintl): Likewise.
29817         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29818         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29819         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29821 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29826         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29827         file.
29828         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29829         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29831 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29833         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29834         configure test.
29835         * sysdeps/i386/configure: Regenerated.
29836         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29837         configure test.
29838         * sysdeps/x86_64/configure: Regenerated.
29839         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29840         Make code unconditional.
29842         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29843         test.
29844         * sysdeps/i386/configure: Regenerated.
29845         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29846         test.
29847         * sysdeps/x86_64/configure: Regenerated.
29848         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29849         Make code unconditional.
29850         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29851         Likewise.
29852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29853         Likewise.
29854         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29855         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29856         code unconditional.
29857         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29858         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29859         code unconditional.
29860         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29861         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29862         code unconditional.
29863         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29864         code unconditional.
29865         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29866         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29867         code unconditional.
29868         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29869         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29870         code unconditional.
29871         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29872         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29873         code unconditional.
29874         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29875         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29876         code unconditional.
29877         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29878         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29880         [BZ #19095]
29881         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29882         mantissa to long int before shifting left.
29884 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29886         [BZ #19094]
29887         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29888         <limits.h>.
29889         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29890         when result overflows but exception would not result from cast.
29891         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29892         <limits.h>.
29893         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29894         when result overflows but exception would not result from cast.
29895         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29896         <limits.h>.
29897         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29898         when result overflows but exception would not result from cast.
29899         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29900         <limits.h>.
29901         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29902         when result overflows but exception would not result from cast.
29903         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29904         <limits.h>.
29905         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29906         when result overflows but exception would not result from cast.
29907         * math/libm-test.inc (lrint_test_data): Add more tests.
29908         (llrint_test_data): Likewise.
29910 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29912         [BZ #18872]
29913         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29914         Move out from under [$(run-built-tests) = yes] conditional.
29915         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29916         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29918 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29920         [BZ #18589]
29921         * string/Makefile (tests): Add bug-strcoll2.
29922         (LOCALES): Add cs_CZ.UTF-8.
29923         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29925         [BZ #18589]
29926         * string/bug-strcoll2.c: New file.
29927         * locale/categories.def: Revert commit
29928         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29929         * locale/langinfo.h: Likewise.
29930         * locale/localeinfo.h: Likewise.
29931         * locale/C-collate.c: Likewise.
29932         * locale/programs/ld-collate.c (collate_output): Likewise.
29933         * string/strcoll_l.c (STRDIFF): Likewise.
29934         (STRCOLL): Likewise.
29935         * wcsmbs/wcscoll_l.c: Likewise.
29937 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29939         * math/libm-test.inc (lround_test_data): Do not expect the absence
29940         of "inexact" for some tests with non-integer arguments.
29941         (llround_test_data): Likewise.
29943         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29944         test.
29945         (libc_cv_cc_sse2avx): Likewise.
29946         * sysdeps/i386/configure: Regenerated.
29947         * sysdeps/i386/i686/multiarch/Makefile
29948         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29949         [$(subdir) = math].
29950         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29951         code unconditional.
29952         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29953         Likewise.
29954         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29955         Likewise.
29956         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29957         Likewise.
29958         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29959         test.
29960         (libc_cv_cc_sse2avx): Likewise.
29961         * sysdeps/x86_64/configure: Regenerated.
29962         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29963         unconditional.
29964         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29965         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29966         unconditional.
29967         (_dl_runtime_profile)
29968         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29969         conditional code.
29970         * sysdeps/x86_64/fpu/multiarch/Makefile
29971         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29972         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29973         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29974         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29975         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29976         * sysdeps/x86_64/fpu/multiarch/e_log.c
29977         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29978         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29979         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29980         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29981         Likewise.
29982         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29983         Likewise.
29984         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29985         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29986         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29987         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29988         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29989         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29990         (HAVE_SSE2AVX_SUPPORT): Likewise.
29992 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29994         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29995         instead of #pragma optimize.
29997 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29999         [BZ #17195]
30000         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30001         as is similarly done in systrim and _int_free already.
30003 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30005         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30007 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30009         [BZ #19088]
30010         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30011         <limits.h>.
30012         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30013         overflows but exception would not result from cast.
30014         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30015         and <limits.h>.
30016         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30017         overflows but exception would not result from cast.
30018         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30019         <limits.h>.
30020         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30021         overflows but exception would not result from cast.
30022         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30023         <limits.h>.
30024         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30025         overflows but exception would not result from cast.
30026         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30027         <limits.h>.
30028         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30029         overflows but exception would not result from cast.
30030         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30031         <limits.h>.
30032         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30033         overflows but exception would not result from cast.
30034         * math/libm-test.inc (lround_test_data): Add more tests.
30035         (llround_test_data): Likewise.
30037 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30039         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30040         (CFLAGS-ialloc.c): Ditto.
30041         (CFLAGS-scheck.c): Ditto.
30043 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30045         [BZ #19086]
30046         * manual/filesys.texi (Storage Allocation): Fix argument order for
30047         posix_fallocate64.
30049 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30051         [BZ #19085]
30052         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30053         exponent below 48 inside case for non-overflowing exponent.
30054         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30056 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30058         * iconvdata/cp737.h (from_idx): Add const.
30059         * iconvdata/cp775.h (from_idx): Likewise.
30061 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30063         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30064         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30065         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30067         [BZ #19079]
30068         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30069         file, conditioned on [!_LP64].
30070         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30071         [!_LP64] (__lround): Do not define as function or alias.
30072         [!_LP64] (lround): Likewise.
30073         [!_LP64] (__lroundl): Likewise.
30074         [!_LP64] (lroundl): Likewise.
30075         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30076         macro.
30077         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30078         Likewise.
30080 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30082         * math/libm-test.inc (lrint_test_data): Add more tests.
30083         (llrint_test_data): Likewise.
30084         (lround_test_data): Likewise.
30085         (llround_test_data): Likewise.
30087         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30088         (llrint_test_data): Add tests used for lrint.
30090         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30091         test.
30092         * sysdeps/i386/configure: Regenerated.
30093         * sysdeps/i386/i686/multiarch/Makefile
30094         [$(config-cflags-sse4) = yes]: Make code unconditional.
30095         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30096         Likewise.
30097         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30098         Likewise.
30099         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30100         test.
30101         * sysdeps/x86_64/configure: Regenerated.
30102         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30103         Make code unconditional.
30104         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30105         Likewise.
30106         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30107         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30109         * scripts/rpm2dynsym.sh: Remove file.
30111 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30113         * configure.ac (libc_cv_cxx_thread_local): Define.
30114         * configure: Regenerate.
30115         * config.make.in (have-cxx-thread_local): Define.
30116         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30117         (LDLIBS-tst-thread_local1): Define.
30118         (tests): Add tst-thread_local1.
30119         [have-cxx-thread_local != yes] (tests-unsupported): Add
30120         tst-thread_local1.
30121         * nptl/tst-thread_local1.cc: New file.
30123 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30125         [BZ #19078]
30126         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30127         (u_thres): Likewise.
30128         (__expl): Determine whether to call __kernel_standard_l based on
30129         value of result, not argument.
30131         * math/libm-test.inc (scalb_test_data): Add more expectations for
30132         the "inexact" exception.
30134         [BZ #19077]
30135         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30136         0.0L for argument 1.0L.
30138         [BZ #19076]
30139         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30140         constant 0.0L when computing infinite result.
30142 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30144         [BZ #10432]
30145         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30146         malloc_usable_size.
30148 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30150         [BZ #19018]
30151         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30152         Mangle function pointer before storing it.
30153         (__call_tls_dtors): Demangle function pointer before calling it.
30155 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30157         [BZ #19012]
30158         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30159         Clean up on failure.
30161 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30163         [BZ #19071]
30164         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30165         long int variable to store possibly incremented high part of
30166         mantissa.
30167         * math/libm-test.inc (lround_test_data): Add tests used for
30168         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30169         for tests requiring 64-bit long.  Do not condition tests on
30170         [TEST_FLOAT] unnecessarily.
30171         (llround_test_data): Add tests used for lround.  Add another
30172         expectation for the "inexact" exception.  Do not condition tests
30173         on [TEST_FLOAT] unnecessarily.
30175         [BZ #887]
30176         [BZ #19049]
30177         [BZ #19050]
30178         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30179         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30180         <fix-int-fp-convert-zero.h>.
30181         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30182         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30183         <fix-int-fp-convert-zero.h>.
30184         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30185         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30186         <fix-int-fp-convert-zero.h>.
30187         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30188         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30189         <fix-int-fp-convert-zero.h>.
30190         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30191         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30192         <fix-int-fp-convert-zero.h>.
30193         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30194         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30195         <fix-int-fp-convert-zero.h>.
30196         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30197         * sysdeps/ieee754/flt-32/s_erff.c: Include
30198         <fix-int-fp-convert-zero.h>.
30199         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30200         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30201         <fix-int-fp-convert-zero.h>.
30202         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30203         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30204         <fix-int-fp-convert-zero.h>.
30205         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30207         <fix-int-fp-convert-zero.h>.
30208         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30209         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30210         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30211         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30212         file.
30213         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30215 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30219 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30221         [BZ #19059]
30222         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30223         overflowing computation.
30224         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30225         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30226         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30227         Likewise.
30228         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30229         Likewise.
30230         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30231         Likewise.
30232         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30233         Likewise.
30234         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30235         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30236         Likewise.
30237         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30238         Likewise.
30239         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30241         * nss/rewrite_field.c (__nss_rewrite_field): Use
30242         internal_function.
30243         * nss/valid_field.c (__nss_valid_field): Likewise.
30244         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30246 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30248         [BZ #18724]
30249         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30250         (__nss_invalid_field_characters, __nss_valid_field)
30251         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30252         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30253         tst-field.c: New file.
30254         * nss/Makefile (routines): Add valid_field, rewrite_field.
30255         (tests-static): Define unconditionally.
30256         (tests): Include tests-static.
30257         [build-static-nss] (tests-static): Use append.
30258         [build-static-nss] (tests): Remove modification.
30259         * nss/getent.c (print_group): Call putgrent.  Report error.
30260         (print_gshadow): Call putsgent.  Report error.
30261         (print_passwd): Call putpwent.  Report error.
30262         (print_shadow): Call putspent.  Report error.
30263         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30264         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30265         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30266         name, password, directory, shell fields for valid syntax.  Rewrite
30267         GECOS field to match syntax.
30268         * pwd/Makefile (tests): Add tst-putpwent.
30269         * pwd/tst-putpwent.c: New file.
30270         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30271         Check grName, grpasswd, gr_mem fields for valid syntax.
30272         Change loop variable i to size_t.
30273         * grp/Makefile (tests): Add tst-putgrent.
30274         * grp/tst-putgrent.c: New file.
30275         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30276         valid syntax.
30277         * shadow/Makefile (tests): Add tst-putspent.
30278         * shadow/tst-putspent.c: New file.
30279         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30280         sg_mem fields for valid syntax.
30281         * gshadow/Makefile (tests): Add tst-putsgent.
30282         * gshadow/tst-putsgent.c: New file.
30284 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30286         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30287         assembly instructions.
30289 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30291         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30292         prefix from operands.
30294 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30296         [BZ #16347]
30297         [BZ #19046]
30298         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30299         <libc-internal.h>.
30300         (MAXLGM): Do not use diagnostic control macros.
30301         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30302         threshold for ldbl-128ibm.
30303         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30304         instead of multiplying by log then subtracting.
30305         * math/auto-libm-test-in: Add more tests of lgamma.
30306         * math/auto-libm-test-out: Regenerated.
30308         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30309         (TYPE_HEX_DIG): Likewise.
30310         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30311         precisions when printing floating-point numbers.
30312         (check_float_internal): Likewise.
30314 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30316         [BZ #16620]
30317         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30318         of log (10) rounded downward to 48 bits.
30319         (log10_low): Use corresponding low part of log (10).
30321         [BZ #19032]
30322         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30323         compute result as (x - x) / (x - x) not as 0 / 0.
30324         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30325         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30327         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30328         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30329         and expm1.
30330         * math/auto-libm-test-out: Regenerated.
30331         * math/libm-test.inc (acos_test_data): Add more tests.
30332         (asin_test_data): Likewise.
30333         (asinh_test_data): Likewise.
30334         (atan_test_data): Likewise.
30335         (atanh_test_data): Likewise.
30336         (atan2_test_data): Likewise.
30337         (cbrt_test_data): Likewise.
30338         (ceil_test_data): Likewise.
30339         (copysign_test_data): Likewise.
30340         (cos_test_data): Likewise.
30341         (cosh_test_data): Likewise.
30342         (erf_test_data): Likewise.
30343         (erfc_test_data): Likewise.
30344         (exp_test_data): Likewise.
30345         (exp10_test_data): Likewise.
30346         (exp2_test_data): Likewise.
30347         (expm1_test_data): Likewise.
30348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30350 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30352         [BZ #19006]
30353         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30354         to ...
30355         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30356         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30357         to ...
30358         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30359         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30360         to ...
30361         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30362         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30363         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30364         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30365         to ...
30366         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30367         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30368         Moved to ...
30369         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30370         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30371         Moved to ...
30372         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30373         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30374         to ...
30375         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30376         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30377         Moved to ...
30378         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30379         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30380         to ...
30381         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30382         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30383         Removed.
30384         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30385         Likewise.
30386         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30387         Likewise.
30388         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30389         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30390         Likewise.
30391         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30392         Likewise.
30393         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30394         Likewise.
30395         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30396         Likewise.
30397         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30398         Likewise.
30399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30400         Likewise.
30401         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30402         Likewise.
30403         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30404         Likewise.
30405         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30406         Likewise.
30407         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30408         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30409         Likewise.
30410         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30411         Likewise.
30412         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30413         Likewise.
30414         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30415         Likewise.
30416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30417         Likewise.
30418         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30419         Replace ../i486/pthread_cond_timedwait.S with
30420         ../pthread_cond_timedwait.S.
30422 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30424         * math/libm-test.inc (acos_test_data): Refine expectations for
30425         errno and "inexact" exceptions.
30426         (acosh_test_data): Likewise.
30427         (asin_test_data): Likewise.
30428         (asinh_test_data): Likewise.
30429         (atan_test_data): Likewise.
30430         (atanh_test_data): Likewise.
30431         (atan2_test_data): Likewise.
30432         (cbrt_test_data): Likewise.
30433         (ceil_test_data): Likewise.
30434         (copysign_test_data): Likewise.
30435         (cosh_test_data): Likewise.
30436         (erf_test_data): Likewise.
30437         (erfc_test_data): Likewise.
30438         (exp_test_data): Likewise.
30439         (exp10_test_data): Likewise.
30440         (exp2_test_data): Likewise.
30441         (expm1_test_data): Likewise.
30442         (fabs_test_data): Likewise.
30443         (floor_test_data): Likewise.
30444         (fma_test_data): Likewise.
30445         (fmax_test_data): Likewise.
30446         (fmin_test_data): Likewise.
30447         (fmod_test_data): Likewise.
30448         (fpclassify_test_data): Likewise.
30449         (frexp_test_data): Likewise.
30450         (hypot_test_data): Likewise.
30451         (ilogb_test_data): Likewise.
30452         (isgreater_test_data): Likewise.
30453         (isgreaterequal_test_data): Likewise.
30454         (isinf_test_data): Likewise.
30455         (isless_test_data): Likewise.
30456         (islessequal_test_data): Likewise.
30457         (islessgreater_test_data): Likewise.
30458         (isnan_test_data): Likewise.
30459         (isnormal_test_data): Likewise.
30460         (issignaling_test_data): Likewise.
30461         (isunordered_test_data): Likewise.
30462         (j0_test_data): Likewise.
30463         (j1_test_data): Likewise.
30464         (jn_test_data): Likewise.
30465         (lgamma_test_data): Likewise.
30466         (lrint_test_data): Likewise.
30467         (llrint_test_data): Likewise.
30468         (log_test_data): Likewise.
30469         (log10_test_data): Likewise.
30470         (log1p_test_data): Likewise.
30471         (log2_test_data): Likewise.
30472         (logb_test_data): Likewise.
30473         (lround_test_data): Likewise.
30474         (llround_test_data): Likewise.
30475         (modf_test_data): Likewise.
30476         (nearbyint_test_data): Likewise.
30477         (nextafter_test_data): Likewise.
30478         (nexttoward_test_data): Likewise.
30479         (pow_test_data): Likewise.
30480         (remainder_test_data): Likewise.
30481         (remquo_test_data): Likewise.
30482         (rint_test_data): Likewise.
30483         (round_test_data): Likewise.
30484         (signbit_test_data): Likewise.
30485         (sinh_test_data): Likewise.
30486         (sqrt_test_data): Likewise.
30487         (tanh_test_data): Likewise.
30488         (tgamma_test_data): Likewise.
30489         (trunc_test_data): Likewise.
30490         (y0_test_data): Likewise.
30491         (y1_test_data): Likewise.
30492         (yn_test_data): Likewise.
30493         (significand_test_data): Likewise.
30495 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30497         * manual/filesys.texi (Storage Allocation): Document that
30498         posix_fallocate emulation fails when fd is open with O_WRONLY.
30500 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30502         [BZ #19016]
30503         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30504         allow more cases with X^2 + Y^2 >= 0.5.
30505         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30506         normal element in sum instead of special-casing based on values of
30507         arguments.
30508         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30509         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30510         -1 as normal element in sum instead of special-casing based on
30511         values of arguments.
30512         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30513         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30514         (__x2y2m1): Update comment.
30515         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30516         as normal element in sum instead of special-casing based on values
30517         of arguments.
30518         * math/s_clog.c (__clog): Handle more cases using log1p without
30519         hypot.
30520         * math/s_clog10.c (__clog10): Likewise.
30521         * math/s_clog10f.c (__clog10f): Likewise.
30522         * math/s_clog10l.c (__clog10l): Likewise.
30523         * math/s_clogf.c (__clogf): Likewise.
30524         * math/s_clogl.c (__clogl): Likewise.
30525         * math/auto-libm-test-in: Add more tests of clog and clog10.
30526         * math/auto-libm-test-out: Regenerated.
30527         * sysdeps/i386/fpu/libm-test-ulps: Update.
30528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30530 2015-09-28  Martin Sebor  <msebor@redhat.com>
30532         [BZ #18969]
30533         * string/Makefile (LOCALES): Define.
30534         (gen-locales.mk): Include.
30535         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30536         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30537         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30538         on setlocale failure.
30540 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30542         [BZ #18985]
30543         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30544         (__strftime_internal): Likewise.
30545         * time/tst-strftime.c (do_bz18985): New test.
30546         (do_test): Call it.
30548 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30550         [BZ #18956]
30551         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30552         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30553         extracting high part.
30554         * math/auto-libm-test-in: Add another test of pow.
30555         * math/auto-libm-test-out: Regenerated.
30556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30558 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30560         [BZ #18825]
30561         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30562         New macro.
30563         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30564         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30565         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30566         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30567         DBL_NARROW_EVAL, reloading the PIC register as needed.
30568         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30569         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30570         FLT_NARROW_EVAL.  Use separate return path for case when first
30571         argument is NaN.
30572         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30573         DEFINE_LDBL_MIN.
30574         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30575         PIC register.
30576         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30577         math_check_force_underflow_nonneg.
30578         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30579         underflow for subnormal result.
30580         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30581         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30582         math_check_force_underflow_nonneg.
30583         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30584         math_check_force_underflow.
30585         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30586         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30587         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30588         DEFINE_LDBL_MIN.
30589         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30590         * math/auto-libm-test-in: Add more tests of pow.
30591         * math/auto-libm-test-out: Regenerated.
30593 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30595         * nss/bug17079.c (init_test_items): Add diagnostic for
30596         inconsistent entries.
30597         (test_buffer_size): Skip inconsistent entries.
30599 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30601         [BZ #13304]
30602         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30603         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30604         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30606         [BZ #13304]
30607         * sysdeps/microblaze/s_fma.c: New file.
30608         * sysdeps/microblaze/s_fmaf.c: Likewise.
30609         * sysdeps/microblaze/sfp-machine.h: Likewise.
30611 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30613         [BZ #17250]
30614         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30615         member.
30617 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30619         [BZ #18803]
30620         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30621         (MO): New macro.
30622         (__ieee754_hypot) [PIC]: Load PIC register.
30623         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30624         DBL_NARROW_EVAL.
30625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30626         math_check_force_underflow_nonneg in case where result might be
30627         tiny.
30628         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30629         Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30631         Likewise.
30632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30633         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30634         * math/auto-libm-test-in: Add more tests of hypot.
30635         * math/auto-libm-test-out: Regenerated.
30637 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30639         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30641 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30643         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30644         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30645         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30646         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30647         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30648         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30649         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30651         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30652         LOAD_PIC_REG.
30654         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30655         (FLT_CHECK_FORCE_UFLOW): Likewise.
30656         (DBL_CHECK_FORCE_UFLOW): Likewise.
30657         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30658         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30659         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30660         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30661         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30662         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30663         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30664         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30665         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30666         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30667         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30668         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30669         (flt_min): Replace with use of DEFINE_FLT_MIN.
30670         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30671         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30672         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30673         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30674         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30675         (flt_min): Replace with use of DEFINE_FLT_MIN.
30676         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30677         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30678         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30679         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30680         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30681         (flt_min): Replace with use of DEFINE_FLT_MIN.
30682         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30683         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30684         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30685         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30686         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30687         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30688         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30689         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30690         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30691         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30692         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30693         (flt_min): Replace with use of DEFINE_FLT_MIN.
30694         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30695         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30696         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30697         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30698         main computation.
30699         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30700         (flt_min): Replace with use of DEFINE_FLT_MIN.
30701         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30702         main computation.
30703         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30704         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30705         (MO): New macro.
30706         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30707         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30708         (flt_min): Replace with use of DEFINE_FLT_MIN.
30709         (MO): New macro.
30710         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30711         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30712         (__log1pl): Use MO.
30714         [BZ #19003]
30715         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30716         $(config-cflags-nofma).
30718 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30720         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30722 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30724         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30725         (TWO127): Likewise.
30727         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30728         (min_of_type): Likewise.
30729         (math_check_force_underflow): Likewise.
30730         (math_check_force_underflow_nonneg): Likewise.
30731         (math_check_force_underflow_complex): Likewise.
30732         * math/e_exp2l.c (__ieee754_exp2l): Use
30733         math_check_force_underflow_nonneg.
30734         * math/k_casinh.c (__kernel_casinh): Likewise.
30735         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30736         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30737         * math/s_catan.c (__catan): Use
30738         math_check_force_underflow_complex.
30739         * math/s_catanf.c (__catanf): Likewise.
30740         * math/s_catanh.c (__catanh): Likewise.
30741         * math/s_catanhf.c (__catanhf): Likewise.
30742         * math/s_catanhl.c (__catanhl): Likewise.
30743         * math/s_catanl.c (__catanl): Likewise.
30744         * math/s_ccosh.c (__ccosh): Likewise.
30745         * math/s_ccoshf.c (__ccoshf): Likewise.
30746         * math/s_ccoshl.c (__ccoshl): Likewise.
30747         * math/s_cexp.c (__cexp): Likewise.
30748         * math/s_cexpf.c (__cexpf): Likewise.
30749         * math/s_cexpl.c (__cexpl): Likewise.
30750         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30751         * math/s_clog10.c (__clog10): Likewise.
30752         * math/s_clog10f.c (__clog10f): Likewise.
30753         * math/s_clog10l.c (__clog10l): Likewise.
30754         * math/s_clogf.c (__clogf): Likewise.
30755         * math/s_clogl.c (__clogl): Likewise.
30756         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30757         * math/s_csinf.c (__csinf): Likewise.
30758         * math/s_csinh.c (__csinh): Likewise.
30759         * math/s_csinhf.c (__csinhf): Likewise.
30760         * math/s_csinhl.c (__csinhl): Likewise.
30761         * math/s_csinl.c (__csinl): Likewise.
30762         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30763         * math/s_csqrtf.c (__csqrtf): Likewise.
30764         * math/s_csqrtl.c (__csqrtl): Likewise.
30765         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30766         * math/s_ctanf.c (__ctanf): Likewise.
30767         * math/s_ctanh.c (__ctanh): Likewise.
30768         * math/s_ctanhf.c (__ctanhf): Likewise.
30769         * math/s_ctanhl.c (__ctanhl): Likewise.
30770         * math/s_ctanl.c (__ctanl): Likewise.
30771         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30772         instead of volatile.
30773         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30774         math_check_force_underflow.
30775         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30776         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30777         volatile when forcing underflow.
30778         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30779         math_check_force_underflow_nonneg.
30780         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30781         Likewise.
30782         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30783         math_check_force_underflow.
30784         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30785         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30786         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30787         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30788         math_check_force_underflow_nonneg.
30789         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30790         math_check_force_underflow.
30791         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30793         instead of volatile.
30794         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30795         math_check_force_underflow.
30796         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30797         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30798         math_check_force_underflow_nonneg.
30799         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30800         math_check_force_underflow.
30801         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30802         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30803         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30804         math_check_force_underflow_nonneg.
30805         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30806         Likewise.
30807         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30808         math_check_force_underflow.
30809         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30810         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30811         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30812         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30813         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30814         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30815         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30816         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30817         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30818         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30819         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30820         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30821         Likewise.
30822         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30823         math_check_force_underflow_nonneg.
30824         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30825         Likewise.
30826         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30827         math_check_force_underflow.
30828         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30829         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30830         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30831         Likewise.
30832         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30833         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30834         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30835         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30836         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30837         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30838         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30839         instead of volatile.
30840         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30841         math_check_force_underflow.
30842         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30844         math_check_force_underflow.
30845         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30846         Likewise.
30847         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30848         Use math_check_force_underflow_nonneg.
30849         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30850         math_check_force_underflow.
30851         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30852         Likewise.
30853         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30854         Likewise.
30855         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30856         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30857         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30858         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30859         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30860         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30861         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30862         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30864         math_check_force_underflow_nonneg.
30865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30866         math_check_force_underflow.
30867         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30868         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30869         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30870         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30871         math_check_force_underflow_nonneg.
30872         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30873         math_check_force_underflow.
30874         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30876         instead of volatile.
30877         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30878         math_check_force_underflow.
30880         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30881         * stdlib/strtod_l.c: Include <math_private.h>.
30882         (overflow_value): Use math_narrow_eval.
30883         (underflow_value): Likewise.
30884         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30885         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30886         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30887         (__ieee754_gamma_r): Likewise.
30888         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30889         Likewise.
30890         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30891         Likewise.
30892         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30893         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30894         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30895         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30896         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30897         (__ieee754_gammaf_r): Likewise.
30898         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30899         Likewise.
30900         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30901         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30902         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30903         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30904         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30905         volatile.
30906         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30907         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30908         math_narrow_eval.
30909         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30910         Likewise.
30911         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30912         Likewise.
30913         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30914         Likewise.
30915         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30916         volatile.
30917         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30918         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30919         math_narrow_eval.
30920         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30921         Likewise.
30922         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30923         Likewise.
30925 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30927         * nptl/Versions: Remove ignored symbols.
30929 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30931         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30932         * nss/Makefile (tests): Update.
30934 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30936         * nss/bug18287.c: New file.
30937         * nss/Makefile (tests): Add bug18287.
30939 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30941         * mach/Versions (__mach_host_self_): Add symbol.
30943 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30945         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30946         vm_page_size.
30948 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30950         Really fix sysdeps/i386/fpu/s_scalbn.S build
30952         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30953         (libc: GLIBC_2_22): Remove unused version set.
30955 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30957         * config.make.in (enable-timezone-tools): New variable.
30958         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30959         (enable_timezone_tools): Export to generated files.
30960         * configure: Regenerate.
30961         * INSTALL: Regenerate.
30962         * manual/install.texi (--disable-timezone-tools): Document new flag.
30963         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30964         ifeq ($(enable-timezone-tools),yes) check.
30966 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30968         * timezone/Makefile: Revert previous change.
30970         [BZ #18980]
30971         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30972         (DEFINE_DBL_MIN): Likewise.
30973         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30974         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30975         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30976         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30977         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30978         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30979         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30980         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30981         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30982         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30983         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30984         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30985         (flt_min): Replace with use of DEFINE_FLT_MIN.
30986         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30987         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30988         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30989         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30990         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30991         (flt_min): Replace with use of DEFINE_FLT_MIN.
30992         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30993         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30994         (flt_min): Replace with use of DEFINE_FLT_MIN.
30995         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30996         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30997         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30998         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30999         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31000         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31001         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31002         (__ieee754_pow): Use DBL_NARROW_EVAL.
31003         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31004         (__ieee754_powf): Use FLT_NARROW_EVAL.
31005         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31006         (__ieee754_expf_sse2): Convert double-precision result to single
31007         precision.
31008         * sysdeps/i386/fpu/libm-test-ulps: Update.
31010 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31012         * timezone/Makefile: Ignore unused variable errors due to private.h
31013         (time_t_min) and (time_t_max).
31014         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
31015         Likewise.
31017 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31019         [BZ #18981]
31020         * sysdeps/i386/fpu/i386-math-asm.h: New file.
31021         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31022         (__ieee754_scalb): Use DBL_NARROW_EVAL.
31023         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31024         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31025         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31026         (__scalbn): Use DBL_NARROW_EVAL.
31027         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31028         (__scalbnf): Use FLT_NARROW_EVAL.
31030 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31032         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31033         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31034         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31035         * stdio-common/printf_fp.c (___printf_fp):
31036         Use signbit to get the sign. Use isinf macro to allow inlining.
31037         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31038         * stdio-common/printf_size.c (__printf_size): Likewise.
31040 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31042         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31044 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31046         [BZ #18980]
31047         * sysdeps/generic/math_private.h: Include <float.h>.
31048         (math_narrow_eval): New macro.
31049         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31050         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31051         math_narrow_eval on overflowing return value.
31052         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31053         Likewise.
31054         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31055         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31056         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31057         Likewise.
31058         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31060 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31062         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31063         * math/Makefile: Remove isinf_ns.c.
31064         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31065         * math/multc3.c (__multc3): Likewise.
31066         * math/s_casin.c (__casin): Likewise.
31067         * math/s_casinf.c (__casinf): Likewise.
31068         * math/s_casinl.c (__casinl): Likewise.
31069         * math/s_cproj.c (__cproj): Likewise.
31070         * math/s_cprojf.c (__cprojf): Likewise.
31071         * math/s_cprojl.c (__cprofl): Likewise.
31072         * math/s_ctan.c (__ctan): Likewise.
31073         * math/s_ctanf.c (__ctanf): Likewise.
31074         * math/s_ctanh.c (__ctanh): Likewise.
31075         * math/s_ctanhf.c (__ctanhf): Likewise.
31076         * math/s_ctanhl.c (__ctanhl): Likewise.
31077         * math/s_ctanl.c (__ctanl): Likewise.
31078         * math/w_fmod.c (__fmod): Likewise.
31079         * math/w_fmodf.c (__fmodf): Likewise.
31080         * math/w_fmodl.c (_fmodl): Likewise.
31081         * math/w_remainder.c (__remainder): Likewise.
31082         * math/w_remainderf.c (__remainderf): Likewise.
31083         * math/w_remainderl.c (__remainderl): Likewise.
31084         * math/w_scalb.c (__scalb): Likewise.
31085         * math/w_scalbf.c (__scalbf): Likewise.
31086         * math/w_scalbl.c (__scalbl): Likewise.
31087         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31088         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31089         with isinf.
31090         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31091         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31092         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31093         __isinf_nsf with isinf.
31094         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31095         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31096         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31097         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31098         with isinf.
31099         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31100         __isinf_nsl with isinf.
31101         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31102         with isinf.
31103         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31104         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31105         __isinf_nsl with isinf.
31106         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31107         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31108         with isinf.
31110 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31112         * resolv/base64.c (rcsid): Remove unused static.
31113         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31114         static.  (tqpi1): Likewise.
31115         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31116         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31117         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31118         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31120         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31121         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31122         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31123         Likewise.
31125 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31127         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31128         <nptl/pthreadP.h>.
31129         (_longjmp_unwind): Use __libc_ptf_call.
31130         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31132 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31134         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31135         * sysdeps/arm/__longjmp.S: Likewise.
31137 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31139         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31140         Use __builtin_signbit.
31141         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31142         Use __builtin_signbitf.
31143         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31144         Use __builtin_signbitl.
31145         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31146         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31148 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31150         [BZ #15367]
31151         [BZ #17441]
31153         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31154         * math/math.h (fpclassify): Use __builtin_fpclassify when
31155         available.  (signbit): Use __builtin_signbit(f/l).
31156         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31157         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31158         (isinf): Use __builtin_isinf_sign.
31160 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31162         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31163         * benchtests/bench-math-inlines.c: New benchmark.
31164         * benchtests/bench-util.h: New file.
31165         * benchtests/bench-util.c: New file.
31166         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31168 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31170         * elf/tst-dlmopen1.c: Define TEST_SO.
31171         (do_test): Use TEST_SO.
31173         * elf/dl-load.c: Include libc-internal.h.
31174         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31176 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31178         [BZ #17887]
31179         * time/strptime_l.c (__strptime_internal): Make %z accept
31180         [+-]HH:MM time zones.
31182 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31184         [BZ #17886]
31185         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31186         valid time zone.
31188 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31190         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31191         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31192         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31193         (__ASSUME_FDATASYNC): Delete.
31195 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31197         * conform/linknamespace.pl: Require weak undefined symbols to be
31198         in the standard namespace.
31199         (%strong_syms): Rename to %seen_syms.
31200         (%strong_seen): Rename to %seen_where.
31202 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31204         [BZ #18970]
31205         * misc/error.c (error): Replace pthread_setcancelstate with
31206         __pthread_setcancelstate.
31207         (error_at_line): Likewise.
31208         * posix/wordexp.c (parse_comm): Likewise.
31209         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31210         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31211         (__pthread_setcancelstate): This.
31212         (pthread_setcancelstate): Add an alias.
31213         * nptl/nptl-init.c (pthread_functions): Replace
31214         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31215         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31216         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31217         hidden_proto.
31218         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31219         it with hidden_def.
31220         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31221         (pthread_setcancelstate): Renamed to ...
31222         (__pthread_setcancelstate): This.
31223         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31224         __libc_ptf_call with __pthread_setcancelstate.
31226 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31227             Andreas Schwab  <schwab@suse.de>
31229         [BZ #17118]
31230         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31231         result when imaginary part of argument is infinite using sine and
31232         cosine.
31233         * math/s_ctanf.c (__ctanf): Likewise.
31234         * math/s_ctanl.c (__ctanl): Likewise.
31235         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31236         of result when real part of argument is infinite using sine and
31237         cosine.
31238         * math/s_ctanhf.c (__ctanhf): Likewise.
31239         * math/s_ctanhl.c (__ctanhl): Likewise.
31240         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31241         (ctanh_test_data): Add more tests of ctanh.
31243 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31245         [BZ #15384]
31246         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31247         bit-mask as in subtraction.
31248         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31249         Likewise.
31250         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31251         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31252         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31254         [BZ #18951]
31255         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31256         underflow exception for small results.
31257         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31258         Likewise.
31259         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31260         Likewise.
31261         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31262         Likewise.
31263         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31264         Likewise.
31265         * math/auto-libm-test-in: Add more tests of tgamma.
31266         * math/auto-libm-test-out: Regenerated.
31268 2015-09-17  Andreas Schwab  <schwab@suse.de>
31270         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31272 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31274         [BZ #18977]
31275         * math/bits/mathcalls.h
31276         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31277         not declare.
31278         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31279         Likewise.
31280         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31281         Likewise.
31282         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31283         Likewise.
31284         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31285         Likewise.
31286         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31287         Likewise.
31288         * conform/data/math.h-data
31289         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31290         function.
31291         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31292         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31293         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31294         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31295         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31296         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31297         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31298         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31299         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31300         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31301         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31303         [BZ #6803]
31304         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31305         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31306         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31307         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31308         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31309         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31310         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31311         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31312         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31313         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31314         Likewise.
31315         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31316         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31317         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31318         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31319         long_double_symbol calls.
31320         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31321         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31322         strong alias of __ldexpl.
31323         (scalbnl): Define using long_double_symbol.
31324         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31325         Remove alias.
31326         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31327         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31328         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31329         (scalbln_test_data): Add more errno expectations.
31331 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31333         Cache the host port like we cache the task port.  This way we do not
31334         need to call the kernel just to get the port.  Furthermore, we no
31335         longer increase the reference count on every invocation of
31336         `mach_host_self'.
31338         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31339         Protect declarations against the macro expansion.
31340         * mach/mach_init.c (__mach_host_self_): New variable.
31341         (mach_init): Initialize `__mach_host_self_'.
31342         * mach/mach_init.h (__mach_host_self_): New declaration.
31343         (__mach_host_self, mach_host_self): New macros.
31344         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31345         Release reference.
31347 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31349         [BZ #4404]
31350         * po/de.po: Update from Translation Project.
31352         [BZ #16415]
31353         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31354         (__expm1l): Remove code to handle positive infinity and overflow.
31355         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31356         variable.
31357         (__expm1l): Remove code to handle positive infinity and overflow.
31359 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31360             Paul Pluzhnikov  <ppluzhnikov@google.com>
31362         [BZ #18872]
31363         * stdio-common/Makefile (tst-printf-bz18872): New test.
31364         (tst-printf-bz18872-mem.out): Likewise.
31365         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31366         * stdio-common/vfprintf.c: Fix memory leaks.
31368 2015-09-16  Andreas Schwab  <schwab@suse.de>
31370         [BZ #17244]
31371         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31372         Remove extra va_start/va_end calls.
31374         [BZ #17243]
31375         * posix/execl.c (execl): Add missing va_end.
31376         * posix/execle.c (execle): Likewise.
31377         * posix/execlp.c (execlp): Likewise.
31379 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31381         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31382         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31384 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31386         [BZ #18967]
31387         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31388         undefine around includes of <bits/mathcalls.h>.
31389         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31390         not declare function.
31391         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31392         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31393         (scalb): Likewise.
31394         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31395         not define macro.
31396         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31397         variable.
31398         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31399         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31400         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31402         [BZ #18857]
31403         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31404         return non-finite argument without doing ordered comparisons on
31405         it.
31407         [BZ #16296]
31408         * math/fenv.h (fegetround): Use __attribute_pure__.
31409         * include/fenv.h (__fegetround): Likewise.
31411         [BZ #18595]
31412         * math/s_ctan.c (__ctan): Force underflow exception for results
31413         whose real or imaginary part has small absolute value.
31414         * math/s_ctanf.c (__ctanf): Likewise.
31415         * math/s_ctanh.c (__ctanh): Likewise.
31416         * math/s_ctanhf.c (__ctanhf): Likewise.
31417         * math/s_ctanhl.c (__ctanhl): Likewise.
31418         * math/s_ctanl.c (__ctanl): Likewise.
31419         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31420         and ctanh.  Add more tests of ctan and ctanh.
31422         [BZ #15918]
31423         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31424         handling of cases where one argument is an infinity.
31426         [BZ #18875]
31427         [BZ #18966]
31428         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31429         (MO): New macro.
31430         (__ieee754_exp10): For small results, force underflow exception
31431         and remove excess range and precision from return value.
31432         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31433         (MO): New macro.
31434         (__ieee754_exp10f): For small results, force underflow exception
31435         and remove excess range and precision from return value.
31436         * math/auto-libm-test-in: Add more tests of exp10.
31437         * math/auto-libm-test-out: Regenerated.
31439 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31441         [BZ #18875]
31442         [BZ #18961]
31443         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31444         (MO): New macro.
31445         (__ieee754_exp): For small results, force underflow exception and
31446         remove excess range and precision from return value.
31447         (__exp_finite): Likewise.
31448         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31449         (MO): New macro.
31450         (__ieee754_expf): For small results, force underflow exception and
31451         remove excess range and precision from return value.
31452         (__expf_finite): Likewise.
31453         * math/auto-libm-test-in: Add more tests of exp.
31454         * math/auto-libm-test-out: Regenerated.
31456         [BZ #16521]
31457         [BZ #18875]
31458         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31459         small results.
31460         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31461         (MO): New macro.
31462         (__ieee754_exp2): For small results, force underflow exception and
31463         remove excess range and precision from return value.
31464         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31465         (MO): New macro.
31466         (__ieee754_exp2f): For small results, force underflow exception
31467         and remove excess range and precision from return value.
31468         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31469         (MO): New macro.
31470         (__ieee754_exp2l): Force underflow exception for small results.
31471         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31472         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31473         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31474         (MO): New macro.
31475         (__ieee754_exp2l): Force underflow exception for small results.
31476         * math/auto-libm-test-in: Add more tests or exp2.
31477         * math/auto-libm-test-out: Regenerated.
31479 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31481         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31483         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31484         /dev/null.
31486 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31488         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31489         io fs process)): Drop spurious backslash.
31491 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31493         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31494         Use sysinfo system call instead of parsing /proc/meminfo.
31495         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31496         Likewise.
31498 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31500         [BZ #16985]
31501         * programs/localedef.c (main): Display argv[remaining] when
31502         output_path is NULL.
31504 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31506         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31507         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31508         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31509         tanh.
31510         * math/auto-libm-test-out: Regenerated.
31511         * sysdeps/i386/fpu/libm-test-ulps: Update.
31512         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31513         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31516 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31518         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31519         Use 'override' keyword to freeze the value here, preventing
31520         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31522 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31524         [BZ #14912]
31525         * sysdeps/aarch64/bits/atomic.h: Move to ...
31526         * sysdeps/aarch64/atomic-machine.h: ...here.
31527         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31528         _AARCH64_ATOMIC_MACHINE_H.
31529         * sysdeps/alpha/bits/atomic.h: Move to ...
31530         * sysdeps/alpha/atomic-machine.h: ...here.
31531         * sysdeps/arm/bits/atomic.h: Move to ...
31532         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31533         * bits/atomic.h: Move to ...
31534         * sysdeps/generic/atomic-machine.h: ...here.
31535         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31536         * sysdeps/i386/bits/atomic.h: Move to ...
31537         * sysdeps/i386/atomic-machine.h: ...here.
31538         * sysdeps/ia64/bits/atomic.h: Move to ...
31539         * sysdeps/ia64/atomic-machine.h: ...here.
31540         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31541         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31542         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31543         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31544         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31545         * sysdeps/microblaze/bits/atomic.h: Move to ...
31546         * sysdeps/microblaze/atomic-machine.h: ...here.
31547         * sysdeps/mips/bits/atomic.h: Move to ...
31548         * sysdeps/mips/atomic-machine.h: ...here.
31549         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31550         * sysdeps/powerpc/bits/atomic.h: Move to ...
31551         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31552         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31553         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31554         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31555         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31556         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31557         <atomic-machine.h> instead of <bits/atomic.h>.
31558         * sysdeps/s390/bits/atomic.h: Move to ...
31559         * sysdeps/s390/atomic-machine.h: ...here.
31560         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31561         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31562         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31563         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31564         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31565         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31566         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31567         * sysdeps/tile/bits/atomic.h: Move to ...
31568         * sysdeps/tile/atomic-machine.h: ...here.
31569         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31570         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31571         <sysdeps/tile/atomic-machine.h> instead of
31572         <sysdeps/tile/bits/atomic.h>.
31573         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31574         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31575         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31576         <sysdeps/tile/atomic-machine.h> instead of
31577         <sysdeps/tile/bits/atomic.h>.
31578         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31579         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31580         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31581         <sysdeps/arm/atomic-machine.h> instead of
31582         <sysdeps/arm/bits/atomic.h>.
31583         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31584         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31585         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31586         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31587         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31588         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31589         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31590         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31591         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31592         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31593         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31594         * sysdeps/x86_64/bits/atomic.h: Move to ...
31595         * sysdeps/x86_64/atomic-machine.h: ...here.
31596         * include/atomic.h: Include <atomic-machine.h> instead of
31597         <bits/atomic.h>.
31599         * sysdeps/mips/mips32/libm-test-ulps: Update.
31600         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31602         [BZ #18952]
31603         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31604         not convert non-integer negative arguments to int to determine the
31605         value of signgam.
31606         * math/auto-libm-test-in: Add more tests of lgamma.
31607         * math/auto-libm-test-out: Regenerated.
31609         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31610         cosh, csqrt, erfc, expm1 and lgamma.
31611         * math/auto-libm-test-out: Regenerated.
31612         * sysdeps/i386/fpu/libm-test-ulps: Update.
31613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31615 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31617         [BZ #2542]
31618         [BZ #2543]
31619         [BZ #2558]
31620         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31621         __lgamma_neg for arguments from -28.0 to -2.0.
31622         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31623         __lgamma_negf for arguments from -15.0 to -2.0.
31624         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31625         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31626         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31627         Call __lgamma_negl for arguments from -33.0 to -2.0.
31628         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31629         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31630         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31631         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31632         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31633         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31634         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31635         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31636         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31637         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31638         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31639         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31640         (__lgamma_neg): Likewise.
31641         (__lgamma_negl): Likewise.
31642         (__lgamma_product): Likewise.
31643         (__lgamma_productl): Likewise.
31644         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31645         * math/auto-libm-test-in: Add more tests of lgamma.
31646         * math/auto-libm-test-out: Regenerated.
31647         * sysdeps/i386/fpu/libm-test-ulps: Update.
31648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31650 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31652         [BZ #18675]
31653         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31655 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31657         [BZ #14912]
31658         * bits/libc-lock.h: Move to ...
31659         * sysdeps/generic/libc-lock.h: ...here.
31660         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31661         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31662         * sysdeps/mach/hurd/libc-lock.h: ...here.
31663         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31664         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31665         * sysdeps/mach/bits/libc-lock.h: Move to ...
31666         * sysdeps/mach/libc-lock.h: ...here.
31667         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31668         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31669         * sysdeps/nptl/libc-lock.h: ...here.
31670         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31671         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31672         * sysdeps/nptl/libc-lockP.h: ...here.
31673         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31674         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31675         <bits/libc-lock.h>.
31676         * dirent/scandir-tail.c: Likewise.
31677         * dlfcn/dlerror.c: Likewise.
31678         * elf/dl-close.c: Likewise.
31679         * elf/dl-iteratephdr.c: Likewise.
31680         * elf/dl-lookup.c: Likewise.
31681         * elf/dl-open.c: Likewise.
31682         * elf/dl-support.c: Likewise.
31683         * elf/dl-writev.h: Likewise.
31684         * elf/rtld.c: Likewise.
31685         * grp/fgetgrent.c: Likewise.
31686         * gshadow/fgetsgent.c: Likewise.
31687         * gshadow/sgetsgent.c: Likewise.
31688         * iconv/gconv_conf.c: Likewise.
31689         * iconv/gconv_db.c: Likewise.
31690         * iconv/gconv_dl.c: Likewise.
31691         * iconv/gconv_int.h: Likewise.
31692         * iconv/gconv_trans.c: Likewise.
31693         * include/link.h: Likewise.
31694         * inet/getnameinfo.c: Likewise.
31695         * inet/getnetgrent.c: Likewise.
31696         * inet/getnetgrent_r.c: Likewise.
31697         * intl/bindtextdom.c: Likewise.
31698         * intl/dcigettext.c: Likewise.
31699         * intl/finddomain.c: Likewise.
31700         * intl/gettextP.h: Likewise.
31701         * intl/loadmsgcat.c: Likewise.
31702         * intl/localealias.c: Likewise.
31703         * intl/textdomain.c: Likewise.
31704         * libidn/idn-stub.c: Likewise.
31705         * libio/libioP.h: Likewise.
31706         * locale/duplocale.c: Likewise.
31707         * locale/freelocale.c: Likewise.
31708         * locale/newlocale.c: Likewise.
31709         * locale/setlocale.c: Likewise.
31710         * login/getutent_r.c: Likewise.
31711         * login/getutid_r.c: Likewise.
31712         * login/getutline_r.c: Likewise.
31713         * login/utmp-private.h: Likewise.
31714         * login/utmpname.c: Likewise.
31715         * malloc/mtrace.c: Likewise.
31716         * misc/efgcvt.c: Likewise.
31717         * misc/error.c: Likewise.
31718         * misc/fstab.c: Likewise.
31719         * misc/getpass.c: Likewise.
31720         * misc/mntent.c: Likewise.
31721         * misc/syslog.c: Likewise.
31722         * nis/nis_call.c: Likewise.
31723         * nis/nis_callback.c: Likewise.
31724         * nis/nss-default.c: Likewise.
31725         * nis/nss_compat/compat-grp.c: Likewise.
31726         * nis/nss_compat/compat-initgroups.c: Likewise.
31727         * nis/nss_compat/compat-pwd.c: Likewise.
31728         * nis/nss_compat/compat-spwd.c: Likewise.
31729         * nis/nss_nis/nis-alias.c: Likewise.
31730         * nis/nss_nis/nis-ethers.c: Likewise.
31731         * nis/nss_nis/nis-grp.c: Likewise.
31732         * nis/nss_nis/nis-hosts.c: Likewise.
31733         * nis/nss_nis/nis-network.c: Likewise.
31734         * nis/nss_nis/nis-proto.c: Likewise.
31735         * nis/nss_nis/nis-pwd.c: Likewise.
31736         * nis/nss_nis/nis-rpc.c: Likewise.
31737         * nis/nss_nis/nis-service.c: Likewise.
31738         * nis/nss_nis/nis-spwd.c: Likewise.
31739         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31740         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31741         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31742         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31743         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31744         * nis/nss_nisplus/nisplus-network.c: Likewise.
31745         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31746         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31747         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31748         * nis/nss_nisplus/nisplus-service.c: Likewise.
31749         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31750         * nis/ypclnt.c: Likewise.
31751         * nptl/libc_pthread_init.c: Likewise.
31752         * nss/getXXbyYY.c: Likewise.
31753         * nss/getXXent.c: Likewise.
31754         * nss/getXXent_r.c: Likewise.
31755         * nss/nss_db/db-XXX.c: Likewise.
31756         * nss/nss_db/db-netgrp.c: Likewise.
31757         * nss/nss_db/nss_db.h: Likewise.
31758         * nss/nss_files/files-XXX.c: Likewise.
31759         * nss/nss_files/files-alias.c: Likewise.
31760         * nss/nsswitch.c: Likewise.
31761         * posix/regex_internal.h: Likewise.
31762         * posix/wordexp.c: Likewise.
31763         * pwd/fgetpwent.c: Likewise.
31764         * resolv/res_hconf.c: Likewise.
31765         * resolv/res_libc.c: Likewise.
31766         * shadow/fgetspent.c: Likewise.
31767         * shadow/lckpwdf.c: Likewise.
31768         * shadow/sgetspent.c: Likewise.
31769         * socket/opensock.c: Likewise.
31770         * stdio-common/reg-modifier.c: Likewise.
31771         * stdio-common/reg-printf.c: Likewise.
31772         * stdio-common/reg-type.c: Likewise.
31773         * stdio-common/vfprintf.c: Likewise.
31774         * stdio-common/vfscanf.c: Likewise.
31775         * stdlib/abort.c: Likewise.
31776         * stdlib/cxa_atexit.c: Likewise.
31777         * stdlib/fmtmsg.c: Likewise.
31778         * stdlib/random.c: Likewise.
31779         * stdlib/setenv.c: Likewise.
31780         * string/strsignal.c: Likewise.
31781         * sunrpc/auth_none.c: Likewise.
31782         * sunrpc/bindrsvprt.c: Likewise.
31783         * sunrpc/create_xid.c: Likewise.
31784         * sunrpc/key_call.c: Likewise.
31785         * sunrpc/rpc_thread.c: Likewise.
31786         * sysdeps/arm/backtrace.c: Likewise.
31787         * sysdeps/generic/ldsodefs.h: Likewise.
31788         * sysdeps/generic/stdio-lock.h: Likewise.
31789         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31790         * sysdeps/i386/backtrace.c: Likewise.
31791         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31792         * sysdeps/m68k/backtrace.c: Likewise.
31793         * sysdeps/mach/hurd/cthreads.c: Likewise.
31794         * sysdeps/mach/hurd/dirstream.h: Likewise.
31795         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31796         * sysdeps/nptl/malloc-machine.h: Likewise.
31797         * sysdeps/nptl/stdio-lock.h: Likewise.
31798         * sysdeps/posix/dirstream.h: Likewise.
31799         * sysdeps/posix/getaddrinfo.c: Likewise.
31800         * sysdeps/posix/system.c: Likewise.
31801         * sysdeps/pthread/aio_suspend.c: Likewise.
31802         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31803         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31804         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31805         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31806         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31807         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31808         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31809         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31810         * sysdeps/unix/sysv/linux/system.c: Likewise.
31811         * sysdeps/x86_64/backtrace.c: Likewise.
31812         * time/alt_digit.c: Likewise.
31813         * time/era.c: Likewise.
31814         * time/tzset.c: Likewise.
31815         * wcsmbs/wcsmbsload.c: Likewise.
31816         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31817         instead of <bits/libc-lock.h> in comment.
31819 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31821         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31822         Only use .set mips2 if the current ISA is below mips2.
31823         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31824         Likewise.
31825         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31826         mips32r2 if the current ISA is below mips32r2.
31827         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31828         (TLS_IE): Updated to use the TLD_RDHWR macro.
31829         (TLS_LE): Likewise.
31830         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31831         __ASSEMBLER__ condition.
31833 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31835         Fix parallel build of before-compile targets.
31837         * sysdeps/mach/Makefile ($(patsubst
31838         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31839         mach-before-compile target.
31840         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31841         io fs process)): Move rule to dedicated hurd-before-compile target.
31843 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31845         Fix rules generating headers in hurd/ and mach/ when initial make call
31846         has subdir= explicitly set.
31848         * sysdeps/mach/Makefile ($(patsubst
31849         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31850         calling $(MAKE).
31851         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31852         io fs process)): Force subdir to hurd when calling $(MAKE).
31853         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31854         subdir to mach when calling $(MAKE).
31856 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31858         Check sysheaders when looking for Mach and Hurd headers
31860         * sysdeps/mach/configure.ac: Add sysheaders check.
31861         * sysdeps/mach/configure: Regenerate.
31862         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31863         * sysdeps/mach/hurd/configure: Regenerate.
31865 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31867         [BZ #18921]
31868         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31869         Fix inverted sense of test of 'o_directory_works' value.
31870         Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31871         Bernhard Voelker <mail@bernhard-voelker.de>.
31873 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31875         [BZ #14912]
31876         * bits/linkmap.h: Move to ...
31877         * sysdeps/generic/linkmap.h: ...here.
31878         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31879         * sysdeps/aarch64/linkmap.h: ...here.
31880         * sysdeps/arm/bits/linkmap.h: Move to ...
31881         * sysdeps/arm/linkmap.h: ...here.
31882         * sysdeps/hppa/bits/linkmap.h: Move to ...
31883         * sysdeps/hppa/linkmap.h: ...here.
31884         * sysdeps/ia64/bits/linkmap.h: Move to ...
31885         * sysdeps/ia64/linkmap.h: ...here.
31886         * sysdeps/mips/bits/linkmap.h: Move to ...
31887         * sysdeps/mips/linkmap.h: ...here.
31888         * sysdeps/s390/bits/linkmap.h: Move to ...
31889         * sysdeps/s390/linkmap.h: ...here.
31890         * sysdeps/sh/bits/linkmap.h: Move to ...
31891         * sysdeps/sh/linkmap.h: ...here.
31892         * sysdeps/x86/bits/linkmap.h: Move to ...
31893         * sysdeps/x86/linkmap.h: ...here.
31894         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31896 2015-09-04  Andreas Schwab  <schwab@suse.de>
31898         [BZ #18635]
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31900         (__makecontext): Terminate FDE before return label.
31901         (__novec_makecontext): Likewise.
31903 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31905         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31906         first member of struct sv in syscall macro.
31908 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31910         [BZ #14912]
31911         * bits/stdio-lock.h: Move to ...
31912         * sysdeps/generic/stdio-lock.h: ...here.
31913         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31914         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31915         * sysdeps/nptl/stdio-lock.h: ...here.
31916         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31917         * include/libio.h: Include <stdio-lock.h> instead of
31918         <bits/stdio-lock.h>.
31919         * sysdeps/nptl/fork.c: Likewise.
31920         * sysdeps/pthread/flockfile.c: Likewise.
31921         * sysdeps/pthread/ftrylockfile.c: Likewise.
31922         * sysdeps/pthread/funlockfile.c: Likewise.
31924         [BZ #14912]
31925         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31926         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31927         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31928         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31929         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31930         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31931         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31933 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31935         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31936         (test-xfail-tst-protected1b): New variable.
31938 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #14912]
31941         * bits/libc-tsd.h: Move to ...
31942         * sysdeps/generic/libc-tsd.h: ...here.
31943         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31944         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31945         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31946         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31947         * include/ctype.h: Include <libc-tsd.h> instead of
31948         <bits/libc-tsd.h>.
31949         * include/rpc/rpc.h: Likewise.
31950         * locale/localeinfo.h: Likewise.
31951         * sunrpc/rpc_thread.c: Likewise.
31952         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31953         * sysdeps/nptl/malloc-machine.h: Likewise.
31955         * Makefile (headers): Remove bits/libc-lock.h.
31956         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31958         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31959         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31960         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31961         <bits/stdio-lock.h>.
31962         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31963         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31965 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31967         [BZ #18757]
31968         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31969         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31970         BZ #18757.
31972 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31974         * malloc/mtrace.pl: Filter out NULL entries.
31976 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31978         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31979         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31980         macro.
31982         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31983         (TCP_CC_INFO): Likewise.
31984         (TCP_SAVE_SYN): Likewise.
31985         (TCP_SAVED_SYN): Likewise.
31987 2015-08-31  Brett Neumeier <brett@neumeier.us>
31989         [BZ #18870]
31990         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31992 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31994         [BZ #18873]
31995         Fix broken overflow check in posix_fallocate
31996         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31997         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31998         Fix parenthesization typo.
32000 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
32002         [BZ #18887]
32003         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32004         tst-mntent-blank-passno.
32005         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32006         * misc/tst-mntent-blank-corrupt.c: New test.
32007         * misc/tst-mntent-blank-passno.c: New test ripped from ...
32008         * misc/tst-mntent.c (do_test): ... here.
32010 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
32012         [BZ #4404]
32013         * po/de.po: Fix SIGALRM typo.
32015 2015-08-28  James Perkins  <james@loowit.net>
32017         * time/tst-strptime2.c (tests): Replace short list of test
32018         strings for strptime %z specifier with code which exhaustively
32019         tests every combination of sign and 0 to 5 digits. Tests for
32020         rejection of invalid strings.
32022 2015-08-28  James Perkins  <james@loowit.net>
32024         [BZ #16141]
32025         * time/strptime_l.c (__strptime_internal): Fix %z minutes
32026         calculation, removing incorrect decimal time rounding, so that
32027         all minute values result in a valid seconds value.
32028         * time/strptime_l.c (__strptime_internal): Extend %z time zone
32029         offset range limits to UTC-99:59 through UTC+99:59 to parse
32030         current and historical use cases.
32031         * time/tst-strptime2.c (tests): Modify and add tests for the
32032         strptime %z input field descriptor, specifically conversion of
32033         minutes to seconds and validating an offset range of -9959 to
32034         +9959.
32036 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32037             Dmitry V. Levin  <ldv@altlinux.org>
32039         [BZ #18877]
32040         * posix/Makefile (tests): Add tst-mmap-offset.
32041         * posix/tst-mmap.c: New file.
32042         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32043         offset calculation for negative values.
32045 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32047         * sysdeps/i386/init-arch.h: New file.
32048         * sysdeps/i386/i586/init-arch.h: Likewise.
32049         * sysdeps/i386/i686/init-arch.h: Likewise.
32050         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32051         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32052         * sysdeps/x86/cpu-features.h (bit_I586): New.
32053         (bit_I686): Likewise.
32054         (bit_CX8): Likewise.
32055         (bit_CMOV): Likewise.
32056         (index_CX8): Likewise.
32057         (index_CMOV): Likewise.
32058         (index_I586): Likewise.
32059         (index_I686): Likewise.
32060         (reg_CX8): Likewise.
32061         (reg_CMOV): Likewise.
32062         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32063         available at compile-time.
32064         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32065         available at compile-time.
32066         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32067         (USE_I686): Likewise.
32069 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32071         * sysdeps/i386/bcopy.S: New file.
32072         * sysdeps/i386/bzero.S: Likewise.
32073         * sysdeps/i386/memcpy.S: Likewise.
32074         * sysdeps/i386/memmove.S: Likewise.
32075         * sysdeps/i386/mempcpy.S: Likewise.
32076         * sysdeps/i386/memset.S: Likewise.
32077         * sysdeps/i386/bzero.c: Removed.
32078         * sysdeps/i386/memset.c: Likewise.
32079         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32080         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32081         * sysdeps/i386/i586/memset_chk.S: Likewise.
32082         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32083         * sysdeps/i386/memcpy_chk.S: Here.
32084         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32085         * sysdeps/i386/memmove_chk.S: Here.
32086         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32087         * sysdeps/i386/mempcpy_chk.S: Likewise.
32088         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32089         * sysdeps/i386/memset_chk.S: Likewise.
32091 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32093         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32094         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32095         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32096         * soft-fp/fmadf4.c: Ditto.
32097         * soft-fp/fmatf4.c: Ditto.
32099 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32101         * sysdeps/i386/i586/Implies: Removed.
32102         * sysdeps/i386/i686/Implies: Likewise.
32104 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32106         * sysdeps/i386/i486/strlen.S: Moved to ...
32107         * sysdeps/i386/strlen.S: Here.
32109 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32111         * sysdeps/i386/i486/strcat.S: Moved to ...
32112         * sysdeps/i386/strcat.S: Here.
32114 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32116         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32117         * sysdeps/i386/pthread_spin_trylock.S: Here.
32118         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32119         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32121 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32123         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32124         * sysdeps/i386/string-inlines.c: Here.
32126 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32128         * sysdeps/i386/i486/htonl.S: Moved ...
32129         * sysdeps/i386/htonl.S: here.
32131 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32133         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32134         * sysdeps/i386/bits/atomic.h: Here.
32136 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32138         * sysdeps/i386/i486/Versions: Removed.
32140 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32142         [BZ #2898]
32143         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32144         Based on patch by Aurelien Jarno.
32146 2015-08-26  Stan Shebs  <stanshebs@google.com>
32148         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32149         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32151 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32153         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32154         * sysdeps/powerpc/dl-procinfo.c:
32155         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32156         feature so it shows when LD_SHOW_AUXV=1.
32158 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32160         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32161         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32162         definition.  ISA 2.07B no longer requires full sync.
32164 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32166         [BZ #18863]
32167         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32168         (si_call_addr): Define.
32169         (si_syscall): Define.
32170         (si_arch): Define.
32172 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32174         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32175         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32176         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32177         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32178         (__memset_zero_constant_len_parameter): New.
32179         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32180         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32181         (__memset_zero_constant_len_parameter): Don't define if
32182         __memset_chk or USE_AS_BZERO are defined.
32184         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32185         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32186         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32188         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32189         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32190         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32191         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32192         comments.
32193         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32194         -mno-mmx for $(all-rtld-routines).
32195         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32196         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32197         i386.
32199 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32201         * sysdeps/generic/unwind.h
32202         (_Unwind_Word): Use __mode__(__unwind_word__)
32203         instead of __mode__(__word__).
32204         (_Unwind_Sword): Likewise.
32206         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32207         (MAX_NEEDED_INPUT): New define.
32208         (MAX_NEEDED_OUTPUT): New define.
32210         * NEWS: New item for IBM z13 string optimizations.
32212         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32213         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32214         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32215         * sysdeps/s390/multiarch/Makefile
32216         (sysdep_routines): Add memrchr functions.
32217         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32218         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32220         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32221         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32222         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32223         * sysdeps/s390/multiarch/Makefile
32224         (sysdep_routines): Add wmemcmp functions.
32225         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32226         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32227         * benchtests/bench-wmemcmp.c: New File.
32228         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32230         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32231         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32232         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32233         * sysdeps/s390/multiarch/Makefile
32234         (sysdep_routines): Add wmemset functions.
32235         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32236         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32237         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32238         * string/test-memset.c: Add wmemset support.
32239         * wcsmbs/test-wmemset.c: New File.
32240         * wcsmbs/Makefile (strop-tests): Add wmemset.
32241         * benchtests/bench-memset.c: Add wmemset support.
32242         * benchtests/bench-wmemset.c: New File.
32243         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32245         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32246         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32247         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32248         * sysdeps/s390/multiarch/Makefile
32249         (sysdep_routines): Add memccpy functions.
32250         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32251         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32252         * string/memccpy.c: Use MEMCCPY if defined.
32254         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32255         * sysdeps/s390/multiarch/memchr.c: Likewise.
32256         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32257         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32258         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32259         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32260         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32261         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32262         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32263         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32265         and rawmemchr functions.
32266         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32267         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32268         and wmemchr.
32269         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32270         * string/test-memchr.c: Add wmemchr support.
32271         * wcsmbs/test-wmemchr.c: New File.
32272         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32273         * benchtests/bench-memchr.c: Add wmemchr support.
32274         * benchtests/bench-wmemchr.c: New File.
32275         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32277         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32278         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32279         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32280         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32281         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32282         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32283         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32284         wcscspn functions.
32285         * sysdeps/s390/multiarch/ifunc-impl-list.c
32286         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32287         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32288         * string/test-strcspn.c: Add wcscspn support.
32289         * wcsmbs/test-wcscspn.c: New File.
32290         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32291         * benchtests/bench-strcspn.c: Add wcscspn support.
32292         * benchtests/bench-wcscspn.c: New File.
32293         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32295         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32296         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32297         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32298         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32299         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32300         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32302         wcspbrk functions.
32303         * sysdeps/s390/multiarch/ifunc-impl-list.c
32304         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32305         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32306         * string/test-strpbrk.c: Add wcspbrk support.
32307         * wcsmbs/test-wcspbrk.c: New File.
32308         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32309         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32310         * benchtests/bench-wcspbrk.c: New File.
32311         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32313         * sysdeps/s390/multiarch/strspn-c.c: New File.
32314         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32315         * sysdeps/s390/multiarch/strspn.c: Likewise.
32316         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32317         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32318         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32319         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32321         wcsspn functions.
32322         * sysdeps/s390/multiarch/ifunc-impl-list.c
32323         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32324         * string/test-strspn.c: Add wcsspn support.
32325         * wcsmbs/test-wcsspn.c: New File.
32326         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32327         * benchtests/bench-strspn.c: Add wcsspn support.
32328         * benchtests/bench-wcsspn.c: New File.
32329         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32331         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32332         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32333         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32334         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32335         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32336         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32337         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32338         wcsrchr functions.
32339         * sysdeps/s390/multiarch/ifunc-impl-list.c
32340         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32341         * benchtests/bench-wcsrchr.c: New File.
32342         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32344         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32345         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32346         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32347         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32348         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32349         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32350         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32351         wcschrnul functions.
32352         * sysdeps/s390/multiarch/ifunc-impl-list.c
32353         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32354         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32355         * string/test-strchr.c: Add wcschrnul support.
32356         * wcsmbs/test-wcschrnul.c: New File.
32357         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32358         * benchtests/bench-strchr.c: Add wcschrnul support.
32359         * benchtests/bench-wcschrnul.c: New File.
32360         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32362         * sysdeps/s390/multiarch/strchr-c.c: New File.
32363         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32364         * sysdeps/s390/multiarch/strchr.c: Likewise.
32365         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32366         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32367         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32368         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32369         wcschr functions.
32370         * sysdeps/s390/multiarch/ifunc-impl-list.c
32371         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32372         * string/strchr.c (STRCHR): Define and use macro.
32373         * benchtests/bench-wcschr.c: New File.
32374         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32376         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32377         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32378         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32379         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32380         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32381         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32383         wcsncmp functions.
32384         * sysdeps/s390/multiarch/ifunc-impl-list.c
32385         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32386         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32387         * benchtests/bench-strncmp.c: Add wcsncmp support.
32388         * benchtests/bench-wcsncmp.c: New File.
32389         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32391         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32392         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32393         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32394         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32395         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32396         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32397         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32399         wcscmp functions.
32400         * sysdeps/s390/multiarch/ifunc-impl-list.c
32401         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32402         * string/strcmp.c (STRCMP): Define and use macro.
32403         * benchtests/bench-wcscmp.c: New File.
32404         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32405         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32406         instead of _HAVE_STRING_ARCH_memchr.
32408         * sysdeps/s390/multiarch/strncat-c.c: New File.
32409         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32410         * sysdeps/s390/multiarch/strncat.c: Likewise.
32411         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32412         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32413         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32414         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32415         wcsncat functions.
32416         * sysdeps/s390/multiarch/ifunc-impl-list.c
32417         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32418         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32419         * string/test-strncat.c: Add wcsncat support.
32420         * wcsmbs/test-wcsncat.c: New File.
32421         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32422         * benchtests/bench-strncat.c: Add wcsncat support.
32423         * benchtests/bench-wcsncat.c: New File.
32424         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32426         * sysdeps/s390/multiarch/strcat-c.c: New File.
32427         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32428         * sysdeps/s390/multiarch/strcat.c: Likewise.
32429         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32430         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32431         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32432         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32433         wcscat functions.
32434         * sysdeps/s390/multiarch/ifunc-impl-list.c
32435         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32436         * string/strcat.c (STRCAT): Define and use macro.
32437         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32438         * string/test-strcat.c: Add wcscat support.
32439         * wcsmbs/test-wcscat.c: New File.
32440         * wcsmbs/Makefile (strop-tests): Add wcscat.
32441         * benchtests/bench-strcat.c: Add wcscat support.
32442         * benchtests/bench-wcscat.c: New File.
32443         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32445         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32446         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32447         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32448         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32449         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32450         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32451         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32452         wcpncpy functions.
32453         * sysdeps/s390/multiarch/ifunc-impl-list.c
32454         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32455         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32456         * string/test-stpncpy.c: Add wcpncpy support.
32457         * wcsmbs/test-wcpncpy.c: New File.
32458         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32459         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32460         * benchtests/bench-wcpncpy.c: New File.
32461         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32463         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32464         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32465         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32466         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32467         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32468         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32469         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32470         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32471         wcsncpy functions.
32472         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32473         * sysdeps/s390/multiarch/ifunc-impl-list.c
32474         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32475         * string/test-strncpy.c: Add wcsncpy support.
32476         * wcsmbs/test-wcsncpy.c: New File.
32477         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32478         * benchtests/bench-strncpy.c: Add wcsncpy support.
32479         * benchtests/bench-wcsncpy.c: New File.
32480         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32482         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32483         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32484         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32485         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32486         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32487         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32488         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32489         wcpcpy functions.
32490         * string/stpcpy.c: Use STPCPY if defined.
32491         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32492         * sysdeps/s390/multiarch/ifunc-impl-list.c
32493         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32494         * string/test-stpcpy.c: Add wcpcpy support.
32495         * wcsmbs/test-wcpcpy.c: New File.
32496         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32497         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32498         * benchtests/bench-wcpcpy.c: New File.
32499         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32501         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32502         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32503         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32504         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32505         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32506         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32507         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32509         wcscpy functions.
32510         * sysdeps/s390/multiarch/ifunc-impl-list.c
32511         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32512         * benchtests/bench-wcscpy.c: New File.
32513         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32515         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32516         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32517         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32518         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32519         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32520         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32521         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32522         wcsnlen functions.
32523         * sysdeps/s390/multiarch/ifunc-impl-list.c
32524         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32525         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32526         * string/test-strnlen.c: Add wcsnlen support.
32527         * wcsmbs/test-wcsnlen.c: New File.
32528         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32529         * benchtests/bench-strnlen.c: Add wcsnlen support.
32530         * benchtests/bench-wcsnlen.c: New File.
32531         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32533         * sysdeps/s390/multiarch/Makefile: New File.
32534         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32535         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32536         * sysdeps/s390/multiarch/strlen.c: Likewise.
32537         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32538         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32539         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32540         * string/strlen.c (STRLEN): Define and use macro.
32541         * sysdeps/s390/multiarch/ifunc-impl-list.c
32542         (IFUNC_VX_IMPL): New macro function.
32543         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32544         * benchtests/Makefile (wcsmbs-bench): New variable.
32545         (string-bench-all): Added wcsmbs-bench.
32546         * benchtests/bench-wcslen.c: New File.
32548         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32549         s390_vx_libc_ifunc2): New macro function.
32551         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32552         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32553         assembler support.
32554         * sysdeps/s390/configure: Regenerated.
32556         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32557         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32559         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32560         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32561         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32563         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32564         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32565         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32566         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32567         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32568         (memcmp, bcmp): Use __memcmp_default as alias source.
32569         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32570         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32571         Rename to __memcmp_default.
32572         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32573         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32574         (memcpy): Use __memcpy_default as alias source.
32575         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32576         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32577         Rename to __memcpy_default.
32578         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32579         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32580         (memset): Use __memset_default as alias source.
32581         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32582         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32583         Rename to __memset_default.
32584         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32585         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32586         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32587         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32588         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32589         (memcmp, bcmp): Use __memcmp_default as alias source.
32590         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32591         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32592         Rename to __memcmp_default.
32593         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32594         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32595         (memcpy): Use __memcpy_default as alias source.
32596         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32597         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32598         Rename to __memcpy_default.
32599         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32600         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32601         (memset): Use __memset_default as alias source.
32602         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32603         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32604         Rename to __memset_default.
32605         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32606         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32608         [BZ #18610]
32609         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32610         __ieee_instruction_pointer to __unused.
32611         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32612         __ieee_instruction_pointer.
32613         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32614         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32615         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32616         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32617         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32618         Mark dxc-field as reserved.
32620 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32622         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32623         if the weak reference is not null.
32625 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32627         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32629         [BZ #11214]
32630         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32632 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32634         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32635         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32636         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32637         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32638         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32639         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32640         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32641         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32642         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32643         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32644         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32645         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32646         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32647         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32648         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32649         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32650         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32651         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32653 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32655         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32656         register other than r0 for tabort, it has special meaning.
32657         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32658         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32659         transaction before starting syscall.
32661 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32663         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32665 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32667         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32669         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32670         * sysdeps/x86_64/rtld-memset.S: Likewise.
32671         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32672         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32673         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32674         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32676         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32678 2015-08-25  Ondƙej BĂ­lka  <neleai@seznam.cz>
32680         * debug/strcpy_chk.c: Improve performance.
32681         * debug/stpcpy_chk.c: Likewise.
32682         * sysdeps/x86_64/strcpy_chk.S: Remove.
32683         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32685         [BZ #18240]
32686         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32688 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32690         [BZ #15128]
32691         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32692         ifuncmain8.
32693         (modules-names): Add ifuncmod8.
32694         ($(objpfx)ifuncmain8): New rule.
32695         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32696         <cpuid.h>.
32697         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32698         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32699         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32700         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32701         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32702         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32703         * sysdeps/x86_64/ifuncmain8.c: New file.
32704         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32705         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32706         Removed.
32707         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32708         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32709         Change rtld_savespace_sse to __glibc_unused2.
32710         (RTLD_CHECK_FOREIGN_CALL): Removed.
32711         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32712         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32713         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32715 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32717         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32719 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32721         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32722         Unconditionally set __fpcr to avoid uninialized warning.
32723         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32725 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32727         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32728         is corrupt.
32730         * malloc/arena.c (arena_get2): Drop unused argument.
32731         (arena_lock): Adjust.
32732         (arena_get_retry): Likewise.
32734 2015-08-24  Andreas Schwab  <schwab@suse.de>
32736         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32737         Don't define.
32738         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32739         (__ASSUME_IPC64): Don't undef.
32740         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32741         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32742         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32743         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32744         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32745         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32746         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32747         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32748         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32749         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32750         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32751         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32752         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32753         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32754         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32755         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32756         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32757         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32758         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32759         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32760         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32762 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32764         * manual/Makefile (install): Only build manual when perl is available.
32766 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32768         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32769         '#undef memcpy' by '#undef memchr'.
32771 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32773         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32774         memchr not point to the internal __GI_memchr implementation.
32776 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32778         * timezone/Makefile (CFLAGS-zdump.c): Remove
32779         -Wno-strict-prototypes.
32780         (CFLAGS-zic.c): Likewise.
32781         (CFLAGS-ialloc.c): Likewise.
32782         (CFLAGS-scheck.c): Likewise.
32784         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32785         -Wno-error=undef.
32787 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32789         * i386/i686/multiarch/strcasestr-c.c: Removed.
32790         * x86_64/multiarch/strcasestr.c: Likewise.
32791         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32792         Remove strcasestr.
32794 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32796         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32798         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32799         variables for high and low parts before possibly modifying them.
32801 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32803         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32804         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32805         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32806         of "multiarch/init-arch.h".
32807         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32808         * sysdeps/x86/init-arch.h: This.
32810 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32812         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32813         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32815 2015-08-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
32817         [BZ #17787]
32818         * manual/macros.texi: Add twoexp macro.
32819         * manual/filesys.texi: Fix exponents.
32820         * manual/llio.texi: Likewise.
32821         * manual/stdio.texi: Likewise.
32823 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32825         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32826         incorrect use.
32828 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32830         [BZ #18370]
32831         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32832         whose real or imaginary part has small absolute value.
32833         * math/s_csqrtf.c (__csqrtf): Likewise.
32834         * math/s_csqrtl.c (__csqrtl): Likewise.
32835         * math/auto-libm-test-in: Add more tests of csqrt.
32836         * math/auto-libm-test-out: Regenerated.
32837         * sysdeps/i386/fpu/libm-test-ulps: Update.
32839 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32841         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32842         __ppc_set_ppr_very_low): New functions.
32843         * manual/platform.texi: Add documentation about
32844         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32846 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32848         * string/stpncpy.c (stpncpy): Improve performance using
32849         __strnlen/memcpy/memset.
32851 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32853         [BZ #18796]
32854         * scripts/test-installation.pl: Don't add -lmvec to build options if
32855         libmvec wasn't built.
32857 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32859         [BZ #14341]
32860         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32861         case when there is a gap between DT_REL and DT_JMPREL sections.
32862         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32863         (LDFLAGS-tst-split-dynreloc): New.
32864         (tst-split-dynreloc-ENV): Likewise.
32865         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32866         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32868 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32870         [BZ #18822]
32871         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32872         attribute_hidden.
32873         (__xstat64_conv): Likewise.
32874         (__xstat32_conv): Likewise.
32876 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32878         [BZ #18822]
32879         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32880         Don't load %ebx when calling __setcontext.  Call __setcontext
32881         with HIDDEN_JUMPTARGET.
32882         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32883         libc_hidden_def.
32885 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32887         * sysdeps/i386/i686/Makefile
32888         [$(subdir) == string] (sysdep_routines): Moved to ...
32889         * sysdeps/i386/Makefile: Here.
32890         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32891         * sysdeps/i386/cacheinfo.c: Here.
32892         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32893         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32894         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32895         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32897 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32899         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32900         __i586__ is defined.
32901         (HAS_I686): Defined to 1 if __i686__ is defined.
32903 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32905         * elf/Makefile [$(have-z-execstack) = yes]
32906         (CPPFLAGS-tst-execstack.c): New variable.
32908         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32909         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32910         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32911         UTMPX || _HAVE_UT_TV].
32912         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32913         UTMPX || _HAVE_UT_TV - 0].
32915 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32917         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32918         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32919         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32921 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32923         * sysdeps/powerpc/dl-procinfo.c:
32924         (_dl_powerpc_cap_flags): Added missing strings for some
32925         hwcap features.
32926         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32928 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32930         Port the 0x7efe...feff pattern to GCC 6.
32931         See Steve Ellcey's bug report in:
32932         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32933         * string/memrchr.c (MEMRCHR):
32934         * string/rawmemchr.c (RAWMEMCHR):
32935         * string/strchr.c (strchr):
32936         * string/strchrnul.c (STRCHRNUL):
32937         Rewrite code to avoid issues with signed shift overflow.
32939 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32941         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32942         whether cpuid is available only if HAS_CPUID is 0.
32943         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32944         (HAS_I586): Likewise.
32945         (HAS_I686): Likewise.
32947 2015-08-18  Zack Weinberg  <zackw@panix.com>
32949         * misc/Versions (libc): Add GLIBC_2.23.
32951 2015-08-18  Alan Modra  <amodra@gmail.com>
32953         [BZ #18421]
32954         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32955         .Lp__global.
32956         (_start): Load %dp via .Lp__global.
32957         [!SHARED]: Use .section .rodata.
32959 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32961         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32962         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32964 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32966         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32967         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32971         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32972         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32974 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32976         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32977         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32979 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32981         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32982         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32984 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32986         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32987         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32989 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32991         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32993 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32995         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32996         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32997         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32998         (__ASSUME_LWS_CAS): Delete.
33000 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33002         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33003         * sysdeps/hppa/configure: Regenerated.
33004         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33005         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33006         * sysdeps/hppa/nptl/tls.h: Likewise.
33008 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
33010         [BZ #18823]
33011         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33012         for scaling up small arguments.
33013         * math/s_csqrtf.c (__csqrtf): Likewise.
33014         * math/s_csqrtl.c (__csqrtl): Likewise.
33015         * math/auto-libm-test-in: Add more tests of csqrt.
33016         * math/auto-libm-test-out: Regenerated.
33018 2015-08-17  Andreas Schwab  <schwab@suse.de>
33020         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33021         version set GLIBC_2.19.
33023 2015-08-16  Zack Weinberg  <zackw@panix.com>
33025         [BZ #18681]
33026         * misc/regexp.h: This interface is no longer supported.
33027         Remove all contents, leaving only an #error directive.
33028         * misc/regexp.c (loc1, loc2, locs, step, advance):
33029         Demote to compatibility symbols.
33031 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
33033         [BZ #18084]
33034         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33035         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33036         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33037         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33038         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33039         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33040         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33041         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33042         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33044 2015-08-15  Zack Weinberg  <zackw@panix.com>
33046         [BZ #18795]
33047         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33048         buffer length is known to be too large, not if it's known to be
33049         small enough.
33050         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33051         overflow at runtime, involving a length parameter, twice: once
33052         with a compile-time constant length parameter, once without.
33054 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33056         [BZ #18824]
33057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33058         scaling x * y up instead of down.
33059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33061         * math/auto-libm-test-in: Add more tests of fma.
33062         * math/auto-libm-test-out: Regenerated.
33064 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33068 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33070         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33071         unnecessary movq.
33072         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33073         Likewise.
33075 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33077         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33078         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33079         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33080         and tgamma.
33081         * math/auto-libm-test-out: Regenerated.
33082         * sysdeps/i386/fpu/libm-test-ulps: Update.
33083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33085         [BZ #16520]
33086         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33087         (__tanh): Force underflow exception for arguments with small
33088         absolute value.
33089         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33090         (__tanhf): Force underflow exception for arguments with small
33091         absolute value.
33092         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33093         (__tanhl): Force underflow exception for arguments with small
33094         absolute value.
33095         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33096         (__tanhl): Force underflow exception for arguments with small
33097         absolute value.
33098         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33099         (__tanhl): Force underflow exception for arguments with small
33100         absolute value.
33101         * math/auto-libm-test-in: Add more tests of tanh.
33102         * math/auto-libm-test-out: Regenerated.
33103         * sysdeps/i386/fpu/libm-test-ulps: Update.
33105 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33107         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33108         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33110 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33112         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33113         <cpuid.h>.
33115 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33117         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33118         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33120 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33122         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33123         Remove $(objpfx)init-arch.o.
33124         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33125         init-arch.
33126         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33127         (INIT_ARCH_EXT): Defined as empty.
33128         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33130         __init_cpu_features call.  Replace HAS_XXX with
33131         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33132         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33133         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33137         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33138         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33139         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33140         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33141         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33142         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33144         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33148         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33149         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33150         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33151         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33152         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33153         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33154         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33155         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33156         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33157         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33158         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33160         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33161         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33162         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33163         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33164         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33165         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33168 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33170         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33171         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33172         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33173         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33174         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33175         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33176         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33177         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33178         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33179         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33180         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33181         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33182         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33183         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33184         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33185         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33186         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33190         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33191         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33198         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33199         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33200         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33204         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33205         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33206         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33207         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33208         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33209         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33210         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33211         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33212         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33214 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33216         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33217         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33218         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33219         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33220         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33222         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33223         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33224         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33225         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33226         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33227         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33228         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33229         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33230         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33231         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33232         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33233         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33234         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33235         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33237         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33238         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33239         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33240         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33241         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33242         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33243         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33244         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33245         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33246         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33247         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33248         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33249         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33250         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33251         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33252         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33253         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33254         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33255         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33256         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33257         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33258         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33260 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33262         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33263         (dl_platform_init): Call init_cpu_features.
33264         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33265         * sysdeps/i386/i686/cacheinfo.c
33266         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33267         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33268         * sysdeps/i386/i686/multiarch/Versions: Removed.
33269         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33270         Removed.
33271         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33272         * sysdeps/unix/sysv/linux/x86/Makefile
33273         (libpthread-sysdep_routines): Remove init-arch.
33274         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33275         <sysdeps/x86_64/dl-procinfo.c> instead of
33276         sysdeps/generic/dl-procinfo.c>.
33277         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33278         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33279         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33280         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33281         [$(subdir) == elf] (tests-static): Add
33282         tst-get-cpu-features-static.
33283         * sysdeps/x86/Versions: New file.
33284         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33285         * sysdeps/x86/cpu-features.c: Likewise.
33286         * sysdeps/x86/cpu-features.h: Likewise.
33287         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33288         * sysdeps/x86/libc-start.c: Likewise.
33289         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33290         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33291         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33292         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33293         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33294         Assume USE_MULTIARCH is defined and don't check it.
33295         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33296         (is_amd): Likewise.
33297         (max_cpuid): Likewise.
33298         (intel_check_word): Likewise.
33299         (__cache_sysconf): Don't call __init_cpu_features.
33300         (__x86_preferred_memory_instruction): Removed.
33301         (init_cacheinfo): Don't call __init_cpu_features. Replace
33302         __cpu_features with GLRO(dl_x86_cpu_features).
33303         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33304         (dl_platform_init): Call init_cpu_features.
33305         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33306         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33307         * sysdeps/x86_64/multiarch/Versions: Removed.
33308         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33309         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33310         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33311         Removed.
33312         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33314 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33316         [BZ #18820]
33317         * libio/Makefile (test-fmemopen-mem): New test.
33318         * libio/test-fmemopen.c (do_bz18820): New test.
33319         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33320         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33322 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33324         [BZ #16734]
33325         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33326         (FREE_BUF): Delete.
33327         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33328         * libio/genops.c (_IO_setb): Use malloc and free directly.
33329         (_IO_default_doallocate, _IO_default_finish): Likewise.
33330         ( _IO_unbuffer_all): Likewise.
33331         ( libc_freeres_fn): Likewise.
33332         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33333         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33334         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33335         (_IO_wdefault_doallocate): Likewise.
33337 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33339         [BZ #18086]
33340         * sysdeps/posix/nice.c (nice): Restore old errno.
33341         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33343 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33345         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33347 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33349         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33350         __bcopy and add a weak_alias to bcopy.
33351         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33352         for static build.
33354         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33355         cleanup macro usage.
33356         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33358         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33359         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33360         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33361         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33362         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33363         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33364         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33365         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33367         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33368         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33369         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33370         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33372         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33373         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33374         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33376         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33377         libc_hidden_def.
33378         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33380         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33381         (sysdep_routines): Add strstr-ppc64.
33382         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33384 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33386         [BZ #18778]
33387         * elf/Makefile (tests): Add Add tst-nodelete2.
33388         (modules-names): Add tst-nodelete2mod.
33389         (tst-nodelete2mod.so-no-z-defs): New.
33390         ($(objpfx)tst-nodelete2): Likewise.
33391         ($(objpfx)tst-nodelete2.out): Likewise.
33392         (LDFLAGS-tst-nodelete2): Likewise.
33393         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33394         out of loop through all loaded libraries.
33395         * elf/tst-nodelete2.c: New file.
33396         * elf/tst-nodelete2mod.c: Likewise.
33397         * elf/tst-znodelete-zlib.cc: Delete.
33399 2015-08-11  Andreas Schwab  <schwab@suse.de>
33401         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33402         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33403         (__openat64_nocancel): Likewise.
33405 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33407         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33408         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33409         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33410         * math/auto-libm-test-out: Regenerated.
33411         * sysdeps/i386/fpu/libm-test-ulps: Update.
33412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33414 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33416         [BZ #18790]
33417         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33418         threshold for returning +/- 1.
33419         * math/auto-libm-test-in: Add more tests of tanh.
33420         * math/auto-libm-test-out: Regenerated.
33421         * sysdeps/i386/fpu/libm-test-ulps: Update.
33423 2015-08-10  Andreas Schwab  <schwab@suse.de>
33425         [BZ #18781]
33426         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33427         MORE_OFLAGS to oflag.
33428         * io/test-lfs.c (do_test): Test openat64.
33430 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33432         [BZ #18789]
33433         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33434         smaller threshold for returning the argument.
33435         * math/auto-libm-test-in: Add more tests of sinh.
33436         * math/auto-libm-test-out: Regenerated.
33437         * sysdeps/i386/fpu/libm-test-ulps: Update.
33439 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33441         [BZ #18674]
33442         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33443         break.
33445 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33447         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33448         (generated): Don't add $(addprefix z.,$(tzfiles)).
33450 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33452         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33453         * scripts/sysd-rules.awk: Likewise.
33455 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33457         * iconvdata/tst-tables.sh: Change echo -n to printf.
33458         * nss/db-Makefile: Likewise.
33459         * posix/tst-getconf.sh: Likewise.
33460         * stdio-common/tst-unbputc.sh: Likewise.
33462 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33464         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33465         MADV_*_PAGES defines behind this feature check.
33467 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33469         [BZ #18480]
33470         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33471         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33472         Define.
33473         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33474         LOAD_REGS_5, LOAD_REGS_6): Update.
33475         (INTERNAL_SYSCALL): Update using new LOAD defines.
33476         (INTERNAL_SYSCALL_NCS): Likewise.
33477         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33479 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33481         [BZ #16734]
33482         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33484 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33486         [BZ #17905]
33487         * catgets/Makefile (tst-catgets-mem): New test.
33488         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33489         * catgets/open_catalog.c (__open_catalog): Likewise.
33490         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33492 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33494         [BZ #18787]
33495         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33496         clobber registers.
33497         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33498         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33499         Cast return to __typeof (oldval).
33501 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33503         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33504         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33505         and delete sys/syscall.h include.
33507 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33509         [BZ #16517]
33510         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33511         (tan): Force underflow exception for arguments with small absolute
33512         value.
33513         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33514         (__kernel_tanf): Force underflow exception for arguments with
33515         small absolute value.
33516         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33517         (__kernel_tanl): Force underflow exception for arguments with
33518         small absolute value.
33519         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33520         (__kernel_tanl): Force underflow exception for arguments with
33521         small absolute value.
33522         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33523         (__kernel_tanl): Force underflow exception for arguments with
33524         small absolute value.
33525         * math/auto-libm-test-in: Add more tests of tan.
33526         * math/auto-libm-test-out: Regenerated.
33528 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33530         Fix sysdeps/i386/fpu/s_scalbn.S build
33532         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33534 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33536         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33538 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33540         Fix gcrt0.o compilation
33542         When static-start-installed-name is different from
33543         start-installed-name, we must not use the shared objects.
33545         * csu/Makefile
33546         (extra-objs): Add gmon-start.o when building shared library and
33547         $(static-start-installed-name) is different from
33548         $(start-installed-name).
33549         $(objpfx)g$(static-start-installed-name): When building shared
33550         library and $(static-start-installed-name) is different from
33551         $(static-start-installed-name), revert to non-shared rule,
33552         i.e. using $(objpfx)% and gmon-start.o.
33554 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33556         [BZ #16519]
33557         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33558         (__ieee754_sinh): Force underflow exception for arguments with
33559         small absolute value.
33560         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33561         (__ieee754_sinhf): Force underflow exception for arguments with
33562         small absolute value.
33563         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33564         (__ieee754_sinhl): Force underflow exception for arguments with
33565         small absolute value.
33566         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33567         (__ieee754_sinhl): Force underflow exception for arguments with
33568         small absolute value.
33569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33570         (__ieee754_sinhl): Force underflow exception for arguments with
33571         small absolute value.
33572         * math/auto-libm-test-in: Add more tests of sinh.
33573         * math/auto-libm-test-out: Regenerated.
33574         * sysdeps/i386/fpu/libm-test-ulps: Update.
33576 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33578         * libio/oldfileops.c: Include unistd.h.
33580 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33582         * stdlib/isomac.c: Include ctype.h.
33584 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33586         * dirent/tst-seekdir.c (main): Converted to ...
33587         (do_test): ... this.
33588         (TEST_FUNCTION): New macro.
33589         Include test-skeleton.c.
33590         * elf/tst-dlmodcount.c (main): Converted to ...
33591         (do_test): ... this.
33592         (TEST_FUNCTION): New macro.
33593         Include test-skeleton.c.
33594         * elf/tst-order-main.c (main): Converted to ...
33595         (do_test): ... this.
33596         (TEST_FUNCTION): New macro.
33597         Include test-skeleton.c.
33598         * elf/tst-pie2.c (main): Converted to ...
33599         (do_test): ... this.
33600         (TEST_FUNCTION): New macro.
33601         Include test-skeleton.c.
33602         * inet/tst-ether_aton.c (main): Converted to ...
33603         (do_test): ... this.
33604         (TEST_FUNCTION): New macro.
33605         Include test-skeleton.c.
33606         * misc/tst-mntent.c (main): Converted to ...
33607         (do_test): ... this.
33608         (TEST_FUNCTION): New macro.
33609         Include test-skeleton.c.
33610         * misc/tst-tsearch.c (main): Converted to ...
33611         (do_test): ... this.
33612         (TEST_FUNCTION): New macro.
33613         Include test-skeleton.c.
33614         * posix/tst-regexloc.c (main): Converted to ...
33615         (do_test): ... this.
33616         (TEST_FUNCTION): New macro.
33617         Include test-skeleton.c.
33618         * resolv/tst-aton.c (main): Converted to ...
33619         (do_test): ... this.
33620         (TEST_FUNCTION): New macro.
33621         Include test-skeleton.c.
33622         * stdio-common/test-fwrite.c (main): Converted to ...
33623         (do_test): ... this.
33624         (TEST_FUNCTION): New macro.
33625         Include test-skeleton.c.
33626         * stdio-common/tst-ferror.c (main): Converted to ...
33627         (do_test): ... this.
33628         (TEST_FUNCTION): New macro.
33629         Include test-skeleton.c.
33630         * stdio-common/tst-printf.c (main): Converted to ...
33631         (do_test): ... this.
33632         (TEST_FUNCTION): New macro.
33633         Include test-skeleton.c.
33634         * stdio-common/tst-printfsz.c (main): Converted to ...
33635         (do_test): ... this.
33636         (TEST_FUNCTION): New macro.
33637         Include test-skeleton.c.
33638         * stdlib/tst-strtod.c (main): Converted to ...
33639         (do_test): ... this.
33640         (TEST_FUNCTION): New macro.
33641         Include test-skeleton.c.
33642         * string/tst-strlen.c (main): Converted to ...
33643         (do_test): ... this.
33644         (TEST_FUNCTION): New macro.
33645         Include test-skeleton.c.
33646         * string/tst-svc.c (main): Converted to ...
33647         (do_test): ... this.
33648         (TEST_FUNCTION): New macro.
33649         Include test-skeleton.c.
33650         * time/tst-strptime.c (main): Converted to ...
33651         (do_test): ... this.
33652         (TEST_FUNCTION): New macro.
33653         Include test-skeleton.c.
33654         * timezone/tst-timezone.c (main): Converted to ...
33655         (do_test): ... this.
33656         (TEST_FUNCTION): New macro.
33657         Include test-skeleton.c.
33659 2015-08-05  Zack Weinberg  <zackw@panix.com>
33661         * misc/regexp.h: Update comments.
33663 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33665         [BZ #18635]
33666         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33667         before return label.
33669 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33671         [BZ #18661]
33672         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33673         when calling __errno_location.
33674         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33675         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33677 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33679         [BZ #18661]
33680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33681         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33682         __gettimeofday.
33684 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33686         [BZ #18661]
33687         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33688         (__start_context): Don't use pop to restore %rdi so that stack
33689         is aligned to 16 bytes when calling __setcontext.
33691 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33693         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33694         only for libc.
33695         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33697 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33699         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33700         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33701         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33703 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33705         * string/memccpy.c (memccpy):
33706         Improve performance by using memchr/memcpy/__mempcpy.
33708 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33710         * string/strncpy.c (strncpy):
33711         Improve performance by using __strnlen/memcpy.
33713 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33715         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33716         Optimize to avoid an unnecessary FPCR read.
33718 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33720         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33721         Optimize to reduce FPCR/FPSR accesses.
33723 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33725         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33726         dead->data[category] != NULL.
33728 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33730         [BZ #18647]
33731         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33732         and |x| close to 1, use absolute value of x when computing log.
33733         * math/auto-libm-test-in: Add more tests of pow.
33734         * math/auto-libm-test-out: Regenerated.
33736 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33738         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33739         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33740         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33742 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33744         [BZ #18525]
33745         * locales/km_KH: Remove timezone definition.
33746         * locales/lo_LA: Likewise.
33747         * locales/my_MM: Likewise.
33748         * locales/nan_TW@latin: Likewise.
33749         * locales/th_TH: Likewise.
33750         * locales/uk_UA: Likewise.
33752 2015-08-05  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
33754         [BZ #18265]
33755         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33756         (wcsncat): Likewise.
33757         (wcscmp): Likewise.
33758         (wcsncmp): Likewise.
33760 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33762         * test-skeleton.c (usage): New function.
33763         (main): Call usage when opt is '?'.
33765 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33767         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33768         before first use.
33770 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33772         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33773         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33774         in there too.
33776 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33778         * version.h (RELEASE): Set to "development".
33779         (VERSION): Set to "2.22.90"
33781         * version.h (RELEASE): Set to "stable".
33782         (VERSION): Set to "2.22"
33783         * include/features.h (__GLIBC_MINOR__): Set to 22.
33785 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33787         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33788         Restructure macro to avoid "value computed is not used" warning.
33789         (atomic_compare_and_exchange_val_acq): Likewise.
33791 2015-08-04  Andreas Schwab  <schwab@suse.de>
33793         [BZ #18635]
33794         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33795         ret.
33796         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33798 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33800         * po/pl.po: Updated translation.
33801         * po/uk.po: Likewise.
33802         * po/fi.po: Likewise.
33803         * po/ko.po: Likewise.
33804         * po/ru.po: Likewise.
33805         * po/vi.po: Likewise.
33807 2015-07-31  Zack Weinberg  <zackw@panix.com>
33809         [BZ #18681]
33810         * regexp.h: Add unconditional #warning stating that this header
33811         will be removed soon.  Revise banner comment to match.
33812         (compile): Consistently use ERROR instead of RETURN to report
33813         errors (partial fix for BZ #18681).
33814         * regexp.c: Don't include regexp.h. Remove some unnecessary
33815         declarations.
33817 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33819         * po/libc.pot: Regenerated.
33821 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33823         [BZ #18740]
33824         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33825         float-vlen4-arch-ext-cflags): Removed.
33826         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33827         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33829 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33831         [BZ #14113]
33832         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33833         aligned to __aligned__.
33834         (pthread_cond_t, pthread_rwlock_t): Likewise.
33836 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33838         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33840 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33842         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33843         (struct sigaction): Change sa_flags from a long to an int, and add
33844         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33846 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33848         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33849         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33850         sysdeps/generic/sysdep.h include.
33851         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33852         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33853         sysdeps/hppa/sysdep.h.
33854         (ENTRY, PSEUDO): Undefine before defining.
33856 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33858         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33859         from scratch to use INTERNAL_SYSCALL.
33861 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33863         [BZ #18078]
33864         * scripts/check-localplt.awk: Support alternate relocations.
33865         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33866         sections.
33867         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33868         malloc entries with + REL R_386_GLOB_DAT.
33869         * sysdeps/x86_64/localplt.data: New file.
33871 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33873         [BZ #18731]
33874         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33875         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33876         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33878 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33880         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33882 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33884         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33885         directly in terms of __sync_fetch_and_add and delete (int) cast.
33887 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33889         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33890         the -D_ASM_IA64_CURRENT_H flag.
33892 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33894         [BZ #18641]
33895         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33897 2015-07-27  Andreas Schwab  <schwab@suse.de>
33899         * conform/conformtest.pl (checknamespace): Filter out string
33900         literals while tokenizing.
33902 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33904         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33905         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33906         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33908 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33910         * nptl/tst-join7mod.c: Add #include <string.h>.
33912 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33914         * sysdeps/nios2/libm-test-ulps: Update.
33916 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33918         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33919         Fix order of arguments to the rt_sigprocmask syscall.
33920         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33921         Likewise.
33923 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33925         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33927 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33929         [BZ #18457]
33930         * nptl/Makefile (tests): New test case tst-join7.
33931         (modules-names): New test case module tst-join7mod.
33932         * nptl/tst-join7.c: New file.
33933         * nptl/tst-join7mod.c: New file.
33934         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33935         all translation units in libc.so, libpthread.so and rtld.
33937 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33941 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33943         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33944         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33945         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33946         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33947         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33948         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33951         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33952         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33953         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33954         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33955         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33956         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33957         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33958         implementation.
33960 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33962         [BZ #17711]
33963         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33964         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33965         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33966         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33967         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33968         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33970 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33972         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33973         instead of just saying load lock in the comments.
33975 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33977         * sysdeps/unix/Subdirs: Moved ...
33978         * sysdeps/posix/Subdirs: ... here.
33979         * login/pty.h (struct termios, struct winsize): Add forward decls.
33980         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33981         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33982         * sysdeps/arm/nacl/libc.abilist: Updated.
33983         * sysdeps/nacl/libutil.abilist: New file.
33985         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33986         (SIGWINCH): New macro.
33988         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33989         * sysdeps/arm/nacl/libc.abilist: Add it.
33991 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33993         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33995 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33997         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33998         Swap __glibc_reserved0 and sa_flags order.
34000 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34002         [BZ #18657]
34003         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34004         are pending TLS destructor calls.
34005         * include/link.h (struct link_map): Add concurrency note for
34006         L_TLS_DTOR_COUNT.
34007         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34008         Don't touch the link map flag.  Atomically increment
34009         l_tls_dtor_count.
34010         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34011         Avoid taking the load lock and don't touch the link map flag.
34012         * stdlib/tst-tls-atexit-nodelete.c: New test case.
34013         * stdlib/Makefile (tests): Use it.
34014         * stdlib/tst-tls-atexit.c (do_test): dlopen
34015         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
34016         to allow tst-tls-atexit-nodelete test case to use it.
34018 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34020         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34021         to bits/types.h.
34022         (msgqnum_t): New typedef.
34023         (msglen_t): Likewise.
34024         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
34025         and msg_qbytes type to msglen_t.
34027 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34029         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34030         pad0 to __glibc_reserved0.
34031         (struct stat64): Likewise.
34033 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34035         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34036         Change sa_flags from a long to an int and add __glibc_reserved0 before
34037         it for padding.
34039 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34041         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34042         anonymous by deleting "siginfo" name.
34044 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34046         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34047         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34048         rather than __nacl_irt_filename.
34049         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34051         * NEWS: New item for arm-nacl port.
34052         * sysdeps/arm/nacl/libc.abilist: New file.
34053         * sysdeps/nacl/ld.abilist: New file.
34054         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34055         * sysdeps/nacl/libanl.abilist: New file.
34056         * sysdeps/nacl/libcrypt.abilist: New file.
34057         * sysdeps/nacl/libdl.abilist: New file.
34058         * sysdeps/nacl/libm.abilist: New file.
34059         * sysdeps/nacl/libpthread.abilist: New file.
34060         * sysdeps/nacl/libresolv.abilist: New file.
34061         * sysdeps/nacl/librt.abilist: New file.
34063 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34065         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34066         __startcontext to initialize the new context.
34067         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34068         up CFI directive to forbid further backtracing.
34070 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34072         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34073         reference.
34074         * charmaps/ANSI_X3.4-1968: Likewise.
34075         * charmaps/BS_4730: Likewise.
34076         * charmaps/BS_VIEWDATA: Likewise.
34077         * charmaps/CP1250: Likewise.
34078         * charmaps/CP1251: Likewise.
34079         * charmaps/CP1252: Likewise.
34080         * charmaps/CP1253: Likewise.
34081         * charmaps/CP1254: Likewise.
34082         * charmaps/CP1255: Likewise.
34083         * charmaps/CP1256: Likewise.
34084         * charmaps/CSN_369103: Likewise.
34085         * charmaps/EBCDIC-DK-NO: Likewise.
34086         * charmaps/GB_1988-80: Likewise.
34087         * charmaps/GREEK-CCITT: Likewise.
34088         * charmaps/GREEK7: Likewise.
34089         * charmaps/INIS-8: Likewise.
34090         * charmaps/ISIRI-3342: Likewise.
34091         * charmaps/ISO_2033-1983: Likewise.
34092         * charmaps/ISO_5427-EXT: Likewise.
34093         * locales/POSIX: Likewise.
34094         * locales/ar_SA: Likewise.
34095         * locales/be_BY: Likewise.
34096         * locales/be_BY@latin: Likewise.
34097         * locales/ca_ES: Likewise.
34098         * locales/cs_CZ: Likewise.
34099         * locales/da_DK: Likewise.
34100         * locales/de_BE: Likewise.
34101         * locales/de_CH: Likewise.
34102         * locales/de_LU: Likewise.
34103         * locales/en_AU: Likewise.
34104         * locales/en_BW: Likewise.
34105         * locales/en_CA: Likewise.
34106         * locales/en_DK: Likewise.
34107         * locales/en_GB: Likewise.
34108         * locales/en_IE: Likewise.
34109         * locales/en_NZ: Likewise.
34110         * locales/en_ZA: Likewise.
34111         * locales/en_ZW: Likewise.
34112         * locales/es_AR: Likewise.
34113         * locales/es_BO: Likewise.
34114         * locales/es_CL: Likewise.
34115         * locales/es_CO: Likewise.
34116         * locales/es_DO: Likewise.
34117         * locales/es_EC: Likewise.
34118         * locales/es_ES: Likewise.
34119         * locales/es_HN: Likewise.
34120         * locales/es_MX: Likewise.
34121         * locales/es_PA: Likewise.
34122         * locales/es_PE: Likewise.
34123         * locales/es_PY: Likewise.
34124         * locales/es_SV: Likewise.
34125         * locales/es_US: Likewise.
34126         * locales/es_UY: Likewise.
34127         * locales/es_VE: Likewise.
34128         * locales/et_EE: Likewise.
34129         * locales/fa_IR: Likewise.
34130         * locales/fo_FO: Likewise.
34131         * locales/fr_CA: Likewise.
34132         * locales/fr_CH: Likewise.
34133         * locales/gv_GB: Likewise.
34134         * locales/he_IL: Likewise.
34135         * locales/hr_HR: Likewise.
34136         * locales/id_ID: Likewise.
34137         * locales/is_IS: Likewise.
34138         * locales/it_CH: Likewise.
34139         * locales/iw_IL: Likewise.
34140         * locales/kl_GL: Likewise.
34141         * locales/ko_KR: Likewise.
34142         * locales/kw_GB: Likewise.
34143         * locales/lg_UG: Likewise.
34144         * locales/lt_LT: Likewise.
34145         * locales/lv_LV: Likewise.
34146         * locales/mi_NZ: Likewise.
34147         * locales/nhn_MX: Likewise.
34148         * locales/nl_BE: Likewise.
34149         * locales/pl_PL: Likewise.
34150         * locales/sk_SK: Likewise.
34151         * locales/sl_SI: Likewise.
34152         * locales/sv_FI: Likewise.
34153         * locales/tl_PH: Likewise.
34154         * locales/tr_TR: Likewise.
34155         * locales/vi_VN: Likewise.
34157 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34159         [BZ #17475]
34160         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34161         of tu_IN and bh_IN.
34163 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34165         [BZ #18694]
34166         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34167         bits/wordsize.h.
34168         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34170 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34172         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34173         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34174         (spawn_thread): New function.
34175         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34176         (do_test): ... here.  Use IS_LOADED to test for its
34177         availability.
34179 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34183 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34185         [BZ #18696]
34186         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34187         si_addr_bnd.
34188         (si_lower): New.
34189         (si_upper): Likewise.
34191 2015-07-16  David S. Miller  <davem@davemloft.net>
34193         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34195 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34197         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34198         buffer.
34199         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34200         fail output information.
34202 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34205         and strstr-ppc64..
34206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34207         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34208         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34209         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34210         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34212 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34214         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34215         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34216         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34217         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34219 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34221         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34222         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34223         rtld_hidden_proto.
34224         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34226 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34228         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34229         the test can fail.
34231         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34233         [BZ #18676]
34234         * elf/tst-nodelete-opened.c: New test case.
34235         * elf/tst-nodelete-opened-lib.c: New test case module.
34236         * elf/Makefile (tests, modules-names): Use them.
34237         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34238         early.
34240 2015-07-15  David S. Miller  <davem@davemloft.net>
34242         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34243         futex-intenal.h
34244         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34245         * sysdeps/sparc/sparc64/Makefile: Likewise.
34246         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34247         Remove space from macro define.
34248         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34250 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34252         [BZ #17475]
34253         * locale/iso-639.def: Update Bhili and Tulu language codes as
34254         per iso639-3.
34256 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34258         * elf/tst-leaks1.c (main): Converted to ...
34259         (do_test): ... this.
34260         (TEST_FUNCTION): New macro.
34261         Include test-skeleton.c.
34262         * localedata/tst-langinfo.c (main): Converted to ...
34263         (do_test): ... this.
34264         (TEST_FUNCTION): New macro.
34265         Include test-skeleton.c.
34266         * math/test-fpucw.c (main): Converted to ...
34267         (do_test): ... this.
34268         (TEST_FUNCTION): New macro.
34269         Include test-skeleton.c.
34270         * math/test-tgmath.c (main): Converted to ...
34271         (do_test): ... this.
34272         (TEST_FUNCTION): New macro.
34273         Include test-skeleton.c.
34274         * math/test-tgmath2.c (main): Converted to ...
34275         (do_test): ... this.
34276         (TEST_FUNCTION): New macro.
34277         Include test-skeleton.c.
34278         * setjmp/tst-setjmp.c (main): Converted to ...
34279         (do_test): ... this.
34280         (TEST_FUNCTION): New macro.
34281         Include test-skeleton.c.
34282         * stdio-common/tst-sscanf.c (main): Converted to ...
34283         (do_test): ... this.
34284         (TEST_FUNCTION): New macro.
34285         Include test-skeleton.c.
34286         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34287         (do_test): ... this.
34288         (TEST_FUNCTION): New macro.
34289         Include test-skeleton.c.
34291         * elf/tst-audit9.c (main): Converted to ...
34292         (do_test): ... this.
34293         (TEST_FUNCTION): New macro.
34294         Include test-skeleton.c.
34296 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34298         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34300 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34302         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34303         New variable.
34305 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34307         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34309 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34311         * sysdeps/generic/dl-fileid.h: New file.
34312         * sysdeps/posix/dl-fileid.h: New file.
34313         * sysdeps/nacl/dl-fileid.h: New file.
34314         * include/link.h: Include <dl-fileid.h>.
34315         (struct link_map): Replace l_dev and l_ino with l_file_id.
34316         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34317         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34318         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34320 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34322         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34324 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34326         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34327         Add iff $CXX is set.
34328         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34329         Likewise.
34330         (tst-nodelete-zmodiff): Likewise.
34331         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34333 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34335         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34337 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34339         * sysdeps/aarch64/fpu/math_private.h
34340         (define math_opt_barrier): Add AArch64 version.
34341         (math_force_eval): Likewise.
34343 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34345         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34347 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34349         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34350         %ld with %jd and cast to intmax_t.
34351         (do_test_length_zero): Likewise.
34353 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34355         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34357 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34359         * sysdeps/tile/libm-test-ulps: Regenerated.
34361         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34362         Comment out the whole function, not just its body.
34364 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34366         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34367         locks.
34369         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34371 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34373         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34374         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34376 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34378         * sysdeps/nptl/futex-internal.h: New file.
34379         * sysdeps/nacl/futex-internal.h: New file.
34380         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34381         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34382         error checking.
34383         (setxid_unmark_thread): Likewise.
34384         (__nptl_setxid): Likewise.
34385         (__wait_lookup_done): Likewise.
34386         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34387         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34388         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34389         * nptl/pthread_once.c (clear_once_control): Likewise.
34390         (__pthread_once_slow): Likewise.
34391         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34392         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34393         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34394         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34395         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34396         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34397         Likewise.
34398         (__pthread_rwlock_rdlock): Likewise.
34399         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34400         Likewise.
34401         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34402         Likewise.
34403         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34404         Likewise.
34405         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34406         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34407         Likewise.
34408         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34409         __ASSUME_PRIVATE_FUTEX check.
34410         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34411         Check that shared futexes are supported.
34412         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34413         wrappers with error checking.
34414         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34415         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34416         * nptl/pthread_barrierattr_setpshared.c
34417         (pthread_barrierattr_setpshared): Check that shared futexes are
34418         supported.
34419         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34420         Likewise.
34421         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34422         Likewise.
34423         * nptl/sem_init.c (futex_private_if_supported): Remove.
34424         (__new_sem_init): Adapt and check that shared futexes are supported.
34425         * nptl/sem_open.c (sem_open): Likewise.
34426         * nptl/sem_post.c (futex_wake): Remove.
34427         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34428         (do_futex_wait): Use futex wrappers with error checking.
34429         * nptl/sem_wait.c: Include lowlevellock.h.
34430         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34431         Use futex_supports_pshared.
34432         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34433         Use futex wrappers with error checking.
34434         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34435         Likewise.
34436         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34437         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34438         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34439         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34440         (futex_wake): Likewise.
34441         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34442         (do_futex_wait): Use futex wrappers with error checking.
34443         (__new_sem_wait_slow): Update EINTR handling.
34444         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34446 2015-07-09  Martin Sebor  <msebor@redhat.com>
34448         [BZ #18435]
34449         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34450         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34451         * nptl/Makefile (test-xfail-tst-once5): Define.
34453 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34455         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34456         * elf/dl-minimal.c: For readability, reorder some definitions and
34457         introduce more page breaks.  Include <stdio.h>.
34458         (__libc_fatal): New function.
34460         * include/unistd.h: Add rtld_hidden_proto for _exit.
34461         * posix/_exit.c: Add rtld_hidden_def.
34462         * sysdeps/mach/hurd/_exit.c: Likewise.
34463         * sysdeps/nacl/_exit.c: Likewise.
34464         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34465         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34467 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34470         bndmov encoding with zero displacement.
34472 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34473             H.J. Lu  <hongjiu.lu@intel.com>
34475         [BZ #18134]
34476         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34477         * sysdeps/i386/configure: Regenerated.
34478         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34479         (_dl_runtime_profile): Save and restore Intel MPX return bound
34480         registers when calling _dl_call_pltexit.  Add
34481         PRESERVE_BND_REGS_PREFIX before return.
34482         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34483         (LRV_BND1_OFFSET): Likewise.
34484         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34485         lrv_bnd1.
34486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34487         typo in bndmov encoding.
34488         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34489         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34490         branch instructions to preserve bounds.
34492 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34495         [GLIBC_2.22]: Add fmemopen.
34497 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34499         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34500         returns an error, also try to use host port from __mach_host_self for
34501         the __vm_wire call.
34502         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34504 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34506         [BZ #18400]
34507         [BZ #18648]
34508         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34509         Fix pr_uid and pr_gid members.
34510         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34511         definition to elf_greg_t.
34513 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34515         [BZ #18383]
34516         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34517         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34518         * sysdeps/arm/configure: Regenerated.
34519         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34520         (test-xfail-tst-tlsalign-static): Variable removed.
34522         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34523         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34524         rather than explicit 'ln -s'.
34526         * resolv/rpc/netdb.h: New file.
34527         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34529 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34531         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34532         length buffers.
34533         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34534         test-skeleton.c.
34536         [BZ #6544]
34537         [BZ #11216]
34538         [BZ #12836]
34539         [BZ #13151]
34540         [BZ #13152]
34541         [BZ #14292]
34542         * include/stdio.h (fmemopen): Remove hidden prototype.
34543         (__fmemopen): Add new hidden prototype.
34544         * libio/Makefile: Add oldfmemopen object.
34545         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34546         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34547         compliance.
34548         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34549         symbol compatibility.
34550         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34551         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34552         fmemopen.
34553         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34554         on append and read mode.
34555         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34556         fmemopen.
34557         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34558         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34559         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34560         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34561         Likewise.
34562         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34563         [GLIBC_2.22]: Likewise.
34564         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34565         Likewise.
34566         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34567         Likewise.
34568         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34569         [GLIBC_2.22]: Likewise.
34570         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34571         [GLIBC_2.22]: Likewise.
34572         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34573         [GLIBC_2.22]: Likewise.
34574         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34575         [GLIBC_2.22]: Likewise.
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34577         [GLIBC_2.22]: Likewise.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34579         [GLIBC_2.22]: Likewise.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34581         [GLIBC_2.22]: Likewise.
34582         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34583         Likewise.
34584         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34585         Likewise.
34586         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34587         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34588         [GLIBC_2.22]: Likewise.
34589         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34590         [GLIBC_2.22]: Likewise.
34591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34592         [GLIBC_2.22]: Likewise.
34593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34594         [GLIBC_2.22]: Likewise.
34595         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34596         Likewise.
34597         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34598         Likewise.
34599         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34600         Likewise.
34601         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34602         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34604 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34606         [BZ #18643]
34607         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34608         IPV6_PATHMTU, and IPV6_DONTFRAG.
34610 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34612         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34613         and _IO_UNBUFFERED.
34614         * libio/oldfileops.c: Likewise.
34615         * libio/wfileops.c: Likewise.
34617 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34619         * nscd/selinux.c: Delete selinux/flask.h include.
34621 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34623         [BZ #18641]
34624         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34625         (putpwent): Likewise.
34626         (getpwnam): Likewise.
34627         (getpwent_r): Likewise.
34628         (getpwuid_r): Likewise.
34629         (getpwnam_r): Likewise.
34630         (fgetpwent_r): Likewise.
34632 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34634         [BZ #18557]
34635         * inet/rcmd.c (__validuser2_sa): Check user first to
34636         short-circuit host check.
34638 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34639             Mikhail Ilin  <m.ilin@samsung.com>
34641         [BZ #17833]
34642         * elf/Makefile (tests): Add tst-nodelete.
34643         (modules-names): Add tst-nodelete-uniquemod.
34644         (tst-nodelete-uniquemod.so-no-z-defs): New.
34645         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34646         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34647         ($(objpfx)tst-nodelete): Likewise.
34648         ($(objpfx)tst-nodelete.out): Likewise.
34649         (LDFLAGS-tst-nodelete): Likewise.
34650         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34651         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34652         implement forced object deletion.
34653         (_dl_close): Pass false to _dl_close_worker.
34654         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34655         * elf/tst-nodelete.cc: New file.
34656         * elf/tst-nodeletelib.cc: Likewise.
34657         * elf/tst-znodeletelib.cc: Likewise.
34658         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34660 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34662         [BZ #18508]
34663         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34664         Depend on $(libdl).
34665         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34666         is not called infinitely times.
34667         (backtrace_helper): New function.
34668         (trace_arg): New struct.
34669         (st1): Enlarge stack size.
34670         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34671         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34672         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34673         Likewise.
34675 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34677         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34679 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34681         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34682         Include sys/types.h instead of bits/types.h.
34683         Remove inclusion of bits/wordsize.h.
34685 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34687         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34688         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34689         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34690         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34691         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34692         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34694 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34696         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34697         link-defines.sym.
34698         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34699         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34700         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34701         and LR_SIZE.
34702         * sysdeps/i386/link-defines.sym: New file.
34704 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34706         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34707         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34708         ($(objpfx)tst-audit3): New rule.
34709         ($(objpfx)tst-audit3.out): Likewise.
34710         * sysdeps/i386/tst-audit3.c: New file.
34711         * sysdeps/i386/tst-audit3.h: Likewise.
34712         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34713         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34715 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34717         [BZ #18633]
34718         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34719         pointer in C code.
34720         (__strcat_c): Likewise.
34721         (__strcat_g): Likewise.
34723 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34725         [BZ #18592]
34726         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34728 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34730         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34731         New function.  (__ieee754_sqrtf): New function.
34732         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34733         New function.
34734         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34735         New function.
34737 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34739         * sysdeps/ieee754/support.c: Remove unused file.
34741 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34743         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34744         registers instead of d ones so the layout is kernel abi compatible.
34745         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34746         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34747         Likewise.
34749 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34751         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34753 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34755         [BZ #18619]
34756         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34757         and return argument in case of subnormal argument.
34759 2015-07-01  Martin Sebor  <msebor@redhat.com>
34761         [BZ #18435]
34762         * nptl/Makefile: Add tst-once5.cc.
34763         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34764         Remove macro redefinitions.
34765         * nptl/tst-once5.cc: New test.
34767 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34769         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34771         * sysdeps/arm/libm-test-ulps: Regenerated.
34773         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34774         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34776 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34778         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34779         lll_lock_wait_private and lll_futex_wake probes.
34781         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34782         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34783         Likewise.
34784         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34785         atomic_spin_nop.
34786         * sysdeps/x86_64/bits/atomic.h: Likewise.
34787         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34788         to atomic_spin_nop and move ...
34789         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34790         ... here and ...
34791         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34792         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34793         atomic_spin_nop instead of BUSY_WAIT_NOP.
34794         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34795         Likewise.
34796         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34797         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34798         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34799         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34800         instead of atomic_delay.
34802 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34804         [BZ #18613]
34805         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34806         X_ADJ not X when adjusting exponent.
34807         (__ieee754_gamma_r): Do intermediate computations in
34808         round-to-nearest then adjust overflowing and underflowing results
34809         as needed.
34810         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34811         of X_ADJ not X when adjusting exponent.
34812         (__ieee754_gammaf_r): Do intermediate computations in
34813         round-to-nearest then adjust overflowing and underflowing results
34814         as needed.
34815         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34816         log of X_ADJ not X when adjusting exponent.
34817         (__ieee754_gammal_r): Do intermediate computations in
34818         round-to-nearest then adjust overflowing and underflowing results
34819         as needed.  Use 1.0L not 1.0f as numerator of division.
34820         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34821         log of X_ADJ not X when adjusting exponent.
34822         (__ieee754_gammal_r): Do intermediate computations in
34823         round-to-nearest then adjust overflowing and underflowing results
34824         as needed.  Use 1.0L not 1.0f as numerator of division.
34825         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34826         of X_ADJ not X when adjusting exponent.
34827         (__ieee754_gammal_r): Do intermediate computations in
34828         round-to-nearest then adjust overflowing and underflowing results
34829         as needed.  Use 1.0L not 1.0f as numerator of division.
34830         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34831         to auto-libm-test-in.
34832         (tgamma_test): Use ALL_RM_TEST.
34833         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34834         tests of tgamma with spurious-overflow.
34835         * math/auto-libm-test-out: Regenerated.
34836         * math/gen-libm-have-vector-test.sh: Do not check for START.
34837         * sysdeps/i386/fpu/libm-test-ulps: Update.
34838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34840         [BZ #18612]
34841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34842         arguments, just return 0.5 times the argument, with underflow
34843         forced as needed.
34844         * math/auto-libm-test-in: Add more tests of j1.
34845         * math/auto-libm-test-out: Regenerated.
34847         [BZ #16559]
34848         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34849         (__ieee754_j1): Force underflow exception for small results.
34850         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34851         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34852         (__ieee754_j1f): Force underflow exception for small results.
34853         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34855         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34857         (__ieee754_j1l): Force underflow exception for small results.
34858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34859         * math/auto-libm-test-in: Add more tests of j1 and jn.
34860         * math/auto-libm-test-out: Regenerated.
34862         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34863         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34864         (PF_MPLS): Likewise.
34865         (AF_IB): Likewise.
34866         (AF_MPLS): Likewise.
34867         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34868         value and macro.
34869         (MS_RMT_MASK): Include MS_LAZYTIME.
34871 2015-06-26  Mel Gorman  <mgorman@suse.de>
34873         [BZ #18502]
34874         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34875         already minimal.
34877 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34879         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34880         (DT_MIPS_NUM): Update.
34881         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34882         DT_MIPS_RLD_MAP_REL.
34884 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34886         [BZ #16559]
34887         [BZ #18602]
34888         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34889         round-to-nearest internally then recompute results that
34890         underflowed to zero in the original rounding mode.
34891         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34892         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34893         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34895         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34896         * sysdeps/i386/fpu/libm-test-ulps: Update.
34897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34899 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34901         * NEWS: Fixed description of link with vector math library.
34903 2015-06-25  Andreas Schwab  <schwab@suse.de>
34905         [BZ #18549]
34906         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34907         * libio/test-fmemopen.c (do_test): Add test for it.
34909 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34911         [BZ #17841]
34912         * Makeconfig (no-pie-ldflag): New.
34913         (+link): Set to $(+link-pie) if default to PIE.
34914         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34915         * config.make.in (build-pie-default): New.
34916         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34917         is default.  AC_SUBST.
34918         * configure: Regenerated.
34919         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34921 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34923         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34924         to 'unsigned int'.
34926         * resolv/gai_misc.h (struct waitlist): Change type of field
34927         counterp to 'volatile unsigned int *'.
34928         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34929         FUTEXADDR and OLDVAL.
34930         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34931         Give local variable TOTAL type 'volatile unsigned int'.
34932         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34933         * resolv/gai_suspend.c (gai_suspend):
34934         Give local variable CNTR type 'unsigned int'.
34936         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34937         counterp to 'volatile unsigned int *'.
34938         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34939         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34940         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34941         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34942         Give local variable TOTAL type 'volatile unsigned int'.
34943         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34945 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34947         [BZ #18383]
34948         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34949         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34950         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34951         comment for i386/x86-64.
34952         (test-xfail-tst-tlsalign-extern-static): Removed.
34954 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34956         * math/test-double.h: New file.
34957         * math/test-float.h: Likewise.
34958         * math/test-ldouble.h: Likewise.
34959         * math/test-math-inline.h: Likewise.
34960         * math/test-math-no-inline.h: Likewise.
34961         * math/test-math-scalar.h: Likewise.
34962         * math/test-math-vector.h: Likewise.
34963         * math/test-vec-loop.h: Remove file.  Contents moved into
34964         test-math-vector.h.
34965         * math/libm-test.inc (MATHCONST): Do not document macro.
34966         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34967         and test-math-scalar.h.
34968         (FUNC): Remove macro.
34969         (FUNC_TEST): Likewise.
34970         (FLOAT): Likewise.
34971         (MATHCONST): Likewise.
34972         (PRINTF_EXPR): Likewise.
34973         (PRINTF_XEXPR): Likewise.
34974         (PRINTF_NEXPR): Likewise.
34975         (TEST_DOUBLE): Likewise.
34976         (TEST_MATHVEC): Likewise.
34977         (__NO_MATH_INLINES): Likewise.
34978         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34979         and test-math-scalar.h.
34980         (FUNC): Remove macro.
34981         (FUNC_TEST): Likewise.
34982         (FLOAT): Likewise.
34983         (MATHCONST): Likewise.
34984         (PRINTF_EXPR): Likewise.
34985         (PRINTF_XEXPR): Likewise.
34986         (PRINTF_NEXPR): Likewise.
34987         (TEST_FLOAT): Likewise.
34988         (TEST_MATHVEC): Likewise.
34989         (__NO_MATH_INLINES): Likewise.
34990         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34991         and test-math-scalar.h.
34992         (FUNC): Remove macro.
34993         (FUNC_TEST): Likewise.
34994         (FLOAT): Likewise.
34995         (MATHCONST): Likewise.
34996         (PRINTF_EXPR): Likewise.
34997         (PRINTF_XEXPR): Likewise.
34998         (PRINTF_NEXPR): Likewise.
34999         (TEST_DOUBLE): Likewise.
35000         (TEST_MATHVEC): Likewise.
35001         (TEST_INLINE): Likewise.
35002         (__NO_MATH_INLINES): Likewise.
35003         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35004         test-math-scalar.h.
35005         (FUNC): Remove macro.
35006         (FUNC_TEST): Likewise.
35007         (FLOAT): Likewise.
35008         (MATHCONST): Likewise.
35009         (PRINTF_EXPR): Likewise.
35010         (PRINTF_XEXPR): Likewise.
35011         (PRINTF_NEXPR): Likewise.
35012         (TEST_FLOAT): Likewise.
35013         (TEST_MATHVEC): Likewise.
35014         (TEST_INLINE): Likewise.
35015         (__NO_MATH_INLINES): Likewise.
35016         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35017         and test-math-scalar.h.
35018         (FUNC): Remove macro.
35019         (FUNC_TEST): Likewise.
35020         (FLOAT): Likewise.
35021         (MATHCONST): Likewise.
35022         (PRINTF_EXPR): Likewise.
35023         (PRINTF_XEXPR): Likewise.
35024         (PRINTF_NEXPR): Likewise.
35025         (TEST_LDOUBLE): Likewise.
35026         (TEST_MATHVEC): Likewise.
35027         (TEST_INLINE): Likewise.
35028         (__NO_MATH_INLINES): Likewise.
35029         * math/test-ldouble.c: Include test-ldouble.h,
35030         test-math-no-inline.h and test-math-scalar.h.
35031         (FUNC): Remove macro.
35032         (FUNC_TEST): Likewise.
35033         (FLOAT): Likewise.
35034         (MATHCONST): Likewise.
35035         (PRINTF_EXPR): Likewise.
35036         (PRINTF_XEXPR): Likewise.
35037         (PRINTF_NEXPR): Likewise.
35038         (TEST_LDOUBLE): Likewise.
35039         (TEST_MATHVEC): Likewise.
35040         (__NO_MATH_INLINES): Likewise.
35041         * math/test-double-vlen2.h: Include test-double.h,
35042         test-math-no-inline.h and test-math-vector.h.
35043         (FLOAT): Remove macro.
35044         (FUNC): Likewise.
35045         (MATHCONST): Likewise.
35046         (PRINTF_EXPR): Likewise.
35047         (PRINTF_XEXPR): Likewise.
35048         (PRINTF_NEXPR): Likewise.
35049         (TEST_DOUBLE): Likewise.
35050         (TEST_MATHVEC): Likewise.
35051         (__NO_MATH_INLINES): Likewise.
35052         (CNCT): Likewise.
35053         (CONCAT): Likewise.
35054         (WRAPPER_NAME): Likewise.
35055         (WRAPPER_DECL): Likewise.
35056         (WRAPPER_DECL_ff): Likewise.
35057         (WRAPPER_DECL_fFF): Likewise.
35058         (VECTOR_WRAPPER): Likewise.
35059         (VECTOR_WRAPPER_ff): Likewise.
35060         (VECTOR_WRAPPER_fFF): Likewise.
35061         (VEC_LEN): New macro.
35062         * math/test-double-vlen4.h: Include test-double.h,
35063         test-math-no-inline.h and test-math-vector.h.
35064         (FLOAT): Remove macro.
35065         (FUNC): Likewise.
35066         (MATHCONST): Likewise.
35067         (PRINTF_EXPR): Likewise.
35068         (PRINTF_XEXPR): Likewise.
35069         (PRINTF_NEXPR): Likewise.
35070         (TEST_DOUBLE): Likewise.
35071         (TEST_MATHVEC): Likewise.
35072         (__NO_MATH_INLINES): Likewise.
35073         (CNCT): Likewise.
35074         (CONCAT): Likewise.
35075         (WRAPPER_NAME): Likewise.
35076         (WRAPPER_DECL): Likewise.
35077         (WRAPPER_DECL_ff): Likewise.
35078         (WRAPPER_DECL_fFF): Likewise.
35079         (VECTOR_WRAPPER): Likewise.
35080         (VECTOR_WRAPPER_ff): Likewise.
35081         (VECTOR_WRAPPER_fFF): Likewise.
35082         (VEC_LEN): New macro.
35083         * math/test-double-vlen8.h: Include test-double.h,
35084         test-math-no-inline.h and test-math-vector.h.
35085         (FLOAT): Remove macro.
35086         (FUNC): Likewise.
35087         (MATHCONST): Likewise.
35088         (PRINTF_EXPR): Likewise.
35089         (PRINTF_XEXPR): Likewise.
35090         (PRINTF_NEXPR): Likewise.
35091         (TEST_DOUBLE): Likewise.
35092         (TEST_MATHVEC): Likewise.
35093         (__NO_MATH_INLINES): Likewise.
35094         (CNCT): Likewise.
35095         (CONCAT): Likewise.
35096         (WRAPPER_NAME): Likewise.
35097         (WRAPPER_DECL): Likewise.
35098         (WRAPPER_DECL_ff): Likewise.
35099         (WRAPPER_DECL_fFF): Likewise.
35100         (VECTOR_WRAPPER): Likewise.
35101         (VECTOR_WRAPPER_ff): Likewise.
35102         (VECTOR_WRAPPER_fFF): Likewise.
35103         (VEC_LEN): New macro.
35104         * math/test-float-vlen4.h: Include test-float.h,
35105         test-math-no-inline.h and test-math-vector.h.
35106         (FLOAT): Remove macro.
35107         (FUNC): Likewise.
35108         (MATHCONST): Likewise.
35109         (PRINTF_EXPR): Likewise.
35110         (PRINTF_XEXPR): Likewise.
35111         (PRINTF_NEXPR): Likewise.
35112         (TEST_FLOAT): Likewise.
35113         (TEST_MATHVEC): Likewise.
35114         (__NO_MATH_INLINES): Likewise.
35115         (CNCT): Likewise.
35116         (CONCAT): Likewise.
35117         (WRAPPER_NAME): Likewise.
35118         (WRAPPER_DECL): Likewise.
35119         (WRAPPER_DECL_ff): Likewise.
35120         (WRAPPER_DECL_fFF): Likewise.
35121         (VECTOR_WRAPPER): Likewise.
35122         (VECTOR_WRAPPER_ff): Likewise.
35123         (VECTOR_WRAPPER_fFF): Likewise.
35124         (VEC_LEN): New macro.
35125         * math/test-float-vlen8.h: Include test-float.h,
35126         test-math-no-inline.h and test-math-vector.h.
35127         (FLOAT): Remove macro.
35128         (FUNC): Likewise.
35129         (MATHCONST): Likewise.
35130         (PRINTF_EXPR): Likewise.
35131         (PRINTF_XEXPR): Likewise.
35132         (PRINTF_NEXPR): Likewise.
35133         (TEST_FLOAT): Likewise.
35134         (TEST_MATHVEC): Likewise.
35135         (__NO_MATH_INLINES): Likewise.
35136         (CNCT): Likewise.
35137         (CONCAT): Likewise.
35138         (WRAPPER_NAME): Likewise.
35139         (WRAPPER_DECL): Likewise.
35140         (WRAPPER_DECL_ff): Likewise.
35141         (WRAPPER_DECL_fFF): Likewise.
35142         (VECTOR_WRAPPER): Likewise.
35143         (VECTOR_WRAPPER_ff): Likewise.
35144         (VECTOR_WRAPPER_fFF): Likewise.
35145         (VEC_LEN): New macro.
35146         * math/test-float-vlen16.h: Include test-float.h,
35147         test-math-no-inline.h and test-math-vector.h.
35148         (FLOAT): Remove macro.
35149         (FUNC): Likewise.
35150         (MATHCONST): Likewise.
35151         (PRINTF_EXPR): Likewise.
35152         (PRINTF_XEXPR): Likewise.
35153         (PRINTF_NEXPR): Likewise.
35154         (TEST_FLOAT): Likewise.
35155         (TEST_MATHVEC): Likewise.
35156         (__NO_MATH_INLINES): Likewise.
35157         (CNCT): Likewise.
35158         (CONCAT): Likewise.
35159         (WRAPPER_NAME): Likewise.
35160         (WRAPPER_DECL): Likewise.
35161         (WRAPPER_DECL_ff): Likewise.
35162         (WRAPPER_DECL_fFF): Likewise.
35163         (VECTOR_WRAPPER): Likewise.
35164         (VECTOR_WRAPPER_ff): Likewise.
35165         (VECTOR_WRAPPER_fFF): Likewise.
35166         (VEC_LEN): New macro.
35167         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35168         test-vec-loop.h.
35169         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35170         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35171         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35173         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35175         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35177 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35179         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35180         (__getlogin_r): ... this.
35182 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35184         [BZ #18594]
35185         * math/s_ccosh.c (__ccosh): Compare with least normal value
35186         instead of comparing class with FP_SUBNORMAL.
35187         * math/s_ccoshf.c (__ccoshf): Likewise.
35188         * math/s_ccoshl.c (__ccoshl): Likewise.
35189         * math/s_cexp.c (__cexp): Likewise.
35190         * math/s_cexpf.c (__cexpf): Likewise.
35191         * math/s_cexpl.c (__cexpl): Likewise.
35192         * math/s_csin.c (__csin): Likewise.
35193         * math/s_csinf.c (__csinf): Likewise.
35194         * math/s_csinh.c (__csinh): Likewise.
35195         * math/s_csinhf.c (__csinhf): Likewise.
35196         * math/s_csinhl.c (__csinhl): Likewise.
35197         * math/s_csinl.c (__csinl): Likewise.
35198         * math/s_ctan.c (__ctan): Likewise.
35199         * math/s_ctanf.c (__ctanf): Likewise.
35200         * math/s_ctanh.c (__ctanh): Likewise.
35201         * math/s_ctanhf.c (__ctanhf): Likewise.
35202         * math/s_ctanhl.c (__ctanhl): Likewise.
35203         * math/s_ctanl.c (__ctanl): Likewise.
35204         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35205         csin, csinh, ctan and ctanh.
35206         * math/auto-libm-test-out: Regenerated.
35207         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35208         * sysdeps/i386/fpu/libm-test-ulps: Update.
35209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35211 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35213         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35214         return value is wrong, print the expected value too.
35216 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35218         [BZ #18585]
35219         * elf/readlib.c (is_gdb_python_file): New.
35220         (process_file): Don't issue errors on filenames with -gdb.py
35221         suffix.
35223 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35225         * math/auto-libm-test-in: Add more tests of csin and csinh.
35226         * math/auto-libm-test-out: Regenerated.
35227         * math/libm-test.inc (csin_test_data): Remove tests moved to
35228         auto-libm-test-in.
35229         (csinh_test_data): Likewise.
35231         [BZ #18593]
35232         * math/s_csin.c (__csin): Negate before rather than after possibly
35233         overflowing multiplication.
35234         * math/s_csinf.c (__csinf): Likewise.
35235         * math/s_csinh.c (__csinh): Likewise.
35236         * math/s_csinhf.c (__csinhf): Likewise.
35237         * math/s_csinhl.c (__csinhl): Likewise.
35238         * math/s_csinl.c (__csinl): Likewise.
35239         * math/auto-libm-test-in: Add some tests of csin and csinh.
35240         * math/auto-libm-test-out: Regenerated.
35241         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35242         (csinh_test_data): Likewise.
35243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35245         [BZ #18586]
35246         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35247         underflow exception for small results.
35249 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35251         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35252         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35253         variable and included header.
35254         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35255         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35256         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35258         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35259         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35261         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35262         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35263         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35264         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35265         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35266         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35267         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35268         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35269         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35271 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35273         [BZ #16526]
35274         [BZ #16538]
35275         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35276         (__sin): Force underflow exception for arguments with small
35277         absolute value.
35278         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35279         (__kernel_sinf): Force underflow exception for arguments with
35280         small absolute value.
35281         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35282         (__kernel_sincosl): Force underflow exception for arguments with
35283         small absolute value.
35284         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35285         (__kernel_sinl): Force underflow exception for arguments with
35286         small absolute value.
35287         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35288         (__kernel_sincosl): Force underflow exception for arguments with
35289         small absolute value.
35290         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35291         (__kernel_sinl): Force underflow exception for arguments with
35292         small absolute value.
35293         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35294         (__kernel_sinl): Force underflow exception for arguments with
35295         small absolute value.
35296         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35297         (__kernel_sinf): Force underflow exception for arguments with
35298         small absolute value.
35299         * math/auto-libm-test-in: Add more tests of sin and sincos.
35300         * math/auto-libm-test-out: Regenerated.
35302         [BZ #18245]
35303         [BZ #18583]
35304         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35305         (__kernel_standard_l): Use feholdexcept and fesetenv around
35306         conversion to double instead of special-casing overflow and
35307         underflow.
35308         * math/libm-test.inc (fmod_test_data): Add more tests.
35309         (remainder_test_data): Likewise.
35310         (sqrt_test_data): Likewise.
35312 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35314         [BZ #17403]
35315         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35316         atomic_read_barrier, atomic_write_barrier): Define.
35317         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35318         atomic_read_barrier, atomic_write_barrier): Define.
35320 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35322         * math/Makefile [$(PERL) != no]
35323         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35324         dependency on libm-test.stmp below the inclusion of Rules.
35326 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35328         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35330         and included header.
35331         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35334         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35335         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35338         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35339         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35340         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35341         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35342         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35343         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35344         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35345         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35346         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35347         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35348         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35349         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35351 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35353         [BZ #18371]
35354         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35355         intermediate but not final result might underflow.
35356         * math/s_csqrtf.c (__csqrtf): Likewise.
35357         * math/s_csqrtl.c (__csqrtl): Likewise.
35358         * math/auto-libm-test-in: Add more tests of csqrt.
35359         * math/auto-libm-test-out: Regenerated.
35360         * sysdeps/i386/fpu/libm-test-ulps: Update.
35362         [BZ #18219]
35363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35364         threshold on absolute value of exponent for which scaling is used.
35365         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35366         * math/auto-libm-test-in: Add more tests of exp2.
35367         * math/auto-libm-test-out: Regenerated.
35369 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35371         [BZ #17977]
35372         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35373         when initializing interface list, based on the bug analysis
35374         and the patch proposed by Eric Newton.
35375         * resolv/tst-res_hconf_reorder.c: New test.
35376         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35377         tst-res_hconf_reorder.
35378         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35379         and $(shared-thread-library).
35380         (tst-res_hconf_reorder-ENV): New variable.
35382         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35383         in comment.
35385 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35387         [BZ #16353]
35388         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35389         (__expm1): Force underflow exception for arguments with small
35390         absolute value.
35391         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35392         (__expm1f): Force underflow exception for arguments with small
35393         absolute value.
35394         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35395         (__expm1): Force underflow exception for arguments with small
35396         absolute value.
35397         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35398         (__expm1f): Force underflow exception for arguments with small
35399         absolute value.
35400         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35401         Check for small arguments before calling __expm1.
35402         * math/auto-libm-test-in: Do not mark underflow exceptions as
35403         possibly missing for bug 16353.
35404         * math/auto-libm-test-out: Regenerated.
35406 2015-06-22  Andreas Schwab  <schwab@suse.de>
35408         [BZ #18513]
35409         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35410         PTR queries.
35412 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35414         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35416         * string/strcoll_l.c: Remove unused struct element idxnow.
35418 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35420         [BZ #18569]
35421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35422         underflow and return argument in case of subnormal argument.
35423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35424         Likewise.
35425         * math/auto-libm-test-in: Add more tests of expm1.
35426         * math/auto-libm-test-out: Regenerated.
35428         [BZ #16361]
35429         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35430         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35431         tiny results.
35432         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35433         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35434         tiny results.
35435         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35436         mark underflow exceptions as possibly missing for bug 16361.
35437         * math/auto-libm-test-out: Regenerated.
35439 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35441         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35442         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35443         Remove variable.
35444         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35445         (test-xfail-XOPEN2K8/utmpx.h/conform).
35447         * conform/conformtest.pl ($xerrors): New variable.
35448         (note_error): New function.
35449         (compiletest): New argument $xfail.  Use not_error.
35450         (runtest): Likewise.
35451         (top level): Handle xfail- lines.  Update calls to compiletest and
35452         runtest.  Handle xfail- and optional- in headers listed with
35453         allow-header.
35454         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35455         (O_EXEC): Likewise.
35456         (O_SEARCH): Likewise.
35457         * conform/data/stropts.h-data (ioctl): Likewise.
35458         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35459         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35460         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35461         (msghdr.msg_controllen): Likewise.
35462         (cmsghdr.cmsg_len): Likewise.
35463         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35464         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35465         variable.
35466         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35467         (test-xfail-XPG4/stropts.h/conform): Likewise.
35468         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35469         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35470         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35471         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35472         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35473         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35474         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35475         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35476         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35477         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35478         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35479         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35480         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35481         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35482         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35483         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35484         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35485         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35486         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35488 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35490         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35491         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35492         definitions for proper unfolding of __MATHDECL_VEC.
35494 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35496         * benchtests/bench-strcoll.c:
35497         Include string.h.
35498         (main): Remove unused variable res.
35500 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35502         * timezone/Makefile (%/UTC %/Universal):
35503         Generate test-result files for UTC and Universal.
35505 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35507         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35509 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35511         [BZ #16350]
35512         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35513         for arguments with small absolute value.
35514         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35515         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35516         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35517         (__asinh): Force underflow exception for arguments with small
35518         absolute value.
35519         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35520         (__asinhf): Force underflow exception for arguments with small
35521         absolute value.
35522         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35523         (__asinhl): Force underflow exception for arguments with small
35524         absolute value.
35525         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35526         (__asinhl): Force underflow exception for arguments with small
35527         absolute value.
35528         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35529         (__asinhl): Force underflow exception for arguments with small
35530         absolute value.
35531         * math/auto-libm-test-in: Do not mark underflow exceptions as
35532         possibly missing for bug 16350.
35533         * math/auto-libm-test-out: Regenerated.
35535         * include/bits/ipc.h: Remove file.
35536         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35537         variable.
35538         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35539         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35540         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35541         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35542         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35543         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35544         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35545         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35546         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35548         * math/auto-libm-test-in: Remove spurious underflow allowance for
35549         tests of cexp.
35550         * math/auto-libm-test-out: Regenerated.
35552         [BZ #18558]
35553         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35554         unconditional definition.
35555         (MCAST_BLOCK_SOURCE): Likewise.
35556         (MCAST_UNBLOCK_SOURCE): Likewise.
35557         (MCAST_LEAVE_GROUP): Likewise.
35558         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35559         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35560         (MCAST_MSFILTER): Likewise.
35561         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35562         Remove variable.
35563         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35564         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35565         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35566         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35567         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35569 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35571         * NEWS: Mention addition of x86_64 vector sincosf.
35572         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35573         * math/test-float-vlen4.h: Likewise.
35574         * math/test-float-vlen8.h: Likewise.
35575         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35576         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35578         * sysdeps/x86_64/fpu/Versions: New versions added.
35579         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35581         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35582         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35584         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35588         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35589         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35590         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35591         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35592         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35593         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35594         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35595         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35596         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35597         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35598         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35599         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35600         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35601         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35602         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35604         * NEWS: Mention addition of x86_64 vector sincos.
35605         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35606         * math/math.h (__MATHDECL_VEC): New macro.
35607         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35608         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35609         declaration under condition.
35610         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35611         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35612         TEST_VEC_LOOP change.
35613         * math/test-double-vlen4.h: Likewise.
35614         * math/test-double-vlen8.h: Likewise.
35615         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35616         * math/test-float-vlen4.h: Likewise.
35617         * math/test-float-vlen8.h: Likewise.
35618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35619         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35621         * sysdeps/x86_64/fpu/Versions: New versions added.
35622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35624         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35626         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35627         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35628         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35629         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35631         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35632         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35633         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35634         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35635         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35636         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35637         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35638         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35639         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35640         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35641         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35642         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35643         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35644         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35645         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35648         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35649         redirections for powf.
35650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35651         * sysdeps/x86_64/fpu/Versions: New versions added.
35652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35654         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35655         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35656         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35657         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35658         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35662         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35663         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35664         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35665         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35666         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35667         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35668         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35669         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35670         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35671         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35672         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35673         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35674         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35675         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35676         * math/test-float-vlen16.h: Fixed 2 argument macro.
35677         * math/test-float-vlen4.h: Likewise.
35678         * math/test-float-vlen8.h: Likewise.
35679         * NEWS: Mention addition of x86_64 vector powf.
35681 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35683         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35684         and redefine.
35685         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35686         and redefine.
35687         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35688         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35691         [BZ #18553]
35692         * resource/getpriority.c (getpriority): Rename to __getpriority
35693         and define as weak alias of __getpriority.
35694         * resource/setpriority.c (setpriority): Rename to __setpriority
35695         and define as weak alias of __setpriority.
35696         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35697         __getpriority and define as weak alias of __getpriority.
35698         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35699         __setpriority and define as weak alias of __setpriority.
35700         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35701         strong name.
35702         (setpriority): Use __setpriority as strong name.
35703         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35704         __getpriority and define as weak alias of __getpriority.
35705         * include/sys/resource.h (__getpriority): Declare.  Use
35706         libc_hidden_proto.
35707         (__setpriority): Likewise.
35708         (getpriority): Don't use libc_hidden_proto.
35709         (setpriority): Likewise.
35710         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35711         getpriority.  Call __setpriority instead of setpriority.
35712         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35713         Remove variable.
35715         [BZ #18547]
35716         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35717         as weak alias of __getttynam.  Use prototype function definition.
35718         Call __setttyent, __getttyent and __endttyent instead of
35719         setttyent, getttyent and endttyent.
35720         (getttyent): Rename to __getttyent and define as weak alias of
35721         __getttyent.  Call __setttyent instead of setttyent.  Call
35722         __fgets_unlocked instead of fgets_unlocked.
35723         (setttyent): Rename to __setttyent and define as weak alias of
35724         __setttyent.
35725         (endttyent): Rename to __endttyent and define as weak alias of
35726         __endttyent.
35727         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35728         (__setttyent): Likewise.
35729         (__endttyent): Likewise.
35730         (getttyent): Don't use libc_hidden_proto.
35731         (setttyent): Likewise.
35732         (endttyent): Likewise.
35733         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35734         __endttyent instead of setttyent, getttyent and endttyent.
35735         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35736         Remove variable.
35738         [BZ #18546]
35739         * socket/recv.c (__recv): Use libc_hidden_def.
35740         * socket/socket.c (__socket): Likewise.
35741         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35742         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35743         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35744         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35745         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35746         libc_hidden_def.
35747         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35748         libc_hidden_weak.
35749         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35750         Use libc_hidden_proto.
35751         (__recv): Likewise.
35752         * socket/Versions (libc): Export __recv and __socket at version
35753         GLIBC_PRIVATE.
35754         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35755         instead of recv.
35756         (init_mq_netlink): Call __socket instead of socket.
35757         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35758         Remove variable.
35760         [BZ #18545]
35761         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35762         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35763         hidden_weak.
35764         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35765         define as alias of __mq_timedsend.  Use hidden_weak.
35766         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35767         __mq_timedsend as strong name.
35768         (mq_timedreceive): Use __mq_timedreceive as strong name.
35769         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35770         (__mq_timedreceive): Likewise.
35771         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35772         __mq_timedreceive instead of mq_timedreceive.
35773         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35774         instead of mq_timedsend.
35775         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35776         Remove variable.
35778         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35779         hidden_def and hidden_weak instead of libc_hidden_def and
35780         libc_hidden_weak.
35781         (top level): Refer to hidden_def in comment.
35782         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35783         macro.  Use it instead of libc_hidden_def.
35784         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35785         specify __GI_* name explicitly.
35786         (mq_timedreceive): Likewise.
35787         (mq_setattr): Likewise.
35789         [BZ #18544]
35790         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35791         __pthread_barrier_init and define as weak alias of
35792         __pthread_barrier_init.
35793         * sysdeps/sparc/nptl/pthread_barrier_init.c
35794         (pthread_barrier_init): Likewise.
35795         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35796         __pthread_barrier_wait and define as weak alias of
35797         __pthread_barrier_wait.
35798         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35799         (pthread_barrier_wait): Likewise.
35800         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35801         (pthread_barrier_wait): Likewise.
35802         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35803         (pthread_barrier_wait): Likewise.
35804         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35805         (pthread_barrier_wait): Likewise.
35806         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35807         __pthread_barrier_wait at version GLIBC_PRIVATE.
35808         * include/pthread.h (__pthread_barrier_init): Declare.
35809         (__pthread_barrier_wait): Likewise.
35810         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35811         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35812         (helper_thread): Likewise.
35813         (init_mq_netlink): Call __pthread_barrier_init instead of
35814         pthread_barrier_init.
35816         [BZ #18542]
35817         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35818         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35819         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35820         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35821         vswscanf.
35822         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35823         Remove variable.
35825         [BZ #18540]
35826         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35827         strong alias of _IO_fflush.  Use libc_hidden_def.
35828         * libio/iofflush_u.c (fflush_unlocked): Rename to
35829         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35830         Use libc_hidden_weak.
35831         * include/stdio.h (__fflush_unlocked): Declare.  Use
35832         libc_hidden_proto.
35833         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35834         fflush_unlocked.
35835         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35836         Remove variable.
35838         [BZ #18539]
35839         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35840         define as weak alias of __addseverity.
35841         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35842         Remove variable.
35843         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35844         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35845         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35847         [BZ #18536]
35848         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35849         (__tfind): Likewise.
35850         (__tdelete): Likewise.
35851         (__twalk): Likewise.
35852         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35853         __twalk to GLIBC_PRIVATE.
35854         * include/search.h (__tsearch): Use libc_hidden_proto.
35855         (__tfind): Likewise.
35856         (__tdelete): Likewise.
35857         (__twalk): Likewise.
35858         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35859         Call __tdelete instead of tdelete.
35860         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35861         tfind.  Call __tsearch instead of tsearch.
35862         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35863         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35864         Remove variable.
35865         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35867         [BZ #18534]
35868         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35869         (dprintf): Define as a weak alias of __dprintf, not a strong
35870         alias.
35871         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35872         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35873         dprintf.
35874         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35875         Remove variable.
35876         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35877         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35879         [BZ #18533]
35880         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35881         not a strong alias.
35882         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35883         Remove variable.
35885         [BZ #18532]
35886         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35887         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35888         (in6addr_loopback): Rename to __in6addr_loopback and define as
35889         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35890         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35891         libc_hidden_proto.
35892         (__in6addr_any): Likewise.
35893         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35894         in6addr_any.
35895         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35896         variable.
35897         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35899 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35901         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35902         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35903         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35904         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35905         redirections for pow.
35906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35907         * sysdeps/x86_64/fpu/Versions: New versions added.
35908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35910         build of SSE, AVX2 and AVX512 IFUNC versions.
35911         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35912         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35913         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35914         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35915         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35918         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35919         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35920         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35921         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35922         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35923         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35924         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35925         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35926         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35927         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35928         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35929         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35930         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35931         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35932         * NEWS: Mention addition of x86_64 vector pow.
35934         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35935         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35936         redirections for expf.
35937         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35938         * sysdeps/x86_64/fpu/Versions: New versions added.
35939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35940         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35941         build of SSE, AVX2 and AVX512 IFUNC versions.
35942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35943         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35945         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35948         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35949         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35950         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35951         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35952         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35953         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35954         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35955         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35956         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35957         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35959         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35960         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35961         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35962         * NEWS: Mention addition of x86_64 vector expf.
35964         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35965         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35966         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35967         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35968         redirections for exp.
35969         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35970         * sysdeps/x86_64/fpu/Versions: New versions added.
35971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35972         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35973         build of SSE, AVX2 and AVX512 IFUNC versions.
35974         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35975         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35976         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35977         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35980         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35981         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35982         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35983         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35984         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35985         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35986         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35987         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35988         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35989         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35990         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35991         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35992         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35993         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35994         * NEWS: Mention addition of x86_64 vector exp.
35996         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35997         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35998         redirections for logf.
35999         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36000         * sysdeps/x86_64/fpu/Versions: New versions added.
36001         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36002         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36003         build of SSE, AVX2 and AVX512 IFUNC versions.
36004         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36006         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36008         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36010         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36011         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36012         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36013         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36014         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36015         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36016         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36017         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36018         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36019         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36020         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36021         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36022         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36023         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36024         * NEWS: Mention addition of x86_64 vector logf.
36026         * bits/libm-simd-decl-stubs.h: Added stubs for log.
36027         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36029         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36030         redirections for log.
36031         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36032         * sysdeps/x86_64/fpu/Versions: New versions added.
36033         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36034         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36035         build of SSE, AVX2 and AVX512 IFUNC versions.
36036         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36037         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36038         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36039         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36040         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36041         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36042         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36043         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36044         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36045         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36046         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36047         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36048         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36049         test.
36050         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36051         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36052         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36053         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36054         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36055         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36056         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36057         * NEWS: Mention addition of x86_64 vector log.
36059 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36061         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36062         cfi_adjust_cfa_offset argument.
36063         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36064         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36066         [BZ #18034]
36067         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36068         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36069         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36070         ordering using ldar.
36071         (_dl_tlsdesc_dynamic): Likewise.
36072         (_dl_tlsdesc_return_lazy): Likewise.
36073         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36074         relaxed atomics instead of volatile and synchronize with release store.
36075         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36076         volatile.
36077         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36079 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36081         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36082         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36083         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36084         * sysdeps/x86_64/fpu/Versions: New versions added.
36085         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36086         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36087         build of SSE, AVX2 and AVX512 IFUNC versions.
36088         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36090         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36094         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36095         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36096         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36097         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36098         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36099         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36100         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36101         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36102         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36103         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36104         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36105         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36106         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36107         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36108         * NEWS: Mention addition of x86_64 vector sinf.
36110 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36112         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36113         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36114         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36115         Remove variable.
36116         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36117         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36119 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36121         [BZ #18530]
36122         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36123         strong alias of _IO_fputs.  Use libc_hidden_def.
36124         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36125         and define as weak alias of __fputs_unlocked.  Use
36126         libc_hidden_weak.
36127         * include/stdio.h (__fputs_unlocked): Declare.  Use
36128         libc_hidden_proto.
36129         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36130         fputs_unlocked.
36132         [BZ #18529]
36133         * resolv/netdb.h [__USE_POSIX]: Change condition to
36134         [__USE_XOPEN2K].
36135         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36136         not expect.
36137         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36138         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36139         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36140         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36141         [XPG4 || UNIX98] (AI_ALL): Likewise.
36142         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36143         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36144         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36145         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36146         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36147         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36148         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36149         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36150         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36151         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36152         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36153         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36154         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36155         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36156         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36157         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36158         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36159         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36160         [XPG4 || UNIX98] (gai_strerror): Likewise.
36161         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36162         [XPG4 || UNIX98] (getnameinfo): Likewise.
36164         [BZ #18528]
36165         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36166         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36167         __USE_XOPEN2K8].
36168         (getgrent): Likewise.
36169         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36170         expect.
36171         [XPG3 || POSIX2008] (endgrent): Likewise.
36172         [XPG3] (setgrent): Likewise.
36173         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36174         variable.
36175         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36177         [BZ #18527]
36178         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36179         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36180         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36181         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36182         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36183         * include/unistd.h (__getlogin_r): Declare.  Use
36184         libc_hidden_proto.
36185         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36186         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36187         variable.
36188         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36189         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36190         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36192 2015-06-12  Martin Sebor  <msebor@redhat.com>
36194         [BZ #18512]
36195         * Makerules (check-install-supported): New target.
36196         (install): Add check-install-supported as a dependency.
36197         * manual/install.texi (Installing the C Library): Document
36198         that overriding prefix and exec_prefix is not supported.
36199         Mention DESTDIR.
36200         * INSTALL: Regenerate from the above.
36202 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36204         [BZ #18519]
36205         * posix/Versions (libc): Export __libc_pread at version
36206         GLIBC_PRIVATE.
36207         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36208         instead of pread.
36209         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36210         variable.
36212         [BZ #18522]
36213         * misc/efgcvt_r.c
36214         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36215         (cvt_symbol): Use weak_alias instead of strong_alias.
36216         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36217         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36218         Remove variable.
36219         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36220         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36222         [BZ #18520]
36223         * inet/herrno.c (h_errno): Rename to __h_errno.
36224         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36225         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36226         to __h_errno instead of h_errno.
36227         * nptl/herrno.c (h_errno): Rename to __h_errno.
36228         (__h_errno_location): Refer to __h_errno not h_errno.
36229         * resolv/Versions (h_errno): Rename to __h_errno.
36230         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36231         Remove variable.
36232         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36234 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36236         * configure.ac: More strict check for AVX512 assembler support.
36237         * configure: Regenerated.
36239         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36240         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36241         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36242         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36243         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36244         * sysdeps/x86_64/fpu/Versions: New versions added.
36245         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36246         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36247         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36248         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36250         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36254         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36255         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36256         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36257         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36258         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36259         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36260         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36261         test.
36262         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36263         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36264         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36265         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36266         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36267         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36268         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36269         * NEWS: Mention addition of x86_64 vector sin.
36271 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36273         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36274         comment.
36276 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36278         [BZ #18479]
36279         * nptl/pt-interp.c: New file.
36280         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36281         Add pt-interp.
36282         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36283         $(common-objpfx)runtime-linker.h.
36285 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36287         * Makeconfig (+interp): Remove unused variable.
36288         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36289         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36290         $(elf-objpfx)runtime-linker.h.
36291         ($(elf-objpfx)runtime-linker.h): Rename to
36292         $(common-objpfx)runtime-linker.h and move ...
36293         * Makerules [$(build-shared) = yes]: ... here.
36294         * elf/interp.c: Include <runtime-linker.h> instead of
36295         <elf/runtime-linker.h>.
36297 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36299         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36300         (__gettimeofday_syscall): Remove vsyscall fallback.
36301         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36302         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36303         Add syscall fallback function.
36304         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36305         if vDSO is not present.
36306         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36307         fallback function.
36308         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36309         present.
36310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36311         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36313 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36315         [BZ #18497]
36316         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36317         of wcscmp.
36318         (wcscmp): Define as weak alias of WCSCMP.
36319         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36320         wcscoll.
36321         (USE_HIDDEN_DEF): Define.
36322         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36323         __wcscoll.  Don't use libc_hidden_weak.
36324         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36325         wcscmp.
36326         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36327         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36328         __GI_wcscmp.
36329         (weak_alias): Undefine and redefine.
36330         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36331         __wcscmp and define as weak alias of __wcscmp.
36332         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36333         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36334         (__wcscoll): Likewise.
36335         (wcscmp): Don't use libc_hidden_proto.
36336         (wcscoll): Likewise.
36337         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36338         wcscoll.
36339         * posix/regexec.c (check_node_accept_bytes): Likewise.
36340         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36341         variable.
36342         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36343         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36345         [BZ #18507]
36346         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36347         __fstatvfs and define as weak alias of __fstatvfs.  Use
36348         libc_hidden_weak.
36349         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36350         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36351         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36352         Define as alias of __fstatvfs, not fstatvfs.
36353         (fstatvfs64): Likewise.
36354         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36355         Define as alias of __statvfs, not statvfs.
36356         (statvfs64): Likewise.
36357         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36358         Remove variable.
36360 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36363         (HAVE_GETCPU_VSYSCALL): Define.
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36365         (HAVE_GETCPU_VSYSCALL): Likewise.
36366         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36367         * sysdeps/unix/sysv/linux/sched_getcpu.c
36368         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36369         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36370         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36371         prototype.
36372         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36373         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36374         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36375         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36376         Define.
36377         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36378         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36379         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36380         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36382 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36384         * sysdeps/x86_64/fpu/Makefile: New file.
36385         * sysdeps/x86_64/fpu/Versions: New file.
36386         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36387         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36388         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36389         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36390         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36391         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36392         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36394         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36395         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36399         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36400         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36401         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36402         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36403         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36404         * sysdeps/x86_64/configure: Regenerated.
36405         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36406         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36407         * manual/install.texi (Configuring and compiling): Document
36408         --disable-mathvec.
36409         * INSTALL: Regenerated.
36410         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36412         * math/Makefile: Added rules for vector tests.
36413         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36414         declaration under condition.
36415         * math/test-double-vlen2.h: New file.
36416         * math/test-double-vlen4.h: New file.
36417         * math/test-double-vlen8.h: New file.
36418         * math/test-vec-loop.h: Added initialization macro.
36419         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36420         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36421         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36422         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36423         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36424         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36425         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36426         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36427         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36428         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36429         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36432         * sysdeps/x86_64/fpu/Versions: New versions added.
36433         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36434         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36435         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36436         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36437         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36440         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36443         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36444         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36445         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36446         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36447         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36449         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36450         * NEWS: Mention addition of x86_64 vector cosf.
36452         * math/Makefile: Added CFLAGS for new tests.
36453         * math/test-float-vlen16.h: New file.
36454         * math/test-float-vlen4.h: New file.
36455         * math/test-float-vlen8.h: New file.
36456         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36457         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36458         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36459         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36460         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36461         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36462         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36463         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36464         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36465         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36466         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36468 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36470         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36471         * locale/programs/ld-ctype.c: Likewise.
36473 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36475         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36476         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36477         bit_ZMM16_31_state): New macro.
36478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36479         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36481 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36483         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36485 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36487         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36489 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36491         [BZ #18498]
36492         * libio/memstream.c (open_memstream): Rename to __open_memstream
36493         and define as weak alias of __open_memstream.
36494         * include/stdio.h (__open_memstream): Declare.  Use
36495         libc_hidden_proto.
36496         (open_memstream): Don't use libc_hidden_proto.
36497         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36498         open_memstream.
36499         * posix/getopt.c (_getopt_internal_r): Likewise.
36500         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36501         variable.
36502         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36503         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36504         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36506         [BZ #18496]
36507         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36508         instead of wcrtomb.
36510         [BZ #18483]
36511         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36512         [__USE_XOPEN2K8].  Remove redundant #endif.
36513         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36514         Remove redundant #if.
36515         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36516         Remove variable.
36517         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36518         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36520         [BZ #18495]
36521         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36522         (__iswlower): Likewise.
36523         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36524         (__iswlower): Likewise.
36525         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36526         instead of towlower.
36527         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36528         instead of iswlower.  Call __towupper instead of towupper.
36529         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36530         instead of iswalnum.
36532 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36534         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36535         errors to stderr.
36537 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36539         [BZ #15661]
36540         [BZ #17322]
36541         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36542         Check for overflow properly.  Check for O_APPEND.  Ignore large
36543         file system block sizes.  Add comments about problems.
36544         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36545         * manual/filesys.texi (Storage Allocation): New node.
36547 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36549         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36550         cancellable syscalls.
36551         (SYS_ify): Add guard to no redefine it.
36552         (INLINE_SYSCALL): Likewise.
36553         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36554         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36555         SYSCALL_CANCEL instead.
36556         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36557         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36558         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36559         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36560         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36561         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36562         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36563         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36564         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36565         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36566         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36567         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36568         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36569         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36570         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36572         Likewise.
36573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36574         (__libc_pread64): Likewise.
36575         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36576         (__libc_preadv): Likewise.
36577         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36578         (__libc_readv64): Likewise.
36579         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36580         (__libc_pwrite): Likewise.
36581         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36582         (__libc_pwrite64): Likewise.
36583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36584         (__libc_pwritev): Likewise.
36585         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36586         (__libc_pwritev64): Likewise.
36587         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36588         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36589         (sync_file_range): Likewise.
36590         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36591         Likewise.
36592         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36593         Likewise.
36594         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36595         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36596         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36597         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36598         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36599         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36600         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36601         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36603         Likewise.
36604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36605         (__libc_read64): Likewise.
36606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36607         Likewise.
36608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36609         Likewise.
36610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36611         Likewise.
36612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36613         Likewise.
36614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36615         (__libc_pread64): Likewise.
36616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36617         Likewise.
36618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36619         (__libc_pwrite64): Likewise.
36620         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36621         (sync_file_range): Likewise.
36622         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36623         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36624         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36625         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36626         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36627         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36628         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36629         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36630         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36631         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36632         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36633         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36634         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36635         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36636         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36637         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36638         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36639         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36640         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36641         Likewise.
36642         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36643         Likewise.
36644         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36645         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36646         Likewise.
36647         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36648         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36649         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36650         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36651         Likewise.
36652         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36653         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36654         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36655         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36656         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36658 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36660         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36661         Include dl-vdso.
36662         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36663         Use VDSO routines for gettimeofday, clock_gettime if
36664         available.
36665         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36666         Declare VDSO symbols.
36667         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36668         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36669         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36670         * sysdeps/unix/sysv/linux/arm/Versions: Add
36671         __vdso_clock_gettime.
36673 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36675         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36676         be an inline implementation regardless of library is built within.
36677         (open_not_cancel_2): Likewise.
36678         (__read_nocancel): Likewise.
36679         (__write_nocancel): Likewise.
36680         (openat_not_cancel): Likewise.
36681         (openat_not_cancel_3): Likewise.
36682         (openat64_not_cancel): Likewise.
36683         (openat64_not_cancel_3): Likewise.
36684         (__close_nocancel): Likewise.
36685         (pause_not_cancel): Likewise.
36686         (nanosleep_not_cancel): Likewise.
36687         (sigsuspend_not_cancel): Likewise.
36689 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36691         [BZ #14958]
36692         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36693         wake-up.
36694         (__pthread_rwlock_rdlock_slow): Likewise.
36695         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36696         Likewise.
36697         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36698         Likewise.
36699         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36700         * nptl/tst-rwlock16.c: New file.
36701         * nptl/Makefile (tests): Add new test.
36703 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36705         [BZ #18324]
36706         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36707         missing wake-up of readers.
36708         * nptl/tst-rwlock15.c: New file.
36709         * nptl/Makefile (tests): Add new test.
36711 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36713         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36714         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36715         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36716         and __nacl_supply_interface_rtld.
36717         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36718         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36719         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36720         Add __nacl_supply_interface_rtld.
36721         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36723 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36725         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36726         isfinite.
36727         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36728         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36730 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36732         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36733         __signbit* with standard C99 macros.
36734         * math/e_exp10l.c: Likewise.
36735         * math/e_exp2l.c: Likewise.
36736         * math/e_scalb.c: Likewise.
36737         * math/e_scalbf.c: Likewise.
36738         * math/e_scalbl.c: Likewise.
36739         * math/s_ldexp.c: Likewise.
36740         * math/s_ldexpf.c: Likewise.
36741         * math/s_ldexpl.c: Likewise.
36742         * math/w_atan2.c: Likewise.
36743         * math/w_atan2f.c: Likewise.
36744         * math/w_atan2l.c: Likewise.
36745         * math/w_cosh.c: Likewise.
36746         * math/w_coshf.c: Likewise.
36747         * math/w_coshl.c: Likewise.
36748         * math/w_exp10.c: Likewise.
36749         * math/w_exp10f.c: Likewise.
36750         * math/w_exp10l.c: Likewise.
36751         * math/w_exp2.c: Likewise.
36752         * math/w_exp2f.c: Likewise.
36753         * math/w_exp2l.c: Likewise.
36754         * math/w_fmod.c: Likewise.
36755         * math/w_fmodf.c: Likewise.
36756         * math/w_fmodl.c: Likewise.
36757         * math/w_hypot.c: Likewise.
36758         * math/w_hypotf.c: Likewise.
36759         * math/w_hypotl.c: Likewise.
36760         * math/w_jnl.c: Likewise.
36761         * math/w_lgamma.c: Likewise.
36762         * math/w_lgamma_r.c: Likewise.
36763         * math/w_lgammaf.c: Likewise.
36764         * math/w_lgammaf_r.c: Likewise.
36765         * math/w_lgammal.c: Likewise.
36766         * math/w_lgammal_r.c: Likewise.
36767         * math/w_pow.c: Likewise.
36768         * math/w_powf.c: Likewise.
36769         * math/w_powl.c: Likewise.
36770         * math/w_remainder.c: Likewise.
36771         * math/w_remainderf.c: Likewise.
36772         * math/w_remainderl.c: Likewise.
36773         * math/w_scalb.c: Likewise.
36774         * math/w_scalbf.c: Likewise.
36775         * math/w_scalbl.c: Likewise.
36776         * math/w_scalbln.c: Likewise.
36777         * math/w_scalblnf.c: Likewise.
36778         * math/w_scalblnl.c: Likewise.
36779         * math/w_sinh.c: Likewise.
36780         * math/w_sinhf.c: Likewise.
36781         * math/w_sinhl.c: Likewise.
36782         * math/w_tgamma.c: Likewise.
36783         * math/w_tgammaf.c: Likewise.
36784         * math/w_tgammal.c: Likewise.
36785         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36786         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36787         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36788         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36792         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36793         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36794         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36795         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36813         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36816         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36817         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36818         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36819         * stdio-common/printf_fp.c: Likewise.
36820         * stdio-common/printf_fphex.c: Likewise.
36821         * stdio-common/printf_size.c: Likewise.
36823 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36825         [BZ #18470]
36826         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36827         strnlen.
36828         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36829         Remove variable.
36830         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36831         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36832         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36833         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36834         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36835         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36836         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36837         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36838         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36839         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36841         [BZ #18468]
36842         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36843         weak alias of __wmemchr.  Use libc_hidden_weak.
36844         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36845         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36846         instead of wmemchr.
36848 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36850         [BZ #18383]
36851         * elf/tst-tlsalign-extern.c: New file.
36852         * elf/tst-tlsalign-extern-static.c: New file.
36853         * elf/tst-tlsalign-vars.c: New file.
36854         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36855         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36856         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36857         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36858         (test-xfail-tst-tlsalign-extern-static): New variable.
36860 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36862         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36863         Use variable name _sc_err instead of err.
36864         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36865         instead of ret.
36866         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36867         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36868         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36869         (INLINE_SYSCALL): Likewise.
36871         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36872         * include/string.h (__strnlen): Use libc_hidden_proto.
36873         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36874         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36875         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36876         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36877         (libc_hidden_def): Undefine and redefine.
36878         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36879         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36880         __GI_strnlen.
36881         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36882         libc_hidden_def.
36883         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36885         [BZ #18469]
36886         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36887         weak alias of __towlower.  Use libc_hidden_weak.
36888         (towupper): Rename to __towupper and define as weak alias of
36889         __towupper.  Use libc_hidden_weak.
36890         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36891         (__towupper): Likewise.
36892         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36893         __towlower instead of towlower.
36895 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36897         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36898         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36900 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36902         * sysdeps/aarch64/libm-test-ulps: Update.
36904 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36906         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36907         Define.
36908         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36910         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36911         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36912         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36913         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36914         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36916 2015-06-01  Martin Sebor  <msebor@redhat.com>
36918         [BZ #18116]
36919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36920         (__setcontext): Use extended four-operand version of mtsf whenever
36921         possible.
36922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36923         (__novec_swapcontext): Likewise.
36925 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36927         * benchtests/scripts/compare_bench.py: New file.
36928         * benchtests/scripts/import_bench.py (mean): New function.
36929         (split_list): Likewise.
36930         (do_for_all_timings): Likewise.
36931         (compress_timings): Likewise.
36933         * benchtests/scripts/import_bench.py: New file.
36934         * benchtests/scripts/validate_benchout.py: Import import_bench
36935         instead of jsonschema.
36936         (validate_bench): Remove function.
36937         (main): Use import_bench.
36939 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36941         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36942         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36944 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36946         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36948 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36950         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36951         set THREAD_SELF->tid to a magic value and futex-wake it.
36952         Pass its address to the thread_exit system call.
36953         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36954         bit is clear.
36955         * sysdeps/nacl/lowlevellock.h: New file.
36956         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36958         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36959         Add TIMEOUT to current time, don't subtract it.
36961 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36963         [BZ #2981]
36964         [BZ #18422]
36965         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36966         ($(objpfx)tst-audit2.out): Also depend on
36967         $(objpfx)tst-auditmod9b.so.
36968         * elf/tst-audit2.c: Include <dlfcn.h>.
36969         (calloc_called): New.
36970         (calloc): Allow to be called more than once.
36971         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36973 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36975         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36976         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36978 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36980         * stdlib/monetary.h: Fix comment.
36982 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36984         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36985         Avoid using variables in #defines that might cause shadowing.
36986         (INTERNAL_VSYSCALL_CALL): Likewise.
36988 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36990         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36992         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36993         * nptl/lll_timedlock_wait.c: ... to this new file.
36994         * nptl/Makefile (libpthread-routines): Add it.
36995         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36996         * nptl/lll_timedwait_tid.c: ... to this new file.
36997         * nptl/Makefile (libpthread-routines): Add it.
36998         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36999         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37000         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37001         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37002         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37003         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37004         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37005         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37006         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37007         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37009 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37011         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37012         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37013         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37015         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37017         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37019         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37020         * sysdeps/unix/sysv/linux/tile/sysdep.h
37021         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37022         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37023         using vDSO syscall macro.
37025 2015-05-26  Andriy Rysin  <arysin@gmail.com>
37027         [BZ #17293]
37028         * uk_UA: Fix sorting order for Ukrainian locale
37030 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
37032         * stdlib/monetary.h: Fix comment.
37034 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37036         [BZ #18234]
37037         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37038         st_mtim and st_ctim members.
37039         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37040         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37041         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37042         (struct stat64): Likewise.
37043         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37044         (struct stat64): Likewise.
37045         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37046         (struct stat64): Likewise.
37048 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37050         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37051         Define and include sysdep-vdso.h.
37052         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37053         Likewise.
37054         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37055         Likewise.
37056         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37057         Define with VDSO_SYMBOL and use PTR_MANGLE.
37058         (__vdso_clock_gettime): Likewise.
37059         (__vdso_clock_getres): Likewise.
37060         (_libc_vdso_platform_setup): Likewise.
37061         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37062         Likewise.
37063         (_libc_vdso_platform_setup): Likewise.
37064         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37065         Likewise.
37066         (__vdso_clock_gettime): Likewise.
37067         (__vdso_clock_getres): Likewise.
37068         (__vdso_get_tbfreq): Likewise.
37069         (__vdso_getcpu): Likewise.
37070         (__vdso_time): Likewise.
37071         (__vdso_sigtramp_rt64): Likewise.
37072         (__vdso_signtramp32): Likewise.
37073         (__vdso_sigtramp_rt32): Likewise.
37074         (_libc_vdso_platform_setup): Likewise.
37075         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37076         Likewise.
37077         (__vdso_clock_gettime): Likewise.
37078         (__vdso_clock_getres): Likewise.
37079         (_libc_vdso_platform_setup): Likewise.
37080         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37081         Likewise.
37082         (__vdso_clock_gettime): Likewise.
37083         (_libc_vdso_platform_setup): Likewise.
37084         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37085         Likewise.
37086         (__vdso_getcpu): Likewise.
37087         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37088         Use VDSO_SYMBOL macro to define.
37089         (__vdso_clock_gettime): Likewise.
37090         (__vdso_clock_getres): Likewise.
37091         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37092         Likewise.
37093         (__vdso_clock_gettime): Likewise.
37094         (__vdso_clock_getres): Likewise.
37095         (__vdso_get_tbfreq): Likewise.
37096         (__vdso_getcpu): Likewise.
37097         (__vdso_time): Likewise.
37098         (__vdso_sigtramp_rt64): Likewise.
37099         (__vdso_signtramp32): Likewise.
37100         (__vdso_sigtramp_rt32): Likewise.
37101         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37102         Likewise.
37103         (__vdso_clock_gettime): Likewise.
37104         (__vdso_clock_getres): Likewise.
37105         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37106         Likewise.
37107         (__vdso_clock_gettime): Likewise.
37108         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37109         Likewise.
37110         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37111         macro.
37112         (INTERNAL_VSYSCALL): Likewise.
37113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37114         Remove macro.
37115         (INTERNAL_VSYSCALL): Likewise.
37116         (INTERNAL_VSYSCALL_NCS): Likewise.
37117         (INTERNAL_VSYSCALL_CALL): New macro.
37118         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37120         Likewise.
37121         (INTERNAL_VSYSCALL): Likewise.
37122         (INTERNAL_VSYSCALL_NCS): Likewise.
37123         (INTERNAL_VSYSCALL_CALL): New macro.
37124         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37126         (INLINE_VSYSCALL): Remove macro.
37127         (INTERNAL_VSYSCALL): Remove macro.
37128         (INTERNAL_VSYSCALL_NCS): Remove macro.
37129         (INTERNAL_VSYSCALL_CALL): New macro.
37130         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37131         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37132         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37133         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37134         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37136         (INLINE_VSYSCALL): Remove macro.
37137         (INTERNAL_VSYSCALL): Likewise.
37138         (INTERNAL_VSYSCALL_NCS): Likewise.
37139         (INTERNAL_VSYSCALL_CALL): New macro.
37140         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37141         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37142         PTR_DEMANGLE on vDSO pointer.
37143         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37144         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37145         macro.
37146         (INTERNAL_SYSCALL): Likewise.
37147         (INTERNAL_VSYSCALL_NCS): Remove macro.
37148         (INTERNAL_VSYSCALL_CALL): New macro.
37149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37150         Remove macro.
37151         (INTERNAL_VSYSCALL): Likewise.
37152         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37153         sysdep-vdso.h instead of libc-vdso.h.
37154         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37155         definition.
37156         (INLINE_VSYSCALL): Likewise.
37157         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37158         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37159         definition.
37160         (INLINE_VSYSCALL): Likewise.
37161         (INTERNAL_VSYSCALL): Likewise.
37162         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37163         * sysdeps/unix/sysv/linux/timespec_get.c
37164         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37165         (timespec_get): Use ANSI prototype.
37166         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37167         and definition for Linux.
37169 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37171         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37172         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37174 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37176         [BZ #2981]
37177         [BZ #18410]
37178         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37179         for missing DT_PLTRELSZ.
37181 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37183         Remove obsolete aliases that broke 'locale -a'
37184         [BZ #18412]
37185         * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français"
37186         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37187         breaking some applications that use 'locale -a' output.
37188         Change the encoding of this file from Latin-1 to ASCII to avoid
37189         other potential problems with people grepping this file.
37191 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37193         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37194         -fasynchronous-unwind-tables.
37195         (CFLAGS-sendto.c): Likewise.
37196         (CFLAGS-sendmsg.c): Likewise.
37197         (CFLAGS-connect.c): Likewise.
37198         (CFLAGS-recvmsg.c): Likewise.
37199         (CFLAGS-recvfrom.c): Likewise.
37200         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37201         (SOCKETCALL): New macro: non-cancellable socketcall.
37202         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37203         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37204         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37205         * sysdeps/unix/sysv/linux/accept.c: New file.
37206         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37207         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37208         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37209         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37210         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37211         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37212         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37213         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37214         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37215         * sysdeps/unix/sysv/linux/send.c: Likewise.
37216         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37217         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37218         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37219         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37220         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37221         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37222         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37223         prototype.
37224         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37225         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37226         instead of __internal_xxx function.
37227         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37228         prototype.
37229         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37230         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37231         instead of __internal_xxx function.
37232         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37233         prototype.
37234         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37235         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37236         instead of __internal_xxx function.
37237         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37238         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37239         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37240         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37241         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37242         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37243         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37244         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37245         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37246         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37247         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37248         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37249         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37250         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37252         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37253         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37254         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37255         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37256         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37259         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37260         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37261         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37262         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37263         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37264         * sysdeps/unix/sysv/linux/send.S: Likewise.
37265         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37266         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37267         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37268         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37269         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37270         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37271         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37272         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37273         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37274         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37275         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37276         socketcall is implemented in GLIBC.
37278 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37280         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37281         (__fma): Ignore uninitialized warnings around packing.
37282         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37283         (__fmaf): Ignore uninitialized warnings around packing.
37284         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37285         (__fmal): Ignore uninitialized warnings around packing.
37287         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37288         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37289         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37290         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37292         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37293         switch statement into default case.
37294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37296         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37297         a conditional in forcing "inexact".
37298         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37299         Likewise.
37301 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37303         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37304         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37305         for each INTERNAL_SYSCALL use.
37307 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37309         [BZ #438]
37310         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37311         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37312         variable.
37314         [BZ #18444]
37315         * string/basename.c (basename): Rename to __basename and define as
37316         weak alias of __basename.  Use libc_hidden_weak.
37317         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37318         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37319         __basename instead of basename.
37320         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37321         Remove variable.
37322         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37324 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37326         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37327         (_IO_JUMPS_FILE_plus): New.
37328         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37329         _IO_CAST_FIELD_ACCESS.
37330         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37331         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37332         * libio/freopen.c (freopen): Likewise.
37333         * libio/freopen64.c (freopen64): Likewise.
37334         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37335         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37336         * libio/iofwide.c (_IO_fwide): Likewise.
37337         * libio/memstream.c (open_memstream): Likewise.
37338         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37339         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37340         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37342 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37344         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37345         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37346         NADJ.
37347         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37348         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37349         NADJ.
37350         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37351         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37352         NADJ.
37354         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37355         (p == 4) case.
37357         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37358         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37359         Remove variable.
37360         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37361         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37362         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37364 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37366         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37367         Adjust jump table label generation macros.
37369 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37371         * stdio-common/vfprintf.c (vfprintf): Move local variables
37372         args_malloced, specs, specs_malloced, and the code after
37373         do_positional to the printf_positional function.
37374         (printf_positional): New function.
37376 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37378         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37379         function.
37380         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37381         STEP4_TABLE, process_arg): Move macro definitions
37382         out of the vfprintf function.  (Cosmetic change only.)
37384 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37386         * benchtests/Makefile (stdio-common-bench): Define.
37387         (benchset): Add stdio-common-bench.
37388         * sprintf-inputs: New file.
37389         * sprintf-source.c: New file.
37391 2015-05-21  Andreas Schwab  <schwab@suse.de>
37393         [BZ #13028]
37394         [BZ #17053]
37395         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37396         of struct __res_state.
37397         * resolv/res_send.c (__libc_res_nsend): Likewise.
37398         (get_nsaddr): New function.
37399         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37400         statp directly.
37402 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37404         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37405         -D_POSIX_C_SOURCE=199506L.
37407         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37409         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37410         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37411         Do not mention otherwise.
37412         [POSIX] (_XOPEN_VERSION): Do not expect.
37413         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37414         [POSIX] (_POSIX2_C_BIND): Likewise.
37415         [POSIX] (_POSIX2_VERSION): Likewise.
37416         [POSIX] (_XOPEN_XPG2): Likewise.
37417         [POSIX] (_XOPEN_XPG3): Likewise.
37418         [POSIX] (_XOPEN_XPG4): Likewise.
37419         [POSIX] (_XOPEN_UNIX): Likewise.
37420         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37421         [POSIX] (_POSIX_BARRIERS): Likewise.
37422         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37423         [POSIX] (_POSIX_CPUTIME): Likewise.
37424         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37425         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37426         [POSIX] (_POSIX_SHELL): Likewise.
37427         [POSIX] (_POSIX_SPAWN): Likewise.
37428         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37429         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37430         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37431         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37432         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37433         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37434         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37435         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37436         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37437         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37438         [POSIX] (_POSIX2_PBS): Likewise.
37439         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37440         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37441         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37442         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37443         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37444         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37445         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37446         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37447         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37448         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37449         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37450         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37451         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37452         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37453         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37454         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37455         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37456         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37457         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37458         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37459         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37460         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37461         [POSIX] (_SC_2_C_BIND): Likewise.
37462         [POSIX] (_SC_2_C_VERSION): Likewise.
37463         [POSIX] (_SC_2_PBS): Likewise.
37464         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37465         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37466         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37467         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37468         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37469         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37470         [POSIX] (_SC_BARRIERS): Likewise.
37471         [POSIX] (_SC_BASE): Likewise.
37472         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37473         [POSIX] (_SC_DEVICE_IO): Likewise.
37474         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37475         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37476         [POSIX] (_SC_FD_MGMT): Likewise.
37477         [POSIX] (_SC_FIFO): Likewise.
37478         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37479         [POSIX] (_SC_FILE_LOCKING): Likewise.
37480         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37481         [POSIX] (_SC_IOV_MAX): Likewise.
37482         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37483         [POSIX] (_SC_NETWORKING): Likewise.
37484         [POSIX] (_SC_PAGE_SIZE): Likewise.
37485         [POSIX] (_SC_PASS_MAX): Likewise.
37486         [POSIX] (_SC_PIPE): Likewise.
37487         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37488         [POSIX] (_SC_REGEXP): Likewise.
37489         [POSIX] (_SC_SHELL): Likewise.
37490         [POSIX] (_SC_SIGNALS): Likewise.
37491         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37492         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37493         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37494         [POSIX] (_SC_USER_GROUPS): Likewise.
37495         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37496         [POSIX] (_SC_STREAMS): Likewise.
37497         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37498         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37499         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37500         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37501         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37502         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37503         [POSIX] (_PC_FILESIZEBITS): Likewise.
37504         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37505         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37506         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37507         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37508         [POSIX] (uid_t): Likewise.
37509         [POSIX] (gid_t): Likewise.
37510         [POSIX] (off_t): Likewise.
37511         [POSIX] (pid_t): Likewise.
37512         [POSIX] (cuserid): Allow.
37513         (_SC_2_CHAR_TERM): Require constant.
37514         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37515         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37516         variable.
37518 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37520         * sysdeps/nacl/pthread-pids.h: New file.
37521         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37522         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37524         * nptl/pthread-pids.h: New file.
37525         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37526         * nptl/nptl-init.c: Include <pthread-pids.h>.
37527         (__pthread_initialize_minimal_internal):
37528         Call __pthread_initialize_pids instead of set_tid_address syscall.
37530         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37531         * sysdeps/posix/usleep.c: ... here.
37533 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37535         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37536         call_pselect6 object.
37537         [$(subdir) = io]: Remove call_sync_file_range object.
37538         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37539         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37540         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37541         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37543 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37545         * math/s_cproj.c: Add include "math_private.h".
37546         * math/s_cprojf.c: Likewise.
37547         * math/s_cprojl.c: Likewise.
37549 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37551         [BZ #18244]
37552         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37553         high mantissa bit when testing whether P is a NaN.
37554         * math/libm-test.inc (remainder_test_data): Add more tests.
37555         (remquo_test_data): Likewise.
37557         [BZ #18049]
37558         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37559         below -32, return the argument, with underflow if subnormal.
37560         * math/auto-libm-test-in: Add more tests of atanh.
37561         * math/auto-libm-test-out: Regenerated.
37563 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37565         [BZ #18434]
37566         * nptl/tst-sem15.c: New file.
37567         * nptl/Makefile (tests): Add it.
37568         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37569         s/<</>>/ to fix typo in EOVERFLOW check.
37570         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37572 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37574         * manual/strings.texi (envz_remove): Fix typo in safety
37575         annotations.
37577 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37578             Steve Ellcey  <sellcey@imgtec.com>
37580         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37581         in order to avoid strict alias warnings.
37582         (iruserok_af): Ditto for ra.
37584 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37586         [BZ #17581]
37587         * malloc/hooks.c
37588         (magicbyte): Convert to a function and avoid returning 0x01.
37589         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37590         (mem2chunk_check): Fix unsigned comparisons to zero.
37591         Hoist defs of sz and magic.
37593 2015-05-19  Richard Henderson  <rth@redhat.com>
37595         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37597         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37599 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37601         [BZ #16159]
37602         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37603         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37604         (reused_arena): Find a non-corrupt arena.
37605         (heap_trim): Pass arena to unlink.
37606         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37607         malloc_printerr.
37608         (top_check): Likewise.
37609         (free_check): Likewise.
37610         (realloc_check): Likewise.
37611         * malloc/malloc.c (malloc_printerr): Add arena argument.
37612         (unlink): Likewise.
37613         (munmap_chunk): Adjust.
37614         (ARENA_CORRUPTION_BIT): New macro.
37615         (arena_is_corrupt): Likewise.
37616         (set_arena_corrupt): Likewise.
37617         (sysmalloc): Use mmap if there are no usable arenas.
37618         (_int_malloc): Likewise.
37619         (__libc_malloc): Don't fail if arena_get returns NULL.
37620         (_mid_memalign): Likewise.
37621         (__libc_calloc): Likewise.
37622         (__libc_realloc): Adjust for additional argument to
37623         malloc_printerr.
37624         (_int_free): Likewise.
37625         (malloc_consolidate): Likewise.
37626         (_int_realloc): Likewise.
37627         (_int_memalign): Don't touch corrupt arenas.
37628         * malloc/tst-malloc-backtrace.c: New test case.
37630         * Makefile (summarize-tests): Fix return value on success.
37632         * manual/string.texi (Envz Functions): Add envz_remove.
37634 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37636         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37637         (invalid_name): New function, broken out of ...
37638         (__opendirat): ... here.  Call it.
37639         (need_isdir_precheck): New function, broken out of ...
37640         (__opendirat): ... here.  Call it.
37641         Use __fxstatat64, not __xstatat64.
37642         (opendir_oflags): New function, broken out of ...
37643         (__opendirat): ... here.  Call it.
37644         (opendir_tail): New function, broken out of ...
37645         (__opendirat): ... here.  Call it.
37646         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37647         opendir_tail, rather than punting to __opendirat.
37648         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37650 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37652         * .gitignore: Ignore generated *.pyc.
37654 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37656         * include/stdio.h: Define __need_wint_t.
37657         * test-skeleton.c: Avoid `for' loop initial declaration.
37658         * nptl/tst-initializers1.c: Use test-skeleton.c.
37660 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37662         [BZ #18418]
37663         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37665 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #16352]
37668         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37669         (__ieee754_atanh): Force underflow exception for results with
37670         small absolute value.
37671         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37672         (__ieee754_atanhf): Force underflow exception for results with
37673         small absolute value.
37674         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37675         (__ieee754_atanh): Force underflow exception for results with
37676         small absolute value.
37677         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37678         (__ieee754_atanhf): Force underflow exception for results with
37679         small absolute value.
37680         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37681         (__ieee754_atanhl): Force underflow exception for results with
37682         small absolute value.
37683         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37684         (__ieee754_atanhl): Force underflow exception for results with
37685         small absolute value.
37686         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37687         (__ieee754_atanhl): Force underflow exception for results with
37688         small absolute value.
37689         * math/auto-libm-test-in: Do not allow missing underflow
37690         exceptions from atanh.
37691         * math/auto-libm-test-out: Regenerated.
37693         [BZ #18221]
37694         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37695         2**-28 as threshold for returning x or +/- 1/x.
37696         * math/auto-libm-test-in: Add more tests of tan.
37697         * math/auto-libm-test-out: Regenerated.
37699         [BZ #18220]
37700         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37701         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37702         * math/auto-libm-test-in: Add another test of lgamma.
37703         * math/auto-libm-test-out: Regenerated.
37705 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37707         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37708         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37709         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37710         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37711         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37712         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37713         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37714         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37716         (log1): Use fabs.  (my_log2): Use fabs.
37717         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37718         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37719         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37720         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37722         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37723         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37724         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37725         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37726         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37727         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37729 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37731         [BZ #18217]
37732         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37733         as threshold for returning 1 - x.
37734         * math/auto-libm-test-in: Add more tests of erfc.
37735         * math/auto-libm-test-out: Regenerated.
37737 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #18196]
37740         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37741         threshold for large arguments.
37742         * math/auto-libm-test-in: Add another test of atan.
37743         * math/auto-libm-test-out: Regenerated.
37745         [BZ #16339]
37746         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37747         (__log1p): Force underflow exception for results with small
37748         absolute value.
37749         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37750         (__log1pf): Force underflow exception for results with small
37751         absolute value.
37752         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37753         (__log1p): Force underflow exception for results with small
37754         absolute value.
37755         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37756         (__log1pf): Force underflow exception for results with small
37757         absolute value.
37758         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37759         (__log1pl): Force underflow exception for results with small
37760         absolute value.
37761         * math/auto-libm-test-in: Do not allow missing underflow
37762         exceptions from log1p.
37763         * math/auto-libm-test-out: Regenerated.
37765 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37766             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37768         [BZ #16704]
37769         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37771 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37773         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37774         (libmvec): New variable.
37775         * configure.ac: Added option for mathvec build.
37776         * configure: Regenerated.
37777         * mathvec/Depend: New file.
37778         * mathvec/Makefile: New file.
37779         * shlib-versions: Added libmvec.
37780         * math/Makefile: Added rule for libm.so installation.
37782         * bits/math-vector.h: New file.
37783         * bits/libm-simd-decl-stubs.h: New header.
37784         * math/Makefile (headers): Added new header
37785         libm-simd-decl-stubs.h.
37786         * math/math.h (__MATHCALL_VEC): New macro.
37788         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37789         for conditions in testing functions.
37790         * math/Makefile: Added call of libm-have-vector-test.sh.
37791         * math/libm-test.inc (HAVE_VECTOR): New macros.
37793         * math/libm-test.inc: START refactored.
37794         * math/test-double.c (TEST_MATHVEC): Add define.
37795         * math/test-float.c: Likewise.
37796         * math/test-idouble.c: Likewise.
37797         * math/test-ifloat.c: Likewise.
37798         * math/test-ildoubl.c: Likewise.
37799         * math/test-ldouble.c: Likewise.
37800         * sysdeps/generic/math-tests-arch.h
37801         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37802         architecture check.
37804         * math/test-double.c (FUNC_TEST): New macro.
37805         * math/test-float.c: Likewise.
37806         * math/test-idouble.c: Likewise.
37807         * math/test-ifloat.c: Likewise.
37808         * math/test-ildoubl.c: Likewise.
37809         * math/test-ldouble.c: Likewise.
37810         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37812 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37814         * sysdeps/nacl/fdopendir.c: New file.
37816         * dirent/scandir-tail.c: New file.
37817         * dirent/scandir64-tail.c: New file.
37818         * dirent/Makefile (routines): Add them.
37819         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37820         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37821         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37822         [!SCANDIR] (SCANDIR_TAIL): New macro.
37823         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37824         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37825         (SCANDIRAT): Macro removed.
37826         (SCANDIR_TAIL): New macro.
37827         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37828         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37829         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37830         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37831         (READDIR): Macro removed.
37832         (SCANDIR_TAIL): New macro.
37833         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37834         (SCANDIR_TAIL): New macro.
37836         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37837         * dirent/scandir-cancel.c: ... to this new file.
37838         * dirent/Makefile (routines): Add it.
37839         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37840         * sysdeps/unix/sysv/linux/i386/scandir64.c
37841         (SKIP_SCANDIR_CANCEL): Macro removed.
37842         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37844         * dirent/tst-scandir.c: New file.
37845         * dirent/tst-scandir64.c: New file.
37846         * dirent/Makefile (tests): Add them.
37848 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37850         [BZ #18409]
37851         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37853 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37855         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37856         list.
37858 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37860         * benchtests/bench-strcoll.c: New benchmark.
37861         * benchtests/Makefile: Generate locales and run benchmark.
37862         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37863         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37864         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37865         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37866         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37867         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37868         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37869         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37870         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37871         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37872         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37873         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37874         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37875         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37876         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37877         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37878         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37879         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37880         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37881         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37882         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37883         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37884         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37885         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37887 2015-05-12  Ondƙej BĂ­lka  <neleai@seznam.cz>
37889         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37890         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37892 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37894         * posix/uname-values.h: New file.
37895         * posix/uname.c: Include that instead of <config-name.h>.
37896         * sysdeps/nacl/uname-values.h: New file.
37897         * sysdeps/arm/nacl/uname-values.h: New file.
37899 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37901         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37902         splitting into fields.
37904 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37906         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37907         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37908         * locale/localeinfo.h: Add enum collation_encoding_type.
37909         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37910         * programs/ld-collate.c (collate_output): Add encoding type info.
37911         * string/strcoll_l.c (STRDIFF): New function.
37912         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37913         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37915 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37917         [BZ #18397]
37918         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37919         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37920         <fpu_control.h> instead of <math/fpu_control.c>.
37921         * sysdeps/mips/mips32/fpu/Makefile: New file.
37923 2015-05-11  Andreas Schwab  <schwab@suse.de>
37925         [BZ #18007]
37926         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37927         nss_endgrent.
37928         (_nss_compat_endgrent): Call nss_endgrent.
37929         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37930         nss_endpwent.
37931         (_nss_compat_endpwent): Call nss_endpwent.
37932         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37933         needent, call nss_setspent only if non-zero.
37934         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37935         (internal_endspent): Don't call nss_endspent.
37936         (_nss_compat_endspent): Call nss_endspent.
37937         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37938         Remove.  All uses removed.
37939         (internal_setent): Remove parameter stayopen, add parameter
37940         stream.  Use it instead of global variable.
37941         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37942         (internal_endent, internal_getent): Add parameter stream.  Use it
37943         instead of global variable.
37944         (CONCAT(_nss_files_end,ENTNAME))
37945         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37946         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37947         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37948         uses removed.
37949         (internal_setent, internal_endent): Add parameter stream.  Use it
37950         instead of global variable.
37951         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37952         stream.
37953         (get_next_alias): Add parameter stream.
37954         (_nss_files_getaliasent_r): Pass global stream.
37955         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37956         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37957         (_nss_files_gethostbyname4_r): Pass local stream to
37958         internal_setent, internal_getent and internal_endent.  Remove
37959         locking.
37961 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37963         * tst-strfmon1.c (tests): Update expected currency symbol.
37965 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37967         * sysdeps/nacl/gethostname.c: New file.
37969 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37971         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37972         and sinh.
37973         * math/auto-libm-test-out: Regenerated.
37974         * sysdeps/i386/fpu/libm-test-ulps: Update.
37975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37979         [BZ #18125]
37980         * stdlib/tst-setcontext3.c: New file.
37981         * stdlib/tst-setcontext3.sh: New file.
37982         * stdlib/Makefile (tests): Add tst-setcontext3.
37983         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37984         to verify test program created output file.
37985         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37986         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37987         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37988         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37990 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37992         [BZ #18383]
37993         * elf/tst-tlsalign.c: New file.
37994         * elf/tst-tlsalign-static.c: New file.
37995         * elf/tst-tlsalign-lib.c: New file.
37996         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37997         (tests-static): Add tst-tlsalign-static.
37998         (modules-names): Add tst-tlsalign-lib.
37999         (test-xfail-tst-tlsalign): New variable.
38000         (test-xfail-tst-tlsalign-static): New variable.
38002         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38003         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38005 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
38007         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38008         csqrt, erfc, sin and sincos.
38009         * math/auto-libm-test-out: Regenerated.
38010         * sysdeps/i386/fpu/libm-test-ulps: Update.
38011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38013 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38015         * sysdeps/aarch64/libm-test-ulps: Update.
38017 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
38019         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38020         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38021         * math/auto-libm-test-out: Regenerated.
38022         * sysdeps/i386/fpu/libm-test-ulps: Update.
38023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38025 2015-04-30  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
38027         [BZ #18265]
38028         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38029         (wcsncpy): Likewise.
38031 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38033         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38034         Assume __ASSUME_FALLOCATE is always true.
38035         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38036         (__posix_fallocate64_l64): Likewise.
38037         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38038         (posix_fallocate): Likewise.
38039         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38040         (__posix_fallocate64_l64): Likewise.
38041         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38042         [!__ASSUME_FALLOCATE]: Add comment.
38044 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38046         * sysdeps/unix/sysv/linux/i386/Makefile
38047         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38048         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38049         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38050         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38051         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38052         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38053         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38055 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38057         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38058         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38059         tgamma.
38060         * math/auto-libm-test-out: Regenerated.
38061         * sysdeps/i386/fpu/libm-test-ulps: Update.
38062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38064 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38066         * math/auto-libm-test-in: Add more tests of tgamma.
38067         * math/auto-libm-test-out: Regenerated.
38068         * sysdeps/i386/fpu/libm-test-ulps: Update.
38069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38071         * math/auto-libm-test-in: Add more tests of tanh.
38072         * math/auto-libm-test-out: Regenerated.
38073         * sysdeps/i386/fpu/libm-test-ulps: Update.
38074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38076         * math/auto-libm-test-in: Add more tests of tan.
38077         * math/auto-libm-test-out: Regenerated.
38078         * sysdeps/i386/fpu/libm-test-ulps: Update.
38079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38081         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38082         * math/auto-libm-test-out: Regenerated.
38083         * sysdeps/i386/fpu/libm-test-ulps: Update.
38084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38086         * math/auto-libm-test-in: Add another test of pow.
38087         * math/auto-libm-test-out: Regenerated.
38088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38090         * math/auto-libm-test-in: Add more tests of lgamma.
38091         * math/auto-libm-test-out: Regenerated.
38092         * sysdeps/i386/fpu/libm-test-ulps: Update.
38093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38095         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38096         log1p.
38097         * math/auto-libm-test-out: Regenerated.
38098         * sysdeps/i386/fpu/libm-test-ulps: Update.
38099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38101 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38103         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38104         Elf64_Chdr structs and ELFCOMPRESS constants.
38106 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38108         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38109         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
38115         * math/auto-libm-test-out: Regenerated.
38116         * sysdeps/i386/fpu/libm-test-ulps: Update.
38117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38119 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38121         * config.h.in (HAVE_AARCH64_BE): Add.
38123 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38125         * math/auto-libm-test-in: Add more tests of csqrt.
38126         * math/auto-libm-test-out: Regenerated.
38127         * sysdeps/i386/fpu/libm-test-ulps: Update.
38128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38130         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38131         * math/auto-libm-test-out: Regenerated.
38132         * sysdeps/i386/fpu/libm-test-ulps: Update.
38133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38135         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38137 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38139         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38140         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38142         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38143         (euidaccess, eaccess): Define as weak aliases.
38145         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38146         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38147         but __suseconds_t is often 'long int' so some sources assume that
38148         type is being used (e.g. they use %ld to print tv_usec).
38150 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38152         [BZ #18007]
38153         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38154         (CVE-2014-8121)
38155         * nss/tst-nss-getpwent.c: New file.
38156         * nss/Makefile (tests): Add new test.
38158 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38160         [BZ #18346]
38161         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38162         exponents less than 48 as cases where high part of mantissa needs
38163         examining to determine whether argument is integral.
38164         * math/libm-test.inc (round_test_data): Add more tests.
38166 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38168         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38170 2015-04-27  David S. Miller  <davem@davemloft.net>
38172         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38173         __tls_get_addr.
38174         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38176 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38178         [BZ #18333]
38179         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38181 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38183         [BZ #18333]
38184         * time/tzset.c (parse_tzname): Return error on memory allocation
38185         failure.
38186         * test-skeleton.c (struct temp_name_list): Change type of name
38187         member to non-const.
38188         (add_temp_file): Create a copy of the file name.
38189         (delete_temp_files): Deallocate memory.
38190         (create_temp_file): Add comment.
38192 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38194         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38195         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38197 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38199         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38200         * sysdeps/arm/configure: Regenerated.
38202 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38204         [BZ #17715]
38205         * time/tzfile.c (__tzfile_read): Check for large values of
38206         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38207         * time/tzset.c (__tzstring_len): New function, based on the old
38208         __tzstring function.
38209         (__tzstring): Call __tzstring_len.
38210         (parse_tzname): New helper function extracted from
38211         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38212         the input string.
38213         (parse_offset): New helper function extracted from
38214         __tzset_parse_tz.  Replace switch with fallthrough with
38215         initialization before sscanf.
38216         (parse_rule): Likewise.
38217         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38218         new-style function definition.
38219         * timezone/Makefile (tests): Add tst-tzset.
38220         (tst-tzset.out): Dependencies on time zone files.
38221         (tst-tzset-ENV): Set TZDIR.
38222         (testdata/XT%): Copy crafted time zone files.
38223         * timezone/README: Mention crafted time zone files.
38224         * timezone/testdata/XT1, timezone/testdata/XT2,
38225         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38226         files.
38227         * timezone/tst-tzset.c: New test.
38229 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38231         * Makeconfig (+gccwarn): Remove -Winline.
38233 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38235         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38237 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38239         * NEWS: Mention sysconf() cache information support for s390.
38240         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38242 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38244         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38245         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38246         (__nearbyint): Likewise.
38247         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38248         (copysignl): Likewise.
38250 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38252         [BZ #18287]
38253         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38254         based on padding.  (CVE-2015-1781)
38256 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38258         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38259         libc-vdso.h.
38260         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38261         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38262         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38263         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38264         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38265         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38266         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38267         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38268         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38269         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38270         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38271         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38272         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38273         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38274         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38275         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38276         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38277         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38278         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38279         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38280         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38281         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38282         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38284 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38286         * stdlib/setenv.c (__add_to_environ):
38287         Dump core quickly if setenv (..., NULL, ...) is called.
38288         This time, do it the right way, and pacify GCC with a pragma.
38290 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38292         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38293         IMAP->l_prev cannot be null, and #if out the code for the contrary
38294         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38295         believe that NS (&_dl_ns[NSID]) could point outside the array.
38297         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38298         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38299         before using NSID as an index.
38301 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38303         [BZ #17825]
38304         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38305         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38306         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38308 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38310         Add preliminary port to Google Native Client on ARM.
38311         * abi-tags (.*-.*-nacl.*): New entry.
38312         * sysdeps/arm/nacl: New directory.
38313         * sysdeps/nacl: New directory.
38315 2015-04-16  David S. Miller  <davem@davemloft.net>
38317         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38318         lowlevellock-futex.h
38320 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38322         * sysdeps/tile/configure.ac: New file.
38323         * sysdeps/tile/configure: Regenerated.
38325 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38327         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38328         conditionals for weak_alias and libc_hidden_weak.
38329         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38330         libc_hidden_weak and weak_alias.
38331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38332         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38333         and weak_alias for static one.
38335 2015-04-15  David S. Miller  <davem@davemloft.net>
38337         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38339 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38341         [BZ #18206]
38342         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38343           Use signed comparision instead of substraction to avoid
38344           overflow bug.
38345         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38346           Take the sign of ret.
38347         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38348           Do not expect precise return values. Only the sign matters.
38349         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38350         * wcsmbs/test-wcsncmp.c: New File.
38351         * string/test-strncmp.c: Add wcsncmp support.
38353 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38355         [BZ #6792]
38356         * math/w_log1p.c: New file.
38357         * math/w_log1pf.c: Likewise.
38358         * math/w_log1pl.c: Likewise.
38359         * math/Makefile (libm-calls): Add w_log1p.
38360         * math/s_log1pl.c (log1pl): Remove weak_alias.
38361         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38362         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38363         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38364         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38365         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38366         [NO_LONG_DOUBLE] (log1pl): Likewise.
38367         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38368         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38369         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38370         (log1p): Remove long_double_symbol.
38371         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38372         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38373         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38374         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38375         remove weak_alias for corresponding log1p function.
38376         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38377         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38378         * sysdeps/ia64/fpu/w_log1p.c: New file.
38379         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38380         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38381         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38383 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38385         [BZ #18247]
38386         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38387         decimal exponent by 1.
38388         * stdlib/tst-strtod-round-data: Add more tests.
38389         * stdlib/tst-strtod-round.c (tests): Regenerated.
38391 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38393         * math/auto-libm-test-in: Add more tests of clog and clog10.
38394         * math/auto-libm-test-out: Regenerated.
38395         * sysdeps/i386/fpu/libm-test-ulps: Update.
38396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38398 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38400         * Makeconfig (module-cppflags): Exclude all .v.i files.
38401         (skip-module-cppflags): Variable removed.
38403         * configure.ac (libc_config_ok): Initialize before reading
38404         preconfigure scripts, not after.
38405         * configure: Regenerated.
38407         * test-skeleton.c (TIMEOUT): Move #define to top level.
38408         (main): Grok environment variable TEST_DIRECT.  If set, print
38409         test expectation details into that file and then behave as if
38410         given --direct.
38412 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38414         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38415         warning on 32-bit.
38417 2015-04-08  David S. Miller  <davem@davemloft.net>
38419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38421 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38423         * math/auto-libm-test-in: Add more tests of atanh.
38424         * math/auto-libm-test-out: Regenerated.
38425         * sysdeps/i386/fpu/libm-test-ulps: Update.
38426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38428         * math/auto-libm-test-in: Add more tests of atan.
38429         * math/auto-libm-test-out: Regenerated.
38430         * sysdeps/i386/fpu/libm-test-ulps: Update.
38431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38433 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38435         * elf/pldd.c (main): Rewrite to use struct
38436         scratch_buffer instead of extend_alloca.
38437         * elf/pldd-xx.c (find_maps): Likewise.
38438         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38439         <alloca.h>.
38440         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38441         scratch_buffer instead of extend_alloca.
38442         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38443         grp/compat-initgroups.c.
38444         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38445         Rewrite to use struct scratch_buffer instead of extend_alloca.
38446         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38447         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38449 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38451         * math/auto-libm-test-in: Add more tests of cbrt.
38452         * math/auto-libm-test-out: Regenerated.
38453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38455         * math/auto-libm-test-in: Add more tests of cabs.
38456         * math/auto-libm-test-out: Regenerated.
38457         * sysdeps/i386/fpu/libm-test-ulps: Update.
38458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38460         [BZ #18210]
38461         [BZ #18211]
38462         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38463         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38464         computations.
38465         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38466         clog10.
38467         * math/auto-libm-test-out: Regenerated.
38468         * sysdeps/i386/fpu/libm-test-ulps: Update.
38469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38471         [BZ #18197]
38472         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38473         (atan): Set FE_TONEAREST mode for internal computations.
38474         * math/auto-libm-test-in: Add more tests of atan.
38475         * math/auto-libm-test-out: Regenerated.
38477 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38479         [BZ #17930]
38480         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38482 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38484         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38486 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38488         * include/scratch_buffer.h: New file.
38489         * malloc/scratch_buffer_grow.c: Likewise.
38490         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38491         * malloc/scratch_buffer_set_array_size.c: Likewise.
38492         * malloc/tst-scratch_buffer.c: Likewise.
38493         * malloc/Makefile (routines): Add scratch_buffer_grow.
38494         (tests): Add test case.
38495         * malloc/Versions (GLIBC_PRIVATE): Export
38496         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38497         __libc_scratch_buffer_set_array_size.
38499 2015-04-06  Richard Henderson  <rth@redhat.com>
38501         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38502         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38504         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38505         unsigned int before printing.
38507 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38509         [BZ #17596]
38510         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38511         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38513 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38515         * include/libc-internal.h (libc_max_align_t): Define.
38517 2015-04-02  Andreas Schwab  <schwab@suse.de>
38519         [BZ #16850]
38520         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38522 2015-04-02  Mel Gorman  <mgorman@suse.de>
38524         [BZ #17195]
38525         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38526         as well as the main arena.
38528 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38530         [BZ #18185]
38531         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38532         sharing L2 cache to 2 for Silvermont/Knights Landing.
38534 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38536         [BZ #17711]
38537         * config.make.in (have-protected-data): New.
38538         * configure.ac: Check linker support for protected data symbol.
38539         * configure: Regenerated.
38540         * elf/Makefile (modules-names): Add tst-protected1moda and
38541         tst-protected1modb if $(have-protected-data) is yes.
38542         (tests): Add tst-protected1a and tst-protected1b if
38543         $(have-protected-data) is yes.
38544         ($(objpfx)tst-protected1a): New.
38545         ($(objpfx)tst-protected1b): Likewise.
38546         (tst-protected1modb.so-no-z-defs): Likewise.
38547         * elf/tst-protected1a.c: New file.
38548         * elf/tst-protected1b.c: Likewise.
38549         * elf/tst-protected1mod.h: Likewise.
38550         * elf/tst-protected1moda.c: Likewise.
38551         * elf/tst-protected1modb.c: Likewise.
38553 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38555         [BZ #17711]
38556         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38557         indicates it is called from do_lookup_x on relocation against
38558         protected data, skip the data definion in the executable from
38559         copy reloc.
38560         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38561         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38562         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38563         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38564         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38565         otherwise to 0.
38566         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38567         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38568         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38569         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38570         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38571         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38573 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38575         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38576         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38578 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38580         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38581         THREAD_SETMEM_NC.
38582         * sysdeps/x86_64/nptl/tls.h: Ditto.
38584 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38586         * dlfcn/tststatic.c (main): Converted to ...
38587         (do_test): ... this.
38588         (TEST_FUNCTION): New macro.
38589         Include test-skeleton.c.
38591 2015-03-26  Alan Modra  <amodra@gmail.com>
38593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38594         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38595         zero for undefined weak.
38596         (elf_machine_plt_conflict): Similarly.
38598 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38600         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38601         atanh.
38602         * math/auto-libm-test-out: Regenerated.
38603         * sysdeps/i386/fpu/libm-test-ulps: Update.
38604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38606         * math/auto-libm-test-in: Add another test of asin.
38607         * math/auto-libm-test-out: Regenerated.
38608         * sysdeps/i386/fpu/libm-test-ulps: Update.
38609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38611         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38612         Remove macro.
38613         (LLL_EBX_REG): Likewise.
38614         (LLL_ENTER_KERNEL): Likewise.
38616         * math/auto-libm-test-in: Add more tests of asin.
38617         * math/auto-libm-test-out: Regenerated.
38618         * sysdeps/i386/fpu/libm-test-ulps: Update.
38619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38621         [BZ #18138]
38622         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38623         libc_do_syscall_args): New structure.
38624         (INTERNAL_SYSCALL_MAIN_0): New macro.
38625         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38626         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38627         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38628         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38629         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38630         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38631         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38632         Replace conditional definitions by conditional definitions of ....
38633         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38634         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38635         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38636         (libpthread-sysdep_routines): Add libc-do-syscall.
38637         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38639         to __NR_futex not 240.
38641 2015-03-25  Alan Modra  <amodra@gmail.com>
38643         * NEWS: Advertise TLS optimization.
38644         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38645         (DT_PPC_NUM): Increment.
38646         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38647         (CHECK_STATIC_TLS): Use here.
38648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38649         TLS descriptors.
38650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38651         * sysdeps/powerpc/dl-tls.c: New file.
38652         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38653         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38654         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38655         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38660 2015-03-25  Alan Modra  <amodra@gmail.com>
38662         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38663         for overlapping .opd entries" to "support...".
38664         * sysdeps/powerpc/powerpc64/configure: Regenerate
38666 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38668         * math/auto-libm-test-in: Add more tests of acos.
38669         * math/auto-libm-test-out: Regenerated.
38670         * sysdeps/i386/fpu/libm-test-ulps: Update.
38671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38673         * math/auto-libm-test-in: Add more tests of expm1.
38674         * math/auto-libm-test-out: Regenerated.
38675         * sysdeps/i386/fpu/libm-test-ulps: Update.
38676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38678 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38680         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38681         * math/auto-libm-test-out: Regenerated.
38682         * sysdeps/i386/fpu/libm-test-ulps: Update.
38683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38685         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38688         * math/auto-libm-test-in: Add more tests of log2.
38689         * math/auto-libm-test-out: Regenerated.
38690         * sysdeps/i386/fpu/libm-test-ulps: Update.
38691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38693 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38695         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38696         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38697         _IO_IS_APPENDING bit in READ_WRITE instead.
38699 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38701         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38702         (__determine_cpumask_size): Replace extend_alloca with a
38703         variable-length array.  Do not treat res == 0 as an error.
38705 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38707         [BZ #18100]
38708         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38709         and integer overflow.
38710         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38711         (main): Add integer overflow tests.
38712         * manual/pattern.texi (Calling Wordexp): Document additional use
38713         for WRDE_SYNTAX.
38715 2015-03-23  Alan Modra  <amodra@gmail.com>
38717         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38718         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38719         and false branch of conditional.
38720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38721         Likewise.
38723 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38725         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38726         libc-modules.h
38727         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38728         unused declaration of _hurd_intr_rpc_msg_in_trap.
38729         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38730         defined instead of whether it is non-zero.
38731         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38732         input constraint instead of both input and output constraint.  Use ecx
38733         clobber instead of %ecx.
38734         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38735         mutex_unlock): Use a statement expression instead of an expression list.
38736         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38737         type to vm_size_t instead of vm_address_t.
38738         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38739         defined instead of whether it is non-zero.
38740         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38741         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38742         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38743         comparisons with mapaddr.
38744         * nscd/nscd-client.h: Include <time.h>.
38745         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38746         9th parameter to __vm_region instead of int.
38747         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38748         * scripts/check-local-headers.sh (exclude): Add device/,
38749         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38750         cthreads.h.
38752 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38754         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38755         to account for alignment padding.
38756         * sysdeps/arm/memmove.S: Likewise.
38758 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38760         * sysdeps/unix/sysv/linux/generic/README: New file.
38762 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38764         [BZ #18138]
38765         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38766         (futex_abstimed_wait)
38767         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38768         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38769         of lll_futex_timed_wait.
38771 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38773         [BZ #17542]
38774         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38776 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38778         [BZ #17090]
38779         [BZ #17620]
38780         [BZ #17621]
38781         [BZ #17628]
38782         * NEWS: Update.
38783         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38784         entries with Static TLS too.  Skip entries past the end of the
38785         allocated DTV, from Alan Modra.
38786         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38787         Static TLS DTV entry set up from...
38788         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38789         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38790         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38791         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38792         for Static TLS.
38793         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38794         that the slot we find is associated with the given map before
38795         using its generation count.
38796         * nptl_db/db_info.c: Include ldsodefs.h.
38797         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38798         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38799         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38800         (link_map::l_tls_offset): New struct field.
38801         (dtv_t::counter): Likewise.
38802         (rtld_global): New struct.
38803         (_rtld_global): New rtld variable.
38804         (dl_tls_dtv_slotinfo_list): New rtld global field.
38805         (dtv_slotinfo_list): New struct.
38806         (dtv_slotinfo): Likewise.
38807         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38808         (td_lookup): Rename to...
38809         (td_mod_lookup): ... this.  Use new mod parameter instead of
38810         LIBPTHREAD_SO.
38811         * nptl_db/td_thr_tlsbase.c: Include link.h.
38812         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38813         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38814         addresses even if the DTV is out of date or missing them.
38815         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38816         index zero-length arrays.
38817         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38818         (td_lookup): Make it a macro implemented in terms of...
38819         (td_mod_lookup): ... this declaration.
38820         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38821         (DB_MAIN_VARIABLE): Likewise.
38823 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38825         [BZ #18134]
38826         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38828 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38830         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38832 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38834         [BZ #18128]
38835         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38836         (atomic_add, atomic_increment_and_test)
38837         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38839 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38841         * stdlib/setenv.c (__add_to_environ):
38842         Dump core quickly if setenv (..., NULL, ...) is called.
38844 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38846         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38847         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38848         all the necessary asm magic in one place.
38849         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38850         using those.
38852 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38854         [BZ #14906]
38855         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38856         traced file mtime. Use consistent log message.
38857         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38858         (register_traced_file): Call install_watches. Always set mtime.
38859         (invalidate_cache): Iterate over all trace files. Call install_watches.
38860         (inotify_check_files): Don't inline. Handle watching parent
38861         directories and configuration file movement in and out.
38862         (handle_inotify_events): New function.
38863         (main_loop_poll): Call handle_inotify_events.
38864         (main_loop_epoll): Likewise.
38865         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38866         (struct traced_file): Use array of inotify fds. Add parent directory,
38867         and basename.
38868         (struct database_dyn): Remove unused file_mtime.
38869         (init_traced_file): New inline function.
38870         (define_traced_file): New macro.
38871         * nss/nss_db/db-init.c: Use define_traced_file.
38872         (_nss_db_init): Use init_traced_file.
38873         * nss/nss_files/files-init.c: Use define_traced_file.
38874         (_nss_files_init): Use init_traced_file.
38876 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38878         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38879         [_LIBC]: Do not include <stdlib.h>.
38880         [!_LIBC] (abort): Remove declaration.
38881         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38882         _FP_STATIC_ASSERT instead of conditionally calling abort.
38883         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38884         (_FP_EXTEND_CNAN): Likewise.
38885         (FP_TRUNC): Likewise.
38886         (__FP_CLZ): Likewise.
38887         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38889 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38891         * manual/string.texi (XPG basename): Fix prototype.
38893 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38895         [BZ #18080]
38896         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38897         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38898         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38899         (__setcontext): Likewise.
38900         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38901         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38902         Call rt_sigprocmask syscall one time to set new signal mask
38903         and retrieve the current signal mask instead of two calls.
38904         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38905         (__swapcontext): Likewise.
38906         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38907         * stdlib/tst-setcontext2.c: New file.
38909 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38911         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38913 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38915         [BZ #18093]
38916         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38917         the wrong size.
38919 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38921         [BZ #18043]
38922         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38924 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38926         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38927         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38928         Remove define.
38929         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38930         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38931         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38932         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38933         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38934         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38935         define.
38936         * nptl_db/td_symbol_list.c (td_lookup): Remove
38937         HAVE_ASM_GLOBAL_DOT_NAME code.
38938         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38939         HAVE_ASM_GLOBAL_DOT_NAME check.
38940         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38941         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38942         (DOT_LABEL): Remove define.
38943         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38944         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38945         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38946         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38947         (__TLS_GET_ADDR): Likewise.
38948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38949         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38951 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38953         [BZ #18111]
38954         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38955         (_FPU_SETCW): Initialize cw from fpsr before storing.
38956         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38957         (fesetexceptflag): Rewrite using fpu_control.h.
38958         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38960 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38962         [BZ #18110]
38963         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38964         asms.
38965         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38967 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38969         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38970         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38971         abort.
38972         (_FP_FMA): Likewise.
38973         (_FP_DIV): Likewise.
38975 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38977         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38978         with 0 in that case.
38979         * Makefile (summarize-tests): New canned sequence, factored out of
38980         commands for targets tests and xtests.  Display summary lines that
38981         don't start with PASS: or XFAIL: rather than ones that do start with
38982         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38983         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38984         do start with ERROR: or FAIL:.
38985         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38986         (except for [$(build-shared) = yes]).
38987         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38988         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38989         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38990         * nptl/Makefile: Revert 2015-03-04 changes.
38991         [$(CXX) empty] (tests-unsupported): New variable.
38992         * debug/Makefile: Likewise.
38994         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38995         gnulib file.  Replace __attribute with __attribute__ throughout.
38997 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38999         * sysdeps/hppa/fpu/libm-test-ulps: Update.
39001 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #18104]
39004         * math/auto-libm-test-in: Add another test of pow.
39005         * math/auto-libm-test-out: Regenerated.
39007 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39009         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39010         $(config-cflags-nofma).
39012 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39014         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39015         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39016         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39017         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39018         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39019         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39020         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39021         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39022         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39023         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39024         Add comment on closing #endif.
39026 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39028         * posix/wordexp.c (CHAR_IN_SET): New macro.
39029         (parse_param): Use it.
39031 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39033         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39035 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39037         [BZ #18043]
39038         * posix/wordexp.c (parse_param): Fix buffer overflow.
39039         * posix/wordexp-test.c (test_case): Add test case.
39041 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39043         [BZ #18042]
39044         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39045         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39047 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39049         [BZ #18043]
39050         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39051         (do_bz18043): Delete.
39052         (at_page_end): New.
39053         (testit): Refactor to have words at the edge of unreadable page.
39055 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39057         [BZ #16734]
39058         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39059         Cleanup read-only streams as well.
39060         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39062 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39064         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39065         <bits/libc-lockP.h>
39067 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39069         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39070         on [__KERNEL__].
39071         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39072         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39073         * soft-fp/op-common.h (_FP_DECL): Likewise.
39075 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39077         * elf/ifuncdep2.c (global): Replace
39078         __attribute__((visibility("protected"))) with
39079         asm (".protected global").
39080         * elf/ifuncmod1.c (global): Likewise.
39081         * elf/ifuncmod5.c (global): Likewise.
39083 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39085         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39086         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39088 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39090         * manual/install.texi (Configuring and compiling):
39091         Document test-wrapper-env-only.
39092         * INSTALL: Regenerated.
39094 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39096         [BZ #18043]
39097         * posix/wordexp.c (parse_param): Fix buffer overflow.
39098         * posix/wordexp-test.c (do_bz18043): Add test case.
39100 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39102         * time/tst-strptime2.c (do_test): Ensure failing tests are
39103         reported correctly.
39104         * time/tst-strptime3.c (do_test): Likewise.
39106 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39108         Fix aio_error thread-safety.
39109         * sysdeps/pthread/aio_error.c: New file
39110         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39111         synchronization.
39113 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39115         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39116         (group_number, vfprintf): Use it.
39117         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39118         (JUMP, REF): Use it.
39119         (WORK_BUFFER_SIZE): New enum constant.
39120         (process_arg, vfprintf): Use it.
39122 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39124         * manual/errno.texi (Error Messages): Complete example function
39125         by adding missing #define.
39126         (program_invocation_name): Add statement indicating GNU
39127         extension and reference which header file declares the variable.
39128         (program_invocation_short_name): Likewise.
39130 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39132         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39133         compatibility note.
39135 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39137         * Makeconfig (test-wrapper-env-only): New variable.
39138         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39139         then use that with $(test-wrapper-env-only) rather than using
39140         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39142 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39144         [BZ #18082]
39145         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39146         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39147         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39148         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39149         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39150         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39151         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39152         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39153         Likewise.
39154         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39155         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39156         Likewise.
39157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39158         Likewise.
39159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39160         Likewise.
39161         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39162         Likewise.
39163         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39164         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39165         Likewise.
39166         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39167         Likewise.
39168         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39169         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39171 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39173         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39174         (ETH_ALEN): New macro.
39175         (struct ether_addr): Use it for length of ether_addr_octet.
39177         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39178         (setdb): Don't call __nss_configure_lookup for "rpc".
39179         (do_test): Don't call test_rpc.
39180         (output_rpcent, test_rpc): Functions moved ...
39181         * sunrpc/test-rpcent.c: ... to this new file.
39182         * sunrpc/Makefile (tests): Add it.
39184         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39185         __xpg_sigpause.
39186         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39187         * nptl/tst-signal6.c: Likewise.
39188         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39189         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39191         * configure.ac (libc_cv_cxx_link_ok): New check.
39192         Reset CXX to empty if it fails to link.
39193         * configure: Regenerated.
39194         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39195         bug-atexit3-lib only if $(CXX) is nonempty.
39196         * nptl/Makefile (tests): Likewise for tst-cancel24.
39197         (tests, tests-static): Likewise for tst-cancel24-static.
39198         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39199         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39200         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39201         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39203 2015-03-04  Andreas Schwab  <schwab@suse.de>
39205         [BZ #17631]
39206         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39207         for non-GCC compilers.
39208         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39209         Likewise.
39211 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39213         [BZ #17776]
39214         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39215         integer before bitwise and assembly operations.
39216         (feclearexcept): Likewise.
39217         * math/test-fenvinline.c: New file.
39218         * math/Makefile: Add test-fenvinline test.
39220 2015-03-03  Alan Modra  <amodra@gmail.com>
39222         [BZ #16512]
39223         * scripts/localplt.awk: Strip off symbol version.
39224         * NEWS: Mention bug fix.
39226 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39228         * sysdeps/pthread/timer_routines.c
39229         (timer_free_list, thread_free_list, thread_active_list): Make static.
39231 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39233         [BZ #17779]
39234         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39235         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39236         Undefine.
39237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39238         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39239         Likewise.
39240         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39241         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39242         Likewise.
39244 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39246         [BZ #18036]
39247         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39248         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39250 2015-03-02  Andreas Schwab  <schwab@suse.de>
39252         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39253         variable name.
39255 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39257         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39258         Return error status.
39260 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39262         [BZ #15969]
39263         * locale/findlocale.c (_nl_find_locale): Introduce const
39264         version of loc_name and drop unsafe type casts.
39266 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39268         * dlfcn/tststatic2.c (main): Converted to ...
39269         (do_test): ... this.
39270         (TEST_FUNCTION): New macro.
39271         Include test-skeleton.c.
39273 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39275         [BZ #17711]
39276         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39277         (tests-pie): Add vismain.
39278         (CFLAGS-vismain.c): New.
39279         * elf/vismain.c: Add comments for PIE requirement.
39281 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39283         [BZ #18046]
39284         [BZ #18047]
39285         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39286         0x1p-56L as threshold for just returning the argument.
39287         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39288         0x1p-32L as threshold for just returning the argument.
39289         * math/auto-libm-test-in: Add more tests of atanh.
39290         * math/auto-libm-test-out: Regenerated.
39291         * sysdeps/i386/fpu/libm-test-ulps: Update.
39292         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39294 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39296         * string/bcopy.c (bcopy): Call memmove for performance.
39298 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39300         * string/bzero.c (__bzero): Call memset for performance.
39302 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39304         [BZ #18068]
39305         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39306         to 00100000.
39308 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39310         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39312 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39314         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39315         (__kernel_standard): Use CSTR macro when setting exc.name.
39316         * sysdeps/ieee754/Makefile [$(subdir) = math]
39317         (CFLAGS-k_standard.c): Remove variable.
39319         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39320         setting p and q from "else if" to "else".
39321         (qzero): Likewise.
39322         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39323         (qone): Likewise.
39324         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39325         (qzerof): Likewise.
39326         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39327         (qonef): Likewise.
39328         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39329         (qzero): Likewise.
39330         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39331         (qone): Likewise.
39333         [BZ #18038]
39334         [BZ #18039]
39335         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39336         return pi/2 for arguments below 0x1p-113L.
39337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39338         return pi/2 for arguments below 0x1p-106L.
39339         * math/auto-libm-test-in: Add more tests of acos.
39340         * math/auto-libm-test-out: Regenerated.
39342         [BZ #16351]
39343         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39344         (MO): New macro.
39345         (__ieee754_asin): Force underflow exception for results with small
39346         absolute value.
39347         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39348         (MO): New macro.
39349         (__ieee754_asinf): Force underflow exception for results with
39350         small absolute value.
39351         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39352         (__ieee754_asin): Force underflow exception for results with small
39353         absolute value.
39354         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39355         (__ieee754_asinf): Force underflow exception for results with
39356         small absolute value.
39357         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39358         (__ieee754_asinl): Force underflow exception for results with
39359         small absolute value.
39360         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39361         (__ieee754_asinl): Force underflow exception for results with
39362         small absolute value.
39363         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39364         (__ieee754_asinl): Force underflow exception for results with
39365         small absolute value.
39366         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39367         Include <math.h>.
39368         * math/auto-libm-test-in: Do not mark underflow exceptions as
39369         possibly missing for bug 16351.
39370         * math/auto-libm-test-out: Regenerated.
39372         [BZ #18030]
39373         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39374         of power of 2 down when low part has opposite sign.
39375         * math/libm-test.inc (logb_test_data): Add more tests.
39377 2015-02-26  Andreas Schwab  <schwab@suse.de>
39379         [BZ #18032]
39380         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39381         over collating symbol inside a bracket expression.  Minor cleanup.
39382         * posix/tst-fnmatch3.c (do_test): Add test case.
39384 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39386         [BZ #18029]
39387         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39388         Adjust exponent of power of 2 down when low part has opposite
39389         sign.
39390         * math/libm-test.inc (ilogb_test_data): Add more tests.
39392 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39394         [BZ #15969]
39395         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39396         the previous change.
39398         [BZ #15969]
39399         * locale/findlocale.c (_nl_find_locale): Retry archive search
39400         after alias expansion.
39402 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39404         * iconv/tst-iconv3.c (main): Converted to ...
39405         (do_test): ... this.
39406         (TEST_FUNCTION): New macro.
39407         Include test-skeleton.c.
39409         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39410         (convert): Make function static.
39411         (test_unalign): Likewise.  Add const to argument pointee types.
39412         (main): Replace with static function do_test.
39413         Print "Succeeded." only if RET is zero.
39414         (TEST_FUNCTION): New macro.
39415         Include test-skeleton.c.
39417         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39418         returns a null pointer.
39420 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39422         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39423         to __memcpy_ppc only for static builds.
39425 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39427         [BZ #18020]
39428         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39429         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39430         * math/auto-libm-test-in: Add more tests of asinh.
39431         * math/auto-libm-test-out: Regenerated.
39432         * sysdeps/i386/fpu/libm-test-ulps: Update.
39433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39437         [BZ #15850]
39438         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39439         and ip6_mtuinfo definitions here.
39440         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39441         in this define too.  Update comment.
39443 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39445         * elf/sprof.c (load_shobj): Tweak error message to match others.
39447 2015-02-24  Kevin Easton  <kevin@guarana.org>
39449         [BZ #16145] (partial fix)
39450         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39451         to reduce lock contention.
39453 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39455         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39456         (struct timex): Update time comment.
39457         (ADJ_SETOFFSET): Define.
39459 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39461         [BZ #18019]
39462         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39463         2**56 not 2**28 as threshold for log (2x) formula.
39464         * math/auto-libm-test-in: Add more tests of acosh.
39465         * math/auto-libm-test-out: Regenerated.
39466         * sysdeps/i386/fpu/libm-test-ulps: Update.
39467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39469 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39471         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39472         parenthesis around the buf assignment.
39473         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39475 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39477         [BZ #16783]
39478         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39479         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39480         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39481         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39482         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39483         * math/libm-test.inc (scalb_test_data): Add more tests.
39485 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39487         [BZ #17916]
39488         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39489         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39491 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39493         [BZ #17523]
39494         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39495         * io/bits/fcntl2.h (open): Use it.
39496         (openat): Likewise.
39497         * io/open.c (__libc_open): Likewise.
39498         * io/open64.c (__libc_open64): Likewise.
39499         * io/open64_2.c (__open64_2): Likewise.
39500         * io/open_2.c (__open_2): Likewise.
39501         * io/openat.c (__openat): Likewise.
39502         * io/openat64.c (__openat64): Likewise.
39503         * io/openat64_2.c (__openat64_2): Likewise.
39504         * io/openat_2.c (__openat_2): Likewise.
39505         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39506         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39507         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39508         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39509         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39510         (__open_nocancel): Likewise.
39511         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39512         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39513         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39515 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39517         [BZ #14841]
39518         * resolv/gethnamaddr.c (getanswer): Skip logging if
39519         RES_USE_DNSSEC is set.
39520         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39522 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39524         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39526 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39528         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39529         201304L, for Unicode 7.
39531 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39533         [BZ #17836]
39534         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39535         shared library.  Add gmon-start.os otherwise.
39536         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39537         $(objpfx)gmon-start.os if builing shared library.
39538         ($(objpfx)g$(static-start-installed-name)): Likewise.
39540 2015-02-23  Andreas Schwab  <schwab@suse.de>
39542         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39544 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39546         [BZ #17269]
39547         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39548         (enlarge_userbuf): Likewise.
39550 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39552         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39553         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39554         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39555         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39557 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39559         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39560         expression inside statement expression.
39562 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39564         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39565         <sysdeps/nptl/lowlevellock.h> and remove macros and
39566         functions that are now defined there.
39567         (SYS_futex): Remove.
39568         (lll_compare_and_swap): Remove.
39569         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39571 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39573         [BZ #17999]
39574         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39575         instead of scandirat.
39576         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39577         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39578         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39579         __scandirat.
39580         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39581         (__scandirat): Declare.  Use libc_hidden_proto.
39582         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39583         Remove variable.
39584         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39586 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39588         [BZ #15319]
39589         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39590         (MO): New macro.
39591         (__ieee754_atan2): For results with small absolute value, force
39592         underflow exception and remove excess range and precision from
39593         return value.
39594         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39595         (MO): New macro.
39596         (__ieee754_atan2f): For results with small absolute value, force
39597         underflow exception and remove excess range and precision from
39598         return value.
39599         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39600         (MO): New macro.
39601         (__atan): For results with small absolute value, force underflow
39602         exception and remove excess range and precision from return value.
39603         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39604         (MO): New macro.
39605         (__atanf): For results with small absolute value, force underflow
39606         exception and remove excess range and precision from return value.
39607         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39608         <math.h>.
39609         (__ieee754_atan2): Force underflow exception for results with
39610         small absolute value.
39611         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39612         <math_private.h>.
39613         (atan): Force underflow exception for results with small absolute
39614         value.
39615         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39616         (__atanf): Force underflow exception for results with small
39617         absolute value.
39618         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39619         <math.h>.
39620         (__atanl): Force underflow exception for results with small
39621         absolute value.
39622         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39623         (__atanl): Force underflow exception for results with small
39624         absolute value.
39625         * sysdeps/x86/fpu/bits/mathinline.h
39626         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39627         (__ieee754_atan2): Only define inline for long double.
39628         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39629         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39630         * math/auto-libm-test-in: Do not mark underflow exceptions as
39631         possibly missing for bug 15319.  Add more tests of atan2.
39632         * math/auto-libm-test-out: Regenerated.
39633         * math/libm-test.inc (casin_test_data): Do not mark underflow
39634         exceptions as possibly missing for bug 15319.
39635         (casinh_test_data): Likewise.
39636         * sysdeps/i386/fpu/libm-test-ulps: Update.
39638 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39640         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39641         * sysdeps/mips/bits/endian.h: Fix comments.
39643 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39645         [BZ #17996]
39646         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39647         (hdestroy_r): Likewise.
39648         (hsearch_r): Likewise.
39649         (__hcreate_r): Declare and use libc_hidden_proto.
39650         (__hdestroy_r): Likewise.
39651         (__hsearch_r): Likewise.
39652         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39653         (hcreate): Call __hcreate_r instead of hcreate_r.
39654         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39655         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39656         as weak alias of __hcreate_r.
39657         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39658         __hdestroy_r.
39659         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39660         __hsearch_r.
39661         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39662         Remove variable.
39663         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39664         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39665         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39666         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39668 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39670         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39671         arena_lock into a single arena_get.
39673 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39675         * dl-reloc.c: Inlucde libc-internal.h.
39676         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39677         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39678         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39679         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39680         (grow_heap): Likewise.
39681         * malloc/malloc.c: Include libc-internal.h.
39682         (do_check_malloc): Call powerof2.
39683         (sysmalloc): Use pagesize. Call ALIGN_UP.
39684         (systrim): Use pagesize.
39685         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39686         (__libc_valloc): Use pagesize.
39687         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39689 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39691         [BZ #17991]
39692         * include/sys/resource.h (__getrlimit64): Declare.  Use
39693         libc_hidden_proto.
39694         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39695         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39696         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39697         getrlimit64.
39698         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39699         __getrlimit64.
39700         [!getrlimit64] (getrlimit64): Define as weak alias of
39701         __getrlimit64.  Use libc_hidden_weak.
39702         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39703         using __getrlimit64 not __new_getrlimit64.
39704         (__GI_getrlimit64): Likewise.
39705         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39706         Likewise.
39707         (__GI_getrlimit64): Likewise.
39708         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39710         (getrlimit): Add __getrlimit64 alias.
39711         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39712         Likewise.
39713         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39714         Remove variable.
39715         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39716         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39718 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39720         * libio/fileops.c: Add missing sys/mman.h
39721         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39723 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39725         * manual/math.texi (Errors in Math Functions): Clarify goals
39726         regarding inexact and underflow exceptions.
39728 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39730         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39731         * sysdeps/mips/memset.S: Ditto.
39733 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39735         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39737 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39739         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39740         (__v1longjmp): Remove versioned symbol.
39741         (__v1siglongjmp): Remove alias and versioned symbol.
39742         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39743         (__v2siglongjmp): Likewise.
39745 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39747         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39749 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39751         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39753 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39755         [BZ #17987]
39756         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39757         zero result does not depend on the sign resulting from
39758         subtraction.
39759         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39760         Likewise.
39761         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39762         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39763         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39764         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39765         * math/libm-test.inc (remquo_test_data): Add more tests.
39767 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39769         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39770         Problem reported by J William Piggott.
39772 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39774         [BZ #17978]
39775         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39776         products 4 * y and 2 * y where those would overflow.
39777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39778         Likewise.
39779         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39780         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39781         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39782         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39783         * math/libm-test.inc (remquo_test_data): Add more tests.
39785         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39787         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39788         [defined _COMPILING_NEWLIB].
39789         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39790         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39792         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39793         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39795 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39797         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39798         acquired.
39800 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39802         [BZ #17792]
39803         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39804         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39805         HOST_STACK_END_ADDR): Likewise.
39807 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39809         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39810         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39811         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39813 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39815         * sysdeps/generic/c++-types.data: New file.
39816         * sysdeps/generic/ld.abilist: New file.
39817         * sysdeps/generic/libBrokenLocale.abilist: New file.
39818         * sysdeps/generic/libanl.abilist: New file.
39819         * sysdeps/generic/libc.abilist: New file.
39820         * sysdeps/generic/libcrypt.abilist: New file.
39821         * sysdeps/generic/libdl.abilist: New file.
39822         * sysdeps/generic/libm.abilist: New file.
39823         * sysdeps/generic/libpthread.abilist: New file.
39824         * sysdeps/generic/libresolv.abilist: New file.
39825         * sysdeps/generic/librt.abilist: New file.
39827 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39829         [BZ #17569]
39830         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39831         Compute absolute value of x as modified by fmod, not original
39832         value of x.
39833         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39834         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39835         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39836         RUN_TEST_ffI_f1_mod8.
39837         (remquo_test_data): Add more tests.
39839 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39841         * sysdeps/init_array/pt-crti.S: New file.
39843 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39845         [BZ #17967]
39846         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39847         __builtin_fmaf instead of relying on contraction of a * b + c.
39849 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39851         [BZ #17969]
39852         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39853         node.
39855 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39857         [BZ #17964]
39858         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39859         __builtin_fma instead of relying on contraction of a * b + c.
39861 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39863         * Makeconfig (ASFLAGS): Add -Werror=undef.
39864         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39865         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39866         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39868         * Makeconfig (after-link): New variable.
39869         (+link-pie, +link-pie-tests): Use it.
39870         (+link-static, +link-static-tests): Likewise.
39871         (+link, +link-tests): Likewise.
39872         * Makerules (build-module, build-module-asneeded): Likewise.
39873         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39874         Likewise.
39875         * elf/Makefile ($(objpfx)ld.so): Likewise.
39877 2015-02-12  RĂŒdiger Sonderfeld  <ruediger@c-plusplus.net>
39879         [BZ #17965]
39880         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39881         both struct timeval and struct timespec.
39883 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39885         [BZ #16560]
39886         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39887         and redefine.
39888         (__ieee754_exp2l): Do not multiply small fractional parts by
39889         M_LN2l.
39890         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39891         small argument.
39892         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39893         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39894         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39895         * math/auto-libm-test-in: Add more tests of exp2.
39896         * math/auto-libm-test-out: Regenerated.
39898 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39900         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39901         unaligned path.
39903 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39905         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39906         little endian.
39908 2015-02-12  Andreas Schwab  <schwab@suse.de>
39910         [BZ #15790]
39911         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39912         Filter out elision flags from value returned in kind.
39913         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39914         * nptl/tst-pthread-mutexattr.c: New file.
39916 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39918         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39919         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39920         into gnu-gnu, and update comment to refer to abi-tags.
39922 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39924         [BZ #15467]
39925         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39926         (__sincos): Set errno to EDOM for infinite argument.
39927         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39928         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39929         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39930         (__sincosl): Set errno to EDOM for infinite argument.
39931         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39932         (__sincosl): Set errno to EDOM for infinite argument.
39933         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39934         (__sincosl): Set errno to EDOM for infinite argument.
39935         * math/libm-test.inc (sincos_test_data): Test errno setting.
39937 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39939         * string/strxfrm_l.c: Remove #define STRCMP.
39940         * string/strcoll_l.c: Remove #define STRLEN.
39941         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39942         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39944 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39946         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39947         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39948         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39949         * sysdeps/mips/mips64/Makefile: ... here.
39950         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39951         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39952         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39953         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39954         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39955         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39956         * sysdeps/mips/mips64/n64/Implies: Likewise.
39958 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39960         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39961         <sys/time.h>, <string.h>, and <errno.h>.
39962         (dest_offset, dest_address, value, zero): Remove unused variables.
39963         (ldouble): Remove typedef.
39964         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39965         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39966         1).  Fix code style.
39967         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39968         (check): Function removed.
39969         (CHECK): New macro.
39970         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39971         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39972         Don't call set_sigaction_FP and remove_sigaction_FP here.
39973         (ldouble_test): Just use 'long double' as macro argument, no need for
39974         the 'ldouble' typedef.
39975         (do_test): Set up SIGFPE handler at start, using plain signal rather
39976         than sigaction.  Fix code style.
39978 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39980         [BZ #17949]
39981         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39982         jump label.
39984 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39986         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39987         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39989         * sysdeps/powerpc/configure.ac: Remove file.
39990         * sysdeps/powerpc/configure: Likewise.
39992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39993         [sysdep_routines]: Remove wordcopy-power6 object.
39994         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39995         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39996         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39997         (__memmove_ppc32): Likewise.
39998         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39999         file.
40000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40002         Remove preprocessor.
40004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40005         [sysdep_routines]: Remove wide chars objects.
40006         [wcsmbs]: New rule for wide char objects.
40008         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40009         Remove wordcopy-power6 obejct.
40010         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40011         Use local call for wordcopy and memcpy symbols.
40012         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40013         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40014         implementation for loader.
40015         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40018         Remove wordcopy-power7 object.
40019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40021         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40022         (_wordcopy_fwd_dest_aligned): Likewise.
40023         (_wordcopy_bwd_aligned): Likewise.
40024         (_wordcopy_bwd_dest_aligned): Likewise.
40026         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40027         Rewrite to call __memmove_ppc instead of include default
40028         implementation.
40030         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40031         Remove wide chars objects.
40032         [wcsmbs]: New rule for wide char objects.
40034 2015-02-09  Andreas Schwab  <schwab@suse.de>
40036         [BZ #17912]
40037         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40038         in terms of __O_DIRECTORY.
40040 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40042         * time/getdate.c: Include <stdbool.h>.
40043         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40044         call PTR_MANGLE.
40045         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40046         PTR_DEMANGLE.
40048 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40050         Add ersatz _Static_assert on older C hosts
40051         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40052         pre-C11 C platform that is not known to support _Static_assert.
40054 2015-02-07  Richard Braun  <rbraun@sceen.net>
40056         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40057         sigstate.
40058         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40060 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40062         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40063         priority against unexistent AIO_PRIO_DELTA_MAX.
40064         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40065         instead of int.
40066         * misc/fchflags.c (fchflags): Likewise.
40067         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40068         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40069         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40070         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40071         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40072         Declare macros.
40073         [__USE_MISC] (chflags, fchflags): Declare functions.
40074         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40075         EINVAL when nfds is greater than FD_SETSIZE.
40076         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40077         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40078         45.
40079         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40080         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40081         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40082         MACH_RCV_TIMED_OUT.
40083         * hurd/hurd/signal.h (_hurd_self_sigstate,
40084         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40085         Explicit casts from void *.
40086         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40087         * abi-tags: Rename gnu-gnu os into gnu.
40089         [BZ #4719]
40090         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40091         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40092         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40093         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40094         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40095         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40097         [BZ #17944]
40098         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40099         duplicates ADDR->sun_path with sockaddr LEN limitation.
40100         * sysdeps/mach/hurd/connect.c: Include <string.h>
40101         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40102         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40103         * sysdeps/mach/hurd/sendto.c: Likewise.
40104         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40105         implementing it by hand.
40107 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40109         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40110         Use sfi_breg on ldr.
40111         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40112         Likewise.
40114         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40115         it's defined.
40116         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40117         Test SIGSETXID only if it's defined.
40119         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40121         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40122         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40124         * nptl/tst-align2.c: Moved ...
40125         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40126         * nptl/Makefile (tests): Remove tst-align2.
40127         * sysdeps/unix/sysv/linux/Makefile
40128         [$(subdir) = nptl] (tests): Add tst-align-clone.
40129         * nptl/tst-getpid1.c: Moved ...
40130         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40131         * nptl/tst-getpid2.c: Moved ...
40132         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40133         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40134         * sysdeps/unix/sysv/linux/Makefile
40135         [$(subdir) = nptl] (tests): ... here.
40136         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40137         * sysdeps/unix/sysv/linux/Makefile
40138         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40140         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40141         Drop trailing \n from perror argument.  Use return rather than exit.
40143         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40144         on [SA_SIGINFO].
40145         * nptl/tst-cancel21.c (do_test): Likewise.
40146         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40147         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40148         [!SA_SIGINFO]: Make it a stub test.
40150         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40151         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40153         * posix/tst-getlogin.c: Move to ...
40154         * login/tst-getlogin.c: ... here.
40155         * posix/Makefile (tests): Move tst-getlogin to ...
40156         * login/Makefile (tests): ... here.
40158         * libio/tst-atime.c (do_test): Move local variables SV and E
40159         inside [ST_NOATIME] conditional.
40161         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40163         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40165         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40166         (wait_code): New function replaces macro.
40167         Call nanosleep rather than syscall.
40169         * nptl/pt-system.c: Rewritten.  Put everything under
40170         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40171         Use IFUNC to redirect when possible.
40173         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40174         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40175         Use IFUNC to redirect when possible.
40177         * nptl/pt-fork.c: Rewritten.  Put everything under
40178         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40179         Use IFUNC to redirect when possible.
40180         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40182         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40183         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40184         unconditionally nowadays.  This included the only reference to
40185         __vdso_clock_gettime that appears outside libc proper.
40186         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40187         Remove version set (containing only __vdso_clock_gettime).
40188         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40189         Add attribute_hidden.
40190         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40191         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40192         libc_hidden_data_def.
40193         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40194         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40196         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40197         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40198         setrpcent, and getrpcport to ...
40199         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40200         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40201         getrpcbynumber_r, and getrpcent_r to ...
40202         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40203         * inet/getrpcbyname.c: Moved ...
40204         * sunrpc/getrpcbyname.c: ... here.
40205         * inet/getrpcbyname_r.c: Moved ...
40206         * sunrpc/getrpcbyname_r.c: ... here.
40207         * inet/getrpcbynumber.c: Moved ...
40208         * sunrpc/getrpcbynumber.c: ... here.
40209         * inet/getrpcbynumber_r.c: Moved ...
40210         * sunrpc/getrpcbynumber_r.c: ... here.
40211         * inet/getrpcent.c: Moved ...
40212         * sunrpc/getrpcent.c: ... here.
40213         * inet/getrpcent_r.c: Moved ...
40214         * sunrpc/getrpcent_r.c: ... here.
40215         * inet/Makefile (routines): Move those to ...
40216         * sunrpc/Makefile (routines): ... here.
40217         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40218         the $(subdirs) list.
40219         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40220         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40221         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40222         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40224         * elf/Makefile (routines): Include $(all-dl-routines), not just
40225         $(dl-routines).
40226         (rtld-routines): Likewise.  Use = rather than :=.
40227         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40228         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40229         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40230         * sysdeps/arm/Makefile: Likewise.
40231         * sysdeps/i386/Makefile: Likewise.
40232         * sysdeps/x86_64/Makefile: Likewise.
40233         * sysdeps/hppa/Makefile [$(subdir) = elf]
40234         (sysdep_routines, sysdep-rtld-routines): Don't add
40235         $(sysdep-dl-routines) to these.
40236         * sysdeps/ia64/Makefile: Likewise.
40237         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40238         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40239         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40240         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40241         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40242         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40243         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40244         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40245         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40246         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40247         these; sysdep-dl-routines alone is enough.
40249 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40251         [BZ #17932]
40252         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40253         where multiplication results in zero and third argument is finite
40254         and nonzero.
40255         * math/auto-libm-test-in: Add more tests of fma.
40256         * math/auto-libm-test-out: Regenerated.
40258         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40259         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40260         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40261         (_FP_CMP_EQ): Likewise.
40262         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40264         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40265         extra argument CHECK_NAN.  Redefine as wrapper around
40266         _FP_EXTEND_CNAN.
40268 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40270         * version.h (RELEASE): Set to "stable".
40271         (VERSION): Set to "2.21"
40272         * include/features.h (__GLIBC_MINOR__): Set to 21.
40274         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40276 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40277             Paul Eggert  <eggert@cs.ucla.edu>
40279         [BZ #16618]
40280         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40281         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40282         size in bytes. Store needed elements in wpmax. Use needed size
40283         in bytes for extend_alloca.
40285 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40287         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40288         binutls 2.25, and texinfo 5.2.
40289         * INSTALL: Regenerate.
40290         * sysdeps/nios2/configure: Regenerate.
40291         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40292         * manual/contrib.texi: Update.
40293         * po/be.po: Update.
40294         * po/bg.po: Update.
40295         * po/ca.po: Update.
40296         * po/cs.po: Update.
40297         * po/da.po: Update.
40298         * po/de.po: Update.
40299         * po/el.po: Update.
40300         * po/eo.po: Update.
40301         * po/es.po: Update.
40302         * po/fi.po: Update.
40303         * po/fr.po: Update.
40304         * po/gl.po: Update.
40305         * po/hr.po: Update.
40306         * po/hu.po: Update.
40307         * po/ia.po: Update.
40308         * po/id.po: Update.
40309         * po/it.po: Update.
40310         * po/ja.po: Update.
40311         * po/ko.po: Update.
40312         * po/lt.po: Update.
40313         * po/nb.po: Update.
40314         * po/nl.po: Update.
40315         * po/pl.po: Update.
40316         * po/pt_BR.po: Update.
40317         * po/ru.po: Update.
40318         * po/rw.po: Update.
40319         * po/sk.po: Update.
40320         * po/sl.po: Update.
40321         * po/sv.po: Update.
40322         * po/tr.po: Update.
40323         * po/uk.po: Update.
40324         * po/vi.po: Update.
40325         * po/zh_CN.po: Update.
40326         * po/zh_TW.po: Update.
40328         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40329         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40330         * sysdeps/hppa/dl-irel.h: Remove #warning.
40331         * sysdeps/hppa/entry.h: Provide prototype for
40332         __canonicalize_funcptr_for_compare and cast argument.
40333         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40334         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40335         * sysdeps/hppa/sotruss-lib.c: New file.
40336         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40337         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40338         (atomic_compare_and_exchange_bool_acq): Likewise.
40339         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40340         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40342         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40343         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40344         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40346 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40348         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40349         called function in non-PIC case.
40351 2015-01-31  David S. Miller  <davem@davemloft.net>
40353         * sysdeps/sparc/sparc32/bits/atomic.h
40354         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40355         unlock not after it.
40356         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40357         volatile register usage warnings from the compiler.
40359         * sysdeps/sparc/nptl/sem_init.c: Delete.
40360         * sysdeps/sparc/nptl/sem_post.c: Delete.
40361         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40362         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40363         * sysdeps/sparc/sparc32/sem_init.c: New file.
40364         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40365         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40366         padding explicitly initialized.
40367         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40368         padding for in-semaphore spinlock.
40369         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40370         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40371         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40372         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40373         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40374         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40375         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40376         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40377         version.
40378         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40379         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40381 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40383         [BZ #17801]
40384         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40385         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40386         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40387         New.
40388         (index_AVX_Fast_Unaligned_Load): Likewise.
40389         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40390         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40391         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40392         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40393         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40394         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40395         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40396         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40397         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40399 2015-01-29  Andreas Schwab  <schwab@suse.de>
40401         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40403 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40405         [BZ #17892]
40406         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40408 2015-01-28  Martin Sebor  <msebor@redhat.com>
40410         * math/README.libm-test: Clarify. Add "How to read the test output."
40412 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40414         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40415         Define to 0.
40417 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40419         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40420         (__HAVE_64B_ATOMICS): Define to 0.
40422 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40424         [BZ #17885]
40425         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40426         value to set as new flag.
40428         [BZ #16576]
40429         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40430         and use _ARCH_PPCSQ instead.
40431         (__ieee754_sqrt): Likewise.
40432         (__ieee754_sqrtf): Likewise.
40433         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40434         _ARCH_PPCSQ is defined.
40435         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40436         fsqrt instruction.
40437         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40438         _ARCH_PPCSQ is defined.
40439         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40440         fsqrts instruction.
40441         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40443 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40445         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40446         bug (GCC BZ #64739).
40448 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40450         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40451         Mark _retval as used.
40452         (lll_futex_wake_unlock): Likewise.
40453         (lll_futex_timed_wait_requeue_pi): Likewise.
40455         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40456         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40457         register variables.
40459         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40460         libm_hidden_def.
40462         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40463         (__bswap_64): Mark as __always_inline.
40465 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40467         [BZ #15378]
40468         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40469         when none of the search directories exist.
40471 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40473         [BZ #17869]
40474         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40475         power8 in .machine directive.
40477         [BZ #17868]
40478         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40479         set dependency from opd value.
40481 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40484         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40485         architecture.
40487 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40489         [BZ #17870]
40490         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40491         with uint64_t.
40492         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40493         (uint64_t) 1.
40494         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40495         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40496         Replace 1UL with (uint64_t) 1.
40497         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40498         int with uint64_t.
40500 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40502         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40503         (if_freenameindex): Likewise.
40505         * resource/getrlimit64.c: Add missing libc_hidden_def.
40507 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40509         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40510         __label__.
40511         (_FP_FMA): Likewise.
40512         (_FP_TO_INT_ROUND): Likewise.
40513         (_FP_FROM_INT): Likewise.
40515 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40517         [BZ #16418]
40518         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40519         Make code racy and cancel safe.
40521 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40523         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40524         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40525         attribution.
40527         * pwd/tst-getpw.c: Rewrite.
40529         [BZ #17702]
40530         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40531         (modules-names): Add moddummy1 and moddummy2.
40532         ($(objpfx)tst-rec-dlopen): Define.
40533         * dlfcn/moddummy1.c: New file.
40534         * dlfcn/moddummy2.c: New file.
40535         * dlfcn/tst-rec-dlopen.c: New file.
40536         * elf/dl-cache.c (_dl_load_cache_lookup):
40537         Return char*. Copy result with alloca/strcpy/strdup.
40538         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40539         returns char*. Free cached. If not saving realname
40540         free cached.
40541         * elf/dl-open.c (dl_open_worker): Do not assert that
40542         _r_debug->r_state is RT_CONSISTENT.
40543         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40544         returns char*.
40546 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40547             Carlos O'Donell  <carlos@redhat.com>
40549         [BZ #12674]
40550         * nptl/sem_waitcommon.c: New file.
40551         * nptl/sem_wait.c: Include sem_waitcommon.c.
40552         (__sem_wait_cleanup, do_futex_wait): Remove.
40553         (__new_sem_wait): Adapt.
40554         (__new_sem_trywait): New function.
40555         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40556         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40557         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40558         (sem_timedwait): Adapt.
40559         * nptl/sem_post.c (__new_sem_post): Adapt.
40560         (futex_wake): New function.
40561         (__old_sem_post): Add release MO fence.
40562         * nptl/sem_open.c (sem_open): Adapt.
40563         * nptl/sem_init.c (__new_sem_init): Adapt.
40564         (futex_private_if_supported): New function.
40565         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40566         (__old_sem_getvalue): Add using previous code.
40567         * sysdeps/nptl/internaltypes.h: Adapt.
40568         * nptl/tst-sem13.c (do_test): Adapt.
40569         * nptl/tst-sem11.c (main): Adapt.
40570         * nptl/sem_trywait.c: Remove.
40571         * nptl/DESIGN-sem.txt: Remove.
40572         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40573         (gen-as-const-headers): Remove structsem.sym.
40574         * nptl/structsem.sym: Remove.
40575         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40576         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40577         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40578         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40579         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40580         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40581         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40582         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40583         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40584         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40585         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40586         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40587         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40588         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40589         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40590         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40591         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40592         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40593         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40594         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40595         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40596         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40598 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40600         * INSTALL: Regenerated.
40602         * po/libc.pot: Regenerated.
40604 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40605             Sandra Loosemore  <sandra@codesourcery.com>
40606             Andrew Jenner  <andrew@codesourcery.com>
40607             Joseph Myers  <joseph@codesourcery.com>
40608             Nathan Sidwell  <nathan@codesourcery.com>
40610         * NEWS: Mention new Nios II port.
40611         * sysdeps/nios2/Implies: New file.
40612         * sysdeps/nios2/Makefile: New file.
40613         * sysdeps/nios2/Subdirs: New file.
40614         * sysdeps/nios2/Versions: New file.
40615         * sysdeps/nios2/__longjmp.S: New file.
40616         * sysdeps/nios2/abort-instr.h: New file.
40617         * sysdeps/nios2/backtrace.c: New file.
40618         * sysdeps/nios2/bits/endian.h: New file.
40619         * sysdeps/nios2/bits/fenv.h: New file.
40620         * sysdeps/nios2/bits/link.h: New file.
40621         * sysdeps/nios2/bits/setjmp.h: New file.
40622         * sysdeps/nios2/bsd-_setjmp.S: New file.
40623         * sysdeps/nios2/bsd-setjmp.S: New file.
40624         * sysdeps/nios2/configure: New generated file.
40625         * sysdeps/nios2/configure.ac: New file.
40626         * sysdeps/nios2/crti.S: New file.
40627         * sysdeps/nios2/crtn.S: New file.
40628         * sysdeps/nios2/dl-init.c: New file.
40629         * sysdeps/nios2/dl-machine.h: New file.
40630         * sysdeps/nios2/dl-sysdep.h: New file.
40631         * sysdeps/nios2/dl-tls.h: New file.
40632         * sysdeps/nios2/dl-trampoline.S: New file.
40633         * sysdeps/nios2/gccframe.h: New file.
40634         * sysdeps/nios2/gmp-mparam.h: New file.
40635         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40636         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40637         * sysdeps/nios2/ldsodefs.h: New file.
40638         * sysdeps/nios2/libc-tls.c: New file.
40639         * sysdeps/nios2/libm-test-ulps: New file.
40640         * sysdeps/nios2/machine-gmon.h: New file.
40641         * sysdeps/nios2/math-tests.h: New file.
40642         * sysdeps/nios2/math_private.h: New file.
40643         * sysdeps/nios2/memusage.h: New file.
40644         * sysdeps/nios2/nptl/Makefile: New file.
40645         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40646         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40647         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40648         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40649         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40650         * sysdeps/nios2/nptl/tls.h: New file.
40651         * sysdeps/nios2/preconfigure: New file.
40652         * sysdeps/nios2/s_fma.c: New file.
40653         * sysdeps/nios2/s_fmaf.c: New file.
40654         * sysdeps/nios2/setjmp.S: New file.
40655         * sysdeps/nios2/sfp-machine.h: New file.
40656         * sysdeps/nios2/sotruss-lib.c: New file.
40657         * sysdeps/nios2/stackguard-macros.h: New file.
40658         * sysdeps/nios2/stackinfo.h: New file.
40659         * sysdeps/nios2/start.S: New file.
40660         * sysdeps/nios2/sysdep.h: New file.
40661         * sysdeps/nios2/tls-macros.h: New file.
40662         * sysdeps/nios2/tst-audit.h: New file.
40663         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40664         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40665         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40666         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40667         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40668         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40669         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40670         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40671         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40672         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40673         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40674         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40675         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40676         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40677         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40678         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40679         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40680         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40681         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40682         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40683         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40684         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40685         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40686         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40687         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40688         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40689         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40690         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40691         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40692         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40693         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40694         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40695         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40696         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40697         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40698         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40699         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40700         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40701         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40702         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40703         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40704         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40705         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40706         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40708 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40710         [BZ #17844]
40711         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40712         (getutent): Use weak_alias in non SHARED case
40713         and default_symbol_version in SHARED case.
40714         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40715         (getutent_r, pututline): Likewise.
40716         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40717         (getutid): Likewise.
40718         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40719         (getutid_r): Likewise.
40720         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40721         (getutline): Likewise.
40722         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40723         (getutline_r): Likewise.
40724         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40725         (updwtmp): Likewise.
40727 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40729         [BZ #17848]
40730         * sysdeps/s390/s390-32/memcmp.S
40731         (memcmp_g5): Rename to __memcmp_g5.
40732         * sysdeps/s390/s390-32/memcpy.S
40733         (memcpy_g5): Rename to __memcpy_g5.
40734         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40735         (memcpy_mvcle) Rename to __memcpy_mvcle.
40736         * sysdeps/s390/s390-32/memset.S
40737         (memset_g5): Rename to __memset_g5.
40738         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40739         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40740         and use prefixed functions.
40741         * sysdeps/s390/s390-32/multiarch/memcmp.S
40742         (memcmp_z196): Rename to __memcmp_z196.
40743         (memcmp_z10): Rename to __memcmp_z10.
40744         (memcmp): Set alias to __memcmp_g5.
40745         (bcmp): Set alias to __memcmp_g5.
40746         * sysdeps/s390/s390-32/multiarch/memcpy.S
40747         (memcpy_z196): Rename to __memcpy_z196.
40748         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40749         (memcpy_z10): Rename to __memcpy_z10.
40750         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40751         (memcpy): Set alias to __memcpy_g5.
40752         * sysdeps/s390/s390-32/multiarch/memset.S
40753         (memset_z196): Rename to __memset_z196.
40754         Jump to __memset_mvcle instead of memset_mvcle.
40755         (memset_z10): Rename to __memset_z10.
40756         Jump to __memset_mvcle instead of memset_mvcle.
40757         (memset_mvcle) Rename to __memset_mvcle.
40758         (memset): Set alias to __memset_g5.
40759         * sysdeps/s390/s390-64/memcmp.S
40760         (memcmp_z900): Rename to __memcmp_z900.
40761         * sysdeps/s390/s390-64/memcpy.S
40762         (memcpy_z900): Rename to __memcpy_z900.
40763         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40764         (memcpy_mvcle) Rename to __memcpy_mvcle.
40765         * sysdeps/s390/s390-64/memset.S
40766         (memset_z900): Rename to __memset_z900.
40767         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40768         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40769         and use prefixed functions.
40770         * sysdeps/s390/s390-64/multiarch/memcmp.S
40771         (memcmp_z196): Rename to __memcmp_z196.
40772         (memcmp_z10): Rename to __memcmp_z10.
40773         (memcmp): Set alias to __memcmp_z900.
40774         (bcmp): Set alias to __memcmp_z900.
40775         * sysdeps/s390/s390-64/multiarch/memcpy.S
40776         (memcpy_z196): Rename to __memcpy_z196.
40777         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40778         (memcpy_z10): Rename to __memcpy_z10.
40779         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40780         (memcpy): Set alias to __memcpy_z900.
40781         * sysdeps/s390/s390-64/multiarch/memset.S
40782         (memset_z196): Rename to __memset_z196.
40783         Jump to __memset_mvcle instead of memset_mvcle.
40784         (memset_z10): Rename to __memset_z10.
40785         Jump to __memset_mvcle instead of memset_mvcle.
40786         (memset_mvcle) Rename to __memset_mvcle.
40787         (memset): Set alias to __memset_z900.
40789 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40791         [BZ #17748]
40792         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40793         __fesetenv instead of fesetenv.
40795 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40797         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40798         macro.
40800 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40802         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40803         regression on LE.
40805         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40806         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40808         strncmp-power8 object.
40809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40810         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40811         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40812         * NEWS: Update.
40814 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40815             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40817         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40818         trailing byte check.
40820 2015-01-13  David S. Miller  <davem@davemloft.net>
40822         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40824 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40826         * login/logout.c (logout): Use memset rather than bzero.
40827         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40828         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40829         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40830         (_gethtbyaddr): Likewise.
40831         * locale/programs/simple-hash.c (bcopy): Macro removed.
40833 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40835         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40836         Add strcmp-power8 object.
40837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40838         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40839         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40840         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40841         __strcmp_power8 implementation.
40842         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40843         * NEWS: Update.
40845         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40846         Add strncpy-power8 and stpncpy-power8 objects.
40847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40848         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40849         implementations.
40850         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40851         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40852         __stpncpy_power8 implementation.
40853         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40854         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40855         __strncpy_power8 implementation.
40856         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40857         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40858         * NEWS: Update.
40860         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40861         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40862         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40865         strncat-power8 object.
40866         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40867         __strcat_power8 implementation.
40868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40869         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40870         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40871         optimized strcat for power8.
40873         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40874         strcpy-power8 and stpcpy-power8 objects.
40875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40876         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40877         implementations.
40878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40879         multiarch stpcpy implementation for POWER8.
40880         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40881         multiarch strcpy implementation for POWER8.
40882         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40883         __strcpy_power8 function.
40884         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40885         stpcpy for POWER8.
40886         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40887         strcpy for POWER8.
40888         * NEWS: Update.
40890 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40892         [BZ #16009]
40893         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40894         weights and rules. Use do_xfrm_cached if data fits in cache,
40895         do_xfrm otherwise.  Moved former main loop to...
40896         * (do_xfrm_cached): New function.
40897         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40898         find_idx, find_position and stack_push.
40899         * (find_idx): New function.
40900         * (find_position): Likewise.
40901         * localedata/sort-test.sh: Added test run for do_xfrm.
40902         * localedata/xfrm-test.c (main): Added command line option
40903         -nocache to run the test with strings that are too large for
40904         the STRXFRM cache.
40906 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40908         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40909         variable to lll_futex_wake call, not the value itself.
40911 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40913         [BZ #17803]
40914         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40915         twom64.  Adjust value to 0x1p-64L.
40916         (__scalblnl): Only return standard underflowing result for K <=
40917         -64 not K <= -63; adjust exponent for underflowing result by 64
40918         not 63.
40919         * math/libm-test.inc (scalbn_test_data): Add more tests.
40920         (scalbln_test_data): Likewise.
40922         [BZ #17834]
40923         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40924         0x1p63L.
40925         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40926         not HX.
40927         * math/libm-test.inc (scalbn_test_data): Add more tests.
40928         (scalbln_test_data): Likewise.
40930 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40931             Stefani Seibold  <stefani@seibold.net>
40933         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40934         (sysdep_routines): Add dl-vdso here, ...
40935         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40936         (sysdep_routines): ... not here.
40937         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40938         fallback when vDSO is not presented.
40939         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40940         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40941         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40942         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40943         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40944         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40945         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40946         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40947         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40948         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40949         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40950         fallback configurable symbol when vDSO is not available.
40951         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40952         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40953         be able to redefine fallback symbol when vDSO is not available.
40954         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40955         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40957 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40959         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40960         (TLS_INIT_TP): Add tm_capable initialization.
40961         (TLS_DEFINE_INIT_TP): Likewise.
40962         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40963         TCB.
40964         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40965         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40966         calculation.
40967         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40968         transactoion is lock elision is built and TCB tm_capable is set.
40969         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40971         (INTERNAL_SYSCALL_NCS): Likewise.
40972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40973         (INTERNAL_SYSCALL_NCS): Likewise.
40974         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40976         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40977         for powerpc.
40978         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40979         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40980         and remove it for 32 bits case.
40981         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40983         initialization.
40984         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40985         Disable lock elision with rdlocks if elision is not available.
40987         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40988         (sysdep_routines): Add lock elision objects.
40989         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40990         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40991         [pthread_mutex_t] (__elision): Add field.
40992         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40993         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40994         elision definitions for powerpc.
40995         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40996         implementation of lock elision for powerpc.
40997         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40998         implementation of timed lock elision for powerpc.
40999         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41000         implementation of trylock with lock elision for powerpc.
41001         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41002         implementaion of unlock for lock elision for powerpc.
41003         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41004         automatic enable lock elision for mutexes.
41005         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41006         transaction execution definitions for powerpc.
41007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41008         definitions.
41009         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41010         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41011         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41012         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41013         * NEWS: Update.
41015 2015-01-09  Roland McGrath  <roland@hack.frob.com>
41017         * sysdeps/posix/shm-directory.c: Use <> rather than ""
41018         for #include of <shm-directory.h>.
41020 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
41022         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41023         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41025 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
41027         [BZ #17791]
41028         * NEWS: Mention bug fix.
41029         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41030         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41031         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41033 2015-01-09  Torvald Riegel <triegel@redhat.com>
41035         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41037 2015-01-09  Torvald Riegel <triegel@redhat.com>
41039         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41041 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41043         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41044         pointer and cast to uintptr_t.
41046 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41048         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41049         removed.
41050         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41052 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41054         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41055         of 0.
41057 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41059         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41060         <nptl/pthreadP.h> instead.
41061         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41063         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41064         already defined.
41065         [__SIGRTMIN] (init): Function removed.
41066         [__SIGRTMIN] (initialized): Variable removed.
41067         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41068         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41069         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41070         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41071         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41072         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41073         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41074         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41075         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41076         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41077         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41078         * sysdeps/nptl/allocrtsig.c: New file.
41079         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41080         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41081         * sysdeps/generic/testrtsig.h: File removed.
41083         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41084         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41086         * nptl/nptl-init.c (pthread_functions): Conditionalize
41087         .ptr__nptl_setxid initialization on [SIGSETXID].
41089         * sysdeps/nptl/sys/procfs.h: New file.
41090         * nptl_db/Makefile (headers): Add it.
41091         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41093         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41094         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41095         * nptl/pthread_attr_setaffinity.c: Include it.
41096         * nptl/pthread_setattr_default_np.c: Likewise.
41097         * nptl/check-cpuset.h: New file.
41099 2015-01-08  Richard Henderson  <rth@redhat.com>
41101         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41102         (CFLAGS-tst-execstack-prog.c): Likewise.
41103         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41105 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41106             Sandra Loosemore  <sandra@codesourcery.com>
41107             Andrew Jenner  <andrew@codesourcery.com>
41108             Joseph Myers  <joseph@codesourcery.com>
41109             Nathan Sidwell  <nathan@codesourcery.com>
41111         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41112         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41113         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41114         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41115         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41116         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41117         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41118         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41119         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41120         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41121         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41122         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41123         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41124         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41125         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41126         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41127         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41129 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41131         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41132         timespec struct member in syscall macro.
41133         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41134         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41135         first timeval struct member in syscall macro.
41136         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41138 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41140         [BZ #17748]
41141         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41142         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41143         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41144         __feupdateenv and define as weak alias of __feupdateenv.  Use
41145         libm_hidden_weak.
41146         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41147         libm_hidden_def.
41148         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41149         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41150         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41151         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41152         libm_hidden_def.
41153         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41154         __feupdateenv and define as weak alias of __feupdateenv.  Use
41155         libm_hidden_weak.
41156         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41157         libm_hidden_def.
41158         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41159         __feupdateenv and define as weak alias of __feupdateenv.  Use
41160         libm_hidden_weak.
41161         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41162         libm_hidden_def.
41163         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41164         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41165         (__feupdateenv): Likewise.
41166         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41167         __feupdateenv and define as weak alias of __feupdateenv.  Use
41168         libm_hidden_weak.
41169         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41170         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41171         libm_hidden_def.
41172         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41173         function.
41174         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41175         libm_hidden_def.
41176         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41177         __feupdateenv instead of feupdateenv.
41178         (default_libc_feupdateenv_test): Likewise.
41179         (libc_feresetround_ctx): Likewise.
41181 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41183         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41184         prototype.
41186 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41188         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41189         COLL_SYM in a couple of places to avoid uninitialized variable
41190         wanings on tilegx gcc 4.8.2.
41192 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41194         * sysdeps/aarch64/strcpy.S: New file.
41195         * sysdeps/aarch64/stpcpy.S: New file.
41196         * NEWS: Updated.
41198 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41200         * sysdeps/aarch64/strrchr.S: New file.
41201         * NEWS: Updated.
41203 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41205         [BZ #17658]
41206         * stdlib/setenv.c: Fix memory leak when setting large,
41207         duplicate string.
41209 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41211         [BZ #17273]
41212         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41213         and tabs from buffer before parsing fstab entry.
41214         * misc/tst-mntent.c (main): Add test for mount entry with
41215         trailing spaces and tabs.
41217 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41219         [BZ #17748]
41220         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41221         * math/fesetround.c (fesetround): Rename to __fesetround and
41222         define as weak alias of __fesetround.  Use libm_hidden_weak.
41223         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41224         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41225         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41226         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41227         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41228         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41229         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41230         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41231         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41232         __fesetround_inline.
41233         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41234         __fesetround_inline instead of __fesetround.
41235         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41236         __fesetround and define as weak alias of __fesetround.  Use
41237         libm_hidden_weak.  Call __fesetround_inline instead of
41238         __fesetround.
41239         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41240         __fesetround and define as weak alias of __fesetround.  Use
41241         libm_hidden_weak.
41242         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41243         Likewise.
41244         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41245         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41246         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41247         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41248         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41249         __fesetround and define as weak alias of __fesetround.  Use
41250         libm_hidden_weak.
41251         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41252         __fesetround instead of fesetround.
41253         (default_libc_feholdexcept_setround): Likewise.
41254         (libc_feholdsetround_ctx): Likewise.
41255         (libc_feholdsetround_noex_ctx): Likewise.
41257         [BZ #17748]
41258         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41259         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41260         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41261         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41262         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41263         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41264         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41265         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41266         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41267         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41268         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41269         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41270         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41271         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41272         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41273         libm_hidden_def.
41274         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41275         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41276         Likewise.
41277         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41278         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41279         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41280         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41281         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41282         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41283         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41284         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41285         __fesetenv instead of fesetenv.
41286         (libc_feresetround_noex_ctx): Likewise.
41287         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41288         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41289         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41290         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41291         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41292         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41293         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41294         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41295         (__feupdateenv): Likewise.
41296         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41297         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41298         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41299         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41301 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41303         [BZ #17806]
41304         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41305         addresses have been freed.
41307 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41309         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41310         and nservall.
41312 2015-01-06  Ondƙej BĂ­lka  <neleai@seznam.cz>
41314         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41315         Clean up check_pf allocation pattern. addresses
41317 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41319         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41320         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41321         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41322         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41323         * nptl/pthread_join.c (pthread_join): Likewise.
41324         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41325         * sysdeps/posix/waitid.c (__waitid): Likewise.
41326         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41327         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41328         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41329         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41331         Likewise.
41332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41333         (__libc_pread64): Likewise.
41334         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41335         (__libc_pwrite): Likewise.
41336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41337         (__libc_pwrite64): Likewsie.
41338         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41339         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41340         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41341         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41342         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41343         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41344         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41346         Likewise.
41347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41348         (__libc_pread64): Likewise.
41349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41350         Likewise.
41351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41352         (__libc_pwrite64): Likewise.
41353         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41354         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41355         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41356         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41357         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41358         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41359         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41360         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41361         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41362         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41363         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41364         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41365         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41366         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41367         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41368         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41369         Likewise.
41371 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41373         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41374         (CFLAGS-test-double.c): Likewise.
41375         (CFLAGS-test-ldouble.c): Likewise.
41376         (CPPFLAGS-test-ifloat.c): Likewise.
41377         (CPPFLAGS-test-idouble.c): Likewise.
41378         (CPPFLAGS-test-ildoubl.c): Likewise.
41379         (CFLAGS-test-test-fenv.c): Remove variable.
41380         (CFLAGS-test-misc.c): Likewise.
41382 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41384         [BZ #17797]
41385         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41386         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41387         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41388         CLOCKS_PER_SEC == 1000000.
41389         * time/clocktest.c (main): Replace %ld with %jd and cast to
41390         intmax_t.
41392 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41394         * sysdeps/generic/unwind-resume.h: New file.
41395         * sysdeps/gnu/unwind-resume.c: Include it.
41396         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41397         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41398         argument list.
41399         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41400         global rather than static.
41401         (_Unwind_Resume): Update user.
41402         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41403         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41404         rather than static.  Add __attribute__ ((cold)).
41405         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41406         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41407         * sysdeps/arm/arm-unwind-resume.S: New file.
41408         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41409         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41410         * sysdeps/arm/Makefile [$(subdir) = csu]
41411         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41412         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41413         Add rt-arm-unwind-resume.
41414         [$(subdir) = nptl]
41415         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41416         Add pt-arm-unwind-resume.
41417         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41418         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41420 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41422         [BZ #17748]
41423         * include/fenv.h (__feholdexcept): Declare.  Use
41424         libm_hidden_proto.
41425         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41426         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41427         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41428         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41429         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41430         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41431         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41432         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41433         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41434         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41435         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41436         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41437         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41438         (feholdexcept): Likewise.
41439         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41440         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41441         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41442         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41443         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41444         __feholdexcept instead of feholdexcept.
41445         (default_libc_feholdexcept_setround): Likewise.
41447 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41449         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41450         to avoid using stl/str to align destination.
41452 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41454         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41456 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41458         [BZ #17796]
41459         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41460         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41461         Define as weak alias not strong alias.
41463 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41465         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41466         bltzal with addiupc.
41467         (RTLD_START): Ditto.
41469 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41471         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41472         for __vdso_* functions in declarations.
41473         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41474         definitions.
41475         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41476         INTERNAL_VSYSCALL): Use struct return types to check for error.
41478         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41479         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41480         function with cast from llround().
41481         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41482         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41483         Define.
41485 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41487         [BZ #17793]
41488         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41489         Define as weak alias not strong alias.
41491         [BZ #17635]
41492         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41493         ...
41494         * ctype/ctype-extn.c: ... here.
41495         (__isblank_l): Move to ...
41496         * ctype/ctype-c99_l.c: ... here.  New file.
41497         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41498         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41499         Remove variable.
41500         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41501         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41502         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41503         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41504         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41506         [BZ #17777]
41507         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41508         (posix_fadvise64): Define as weak alias not strong alias.
41509         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41510         (posix_fallocate64): Likewise.
41511         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41512         Remove variable.
41513         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41514         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41515         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41516         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41517         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41519 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41521         [BZ #16191]
41522         * NEWS: Mention bug fix.
41523         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41524         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41525         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41526         (HOST_STACK_END_ADDR): Likewise.
41528 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41530         [BZ #17748]
41531         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41532         * math/fegetround.c (fegetround): Rename to __fegetround and
41533         define as weak alias of __fegetround.  Use libm_hidden_weak.
41534         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41535         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41536         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41537         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41538         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41539         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41540         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41541         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41542         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41543         Undefine after rather than before function definition; use
41544         parentheses around function name in definition.
41545         (__fegetround): Also undefine macro after function definition.
41546         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41547         __fegetround and define as weak alias of __fegetround.  Use
41548         libm_hidden_weak.  Do not undefine as macro.
41549         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41550         Likewise.
41551         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41552         __fegetround and define as weak alias of __fegetround.  Use
41553         libm_hidden_weak.
41554         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41555         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41556         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41557         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41558         __fegetround and define as weak alias of __fegetround.  Use
41559         libm_hidden_weak.
41560         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41561         __fegetround instead of fegetround.
41563         [BZ #17782]
41564         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41565         Condition macro definition on [__USE_MISC].
41567         [BZ #17781]
41568         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41569         (struct sigaction): Change type of sa_flags field to int.
41571         [BZ #17780]
41572         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41573         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41574         __glibc_reserved0.
41576         * nptl/version.c (banner): Use single year in copyright notice.
41578         * NEWS: Update copyright dates.
41579         * catgets/gencat.c (print_version): Likewise.
41580         * csu/version.c (banner): Likewise.
41581         * debug/catchsegv.sh: Likewise.
41582         * debug/pcprofiledump.c (print_version): Likewise.
41583         * debug/xtrace.sh (do_version): Likewise.
41584         * elf/ldconfig.c (print_version): Likewise.
41585         * elf/ldd.bash.in: Likewise.
41586         * elf/pldd.c (print_version): Likewise.
41587         * elf/sotruss.sh: Likewise.
41588         * elf/sprof.c (print_version): Likewise.
41589         * iconv/iconv_prog.c (print_version): Likewise.
41590         * iconv/iconvconfig.c (print_version): Likewise.
41591         * locale/programs/locale.c (print_version): Likewise.
41592         * locale/programs/localedef.c (print_version): Likewise.
41593         * login/programs/pt_chown.c (print_version): Likewise.
41594         * malloc/memusage.sh (do_version): Likewise.
41595         * malloc/memusagestat.c (print_version): Likewise.
41596         * malloc/mtrace.pl: Likewise.
41597         * manual/libc.texinfo: Likewise.
41598         * nptl/version.c (banner): Likewise.
41599         * nscd/nscd.c (print_version): Likewise.
41600         * nss/getent.c (print_version): Likewise.
41601         * nss/makedb.c (print_version): Likewise.
41602         * posix/getconf.c (main): Likewise.
41603         * scripts/test-installation.pl: Likewise.
41604         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41606 2015-01-02  Will Newton  <will.newton@linaro.org>
41608         * sysdeps/arm/armv7/configure: Removed.
41609         * sysdeps/arm/armv7/configure.ac: Likewise.
41611 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41613         * All files with FSF copyright notices: Update copyright dates
41614         using scripts/update-copyrights.
41615         * intl/plural.c: Regenerated.
41616         * locale/programs/charmap-kw.h: Likewise.
41617         * locale/programs/locfile-kw.h: Likewise.
41619 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41621         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41623 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41625         [BZ #17748]
41626         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41627         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41628         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41629         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41630         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41631         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41632         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41633         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41634         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41635         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41636         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41637         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41638         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41639         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41640         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41641         libm_hidden_def.
41642         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41643         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41644         Likewise.
41645         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41646         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41647         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41648         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41649         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41650         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41651         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41652         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41653         __fegetenv instead of fegetenv.
41654         (libc_feholdsetround_noex_ctx): Likewise.
41656 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41658         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41659         (Elf_MIPS_ABIFlags_v0): New structure.
41660         (EF_MIPS_FP64): Define.
41661         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41662         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41663         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41664         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41665         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41666         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41667         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41668         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41669         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41670         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41671         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41672         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41673         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41674         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41675         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41676         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41677         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41678         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41679         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41680         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41681         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41682         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41683         field.
41684         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41685         EF_MIPS_FP64.
41686         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41687         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41688         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41689         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41690         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41691         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41692         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41693         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41694         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41695         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41696         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41697         record the current FP ABI extension.
41698         (mips-mode-switch): Define to show if kernel headers support mode
41699         switching.
41700         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41701         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41702         supported SYSV ABI version to 3.
41703         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41704         feature.
41706 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41707             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41709         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41710         path.
41711         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41713 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41715         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41716         __fegetround and redefine to call __fegetround.  Remove condition
41717         on [!__NO_MATH_INLINES].
41718         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41719         function.
41720         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41721         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41722         Remove macro.
41723         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41724         instead of <fenv_libc.h>.
41725         (__llrintl): Call fegetround instead of __fegetround.
41726         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41727         instead of <fenv_libc.h>.
41728         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41729         (__lrintl): Call fegetround instead of __fegetround.
41730         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41731         instead of <fenv_libc.h>.
41732         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41733         (__rintl): Call fegetround instead of __fegetround.
41735 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41737         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41738         arrays.
41740 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41742         [BZ #17775]
41743         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41744         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41745         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41747 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41749         * sysdeps/i386/tls-macros.h: Include <features.h>.
41750         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41751         (TLS_IE): Likewise.
41752         (TLS_LD): Likewise.
41753         (TLS_GD): Likewise.
41754         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41755         define for GCC >= 5.0.
41757 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41759         * math/test-fenv.c (test_single_exception, set_single_exc,
41760         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41761         feexcp_mask_test, feenable_test, fe_single_test): Add
41762         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41763         case where they are not used.
41764         * math/libm-test.inc: Likewise.
41765         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41766         unused in the absence of FP rounding/exception support.
41767         * stdio-common/tst-printf-round.c: Likewise.
41768         * stdlib/tst-strtod-round.c: Likewise.
41769         * stdlib/tst-strtod-underflow.c: Likewise.
41771 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41773         [BZ #17723]
41774         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41775         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41776         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41777         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41778         libm_hidden_weak.
41779         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41780         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41781         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41782         libm_hidden_def.
41783         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41784         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41785         libm_hidden_weak.
41786         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41787         Likewise.
41788         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41789         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41790         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41791         libm_hidden_weak.
41792         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41793         libm_hidden_def.
41794         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41795         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41796         (__feraiseexcept): Likewise.
41797         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41798         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41799         libm_hidden_weak.
41800         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41801         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41802         libm_hidden_def.
41803         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41804         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41805         Use libm_hidden_def.
41806         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41807         libm_hidden_def.
41808         (feraiseexcept): Define as weak not strong alias.  Use
41809         libm_hidden_weak.
41810         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41811         New inline function.  Factored out of ...
41812         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41813         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41814         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41815         feraiseexcept.
41816         * math/w_acos.c (__acos): Likewise.
41817         * math/w_asin.c (__asin): Likewise.
41818         * math/w_ilogb.c (__ilogb): Likewise.
41819         * math/w_j0.c (y0): Likewise.
41820         * math/w_j1.c (y1): Likewise.
41821         * math/w_jn.c (yn): Likewise.
41822         * math/w_log.c (__log): Likewise.
41823         * math/w_log10.c (__log10): Likewise.
41824         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41825         * sysdeps/aarch64/fpu/math_private.h
41826         (libc_feupdateenv_test_aarch64): Likewise.
41827         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41828         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41829         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41830         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41831         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41832         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41833         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41834         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41835         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41836         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41838 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41840         [BZ #17732]
41841         * io/test-utime.c (main): Replace %ld with %jd and cast to
41842         intmax_t.
41843         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41844         * nptl/tst-mutex5.c: Include <stdint.h>.
41845         (do_test): Replace %ld with %jd and cast to intmax_t.
41846         * posix/tst-regex.c (run_test): Likewise.
41847         (run_test_backwards): Likewise.
41848         * rt/tst-clock.c: Include <stdint.h>.
41849         (clock_test): Replace %ld with %jd and cast to intmax_t.
41850         * rt/tst-cpuclock1.c: Include <stdint.h>.
41851         (do_test): Replace %lu with %ju and cast to uintmax_t.
41852         * rt/tst-cpuclock2.c: Include <stdint.h>.
41853         (do_test): Replace %lu with %ju and cast to uintmax_t.
41854         * rt/tst-mqueue1.c: Include <stdint.h>.
41855         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41856         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41857         intmax_t.
41858         * rt/tst-mqueue4.c (do_test): Likewise.
41859         * rt/tst-timer4.c: Include <stdint.h>.
41860         (check_ts): Replace %ld with %jd and cast to intmax_t.
41861         (do_test): Likewise.
41862         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41863         and cast to intmax_t.
41864         * sysdeps/pthread/tst-timer.c (main): Likewise.
41865         * time/clocktest.c (main): Likewise.
41866         * time/tst-posixtz.c (do_test): Likewise.
41867         * timezone/tst-timezone.c (main): Likewise.
41869 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41870             H.J. Lu  <hongjiu.lu@intel.com>
41872         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41873         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41874         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41875         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41876         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41877         version if bit_Fast_Unaligned_Load is set.
41878         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41879         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41880         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41881         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41882         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41883         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41884         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41885         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41886         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41887         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41888         to 4.
41889         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41890         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41891         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41892         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41894 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41896         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41897         instead of #if to avoid a Wundef warning.
41898         * stdlib/tst-limits.c (do_test): Likewise.
41900         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41901         parallel other exception macros.
41902         (fegetenv): Convert from macro to extern inline so that it applies
41903         retroactively to inline functions already seen by the compiler.
41904         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41906         * posix/Makefile (before-compile): Use $(objpfx) for
41907         posix-conf-vars-def.h.
41909 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41911         * posix/getconf.c (main): Use size_t for type of I.
41912         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41913         NSPEC.
41915         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41916         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41917         * posix/posix-envs.def: Likewise.
41918         * sysdeps/posix/sysconf.c: Likewise.
41919         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41920         (specs): Remove array.
41921         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41922         array.
41924         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41925         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41926         (__sysconf): Use CONF_IS_* macros.
41928         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41929         ($(objpfx)posix-conf-vars-def.h): New target.
41930         * posix/posix-conf-vars.list: New file.
41931         * posix/posix-conf-vars.h: New file.
41932         * posix/confstr.c: Include posix-conf-vars.h.
41933         (confstr): Use CONF_IS_* macros.
41934         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41935         CONF_IS_* macros.
41936         * scripts/gen-posix-conf-vars.awk: New file.
41938 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41940         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41941         fegetround): Add no-op macros to avoid linknamespace issues.
41943         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41944         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41946         * sysdeps/unix/sysv/linux/tile/sysdep.h
41947         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41948         assembly-specific section to avoid a redefinition warning.
41950         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41951         long before casting to pointer to avoid a cast warning.
41953 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41955         * sysdeps/tile/tilegx/Implies: New file.
41957 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41959         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41961 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41963         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41965 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41967         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41968         not define.
41969         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41970         <kernel-features.h>.
41971         (__utimes) [__NR_utimes]: Make code unconditional.
41972         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41973         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41974         (__ASSUME_UTIMES): Do not undefine.
41975         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41976         (__ASSUME_UTIMES): Likewise.
41977         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41978         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41979         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41980         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41982 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41984         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41986 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41988         [BZ #17747]
41989         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41990         alias to weak alias for j0l, y0l.
41991         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41992         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41994         [BZ #17746]
41995         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41996         conversion.
41998 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42000         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42001         to zero if not already defined.
42003 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42005         [BZ #17724]
42006         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42007         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
42008         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
42009         (char *) casts added.
42010         * sysdeps/ieee754/k_standardf.c: New file.
42011         * sysdeps/ieee754/k_standardl.c: Likewise.
42012         * math/Makefile (libm-support): Remove k_standard.
42013         (libm-calls): Add k_standard.
42015 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42017         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42018         Optimize to avoid an unnecessary FPCR read.
42020 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42022         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42023         Optimize to reduce FPCR/FPSR accesses.
42025 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42027         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42028         Call libc_fetestexcept_aarch64.
42030 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42032         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42033         Call libc_fesetround_aarch64.
42035 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42037         [BZ #17733]
42038         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42039         (__bind): Do not define as weak alias.
42040         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42041         define.
42042         (__getsockname): Do not define as weak alias.
42044 2014-12-22  Will Newton  <will.newton@linaro.org>
42046         * manual/install.texi: Document that we require bison 2.7
42047         or above.
42048         * INSTALL: Regenerate.
42049         * configure.ac: Use AC_CHECK_PROG_VER instead of
42050         AC_PATH_PROG when checking for bison and check for
42051         version 2.7 or above.
42052         * configure: Regenerate.
42054 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42056         [BZ #17745]
42057         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42058         * sysdeps/tile/ffsll.c (ffsll): To here.
42060         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42062 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42064         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42065         if not defined.
42066         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42067         definition.
42068         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42069         hidden ___tls_get_addr.
42070         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42071         hidden __tls_get_addr.
42072         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42073         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42074         Likewise.
42076 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42078         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42079         _dl_init call.
42081 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42083         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42084         from "call _dl_init@PLT".
42085         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42087 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42089         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42090         guarantees.
42092 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42094         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42096 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42098         [BZ #17744]
42099         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42100         strnlen.
42102 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42104         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42105         of multu on MIPSr6.
42106         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42107         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42108         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42109         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42110         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42112 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42114         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42115         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42116         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42117         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42118         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42119         mips32r6/mips64r6.
42120         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42122 2014-12-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
42124         * string/strncat.c (STRNCAT): Simplify implementation.
42126 2014-12-19  David S. Miller  <davem@davemloft.net>
42128         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42129         access the quad as both a long double and as a series of 4 words.
42131         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42132         link_map->l_info array access.
42134 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42136         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42138         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42139         * math/atest-exp2.c (TIMEOUT): Likewise.
42140         * math/atest-sincos.c (TIMEOUT): Likewise.
42142 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42144         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42145         -Wno-error with -fno-builtin-lround.
42147 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42149         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42150         Contains futex constants and functions moved over from ...
42151         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42152         <lowlevellock-futex.h>.
42153         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42154         (lll_timedwait_tid): Add comments and parentheses around macro
42155         arguments.
42157 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42159         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42160         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42161         (__lll_private_flag): Remove.
42162         (lll_futex_wait): Likewise.
42163         (lll_futex_timed_wait): Likewise.
42164         (lll_futex_wake): Likewise.
42165         (lll_futex_requeue): Likewise.
42166         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42167         (__lll_timedwait_tid): Spell out argument names.
42168         (lll_timedwait_tid): Add comments and parentheses around macro
42169         arguments.
42170         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42171         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42173 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42175         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42176         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42177         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42178         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42179         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42180         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42181         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42182         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42183         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42184         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42186         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42187         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42189         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42190         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42191         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42192         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42193         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42195 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42197         * sysdeps/x86_64/x32/Makefile: New file.
42199 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42201         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42202         1L with (mp_limb_t) 1.
42204 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42206         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42207         * nptl/libc_pthread_init.c: ... here.
42208         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42209         * nptl/register-atfork.c: ... here.
42211         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42212         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42213         Use assert_perror to check its return value.
42214         (__gai_create_helper_thread): Likewise.
42216         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42218         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42220 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42222         [BZ #17725]
42223         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42224         __profil_counter.
42225         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42226         Likewise.
42227         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42228         Likewise.
42229         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42230         Likewise.
42231         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42232         (profil_counter): Likewise.
42233         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42234         (profil_counter): Likewise.
42235         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42236         Likewise.
42237         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42238         Likewise.
42239         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42240         (profil_counter): Likewise.
42241         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42242         Likewise.
42243         [!__profil_counter] (profil_counter): Define as weak alias of
42244         __profil_counter.
42245         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42246         (profil_counter): Rename to __profil_counter.
42247         [!__profil_counter] (profil_counter): Define as weak alias of
42248         __profil_counter.
42249         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42250         (profil_counter): Rename to __profil_counter.
42251         [!__profil_counter] (profil_counter): Define as weak alias of
42252         __profil_counter.
42253         * sysdeps/posix/profil.c: Update comment referring to
42254         profil_counter.
42255         (__profil): Use __profil_counter instead of profil_counter.
42256         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42257         __profil_counter.  Use __profil_counter_ushort and
42258         __profil_counter_uint in definitions.
42259         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42260         instead of profil_counter_uint and profil_counter_ushort.
42262         [BZ #17722]
42263         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42264         define as weak alias of __inet_makeaddr.
42265         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42266         as weak alias of __inet_addr.
42267         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42268         as weak alias of __inet_pton.  Use libc_hidden_weak.
42269         * include/arpa/inet.h (__inet_pton): Declare.  Use
42270         libc_hidden_proto.
42271         (inet_makeaddr): Don't use libc_hidden_proto.
42272         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42273         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42274         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42275         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42276         Remove variable.
42277         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42278         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42280 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42282         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42284 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42286         * stdio-common/bug-vfprintf-nargs.c (do_test):
42287         Cast value to intptr_t to avoid format warning
42288         for usage with PRIdPTR printing macro.
42290 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42292         * libio/tst-widetext.c (do_test):
42293         Use format type %td instead of %Zd for ptrdiff_t
42294         in order to avoid format warning.
42296 2014-12-17  Andreas Schwab  <schwab@suse.de>
42298         * nscd/mem.c (gc): Add size_t cast to match printf format.
42300 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42302         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42303         (init): Apply PTR_MANGLE to pointers before storing them.
42304         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42305         before using them.
42307 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42309         [BZ #17719]
42310         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42311         define as weak alias of __memrchr.
42312         (__memrchr): Do not define as strong alias of memrchr.
42313         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42314         Remove variable.
42315         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42316         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42317         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42319         [BZ #17717]
42320         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42321         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42322         (if_indextoname): Rename to __if_indextoname and define as weak
42323         alias of __if_indextoname.  Use libc_hidden_weak.
42324         (if_freenameindex): Rename to __if_freenameindex and define as
42325         weak alias of __if_freenameindex.
42326         (if_nameindex): Rename to __if_nameindex and define as weak alias
42327         of __if_nameindex.
42328         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42329         __if_nametoindex and define as weak alias of __if_nametoindex.
42330         Use libc_hidden_weak.
42331         (if_freenameindex): Rename to __if_freenameindex and define as
42332         weak alias of __if_freenameindex.
42333         (if_nameindex): Rename to __if_nameindex and define as weak alias
42334         of __if_nameindex.
42335         (if_indextoname): Rename to __if_indextoname and define as weak
42336         alias of __if_indextoname.  Use libc_hidden_weak.
42337         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42338         __if_nametoindex and define as weak alias of __if_nametoindex.
42339         Use libc_hidden_weak.
42340         (if_freenameindex): Rename to __if_freenameindex and define as
42341         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42342         (if_nameindex_netlink): Use __if_freenameindex instead of
42343         if_freenameindex.
42344         (if_nameindex): Rename to __if_nameindex and define as weak alias
42345         of __if_nameindex.  Use libc_hidden_weak.
42346         (if_indextoname): Rename to __if_indextoname and define as weak
42347         alias of __if_indextoname.  Use libc_hidden_weak.
42348         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42349         libc_hidden_proto.
42350         [!_ISOMAC] (__if_freenameindex): Likewise.
42351         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42352         if_nametoindex.
42353         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42354         variable.
42355         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42356         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42357         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42358         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42359         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42360         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42361         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42363         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42364         Remove variable.
42365         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42366         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42368 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42370         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42371         subscript above bounds'
42373         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42374         bounds.
42376 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42378         * libio/tst-fopenloc.c: Use test-skeleton.c.
42380         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42381         (entry): Rename to ITEM.
42382         (do_test, comp): Adjust.
42384         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42386 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42388         * string/tester.c: Include <libc-internal.h>.
42389         (test_memset): Ignore -Wmemset-transposed-args.
42391 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42393         * misc/tst-mntent2.c (do_test): Fix warning.
42395 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42397         * elf/tst-unique4lib.cc(a): Mark as used.
42399 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42401         [BZ #17630]
42402         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42403         names.
42405 2014-12-16  Allan McRae  <allan@archlinux.org>
42407         * stdio-common/Makefile (tests): Re-add bug26.
42409 2014-12-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
42411         [BZ #17657]
42412         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42413         static array.
42415 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42417         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42418         (__lll_lock_wait): Likewise.
42419         (__lll_timedlock_wait): Likewise.
42420         (__lll_timedwait_tid): Likewise.
42421         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42422         (__lll_robust_timedlock_wait): Likewise.
42423         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42424         (lll_cond_trylock): Likewise.
42425         (__lll_lock): Likewise.
42426         (__lll_robust_lock): Likewise.
42427         (__lll_cond_lock): Likewise.
42428         (lll_robust_cond_lock): Likewise.
42429         (__lll_timedlock): Likewise.
42430         (__lll_robust_timedlock): Likewise.
42431         (__lll_unlock): Likewise.
42432         (__lll_robust_unlock): Likewise.
42433         (lll_wait_tid): Likewise.
42434         (lll_timedwait_tid): Likewise.
42436 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42438         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42440 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42442         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42444 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42446         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42447         * stdio-common/tst-sprintf.c: Likewise.
42449 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42451         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42453 2014-12-15  Jeff Law  <law@redhat.com>
42455         [BZ #16617]
42456         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42457         on the heap.  (CVE-2012-3406)
42458         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42459         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42460         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42462 2014-12-15  Will Newton  <will.newton@linaro.org>
42464         * manual/install.texi: Bump required version of texinfo
42465         to 4.7 from 4.5.
42466         * INSTALL: Regenerated.
42467         * configure.ac: Check for makeinfo version 4.7 and above.
42468         * configure: Regenerated.
42470 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42472         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42473         PREFIX, string constant to insert between directory and name.
42474         * sysdeps/posix/shm_open.c: Update caller.
42475         * sysdeps/posix/shm_unlink.c: Likewise.
42476         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42477         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42478         (SEM_SHM_PREFIX): New macro.
42479         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42480         [$(have-thread-library) = no].
42481         * nptl/Makefile (libpthread-routines): Add shm-directory.
42482         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42483         * sysdeps/nptl/shm-directory.h: New file.
42484         * sysdeps/posix/shm-directory.c
42485         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42486         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42487         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42488         INTERNAL_SYSCALL.
42489         (__where_is_shmfs): Function removed.
42490         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42491         Variables removed.
42492         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42493         Use SHM_GET_NAME.
42494         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42496         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42497         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42498         unconditional for use inside libpthread.
42499         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42501 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42503         * nptl/pthread_getaffinity.c: New file.
42504         * nptl/pthread_setaffinity.c: New file.
42505         * nptl/pthread_getname.c: New file.
42506         * nptl/pthread_setname.c: New file.
42508         * nptl/pthread_create.c (START_THREAD_DEFN)
42509         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42511 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42512             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42514         * resolv/res_send.c (send_vc): Disable warning resplen may
42515         be used uninitialized.
42517 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42519         * nptl/tst-mutex6.c
42520         (ATTR_NULL): New define checks ATTR against NULL.
42521         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42522         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42524 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42526         [BZ #17581]
42527         * malloc/hooks.c
42528         (mem2mem_check): Revert my previous change.
42529         (malloc_check_get_size): Revert my previous change.
42530         (mem2chunk_check): Revert my previous change.
42532 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42534         * sysdeps/posix/shm-directory.c: New file.
42535         * sysdeps/posix/shm-directory.h: New file.
42536         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42537         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42538         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42539         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42540         Transmute EPERM to EACCES.
42541         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42542         from ...
42543         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42544         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42546 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42548         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42549         pointer and cast to uintptr_t.
42550         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42551         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42552         Add cast to avoid warning.
42553         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42555 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42557         * nptl/semaphore.h: Move to ...
42558         * sysdeps/pthread/semaphore.h: ... here.
42559         * Makefile (installed-headers): Change nptl/semaphore.h to
42560         sysdeps/pthread/semaphore.h.
42562 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42564         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42565         generated error format strings.
42567         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42568         -Wformat-extra-args warnings for scanf formats.
42569         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42570         test of zero-length format (duh).
42571         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42572         corner-case scanf format test.
42573         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42574         generated fprintf format string.
42575         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42576         corner-case sprintf format tests.
42577         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42578         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42579         -Wformat-extra-args warnings throughout.
42580         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42581         (CFLAGS-scanf4.c): Likewise.
42582         (CFLAGS-scanf7.c): Likewise.
42583         (CFLAGS-tst-sprintf.c): Likewise.
42584         (CFLAGS-tst-printf.c): Likewise.
42585         (CFLAGS-tst-printfsz.c): Likewise.
42587 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42589         * include/cpio.h: New file.
42590         * include/fmtmsg.h: Likewise.
42592         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42593         corresponding format argument to size_t.
42594         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42595         arguments.
42596         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42597         corresponding format argument to size_t.
42598         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42599         arguments.
42600         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42601         corresponding format argument to size_t.
42602         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42603         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42604         (CFLAGS-tst-mbswcs2.c): Likewise.
42605         (CFLAGS-tst-mbswcs3.c): Likewise.
42606         (CFLAGS-tst-mbswcs4.c): Likewise.
42607         (CFLAGS-tst-mbswcs5.c): Likewise.
42608         (CFLAGS-tst-trans.c): Likewise.
42610 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42612         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42613         rather than assuming they won't contain any '%'s.
42615 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42617         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42618         inhibit_loop_to_libcall to avoid recursive calls.
42619         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42620         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42622 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42624         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42625         prototype.
42627 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42629         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42630         integer value instead of boolean.
42632 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42634         * malloc/malloc.c: Fix powerof2 check.
42636 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42638         * locale/programs/locfile.h (maybe_swap_uint32):
42639         Remove inline and add unused attribute.
42641 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42643         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42644         Truncating assembler expression to a .long expression.
42646 2014-12-11  Andreas Schwab  <schwab@suse.de>
42648         * elf/rtld.c (struct map_args): Constify str member.
42649         (do_preload): Constify fname argument.
42651 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42654         constants definition.
42656 2014-12-11  Andreas Schwab  <schwab@suse.de>
42658         [BZ #16657]
42659         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42660         FORCE_ELISION instead of DO_ELISION.
42661         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42662         Remove.
42663         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42664         Likewise.
42666         * iconvdata/gconv-modules: Remove duplicate entry.
42668 2014-12-11  Will Newton  <will.newton@linaro.org>
42670         Merge gettext 0.19.3 into intl/.
42672         This involves a number of cosmetic changes to comments
42673         and ANSI function definitions and prototypes throughout
42674         all the files. The gettext copyright header is used but
42675         with the date ranges taken from the glibc copy.
42677         * NEWS: Add gettext merge to 2.21.
42678         * intl/bindtextdom.c: Switch to gettext copyright.
42679         Use ANSI definitions and prototypes.
42680         Use gl_* locking primitives rather than __libc_* ones.
42681         Use __builtin_expect rather than __glibc_likely/unlikely.
42682         * intl/dcgettext.c: Switch to gettext copyright.
42683         Use ANSI definitions and prototypes.
42684         * intl/dcigettext.c: Switch to gettext copyright.
42685         Use ANSI definitions and prototypes.
42686         (INTDIV0_RAISES_SIGFPE): New define.
42687         Use gl_* locking primitives rather than __libc_* ones.
42688         Include eval-plural.h instead of plural-eval.c.
42689         Use __builtin_expect rather than __glibc_likely/unlikely.
42690         * intl/dcngettext.c: Switch to gettext copyright.
42691         Use ANSI definitions and prototypes.
42692         * intl/dgettext.c: Likewise.
42693         * intl/dngettext.c: Likewise.
42694         * intl/plural-eval.c: Renamed to...
42695         * intl/eval-plural.h: ...this.
42696         * intl/explodename.c: Switch to gettext copyright.
42697         Use ANSI definitions and prototypes.
42698         (_nl_explode_name): Use strchr instead of __rawmemchr.
42699         * intl/finddomain.c: Switch to gettext copyright.
42700         Use ANSI definitions and prototypes.
42701         Use gl_* locking primitives rather than __libc_* ones.
42702         (_nl_find_domain): Use malloc rather than alloca for
42703         allocation of temporary locale name.
42704         * intl/gettext.c: Switch to gettext copyright.
42705         Use ANSI definitions and prototypes.
42706         * intl/gettextP.h: Switch to gettext copyright.
42707         Use ANSI definitions and prototypes.
42708         Use gl_* locking primitives rather than __libc_* ones.
42709         * intl/gmo.h: Switch to gettext copyright.
42710         (struct sysdep_string): Move struct segment_pair outside of
42711         struct definition.
42712         * intl/hash-string.c: Use ANSI definitions and prototypes.
42713         * intl/hash-string.h: Switch to gettext copyright.
42714         Use ANSI definitions and prototypes.
42715         * intl/l10nflist.c: Switch to gettext copyright.
42716         Use ANSI definitions and prototypes.
42717         (_nl_normalize_codeset): Avoid integer overflow.
42718         * intl/loadinfo.h: Switch to gettext copyright.
42719         Use ANSI definitions and prototypes.
42720         (LIBINTL_DLL_EXPORTED): New define.
42721         (PATH_SEPARATOR): New define.
42722         * intl/loadmsgcat.c: Switch to gettext copyright.
42723         * intl/localealias.c: Switch to gettext copyright.
42724         Use ANSI definitions and prototypes.
42725         (_nl_expand_alias): Use PATH_SEPARATOR.
42726         * intl/ngettext.c: Switch to gettext copyright.
42727         Use ANSI definitions and prototypes.
42728         * intl/plural-exp.c: Likewise.
42729         * intl/plural-exp.h: Switch to gettext copyright.
42730         Use ANSI definitions and prototypes.
42731         (struct expression): Move definition of enum operator outside
42732         of struct definition.
42733         * intl/plural.c: Regenerate.
42734         * intl/plural.y: Switch to gettext copyright.
42735         Use ANSI definitions and prototypes.
42736         Port to bison 3.0.
42737         * intl/textdomain.c: Switch to gettext copyright.
42738         Use ANSI definitions and prototypes.
42739         Use gl_* locking primitives rather than __libc_* ones.
42741 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42743         * debug/warning-nop.c: Add used atrribute.
42745 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42747         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42749         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42750         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42751         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42753 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42754             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42756         [BZ #17634]
42757         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42758         Undefine after defining function.  Define as weak alias of
42759         __wcschr.  Use libc_hidden_weak.
42760         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42761         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42762         (libc_hidden_def): Also define __GI___wcschr alias.
42763         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42764         __wcschr and define as weak alias of __wcschr.
42765         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42766         __wcschr.
42767         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42768         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42769         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42770         libc_hidden_weak.  Do not use libc_hidden_def.
42771         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42772         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42773         __GI___wcschr alias.
42774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42775         [IS_IN (libc)] (wcschr): Define as macro expanding to
42776         __redirect_wcschr.
42777         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42778         [IS_IN (libc)] (__wcschr_power6): Likewise.
42779         [IS_IN (libc)] (__wcschr_power7): Likewise.
42780         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42781         instead of wcschr.
42782         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42783         __libc_wcschr.
42784         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42785         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42786         __wcschr and define as weak alias of __wcschr.  Use
42787         libc_hidden_builtin_def.
42788         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42789         as weak alias of __wcschr.  Use libc_hidden_weak.
42790         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42791         wcschr.
42792         * time/era.c (_nl_init_era_entries): Likewise.
42793         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42794         variable.
42795         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42796         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42798 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42800         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42801         format for long int variable.
42803 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42805         [BZ #10672]
42806         * manual/search.texi: (Array Sort Function): Remove claim how to make
42807         qsort stable.
42809 2014-12-10  Andreas Schwab  <schwab@suse.de>
42811         [BZ #12847]
42812         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42813         user-controlled locks.
42815 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42817         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42818         register.
42820 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42822         * configure.ac (--disable-werror): New configure option.
42823         (enable_werror): New AC_SUBST.
42824         * configure: Regenerated.
42825         * config.make.in (enable-werror): New variable.
42826         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42827         -Wno-error=undef.
42828         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42829         * manual/install.texi (Configuring and compiling): Document
42830         --disable-werror.
42831         * INSTALL: Regenerated.
42832         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42833         (CFLAGS-tst-chk2.c): Likewise.
42834         (CFLAGS-tst-chk3.c): Likewise.
42835         (CFLAGS-tst-chk4.cc): Likewise.
42836         (CFLAGS-tst-chk5.cc): Likewise.
42837         (CFLAGS-tst-chk6.cc): Likewise.
42838         (CFLAGS-tst-lfschk1.c): Likewise.
42839         (CFLAGS-tst-lfschk2.c): Likewise.
42840         (CFLAGS-tst-lfschk3.c): Likewise.
42841         (CFLAGS-tst-lfschk4.cc): Likewise.
42842         (CFLAGS-tst-lfschk5.cc): Likewise.
42843         (CFLAGS-tst-lfschk6.cc): Likewise.
42845         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42846         (main): Disable -Wdeprecated-declarations around calls to
42847         register_printf_function.
42849         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42850         (do_test): Disable -Wdiv-by-zero around some calls to
42851         fwrite_unlocked and fread_unlocked.
42853         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42854         (DIAG_POP_NEEDS_COMMENT): Likewise.
42855         (_DIAG_STR1): Likewise.
42856         (_DIAG_STR): Likewise.
42857         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42858         * stdio-common/bug21.c: Include <libc-internal.h>.
42859         (do_test): Disable -Wformat around call to sscanf.
42860         * stdio-common/scanf14.c: Include <libc-internal.h>.
42861         (main): Disable -Wformat around some calls to scanf functions.
42863 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42865         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42867 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42869         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42870         stack variable alignment.
42872 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42874         [BZ #17682]
42875         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42876         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42877         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42878         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42879         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42880         __getrlimit instead of getrlimit.
42881         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42882         __gettimeofday instead of gettimeofday.
42883         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42884         Likewise.
42885         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42886         Likewise.
42887         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42888         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42889         Remove variable.
42890         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42891         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42893 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42895         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42896         for wide-character tests.
42898 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42900         * io/openat64.c: #include <libc-internal.h>
42901         (__openat64): Prototypify.  Use ignore_value on MODE.
42902         * io/openat.c: Likewise.
42903         * misc/reboot.c: #include <libc-internal.h>
42904         (reboot): Prototypify.  Use ignore_value on HOWTO.
42905         * misc/ptrace.c: #include <libc-internal.h>
42906         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42908 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42910         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42911         XPG4, UNIX98 and XOPEN2K.
42912         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42913         Remove variable.
42914         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42916 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42918         * libio/fileops.c: Use ISO C style for function definitions.
42919         * libio/iofopen.c: Likewise.
42920         * libio/wfileops.c: Likewise.
42922         [BZ #17653]
42923         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42924         offset on EOF.
42925         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42926         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42927         (fgets_func): Function pointer to fgets and fgetws.
42928         (do_ftell_test): Add test to verify ftell value after read
42929         EOF.
42930         (do_test): Set fgets_func.
42932         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42933         O_TRUNC flag for w and w+ modes.
42934         (do_rewind_test): Likewise.
42935         (do_ftell_test): Likewise.
42936         (do_write_test): Likewise.
42938         [BZ #17647]
42939         * libio/fileops.c (do_ftell): Seek only when there are
42940         unflushed writes.
42941         * libio/wfileops.c (do_ftell_wide): Likewise.
42942         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42943         test case.
42944         (do_one_test): Call it.
42946 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42948         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42949         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42950         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42951         Remove variable.
42952         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42953         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42954         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42956 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42958         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42959         Remove variable.
42960         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42962         [BZ #17668]
42963         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42964         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42965         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42966         __freeifaddrs.  Use libc_hidden_weak.
42967         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42968         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42969         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42970         __freeifaddrs.  Use libc_hidden_weak.
42971         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42972         __getifaddrs and define as weak alias of __getifaddrs.  Use
42973         libc_hidden_weak.
42974         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42975         __freeifaddrs.  Use libc_hidden_weak.
42976         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42977         Remove variable.
42978         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42979         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42981 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42983         [BZ #17601]
42984         * sysdeps/mips/start.S (__start): Use indirect jump to call
42985         __libc_start_main.
42987 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42989         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42991         * nptl/tst-mutex1.c: Include <stdbool.h>.
42992         [!ATTR] (ATTR_NULL): New macro.
42993         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42994         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42995         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42997         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42998         to char *.
43000         [BZ #17665]
43001         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43002         Change conditional to [__USE_MISC].
43004         [BZ #17664]
43005         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43006         fgets_unlocked.
43007         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43008         __fgets_unlocked.
43009         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43010         fgets_unlocked.
43011         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43012         Remove variable.
43013         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43014         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43015         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43016         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43017         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43018         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43019         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43020         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43021         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43023         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43025 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43028         Remove strpbrk objects.
43029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43030         (__libc_ifunc_impl_list): Remove strpbrk implementation.
43031         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43032         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43033         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43034         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43036         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43037         Remove strcspn objects.
43038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43039         (__libc_ifunc_impl_list): Remove strcspn implementation.
43040         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43041         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43042         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43043         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43045         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43046         Remove strspn objetcs.
43047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43048         (__libc_ifunc_impl_list): Remove strspn implementation.
43049         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43050         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43051         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43052         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43054 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43056         [BZ #17581]
43057         * malloc/hooks.c
43058         (mem2mem_check): Add a terminator to the chain of checking blocks.
43059         (malloc_check_get_size): Use it here.
43060         (mem2chunk_check): Ditto.
43062 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43064         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43065         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43067 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43069         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43071         * nptl/nptl-init.c: Include libc-internal.h.
43072         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43074         * elf/ldconfig.c (search_dir): Expand comment.
43076 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43078         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43079         variable.
43080         (linknamespace-symlist-stdlibs-tests): Likewise.
43081         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43082         instead of $(objpfx)symlist-stdlibs.
43083         (linknamespace-libs-isoc): New variable.
43084         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43085         (linknamespace-libs-ISO): New variable.
43086         (linknamespace-libs-ISO99): Likewise.
43087         (linknamespace-libs-ISO11): Likewise.
43088         (linknamespace-libs-XPG3): Likewise.
43089         (linknamespace-libs-XPG4): Likewise.
43090         (linknamespace-libs-POSIX): Likewise.
43091         (linknamespace-libs-UNIX98): Likewise.
43092         (linknamespace-libs-XOPEN2K): Likewise.
43093         (linknamespace-libs-POSIX2008): Likewise.
43094         (linknamespace-libs-XOPEN2K8): Likewise.
43095         ($(objpfx)symlist-stdlibs): Replace by
43096         $(linknamespace-symlist-stdlibs-tests).  Use
43097         $(linknamespace-libs-$*) as set of libraries.
43098         ($(linknamespace-header-tests)): Update dependencies.  Use
43099         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43100         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43101         * conform/linknamespace.pl: Remove comment about considering
43102         definitions of symbols from irrelevant libraries.
43104 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43106         [BZ #13862]
43107         * elf/dl-tls.c: Include <atomic.h>.
43108         (oom): Remove #ifdef SHARED/#endif.
43109         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43110         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43111         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43112         big enough.
43113         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43114         * nptl/Makefile (tests): Add tst-stack4.
43115         (modules-names): Add tst-stack4mod.
43116         ($(objpfx)tst-stack4): New.
43117         (tst-stack4mod.sos): Likewise.
43118         ($(objpfx)tst-stack4.out): Likewise.
43119         ($(tst-stack4mod.sos)): Likewise.
43120         (clean): Likewise.
43121         * nptl/tst-stack4.c: New file.
43122         * nptl/tst-stack4mod.c: Likewise.
43124 2014-11-27  J. Brown  <jb999@gmx.de>
43126         * sysdeps/x86/bits/string.h: Add recent CPUs.
43128 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43130         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43131         sigblock.
43133         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43134         feof.
43136         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43137         variable.
43139 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43141         * nscd/connections.c: Include libc-internal.h because of macro
43142         usage ignore_value.
43144 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43146         * string/bits/string3.h (__warn_memset_zero_len): Don't
43147         declare for gcc newer than 5.0.
43148         (memset): Don't test for zero-length __LEN for gcc newer than
43149         5.0.
43151 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43153         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43154         size_t for %zu format.
43156         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43157         difference, not %ju.
43159 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43161         * include/libc-internal.h (ignore_value): New macro.
43162         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43163         with ignore_value.
43165         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43166         definition.
43168         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43169         pthread_cleanup_push to void *.
43171         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43172         Undefine.
43174         [BZ #16619]
43175         [BZ #16740]
43176         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43177         instead of 1L << 52.
43179         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43180         * libio/bug-rewind2.c (do_test): Likewise.
43182         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43183         * debug/test-strcpy_chk-ifunc.c: Likewise.
43184         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43185         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43186         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43187         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43188         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43189         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43190         * Rules [$(multi-arch) = no] (tests): Do not filter out
43191         $(tests-ifunc).
43192         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43193         * debug/Makefile (tests-ifunc): Remove variable.
43194         (tests): Do not add $(tests-ifunc).
43195         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43196         (tests): Do not add $(tests-ifunc).
43197         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43198         [TEST_IFUNC]: Remove conditionals.
43199         * string/test-string.h (TEST_IFUNC): Remove macro.
43200         [TEST_IFUNC]: Remove conditionals.
43202         * string/test-strchr.c [!WIDE] (L): New macro.
43203         [WIDE] (L): Likewise.
43204         (check1): Use CHAR instead of char.  Use L on string and character
43205         constants.
43207 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43209         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43210         tests.
43211         * sysdeps/powerpc/bits/atomic.h
43212         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43213         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43214         (atomic_exchange_and_add_acq): Likewise.
43215         (atomic_exchange_and_add_rel): Likewise.
43216         * sysdeps/powerpc/powerpc32/bits/atomic.h
43217         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43218         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43219         * sysdeps/powerpc/powerpc64/bits/atomic.h
43220         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43221         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43223 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43225         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43226         Change synchronization of __sched_fifo_min_prio and
43227         __sched_fifo_max_prio.
43228         * nptl/pthread_mutexattr_getprioceiling.c
43229         (pthread_mutexattr_getprioceiling): Likewise.
43230         * nptl/pthread_mutexattr_setprioceiling.c
43231         (pthread_mutexattr_setprioceiling): Likewise.
43232         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43233         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43234         Likewise.
43236 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43238         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43239         void.
43241 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43243         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43244         third argument const.
43246 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43248         fnmatch: work around GCC compiler warning bug with uninit var
43249         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43250         This works around a bug with x86-64 GCC 4.9.2 and earlier
43251         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43252         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43253         used uninitialized in this function [-Wmaybe-uninitialized]".
43255 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43257         * posix/bug-regex31.c (main): Return RES not 0.
43259 2014-11-25  Anton Blanchard <anton@samba.org>
43261         * sysdeps/powerpc/bits/atomic.h
43262         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43264 2014-11-24  Sterling Augustine  <saugustine@google.com>
43266         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43268 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43270         [BZ #17608]
43271         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43273 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43275         [BZ #17633]
43276         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43277         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43278         variable.
43279         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43280         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43282 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43284         * string/strncpy.c (strncpy): Improve performance by using memset.
43286 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43288         * string/strcpy.c (strcpy):
43289         Improve performance by using strlen and memcpy.
43291 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43293         * string/strcoll_l.c (get_next_seq): __always_inline.
43294         * string/strcoll_l.c (do_compare): __always_inline.
43296 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43298         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43299         defined.
43300         * include/mqueue.h: Likewise.
43301         * include/stdlib.h: Likewise.
43303         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43304         (get_null_defines): Adjust.
43305         * sunrpc/Makefile: Adjust comment.
43306         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43307         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43308         (CFLAGS-interp.c): Likewise.
43309         (CFLAGS-ldconfig.c): Likewise.
43310         (CPPFLAGS-.os): Likewise.
43311         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43312         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43313         * extra-modules.mk (extra-modules.mk): Likewise.
43314         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43315         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43316         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43317         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43318         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43319         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43320         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43321         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43322         * iconvdata/Makefile (CPPFLAGS): Likewise.
43323         (cpp-srcs-left): Add libof for all iconvdata routines.
43324         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43325         * include/assert.h: Likewise.
43326         * include/ctype.h: Likewise.
43327         * include/errno.h: Likewise.
43328         * include/libc-symbols.h: Likewise.
43329         * include/math.h: Likewise.
43330         * include/netdb.h: Likewise.
43331         * include/resolv.h: Likewise.
43332         * include/stdio.h: Likewise.
43333         * include/stdlib.h: Likewise.
43334         * include/string.h: Likewise.
43335         * include/sys/stat.h: Likewise.
43336         * include/wctype.h: Likewise.
43337         * intl/l10nflist.c: Likewise.
43338         * libidn/idn-stub.c: Likewise.
43339         * libio/libioP.h: Likewise.
43340         * nptl/libc_multiple_threads.c: Likewise.
43341         * nptl/pthreadP.h: Likewise.
43342         * posix/regex_internal.h: Likewise.
43343         * resolv/res_hconf.c: Likewise.
43344         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43345         * sysdeps/arm/memmove.S: Likewise.
43346         * sysdeps/arm/sysdep.h: Likewise.
43347         * sysdeps/generic/_itoa.h: Likewise.
43348         * sysdeps/generic/symbol-hacks.h: Likewise.
43349         * sysdeps/gnu/errlist.awk: Likewise.
43350         * sysdeps/gnu/errlist.c: Likewise.
43351         * sysdeps/i386/i586/memcpy.S: Likewise.
43352         * sysdeps/i386/i586/memset.S: Likewise.
43353         * sysdeps/i386/i686/memcpy.S: Likewise.
43354         * sysdeps/i386/i686/memmove.S: Likewise.
43355         * sysdeps/i386/i686/mempcpy.S: Likewise.
43356         * sysdeps/i386/i686/memset.S: Likewise.
43357         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43358         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43359         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43360         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43361         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43362         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43374         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43383         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43384         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43385         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43386         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43387         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43388         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43389         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43390         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43391         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43392         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43393         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43394         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43395         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43397         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43399         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43400         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43401         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43402         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43403         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43404         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43405         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43406         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43407         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43408         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43409         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43410         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43411         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43412         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43413         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43414         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43415         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43416         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43417         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43418         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43419         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43420         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43421         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43422         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43423         * sysdeps/posix/closedir.c: Likewise.
43424         * sysdeps/posix/opendir.c: Likewise.
43425         * sysdeps/posix/readdir.c: Likewise.
43426         * sysdeps/posix/rewinddir.c: Likewise.
43427         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43428         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43429         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43430         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43431         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43432         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43433         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43434         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43435         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43436         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43437         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43438         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43439         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43440         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43441         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43442         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43444         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43445         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43446         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43447         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43448         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43449         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43450         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43451         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43454         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43455         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43460         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43462         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43463         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43464         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43465         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43466         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43467         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43468         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43469         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43470         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43471         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43472         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43473         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43474         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43475         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43476         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43477         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43478         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43480         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43481         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43482         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43484         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43485         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43486         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43487         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43488         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43490         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43491         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43492         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43493         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43494         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43495         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43496         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43497         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43498         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43499         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43500         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43501         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43502         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43503         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43504         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43505         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43506         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43507         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43508         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43509         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43510         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43511         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43512         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43513         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43514         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43515         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43516         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43517         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43518         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43519         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43520         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43521         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43522         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43523         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43524         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43525         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43526         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43527         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43528         * sysdeps/unix/alpha/sysdep.S: Likewise.
43529         * sysdeps/unix/alpha/sysdep.h: Likewise.
43530         * sysdeps/unix/make-syscalls.sh: Likewise.
43531         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43532         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43533         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43534         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43535         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43536         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43537         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43538         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43539         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43540         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43541         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43542         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43543         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43545         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43546         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43547         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43548         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43549         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43550         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43551         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43552         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43553         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43554         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43555         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43556         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43560         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43561         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43564         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43565         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43566         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43568         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43569         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43570         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43571         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43572         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43573         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43574         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43575         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43578         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43579         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43581         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43582         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43583         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43584         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43585         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43587         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43589         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43590         * sysdeps/x86_64/memcpy.S: Likewise.
43591         * sysdeps/x86_64/memmove.c: Likewise.
43592         * sysdeps/x86_64/memset.S: Likewise.
43593         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43594         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43595         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43596         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43597         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43598         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43599         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43600         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43601         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43602         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43603         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43604         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43605         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43606         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43608         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43610         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43611         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43612         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43613         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43614         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43615         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43616         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43617         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43618         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43619         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43620         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43621         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43622         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43623         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43624         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43625         * sysdeps/x86_64/strcmp.S: Likewise.
43627         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43629         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43630         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43631         * elf/rtld-Rules: Likewise.
43632         * elf/setup-vdso.h: Likewise.
43633         * include/assert.h: Likewise.
43634         * include/bits/stdlib-float.h: Likewise.
43635         * include/errno.h: Likewise.
43636         * include/sys/stat.h: Likewise.
43637         * include/unistd.h: Likewise.
43638         * sysdeps/aarch64/setjmp.S: Likewise.
43639         * sysdeps/alpha/setjmp.S: Likewise.
43640         * sysdeps/arm/__longjmp.S: Likewise.
43641         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43642         * sysdeps/arm/setjmp.S: Likewise.
43643         * sysdeps/arm/sysdep.h: Likewise.
43644         * sysdeps/generic/_itoa.h: Likewise.
43645         * sysdeps/generic/dl-sysdep.h: Likewise.
43646         * sysdeps/generic/ldsodefs.h: Likewise.
43647         * sysdeps/i386/dl-tls.h: Likewise.
43648         * sysdeps/i386/setjmp.S: Likewise.
43649         * sysdeps/m68k/setjmp.c: Likewise.
43650         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43651         * sysdeps/mach/hurd/opendir.c: Likewise.
43652         * sysdeps/posix/getcwd.c: Likewise.
43653         * sysdeps/posix/opendir.c: Likewise.
43654         * sysdeps/posix/profil.c: Likewise.
43655         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43656         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43657         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43658         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43659         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43660         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43661         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43662         * sysdeps/s390/dl-tls.h: Likewise.
43663         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43664         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43665         * sysdeps/sh/sh3/setjmp.S: Likewise.
43666         * sysdeps/sh/sh4/setjmp.S: Likewise.
43667         * sysdeps/unix/alpha/sysdep.h: Likewise.
43668         * sysdeps/unix/arm/sysdep.S: Likewise.
43669         * sysdeps/unix/i386/sysdep.S: Likewise.
43670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43671         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43672         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43673         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43674         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43675         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43676         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43677         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43678         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43679         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43680         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43681         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43682         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43685         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43686         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43688         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43689         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43690         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43692         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43693         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43694         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43695         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43697         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43698         * sysdeps/x86_64/setjmp.S: Likewise.
43700         * include/math.h: Use IS_IN instead of IS_IN_libm.
43701         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43702         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43703         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43704         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43705         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43707         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43708         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43709         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43710         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43711         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43712         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43713         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43714         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43715         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43716         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43717         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43718         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43719         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43720         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43721         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43722         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43723         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43724         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43725         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43726         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43727         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43728         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43729         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43730         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43731         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43732         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43733         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43735         Likewise.
43736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43737         Likewise.
43738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43739         Likewise.
43740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43741         Likewise.
43742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43743         Likewise.
43744         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43745         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43746         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43747         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43748         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43749         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43755         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43756         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43757         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43758         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43760         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43761         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43762         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43763         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43764         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43765         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43766         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43768         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43770         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43772         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43773         * nptl/pthreadP.h: Likewise.
43774         * nptl_db/structs.def: Likewise.
43775         * sysdeps/arm/sysdep.h: Likewise.
43776         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43777         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43778         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43779         * sysdeps/unix/alpha/sysdep.h: Likewise.
43780         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43782         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43783         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43784         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43785         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43786         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43787         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43788         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43789         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43790         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43791         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43792         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43793         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43798         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43799         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43800         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43801         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43802         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43803         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43804         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43805         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43807         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43808         * nptl/pthreadP.h: Likewise.
43809         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43810         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43811         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43812         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43813         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43814         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43815         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43816         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43817         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43818         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43819         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43820         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43822         Likewise.
43823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43824         Likewise.
43825         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43827         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43829         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43830         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43831         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43832         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43834         * dlfcn/dladdr.c: Use IS_IN.
43835         * dlfcn/dladdr1.c: Likewise.
43836         * dlfcn/dlclose.c: Likewise.
43837         * dlfcn/dlerror.c: Likewise.
43838         * dlfcn/dlinfo.c: Likewise.
43839         * dlfcn/dlmopen.c: Likewise.
43840         * dlfcn/dlopen.c: Likewise.
43841         * dlfcn/dlsym.c: Likewise.
43842         * dlfcn/dlvsym.c: Likewise.
43844         * include/ifaddrs.h: Use IS_IN.
43845         * inet/check_pf.c: Likewise.
43846         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43847         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43849         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43850         IS_IN_ldconfig.
43851         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43852         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43854         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43855         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43856         IS_IN (libc).
43858         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43860         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43861         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43862         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43863         * include/libc-symbols.h (IS_IN_LIB): New macro.
43864         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43865         * include/netdb.h: Likewise.
43866         * include/stap-probe.h: Remove all uses of IN_LIB.
43868         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43869         instead of IN_MODULE.
43870         * include/libc-symbols.h (IN_MODULE): Define using
43871         MODULE_NAME.
43872         (PASTE_NAME, PASTE_NAME1): New macros.
43873         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43874         of IN_LIB.
43875         (STAP_PROBE_ASM): Likewise.
43877 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43879         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43880         __mach_init in dlopened libc.
43882 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43884         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43885         * sysdeps/arm/preconfigure: Regenerate.
43887 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43889         * nptl/pthread_create.c (__pthread_create_2_1): Set
43890         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43891         when copying values from IATTR into PD.
43893 2014-11-21  Will Newton  <will.newton@linaro.org>
43894             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43896         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43897         Refactor inline-asm.  Also add comment.
43899         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43900         ElfW macro instead of hardcoded Elf64 types.
43901         (la_aarch64_gnu_pltenter): Likewise.
43902         * sysdeps/aarch64/dl-machine.h
43903         (elf_machine_runtime_setup): Use ElfW(Addr).
43905         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43906         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43907         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43908         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43909         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43910         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43911         (R_AARCH64_TLS_DTPMOD): This.
43912         (R_AARCH64_TLS_DTPREL64): Rename to ...
43913         (R_AARCH64_TLS_DTPREL): This.
43914         (R_AARCH64_TLS_TPREL64): Rename to ...
43915         (R_AARCH64_TLS_TPREL): This.
43916         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43917         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43918         R_AARCH64_TLS_TPREL64.
43919         (elf_machine_rela): Likewise.
43921 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43923         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43924         by setting it to 0.  64b atomics are not supported currently.
43926 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43928         [BZ #16469]
43929         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43930         search domain names.
43932 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43934         [BZ #16469]
43935         * NEWS: Update.
43936         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43937         trailing dot.
43938         * posix/tst-getaddrinfo5.c: New.
43939         * posix/Makefile (tests): Add it.
43941 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43943         [BZ #14498]
43944         * NEWS: Fixed.
43945         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43946         after parsing line but before break_if_match.
43947         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43948         if there is a protocol mismatch.
43950 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43952         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43953         because the potential race is on the user-supplied stream.
43955 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43957         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43958         string literal if not passed a buffer.
43959         * manual/job.texi (ctermid): Update reasoning, note deviation
43960         from posix, suggest mtasurace when not passed a buffer, for
43961         future non-preliminary safety notes.
43963 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43965         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43966         of not passing it a buffer.
43967         Reported by Peng Haitao.
43969 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43971         * manual/Makefile ($(objpfx)stamp-summary): Require
43972         check-safety.sh to pass.
43973         * manual/check-safety.sh: Wish for verification that every
43974         @deftypefn and @deftypefun is followed by a @safety remark.
43976 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43978         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43980         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43981         PTHREAD_CANCEL_ASYNCHRONOUS.
43982         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43983         send SIGCANCEL.
43985         * nptl/default-sched.h: New file.
43986         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43987         * nptl/pthread_create.c: Include it.
43988         (__pthread_create_2_1): Use collect_default_sched instead of making
43989         Linux syscalls here directly.
43991 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43993         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43994         __pthread_once): Use C11 atomics.
43996 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43998         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44000 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44002         * include/atomic.h (__atomic_link_error, __atomic_check_size,
44003         atomic_thread_fence_acquire, atomic_thread_fence_release,
44004         atomic_thread_fence_seq_cst, atomic_load_relaxed,
44005         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44006         atomic_compare_exchange_weak_relaxed,
44007         atomic_compare_exchange_weak_acquire,
44008         atomic_compare_exchange_weak_release,
44009         atomic_exchange_acquire, atomic_exchange_release,
44010         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44011         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44012         atomic_fetch_and_acquire,
44013         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44015 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44017         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44018         USE_ATOMIC_COMPILER_BUILTINS): Define.
44019         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44021         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44023         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44025         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44027         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44029         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44031         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44033         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44035         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44037         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44038         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44039         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44041         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44043         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44044         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44045         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44047         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44049         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44051         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44053         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44054         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44055         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44057         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44060 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44062         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44063         the sched_priority value here.  It was already checked when the user
44064         called pthread_attr_setschedparam.
44066         * nptl/tst-bad-schedattr.c: New file.
44067         * nptl/Makefile (tests): Add it.
44069 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44070             Florian Weimer  <fweimer@redhat.com>
44071             Joseph Myers  <joseph@codesourcery.com>
44072             Adam Conrad  <adconrad@0c3.net>
44073             Andreas Schwab  <schwab@suse.de>
44074             Brooks  <bmoses@google.com>
44076         [BZ #17625]
44077         * wordexp-test.c (__dso_handle): Add prototype.
44078         (__register_atfork): Likewise.
44079         (__app_register_atfork): New function.
44080         (registered_forks): New global.
44081         (register_fork): New function.
44082         (test_case): Add 3 new tests for WRDE_CMDSUB.
44083         (main): Call __app_register_atfork.
44084         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44085         fork count is non-zero fail the test.
44086         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44087         is set.
44088         (parse_dollars): Remove check for WRDE_NOCMD.
44089         (parse_dquote): Likewise.
44091 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44093         * Makeconfig (built-modules): List non-library modules to be
44094         built.
44095         (module-cppflags): Include libc-modules.h for
44096         everything except shlib-versions.v.i.
44097         (CPPFLAGS): Use it.
44098         (before-compile): Add libc-modules.h.
44099         ($(common-objpfx)libc-modules.h,
44100         $(common-objpfx)libc-modules.stmp): New targets.
44101         (common-generated): Add libc-modules.h and libc-modules.stmp.
44102         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44103         * include/libc-symbols.h: Don't include libc-modules.h.
44104         * include/libc-modules.h: Remove file.
44105         * scripts/gen-libc-modules.awk: New script to generate
44106         libc-modules.h.
44107         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44108         Depend on libc-modules.stmp.
44110         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44112         * Makeconfig (in-module): Get value of libof set for the
44113         translation unit.
44114         (CPPFLAGS): Use $(in-module).
44115         * Makerules: Don't suffix routine names for nonlib.
44116         * include/libc-modules.h: New file.
44117         * include/libc-symbols.h: Include libc-modules.h
44118         (IS_IN): New macro to replace IS_IN_* macros.
44119         * elf/Makefile: Set libof-* for each routine.
44120         * elf/rtld-Rules: Likewise.
44121         * extra-modules.mk: Likewise.
44122         * iconv/Makefile: Likewise.
44123         * iconvdata/Makefile: Likewise.
44124         * locale/Makefile: Likewise.
44125         * malloc/Makefile: Likewise.
44126         * nss/Makefile: Likewise.
44127         * sysdeps/gnu/Makefile: Likewise.
44128         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44129         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44130         * sysdeps/s390/s390-64/Makefile: Likewise.
44131         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44132         CPPFLAGS for nscd instead of nonlib.
44134 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44136         * nptl/createthread.c: New file.
44138         * nptl/createthread.c: Moved ...
44139         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44141         * nptl/createthread.c: Add proper top-line comment.
44142         (do_clone): Folded into ...
44143         (create_thread): ... here.  Take new arguments STOPPED_START and
44144         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44145         increment __nptl_threads, do event-reporting logic, do
44146         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44147         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44148         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44149         just send SIGCANCEL.
44150         * nptl/pthread_create.c: Forward-declare create_thread before
44151         including createthread.c.
44152         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44153         declaration, and new macro START_THREAD_SELF to replace argument.
44154         Remove return statement.
44155         (report_thread_creation): New function.
44156         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44157         synchronization logic, and __nptl_nthreads increment here, around
44158         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44159         PD->parent_cancelhandling here, before create_thread.  When
44160         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44161         __deallocate_stack, and ENOMEM translation here.
44163 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44165         [BZ #17616]
44166         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44167         (mptwo): Rename to __mptwo.
44168         (__inv): Use __mptwo instead of mptwo.
44169         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44170         (mptwo): Rename to __mptwo.
44171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44172         of mpone and __mptwo instead of mptwo.
44173         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44174         instead of mpone.
44175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44176         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44177         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44178         of mpone and __mptwo instead of mptwo.
44179         (__mpranred): Use __mpone instead of mpone.
44180         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44181         variable.
44182         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44183         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44184         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44185         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44186         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44187         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44188         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44189         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44190         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44191         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44192         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44193         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44194         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44195         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44196         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44197         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44198         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44199         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44200         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44202 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44204         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44205         replace BSD Handler xref with BSD Signal Handling.
44207 2014-11-17  Richard Henderson  <rth@redhat.com>
44209         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44210         (_FP_PACK_RAW_2): Remove.
44211         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44212         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44213         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44214         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44215         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44216         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44217         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44218         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44219         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44220         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44221         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44222         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44223         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44224         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44225         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44226         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44228 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44230         * signal/signal.h [__USE_MISC]
44231         (struct sigvec): Remove type.
44232         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44233         (sigvec): Remove declaration.
44234         * sysdeps/posix/sigvec.c: Moved ...
44235         * signal/sigvec.c: ... here, replacing old file.
44236         (struct sigvec): New type, copied from old signal.h definition.
44237         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44238         (__sigvec): Convert definition to prototype.
44239         (sigvec): Replace weak_alias with compat_symbol.
44240         * signal/Versions (libc: GLIBC_2.21): New version set.
44241         * include/signal.h: Remove __sigvec declaration.
44242         * sysdeps/unix/bsd/sigvec.c: Remove file.
44243         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44244         * manual/signal.texi (BSD Handler): Remove subsection.
44245         Move siginterrupt up to ...
44246         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44247         (Blocking in BSD): Fold subsection into its parent.
44248         * NEWS: Mention sigvec removal.
44250 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44252         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44253         (DLA_FMS): Make definition conditional only on [__FMA4__].
44254         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44255         definition.
44257         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44258         Make definition conditional only on [PROF].
44259         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44260         definition.
44261         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44262         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44264         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44265         !__GNUC__].
44266         * include/signal.h (__sigpause): Move declaration above call to
44267         libc_hidden_proto.
44268         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44269         variable.
44270         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44271         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44273 2014-11-14  David S. Miller  <davem@davemloft.net>
44275         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44276         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44278 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44280         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44281         * configure: Regenerated.
44282         * manual/install.texi (Tools for Compilation): Document a
44283         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44284         compiler verified to work.
44285         * INSTALL: Regenerated.
44287         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44288         redeclare with asm name.
44289         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44290         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44291         including <string.h>.
44292         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44293         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44294         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44295         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44296         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44298         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44300 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44302         * stdlib/strtol.c (__strtol): Use prototype definition.
44304         [BZ #17594]
44305         * stdlib/strtol.c (SYM__): New macro.
44306         (SYM__1): Likewise.
44307         (__strtol): Likewise.
44308         (strtol): Rename to __strtol and define as weak alias of
44309         __strtol.  Use libc_hidden_weak.
44311 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44313         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44314         Use numbered labels in inline assembly.
44316 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44318         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44319         Add setjmp LIBC_PROBE.
44320         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44321         Likewise.
44322         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44323         Add longjmp, longjmp_target LIBC_PROBE.
44324         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44325         Likewise.
44327 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44329         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44330         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44331         to get rid of unused variable warning.
44333 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44335         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44336         Check for unwind_backtrace ==  NULL only in SHARED case.
44337         (__backchain_backtrace): Compile only in SHARED case.
44338         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44339         Likewise.
44340         (__backchain_backtrace): Declare as static.
44342 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44344         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44345         (__libc_multiple_threads_ptr): Variable moved ...
44346         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44348 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44350         * conform/GlibcConform.pm: New file.
44351         * conform/conformtest.pl: Use GlibcConform module.
44352         * conform/linknamespace.pl: New file.
44353         * conform/list-header-symbols.pl: Likewise.
44354         * conform/Makefile (linknamespace-symlists-base): New variable.
44355         (linknamespace-symlists-tests): Likewise.
44356         (linknamespace-header-base): Likewise.
44357         (linknamespace-header-tests): Likewise.
44358         (tests-special): Add new tests.
44359         ($(linknamespace-symlists-tests)): New rule.
44360         (linknamespace-libs): New variable.
44361         ($(objpfx)symlist-stdlibs): New rule.
44362         ($(linknamespace-header-tests)): Likewise.
44363         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44364         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44365         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44366         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44367         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44368         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44369         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44370         (test-xfail-ISO/math.h/linknamespace): Likewise.
44371         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44372         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44373         (test-xfail-ISO/time.h/linknamespace): Likewise.
44374         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44375         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44376         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44377         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44378         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44379         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44380         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44381         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44382         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44383         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44384         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44385         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44386         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44387         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44388         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44389         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44390         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44391         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44392         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44393         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44394         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44395         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44396         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44397         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44398         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44399         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44400         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44401         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44402         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44403         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44404         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44405         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44406         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44407         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44408         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44409         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44410         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44411         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44412         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44413         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44414         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44415         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44416         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44417         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44418         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44419         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44420         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44421         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44422         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44423         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44424         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44425         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44426         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44427         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44428         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44429         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44430         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44431         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44432         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44433         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44434         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44435         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44436         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44437         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44438         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44439         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44440         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44441         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44442         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44443         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44444         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44445         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44446         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44447         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44448         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44449         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44450         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44451         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44452         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44453         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44454         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44455         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44456         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44457         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44458         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44459         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44460         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44461         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44462         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44463         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44464         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44465         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44466         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44467         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44468         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44469         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44470         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44471         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44472         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44473         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44474         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44475         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44476         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44477         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44478         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44479         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44480         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44481         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44482         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44483         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44484         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44485         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44486         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44487         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44488         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44489         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44490         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44491         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44492         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44493         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44494         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44495         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44496         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44497         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44498         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44499         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44500         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44501         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44502         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44503         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44504         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44505         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44506         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44507         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44508         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44509         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44510         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44511         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44512         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44513         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44514         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44515         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44516         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44517         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44518         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44519         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44520         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44521         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44522         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44523         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44525         [BZ #17589]
44526         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44527         of fgets_unlocked.
44529         [BZ #17585]
44530         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44531         (memmem): Rename to __memmem and define as weak alias of
44532         __memmem.  Use libc_hidden_weak.
44533         (__memmem): Use libc_hidden_def.
44534         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44535         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44536         memmem.
44538         [BZ #17582]
44539         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44540         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44541         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44542         and define as weak alias of __fgets_unlocked.  Use
44543         libc_hidden_weak.
44544         (__fgets_unlocked): Use libc_hidden_def.
44545         * include/stdio.h (__fgets_unlocked): Declare.  Use
44546         libc_hidden_proto.
44547         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44548         __fgets_unlocked instead of fgets_unlocked.
44549         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44550         (GET_NPROCS_CONF_PARSER): Likewise.
44551         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44552         (GET_NPROCS_CONF_PARSER): Likewise.
44554         [BZ #17574]
44555         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44556         weak alias of __wmemset.  Use libc_hidden_weak.
44557         (__wmemset): Use libc_hidden_def.
44558         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44559         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44560         of wmemset.
44562         [BZ #17573]
44563         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44564         with asm name __mempcpy.
44565         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44567         [BZ #17572]
44568         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44569         and define as weak alias of __rawmemchr.
44570         (__rawmemchr): Do not define as strong alias of rawmemchr.
44572         [BZ #17571]
44573         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44574         alias of __qsort_r.
44575         (qsort): Call __qsort_r instead of qsort_r.
44576         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44577         (__qsort_r): Declare.  Call libc_hidden_proto.
44578         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44579         instead of qsort_r.
44580         * nscd/gai.c (__qsort_r): Define to qsort_r.
44581         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44582         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44583         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44585         [BZ #17570]
44586         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44587         define as weak alias of __malloc_info.
44589         [BZ #17584]
44590         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44591         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44592         (__rewinddir): Use libc_hidden_def.
44593         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44594         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44595         (__rewinddir): Use libc_hidden_def.
44596         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44597         weak alias of __rewinddir.  Don't use libc_hidden_def.
44598         (__rewinddir): Use libc_hidden_def.
44599         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44600         (__rewinddir): Use libc_hidden_proto.
44601         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44602         rewinddir.
44603         (__getcwd): Use __rewinddir instead of rewinddir.
44605         [BZ #17583]
44606         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44607         alias of __fileno.  Use libc_hidden_weak.
44608         (__fileno): Use libc_hidden_def.
44609         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44610         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44611         alias of __ftello.
44612         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44613         __ftello.
44614         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44615         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44616         libc_hidden_def.
44617         (fread_unlocked): Don't use libc_hidden_ver.
44618         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44619         and define as weak alias of __fread_unlocked.  Don't use
44620         libc_hidden_def.
44621         (__fread_unlocked): Use libc_hidden_def.
44622         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44623         (ftello): Don't use libc_hidden_proto.
44624         (__ftello): Declare.  Use libc_hidden_proto.
44625         (fread_unlocked): Don't use libc_hidden_proto.
44626         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44627         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44628         and __ftello instead of fileno, fread_unlocked and ftello.
44630 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44632         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44633         GOT12.
44634         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44635         Likewise.
44636         (_dl_start_user): Likewise.
44637         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44639 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44640             Siddhesh Poyarekar  <siddhesh@redhat.com>
44642         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44643         Move argv and envp down instead of moving argc up.
44644         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44646 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44648         [BZ #17506]
44649         * test-skeleton.c (main): Return successful if one of
44650         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44651         * string/tst-strcoll-overflow.c: Define expected status.
44653 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44655         [BZ #17475]
44656         * locale/iso-639.def: Define Bhili and Tulu language codes.
44658 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44660         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44662 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44664         [BZ #17555]
44665         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44667 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44669         * configure.ac: Updated check of minimal required version to
44670         2.22.
44671         * manual/install.texi (Tools for Compilation): Updated version
44672         number.
44673         * configure: Regenerated.
44674         * INSTALL: Likewise.
44676 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44678         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44679         __tls_get_addr.
44681 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44683         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44684         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44685         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44686         libc_hidden_weak.
44687         (waitpid): Define as alias of __waitpid.
44688         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44689         __waitpid.
44690         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44691         libc_hidden_weak.
44692         (waitpid): Define as alias of __waitpid.
44693         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44694         __libc_waitpid alias.
44695         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44696         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44697         Likewise.
44698         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44699         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44700         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44701         alias.
44702         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44703         __waitpid.
44704         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44705         libc_hidden_weak.
44706         (waitpid): Define as alias of __waitpid.
44708 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44710         * manual/llio.texi: Add comment that write safety has been
44711         fixed in Linux.
44713         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44714         (localplt-build-dso): Add elf/ld.so.
44715         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44716         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44717         and free for ld.so.
44718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44719         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44721         Likewise.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44723         Likewise.
44724         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44725         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44726         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44727         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44728         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44729         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44730         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44731         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44732         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44733         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44734         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44736 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44738         [BZ #14132]
44739         * include/libc-symbols.h (INTUSE): Remove macro.
44740         (INTDEF): Likewise.
44741         (INTVARDEF): Likewise.
44742         (_INTVARDEF): Likewise.
44743         (INTDEF2): Likewise.
44744         (INTVARDEF2): Likewise.
44745         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44746         rtld_hidden_def instead of INTVARDEF.
44747         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44748         (_dl_starting_up_internal): Remove declaration.
44749         (_dl_starting_up): Use rtld_hidden_proto.
44750         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44751         declaration.
44752         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44753         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44754         _dl_starting_up.
44755         * elf/dl-writev.h (_dl_writev): Likewise.
44756         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44757         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44758         _dl_starting_up_internal.
44760 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44762         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44763         test-skeleton.c.
44765 2014-11-05  Will Newton  <will.newton@linaro.org>
44767         * benchtests/Makefile: (bench-malloc): Add malloc thread
44768         scalability benchmark.
44769         * benchtests/bench-malloc-threads.c: New file.
44771 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44773         * sysdeps/aarch64/strchrnul.S: New file.
44775 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44777         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44778         definition.
44779         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44780         Likewise.
44781         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44782         Likewise.
44783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44784         Likewise.
44785         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44786         Likewise.
44787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44788         Likewise.
44790 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44792         * catgets/test-gencat.c: Use test-skeleton.c.
44793         * catgets/tst-catgets.c: Likewise.
44794         * csu/tst-empty.c: Likewise.
44795         * elf/tst-audit2.c: Likewise.
44796         * elf/tst-global1.c: Likewise.
44797         * elf/tst-pathopt.c: Likewise.
44798         * elf/tst-piemod1.c: Likewise.
44799         * elf/tst-tls10.c: Likewise.
44800         * elf/tst-tls11.c: Likewise.
44801         * elf/tst-tls12.c: Likewise.
44802         * gnulib/tst-gcc.c: Likewise.
44803         * iconvdata/tst-e2big.c: Likewise.
44804         * iconvdata/tst-loading.c: Likewise.
44805         * iconv/tst-iconv1.c: Likewise.
44806         * iconv/tst-iconv2.c: Likewise.
44807         * inet/test-inet6_opt.c: Likewise.
44808         * inet/tst-gethnm.c: Likewise.
44809         * inet/tst-network.c: Likewise.
44810         * inet/tst-ntoa.c: Likewise.
44811         * intl/tst-codeset.c: Likewise.
44812         * intl/tst-gettext2.c: Likewise.
44813         * intl/tst-gettext3.c: Likewise.
44814         * intl/tst-ngettext.c: Likewise.
44815         * intl/tst-translit.c: Likewise.
44816         * io/test-stat.c: Likewise.
44817         * libio/test-fmemopen.c: Likewise.
44818         * libio/tst-freopen.c: Likewise.
44819         * libio/tst-sscanf.c: Likewise.
44820         * libio/tst-ungetwc1.c: Likewise.
44821         * libio/tst-ungetwc2.c: Likewise.
44822         * libio/tst-widetext.c: Likewise.
44823         * localedata/tst-ctype.c: Likewise.
44824         * localedata/tst-digits.c: Likewise.
44825         * localedata/tst-leaks.c: Likewise.
44826         * localedata/tst-mbswcs1.c: Likewise.
44827         * localedata/tst-mbswcs2.c: Likewise.
44828         * localedata/tst-mbswcs3.c: Likewise.
44829         * localedata/tst-mbswcs4.c: Likewise.
44830         * localedata/tst-mbswcs5.c: Likewise.
44831         * localedata/tst-setlocale.c: Likewise.
44832         * localedata/tst-trans.c: Likewise.
44833         * localedata/tst-wctype.c: Likewise.
44834         * localedata/tst-xlocale1.c: Likewise.
44835         * login/tst-grantpt.c: Likewise.
44836         * malloc/tst-calloc.c: Likewise.
44837         * malloc/tst-malloc.c: Likewise.
44838         * malloc/tst-mallocstate.c: Likewise.
44839         * malloc/tst-mcheck.c: Likewise.
44840         * malloc/tst-mtrace.c: Likewise.
44841         * malloc/tst-obstack.c: Likewise.
44842         * math/atest-exp2.c: Likewise.
44843         * math/atest-exp.c: Likewise.
44844         * math/atest-sincos.c: Likewise.
44845         * math/test-matherr.c: Likewise.
44846         * math/test-misc.c: Likewise.
44847         * math/test-powl.c: Likewise.
44848         * math/tst-definitions.c: Likewise.
44849         * misc/tst-dirname.c: Likewise.
44850         * misc/tst-efgcvt.c: Likewise.
44851         * misc/tst-fdset.c: Likewise.
44852         * misc/tst-hsearch.c: Likewise.
44853         * misc/tst-mntent2.c: Likewise.
44854         * nptl/tst-sem7.c: Likewise.
44855         * nptl/tst-sem8.c: Likewise.
44856         * nptl/tst-sem9.c: Likewise.
44857         * nss/test-netdb.c: Likewise.
44858         * posix/tst-fnmatch.c: Likewise.
44859         * posix/tst-getlogin.c: Likewise.
44860         * posix/tst-gnuglob.c: Likewise.
44861         * posix/tst-mmap.c: Likewise.
44862         * pwd/tst-getpw.c: Likewise.
44863         * resolv/tst-inet_ntop.c: Likewise.
44864         * rt/tst-timer.c: Likewise.
44865         * stdio-common/test-fseek.c: Likewise.
44866         * stdio-common/test-popen.c: Likewise.
44867         * stdio-common/test-vfprintf.c: Likewise.
44868         * stdio-common/tst-cookie.c: Likewise.
44869         * stdio-common/tst-fileno.c: Likewise.
44870         * stdio-common/tst-gets.c: Likewise.
44871         * stdio-common/tst-obprintf.c: Likewise.
44872         * stdio-common/tst-perror.c: Likewise.
44873         * stdio-common/tst-sprintf2.c: Likewise.
44874         * stdio-common/tst-sprintf3.c: Likewise.
44875         * stdio-common/tst-sprintf.c: Likewise.
44876         * stdio-common/tst-swprintf.c: Likewise.
44877         * stdio-common/tst-tmpnam.c: Likewise.
44878         * stdio-common/tst-unbputc.c: Likewise.
44879         * stdio-common/tst-wc-printf.c: Likewise.
44880         * stdlib/tst-environ.c: Likewise.
44881         * stdlib/tst-fmtmsg.c: Likewise.
44882         * stdlib/tst-limits.c: Likewise.
44883         * stdlib/tst-rand48-2.c: Likewise.
44884         * stdlib/tst-rand48.c: Likewise.
44885         * stdlib/tst-random2.c: Likewise.
44886         * stdlib/tst-random.c: Likewise.
44887         * stdlib/tst-strtol.c: Likewise.
44888         * stdlib/tst-strtoll.c: Likewise.
44889         * stdlib/tst-tls-atexit.c: Likewise.
44890         * stdlib/tst-xpg-basename.c: Likewise.
44891         * string/test-ffs.c: Likewise.
44892         * string/tst-bswap.c: Likewise.
44893         * string/tst-inlcall.c: Likewise.
44894         * string/tst-strtok.c: Likewise.
44895         * string/tst-strxfrm.c: Likewise.
44896         * sysdeps/x86_64/tst-audit10.c: Likewise.
44897         * sysdeps/x86_64/tst-audit3.c: Likewise.
44898         * sysdeps/x86_64/tst-audit4.c: Likewise.
44899         * sysdeps/x86_64/tst-audit5.c: Likewise.
44900         * time/tst-ftime_l.c: Likewise.
44901         * time/tst-getdate.c: Likewise.
44902         * time/tst-mktime3.c: Likewise.
44903         * time/tst-mktime.c: Likewise.
44904         * time/tst-posixtz.c: Likewise.
44905         * time/tst-strptime2.c: Likewise.
44906         * time/tst-strptime3.c: Likewise.
44907         * wcsmbs/tst-btowc.c: Likewise.
44908         * wcsmbs/tst-mbrtowc.c: Likewise.
44909         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44910         * wcsmbs/tst-wchar-h.c: Likewise.
44911         * wcsmbs/tst-wcpncpy.c: Likewise.
44912         * wcsmbs/tst-wcrtomb.c: Likewise.
44913         * wcsmbs/tst-wcsnlen.c: Likewise.
44914         * wcsmbs/tst-wcstof.c: Likewise.
44916 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44918         [BZ #14132]
44919         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44920         INTDEF.
44921         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44922         declaration.
44923         (_dl_mcount): Use rtld_hidden_proto.
44924         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44925         _dl_mcount.
44926         * elf/rtld.c (_rtld_global_ro): Likewise.
44928         [BZ #14132]
44929         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44930         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44931         of _dl_init_internal.
44932         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44933         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44934         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44935         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44936         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44937         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44938         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44939         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44940         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44941         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44942         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44943         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44944         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44945         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44946         * sysdeps/tile/dl-start.S (_start): Likewise.
44947         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44948         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44950         [BZ #14132]
44951         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44952         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44953         (rtld_progname): Make macro definition unconditional.
44954         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44955         INTDEF.
44956         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44957         (dl_main): Likewise.
44958         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44959         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44960         instead of _dl_argv_internal.
44961         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44962         __GI__dl_argv instead of INTUSE(_dl_argv).
44963         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44964         __GI__dl_argv instead of _dl_argv_internal.
44966         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44967         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44968         macro.
44969         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44970         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44971         New macro.
44972         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44973         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44974         macro.
44975         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44976         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44978 2014-11-04  Andreas Schwab  <schwab@suse.de>
44980         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44982 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44984         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44985         mtvsrd instruction in binary form.
44987 2014-11-03  Andreas Schwab  <schwab@suse.de>
44989         [BZ #17522]
44990         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44991         for less than MB_LEN_MAX use a local buffer of that size.
44992         * libio/tst-fputws.c: New file.
44993         * libio/Makefile (tests): Add tst-fputws.
44995 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44997         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44998         the size of the fpu_fr.fpu_dregs[] array.
45000 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
45002         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45003         (__nanosleep): Do not define as alias.
45004         (nanosleep): Define as alias of __nanosleep.
45005         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45006         __libc_nanosleep name.
45008 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45010         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45011         install.texi in comment.
45013 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45015         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45016         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45017         ... add here and use lwsync or sync ...
45018         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45019         ... and add here using lwsync.
45021 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
45023         * elf/dl-machine-reject-phdr.h: New file.
45024         * elf/dl-load.c: #include that.
45025         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45026         if that returned true.
45028 2014-10-31  Roland McGrath  <roland@hack.frob.com>
45030         [BZ #17496]
45031         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45032         gen-as-const-headers chunk.  Add a big scare comment after the last
45033         safe place to touch before-compile.
45035 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45037         * manual/install.texi (Tools for Compilation): Update autoconf
45038         version requirements.
45039         * INSTALL: Regenerated.
45041         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45042         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45043         (__libc_pselect): Likewise.
45045         [BZ #14138]
45046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45051 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45053         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45054         correct barrier instruction.
45055         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45056         Likewise.
45057         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45058         Likewise.
45060 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45062         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45063         after defining inlines.  Instead, just use parens to defeat macro
45064         expansion of __isctype in its declaration.
45066 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45068         * include/sys/uio.h (__libc_readv): Remove declaration.
45069         (__libc_writev): Likewise.
45070         * misc/readv.c (__libc_readv): Rename to __readv.
45071         (__readv): Do not define as alias.
45072         (readv): Define as alias of __readv.
45073         * misc/writev.c (__libc_writev): Rename to __writev.
45074         (__writev): Do not define as alias.
45075         (writev): Define as alias of __writev.
45076         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45077         (__readv): Do not define as alias.
45078         (readv): Define unconditionally as alias of __readv.
45079         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45080         (__writev): Do not define as alias.
45081         (writev): Define unconditionally as alias of __writev.
45082         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45083         name.
45084         (writev): Do not define __libc_writev name.
45086 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45088         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45089         (convert_charseq): New function, broken out of ...
45090         (use_from_charmap): ... here.  Call it.
45091         (use_to_charmap): Use convert_charseq and free instead of duplicating
45092         its code with a variable-length stack struct.
45094 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45096         * include/fcntl.h (__libc_creat): Remove declaration.
45097         * io/creat.c (__libc_creat): Rename to creat.
45098         (creat): Do not define as alias.
45099         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45100         of creat instead of __libc_creat.
45101         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45102         to creat.
45103         (creat): Do not define as alias.
45104         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45105         __libc_creat.
45106         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45107         __libc_creat name.
45108         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45109         Likewise.
45111 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45113         * manual/llio.texi: Add comments discussing why write() may be
45114         considered MT-unsafe on Linux.
45116 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45118         * dl-load.c (local_strdup): Remove.
45119         (expand_dynamic_string_token): Use __strdup.
45120         (decompose_rpath): Likewise.
45121         (_dl_map_object): Likewise.
45123 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45125         [BZ #14132]
45126         * sysdeps/generic/unwind-dw2-fde.c
45127         (__register_frame_info_bases_internal): Do not declare.
45128         (__register_frame_info_table_bases_internal): Likewise.
45129         (__deregister_frame_info_bases_internal): Likewise.
45130         (__register_frame_info_bases): Declare and use hidden_proto before
45131         definition.  Use hidden_def instead of INTDEF.
45132         (__register_frame_info_table_bases): Likewise.
45133         (__deregister_frame_info_bases): Likewise.
45134         (__register_frame_info): Do not use INTUSE.
45135         (__register_frame): Likewise.
45136         (__register_frame_info_table): Likewise.
45137         (__register_frame_table): Likewise.
45138         (__deregister_frame_info): Likewise.
45139         (__deregister_frame): Likewise.
45141 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45143         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45144         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45145         not undefine.
45146         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45147         Likewise.
45148         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45149         Likewise.
45151 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45153         [BZ #14138]
45154         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45155         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45156         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45157         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45158         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45159         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45160         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45161         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45162         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45163         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45164         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45165         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45166         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45167         syscall.
45168         (setfsuid): Likewise.
45169         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45170         (setfsuid): Likewise.
45171         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45172         (setfsuid): Likewise.
45173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45174         Likewise.
45175         (setfsuid): Likewise.
45176         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45177         (setfsuid): Likewise.
45178         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45179         Likewise.
45180         (setfsuid): Likewise.
45182 2014-10-27  Andreas Schwab  <schwab@suse.de>
45184         [BZ #17501]
45185         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45186         check for Slow_SSE4_2 feature bit.
45187         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45188         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45189         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45190         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45192 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45194         * configure.ac: Validate compiler version with a empirical test of
45195         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45196         $CC -v output.
45197         * configure: Regenerated.
45199         * inet/htons.c (htons): Prototypify.
45200         * inet/htonl.c (htonl): Likewise.
45202 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45204         * string/strncat.c (strncat): Improve performance by using strlen.
45206 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45208         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45210 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45212         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45213         Call libc_fetestexcept_aarch64.
45215 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45217         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45218         Call libc_feholdexcept_aarch64.
45220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45222         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45223         Call get_rounding_mode.
45225 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45227         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45228         Simplify logic.
45230 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45232         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45233         Simplify logic.
45235 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45237         [BZ #14138]
45238         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45239         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45240         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45241         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45242         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45243         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45244         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45245         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45246         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45247         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45248         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45249         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45250         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45251         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45252         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45253         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45254         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45255         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45256         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45257         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45258         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45259         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45260         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45261         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45262         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45263         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45264         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45265         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45266         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45267         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45268         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45269         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45270         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45271         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45272         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45273         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45274         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45275         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45276         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45277         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45278         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45279         syscall.
45280         (geteuid): Likewise.
45281         (getgid): Likewise.
45282         (getuid): Likewise.
45283         (getresgid): Likewise.
45284         (getresuid): Likewise.
45285         (getgroups): Likewise.
45286         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45287         (geteuid): Likewise.
45288         (getgid): Likewise.
45289         (getuid): Likewise.
45290         (getresgid): Likewise.
45291         (getresuid): Likewise.
45292         (getgroups): Likewise.
45293         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45294         (geteuid): Likewise.
45295         (getgid): Likewise.
45296         (getuid): Likewise.
45297         (getresgid): Likewise.
45298         (getresuid): Likewise.
45299         (getgroups): Likewise.
45300         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45301         Likewise.
45302         (geteuid): Likewise.
45303         (getgid): Likewise.
45304         (getuid): Likewise.
45305         (getresgid): Likewise.
45306         (getresuid): Likewise.
45307         (getgroups): Likewise.
45308         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45309         (geteuid): Likewise.
45310         (getgid): Likewise.
45311         (getuid): Likewise.
45312         (getresgid): Likewise.
45313         (getresuid): Likewise.
45314         (getgroups): Likewise.
45315         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45316         Likewise.
45317         (geteuid): Likewise.
45318         (getgid): Likewise.
45319         (getuid): Likewise.
45320         (getgroups): Likewise.
45322         [BZ #14138]
45323         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45324         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45325         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45326         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45327         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45328         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45329         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45330         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45331         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45332         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45333         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45334         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45335         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45336         __chown.
45337         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45338         (lchown): Likewise.
45339         (fchown): Likewise.
45340         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45341         Likewise.
45342         (lchown): Likewise.
45343         (fchown): Likewise.
45344         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45345         (lchown): Likewise.
45346         (fchown): Likewise.
45347         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45348         Likewise.
45349         (lchown): Likewise.
45350         (fchown): Likewise.
45352 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45354         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45355         Simplify logic.
45357 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45359         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45360         Cleanup logic.
45362 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45364         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45365         Remove unused include.
45367 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45369         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45370         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45371         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45372         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45374 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45375             Helge Deller <deller@gmx.de>
45377         [BZ #17508]
45378         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45379         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45380         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45382 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45384         [BZ #14132]
45385         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45386         Remove macro definition.
45387         (__ashrdi3_v_glibc20): Likewise.
45388         (__lshrdi3_v_glibc20): Likewise.
45389         (__cmpdi2_v_glibc20): Likewise.
45390         (__ucmpdi2_v_glibc20): Likewise.
45391         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45392         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45393         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45394         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45395         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45396         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45398 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45400         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45401         old GNU extension [0] syntax.
45402         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45403         alloca rather than an array member with variable length.
45404         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45405         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45406         (parse_opt): ... here.  Likewise use alloca there.
45407         Validate the -i argument before checking for rootness.
45408         (send_shutdown): New function, broken out of ...
45409         (parse_opt): ... here.
45411 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45413         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45414         macro to get at the _rt_local_ro field.
45415         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45416         ([PIC] case) or _dl_hwcap ([!PIC] case).
45417         * sysdeps/arm/setjmp.S: Likewise.
45419         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45420         * sysdeps/arm/configure.ac: New check to define it.
45421         * sysdeps/arm/configure: Regenerated.
45422         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45423         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45424         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45425         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45426         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45427         Use move/movt pair instead of a load.
45428         (LDST_GLOBAL): Macro removed.
45429         (LDR_GLOBAL): New macro replaces it.
45430         (LDR_HIDDEN): New macro.
45431         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45432         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45434         * setjmp/tst-setjmp-static.c: New file.
45435         * setjmp/Makefile (tests): Add it.
45436         (tests-static): New variable.
45438 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45440         [BZ #17485]
45441         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45443 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45445         [BZ #14132]
45446         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45448 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45450         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45452 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45454         * io/fts.c (dirent_not_directory): New function.
45455         (fts_build): Call it.
45457 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45459         * nptl/version.c (__nptl_main): Use normal __write rather than
45460         INTERNAL_SYSCALL.
45461         (banner): Update copyright years.
45463         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45464         gettimeofday.
45465         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45466         * nptl/pthread_cond_timedwait.c: Likewise.
45467         * nptl/pthread_mutex_timedlock.c: Likewise.
45468         * nptl/sem_timedwait.c: Likewise.
45470         * sysdeps/nptl/bits/libc-lock.h
45471         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45472         (__libc_lock_init_recursive): Return void, not 0.
45473         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45474         (__libc_rwlock_init): Likewise.
45475         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45477 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45479         [BZ #15215]
45480         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45481         (__pthread_once_slow): ... here.
45482         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45483         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45485 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45487         [BZ #15215]
45488         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45489         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45490         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45491         * nptl/pthread_once.c (__pthread_once): Likewise.
45492         Update comments.
45494 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45496         [BZ #14138]
45497         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45498         name.
45499         (writev): Use __libc_writev as strong name.
45500         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45501         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45503 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45505         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45507         * sysdeps/i386/nptl/tls.h
45508         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45509         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45510         New macros.
45511         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45512         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45513         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45514         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45515         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45516         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45518         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45519         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45520         on [__NR_futex].
45521         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45522         broken out of ...
45523         (__pthread_mutex_init): ... here.  Call it.
45524         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45525         Conditionalize PI cases on [__NR_futex].
45526         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45527         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45528         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45530         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45531         conditional on [SIGSETXID].
45532         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45533         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45534         is defined.  Likewise for SIGSETXID.
45535         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45536         Conditionalize definitions on [SIGSETXID].
45537         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45538         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45539         unblocking on [SIGCANCEL].
45541         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45542         [__NR_set_robust_list].
45544 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45546         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45547         (do_compare): Likewise.
45549 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45551         [BZ #15884]
45552         * string/strcoll_l.c: Don't include stdio.h.
45553         (coll_seq): Remove members idxarr and rulearr.
45554         (get_next_seq_cached): Remove function.
45555         (get_next_seq): Likewise.
45556         (get_next_seq_nocache): Rename to get_next_seq.
45557         (do_compare): Remove function.
45558         (do_compare_nocache): Rename to do_compare.
45559         (STRCOLL): Remove weight and rules cache.
45561 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45563         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45564         * sysdeps/arm/sfp-machine.h: ... to here.
45565         * sysdeps/arm/Implies: Remove arm/soft-fp.
45567 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45569         * conform/data/sys/utsname.h-data (*_t): Allow.
45570         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45571         [POSIX] (WEXITED): Do not expect constant.
45572         [POSIX] (WSTOPPED): Likewise.
45573         [POSIX] (WNOHANG): Likewise.
45574         [POSIX] (WNOWAIT): Likewise.
45575         [POSIX] (siginfo_t): Do not expect type or elements.
45576         [POSIX] (pid_t): Do not expect type.
45577         [POSIX] (signal.h): Do not allow header.
45578         [POSIX] (sys/resource.h): Likewise.
45579         [POSIX] (si_*): Do not allow pattern.
45580         [POSIX] (W*): Likewise.
45581         [POSIX] (P_*): Likewise.
45582         [POSIX] (BUS_*): Likewise.
45583         [POSIX] (CLD_*): Likewise.
45584         [POSIX] (FPE_*): Likewise.
45585         [POSIX] (ILL_*): Likewise.
45586         [POSIX] (POLL_*): Likewise.
45587         [POSIX] (SEGV_*): Likewise.
45588         [POSIX] (SI_*): Likewise.
45589         [POSIX] (TRAP_*): Likewise.
45590         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45591         variable.
45593 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45595         [BZ #12926]
45596         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45597         infinite loop when __recvmsg returns 0.
45599 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45601         * CANCEL-FCT-WAIVE: Remove file.
45602         * CANCEL-FILE-WAIVE: Likewise.
45604         [BZ #14132]
45605         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45606         instead of INTVARDEF.
45607         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45608         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45609         rtld_hidden_data_def instead of INTVARDEF.
45610         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45611         * elf/dl-deps.c (expand_dst): Likewise.
45612         * elf/dl-load.c (_dl_dst_count): Likewise.
45613         (_dl_dst_substitute): Likewise.
45614         (decompose_rpath): Likewise.
45615         (_dl_init_paths): Likewise.
45616         (open_path): Likewise.
45617         (_dl_map_object): Likewise.
45618         * elf/rtld.c (dl_main): Likewise.
45619         (process_dl_audit): Likewise.
45620         (process_envvars): Likewise.
45621         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45622         Remove declaration.
45623         (__libc_enable_secure): Use rtld_hidden_proto.
45625 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45627         * elf/dl-load.c
45628         (add_path): New function broken out of _dl_rtld_di_serinfo.
45629         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45631 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45633         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45634         parentheses around macro arguments.
45635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45639         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45641         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45643         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45644         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45645         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45646         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45647         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45648         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45649         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45650         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45651         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45652         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45664         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45665         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45668         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45669         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45670         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45671         Likewise.
45672         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45673         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45674         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45675         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45676         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45677         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45679         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45680         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45681         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45682         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45683         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45684         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45687         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45688         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45691         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45692         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45693         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45695         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45696         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45697         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45698         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45699         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45700         (_FP_FRAC_SRS_1): Likewise.
45701         (_FP_FRAC_CLZ_1): Likewise.
45702         (_FP_MUL_MEAT_1_imm): Likewise.
45703         (_FP_MUL_MEAT_1_wide): Likewise.
45704         (_FP_MUL_MEAT_1_hard): Likewise.
45705         (_FP_SQRT_MEAT_1): Likewise.
45706         (_FP_FRAC_ASSEMBLE_1): Likewise.
45707         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45708         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45709         (__FP_CLZ_2): Likewise.
45710         (_FP_MUL_MEAT_2_wide): Likewise.
45711         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45712         (_FP_MUL_MEAT_2_gmp): Likewise.
45713         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45714         (_FP_SQRT_MEAT_2): Likewise.
45715         (_FP_FRAC_ASSEMBLE_2): Likewise.
45716         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45717         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45718         (_FP_FRAC_CLZ_4): Likewise.
45719         (_FP_MUL_MEAT_4_wide): Likewise.
45720         (_FP_MUL_MEAT_4_gmp): Likewise.
45721         (_FP_SQRT_MEAT_4): Likewise.
45722         (_FP_FRAC_ASSEMBLE_4): Likewise.
45723         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45724         * soft-fp/op-common.h (_FP_CMP): Likewise.
45725         (_FP_CMP_EQ): Likewise.
45726         (_FP_CMP_UNORD): Likewise.
45727         (_FP_TO_INT): Likewise.
45728         (_FP_FROM_INT): Likewise.
45729         [!__FP_CLZ] (__FP_CLZ): Likewise.
45730         (_FP_DIV_HELP_imm): Likewise.
45731         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45732         Likewise.
45733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45735         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45736         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45737         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45739         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45741         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45742         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45743         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45744         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45745         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45746         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45747         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45748         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45749         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45754         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45757         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45759         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45760         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45761         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45762         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45763         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45764         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45765         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45766         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45767         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45768         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45769         (FP_UNPACK_RAW_SP): Likewise.
45770         (FP_PACK_RAW_S): Likewise.
45771         (FP_PACK_RAW_SP): Likewise.
45772         (FP_UNPACK_S): Likewise.
45773         (FP_UNPACK_SP): Likewise.
45774         (FP_UNPACK_SEMIRAW_S): Likewise.
45775         (FP_UNPACK_SEMIRAW_SP): Likewise.
45776         (FP_PACK_S): Likewise.
45777         (FP_PACK_SP): Likewise.
45778         (FP_PACK_SEMIRAW_S): Likewise.
45779         (FP_PACK_SEMIRAW_SP): Likewise.
45780         (_FP_SQRT_MEAT_S): Likewise.
45781         (FP_CMP_S): Likewise.
45782         (FP_CMP_EQ_S): Likewise.
45783         (FP_CMP_UNORD_S): Likewise.
45784         (FP_TO_INT_S): Likewise.
45785         (FP_FROM_INT_S): Likewise.
45787         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45789         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45790         (FP_EX_INVALID_IMZ): Likewise.
45791         (FP_EX_INVALID_IMZ_FMA): Likewise.
45792         (FP_EX_INVALID_ISI): Likewise.
45793         (FP_EX_INVALID_ZDZ): Likewise.
45794         (FP_EX_INVALID_IDI): Likewise.
45795         (FP_EX_INVALID_SQRT): Likewise.
45796         (FP_EX_INVALID_CVI): Likewise.
45797         (FP_EX_INVALID_VC): Likewise.
45798         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45799         "invalid" exceptions.
45800         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45801         (_FP_ADD_INTERNAL): Likewise.
45802         (_FP_MUL): Likewise.
45803         (_FP_FMA): Likewise.
45804         (_FP_DIV): Likewise.
45805         (_FP_CMP_CHECK_NAN): Likewise.
45806         (_FP_SQRT): Likewise.
45807         (_FP_TO_INT): Likewise.
45808         (FP_EXTEND): Likewise.
45810 2014-10-09  Allan McRae  <allan@archlinux.org>
45812         * po/fr.po: Update French translation from translation project.
45814 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45816         [BZ #14132]
45817         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45818         of INTDEF.
45819         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45820         (__cxa_atexit): Use libc_hidden_proto.
45821         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45823         [BZ #14132]
45824         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45825         declaration.
45826         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45827         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45828         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45829         [!_ISOMAC] (__iswctype_internal): Likewise.
45830         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45831         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45832         alias.
45833         (fcntl): Remove __fcntl_internal alias.
45834         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45835         __connect_internal alias.
45836         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45837         Likewise.
45839         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45840         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45841         FP_DENORM_ZERO.
45842         (_FP_CHECK_FLUSH_ZERO): New macro.
45843         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45844         (_FP_CMP): Likewise.
45845         (_FP_CMP_EQ): Likewise.
45846         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45847         FP_DENORM_ZERO.
45848         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45849         (FP_TRUNC): Likewise.
45851         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45852         treated as invalid conversion, not as normal exponent.
45854         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45855         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45856         (_FP_CMP_EQ): Likewise.
45857         (_FP_CMP_UNORD): Likewise.
45858         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45859         (FP_CMP_EQ_D): Likewise.
45860         (FP_CMP_UNORD_D): Likewise.
45861         * soft-fp/extended.h (FP_CMP_E): Likewise.
45862         (FP_CMP_EQ_E): Likewise.
45863         (FP_CMP_UNORD_E): Likewise.
45864         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45865         (FP_CMP_EQ_Q): Likewise.
45866         (FP_CMP_UNORD_Q): Likewise.
45867         * soft-fp/single.h (FP_CMP_S): Likewise.
45868         (FP_CMP_EQ_S): Likewise.
45869         (FP_CMP_UNORD_S): Likewise.
45870         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45871         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45872         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45873         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45874         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45875         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45876         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45877         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45878         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45879         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45880         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45881         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45882         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45883         to FP_CMP_Q.
45884         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45885         FP_CMP_Q.
45886         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45887         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45888         FP_CMP_EQ_Q.
45889         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45890         FP_CMP_Q.
45891         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45892         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45893         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45894         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45895         FP_CMP_EQ_Q.
45896         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45897         FP_CMP_Q.
45898         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45899         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45900         FP_CMP_EQ_Q.
45901         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45902         FP_CMP_Q.
45903         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45904         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45905         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45906         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45907         FP_CMP_EQ_Q.
45909         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45910         a subnormal result, set the underflow exception if trapping on
45911         underflow is enabled.
45912         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45913         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45914         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45915         redefine to 0.
45916         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45917         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45918         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45919         * soft-fp/extendxftf2.c (__extendxftf2): Use
45920         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45922         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45923         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45924         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45925         FP_HANDLE_EXCEPTIONS.
45926         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45927         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45928         FP_HANDLE_EXCEPTIONS.
45929         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45930         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45931         FP_HANDLE_EXCEPTIONS.
45932         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45933         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45934         FP_HANDLE_EXCEPTIONS.
45936 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45938         [BZ #14132]
45939         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45940         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45941         use INTUSE.
45942         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45943         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45944         Remove alias.
45945         (__adjtimex): Define using libc_hidden_ver.
45946         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45947         Remove declaration.
45948         (ntp_gettime): Call __adjtimex directly.
45949         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45950         Remove declaration.
45951         (ntp_gettimex): Call __adjtimex directly.
45952         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45953         __adjtimex_internal alias.
45955 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45957         [BZ #17460]
45958         * nscd/nscd.c (more_help): Rewrite list of tables collection
45959         using xstrdup and asprintf.
45961         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45963 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45964             Roland McGrath  <roland@hack.frob.com>
45966         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45967         (do_lookup_unique): ... local function 'enter' here; update callers.
45969 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45971         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45972         compat_symbol calls on [SHARED].
45973         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45974         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45975         Remove.
45976         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45977         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45978         (oldsetrlimit): Remove.
45979         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45981         (lchown): New syscall entry.
45982         (oldsetrlimit): Remove.
45983         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45985         (oldsetrlimit): Remove.
45986         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45988         [BZ #14138]
45989         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45990         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45991         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45992         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45993         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45994         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45995         (fchown): Likewise.
45996         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45997         (fchown): Likewise.
45998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45999         Likewise.
46001 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46003         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46004         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46005         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46006         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46007         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46008         Likewise.
46009         (__old_sem_post): Likewise.
46011 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
46013         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46014         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46015         HAVE_CLOCK_GETTIME_VSYSCALL macros.
46016         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46017         Use INLINE_VSYSCALL macro.
46018         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46019         __vdso_clock_gettime.
46020         * sysdeps/unix/sysv/linux/tile/init-first.c
46021         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46022         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46023         __vdso_clock_gettime.
46025         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46026         to set up frame more cleanly.
46028         * sysdeps/tile/memcmp.c: New file.
46030         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46032         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46033         * sysdeps/tile/tilegx/strcasestr.c: New file.
46034         * sysdeps/tile/tilegx/strnlen.c: New file.
46035         * sysdeps/tile/tilegx/strstr.c: New file.
46037         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46039 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46041         * nptl/tst-setuid3.c: Write errors to stdout.
46043 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46045         * elf/dl-deps.c
46046         (preload): New functions broken out of _dl_map_object_deps.
46047         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46049 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46051         [BZ #14138]
46052         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46053         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46055 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46057         * sysdeps/mips/strcmp.S: New.
46059 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46061         [BZ #14138]
46062         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46063         (linkat): Likewise.
46064         (mkdirat): Likewise.
46065         (readlinkat): Likewise.
46066         (renameat): Likewise.
46067         (symlinkat): Likewise.
46068         (unlinkat): Likewise.
46069         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46070         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46071         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46072         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46073         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46074         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46075         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46077 2014-09-30  Will Newton  <will.newton@linaro.org>
46079         * math/math.h: Define long double math functions if
46080         _LIBC_TEST is defined.
46081         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46083         * localedata/Makefile: Move assignment to tests-special
46084         into an ifdef testing run-built-tests.
46085         * timezone/Makefile: Likewise.
46087 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46089         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46090         with $(BASH) not $(SHELL).
46092 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46093             Matthew LeGendre  <legendre1@llnl.gov>
46095         [BZ #17411]
46096         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46097         l_reloc_result.
46099 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46101         * stdio-common/printf_fp.c
46102         (hack_digit): New function, broken out of ...
46103         (__printf_fp): ... local function here.  Update call sites.
46104         hack_digit now takes an additional parameter that is a pointer
46105         to a struct of the referenced locals.  Those locals moved inside
46106         the struct and references updated.
46108 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46110         * aclocal.m4: Require autoconf 2.69.
46111         * configure: Regenerated.
46112         * sysdeps/aarch64/configure: Likewise.
46113         * sysdeps/alpha/configure: Likewise.
46114         * sysdeps/arm/armv7/configure: Likewise.
46115         * sysdeps/arm/configure: Likewise.
46116         * sysdeps/ia64/configure: Likewise.
46117         * sysdeps/mach/configure: Likewise.
46118         * sysdeps/mips/configure: Likewise.
46119         * sysdeps/s390/configure: Likewise.
46120         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46123         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46124         file.
46125         * sysdeps/ia64/configure.ac: Likewise.
46127 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46130         specify symbol version for ld.so.  Do not include entry for
46131         libpthread.
46132         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46134         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46136         [BZ #14171]
46137         * Makeconfig [$(build-shared) = yes]
46138         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46139         makefiles.
46140         [$(build-shared) = yes && $(soversions.mk-done) = t]
46141         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46142         [$(build-shared) = yes && $(soversions.mk-done) = t]
46143         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46144         to Makerules.
46145         [$(build-shared) = yes && $(soversions.mk-done) = t]
46146         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46147         here.
46148         [$(build-shared) = yes && $(soversions.mk-done) = t]
46149         (common-generated): Don't append gnu/lib-names.h and
46150         gnu/lib-names.stmp here.
46151         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46152         (lib-names-h-abi): New variable.
46153         [$(build-shared) = yes && $(soversions.mk-done) = t]
46154         (lib-names-stmp-abi): Likewise.
46155         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46156         abi-variants] (before-compile): Append
46157         $(common-objpfx)$(lib-names-h-abi).
46158         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46159         abi-variants] (common-generated): Append gnu/lib-names.h.
46160         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46161         abi-variants] (install-others-nosubdir): Depend on
46162         $(inst_includedir)/$(lib-names-h-abi).
46163         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46164         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46165         [$(build-shared) = yes && $(soversions.mk-done) = t]
46166         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46167         [$(build-shared) = yes && $(soversions.mk-done) = t]
46168         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46169         [$(build-shared) = yes && $(soversions.mk-done) = t]
46170         (common-generated): Append $(lib-names-h-abi) and
46171         $(lib-names-stmp-abi).
46172         * scripts/lib-names.awk: Do not handle multi being set.
46173         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46174         Remove variable.
46175         (abi-lp64_be-ld-soname): Likewise.
46176         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46177         Likewise.
46178         (abi-hard-ld-soname): Likewise.
46179         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46180         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46181         Remove variable.
46182         (abi-o32_hard-ld-soname): Likewise.
46183         (abi-o32_soft_2008-ld-soname): Likewise.
46184         (abi-o32_hard_2008-ld-soname): Likewise.
46185         (abi-n32_soft-ld-soname): Likewise.
46186         (abi-n32_hard-ld-soname): Likewise.
46187         (abi-n32_soft_2008-ld-soname): Likewise.
46188         (abi-n32_hard_2008-ld-soname): Likewise.
46189         (abi-n64_soft-ld-soname): Likewise.
46190         (abi-n64_hard-ld-soname): Likewise.
46191         (abi-n64_soft_2008-ld-soname): Likewise.
46192         (abi-n64_hard_2008-ld-soname): Likewise.
46193         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46194         Likewise.
46195         (abi-64-v2-ld-soname): Likewise.
46196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46197         ld.so entries.
46198         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46199         variable.
46200         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46201         entry.
46202         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46203         variable.
46204         (abi-64-ld-soname): Likewise.
46205         (abi-x32-ld-soname): Likewise.
46206         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46207         entry.
46208         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46210 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46212         [BZ #14138]
46213         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46214         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46215         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46216         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46217         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46218         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46219         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46220         syscall entry for GLIBC_2.2 symbol version.
46221         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46222         Likewise.
46223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46224         (setrlimit): Likewise.
46225         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46226         Likewise.
46228 2014-09-23  Will Newton  <will.newton@linaro.org>
46230         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46231         _LINUX_ARM_SYSDEP_H include guard too.
46232         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46233         define.
46235 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46237         * sysdeps/unix/sysv/linux/eventfd.c:
46238         Make first argument unsigned.
46239         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46240         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46242 2014-09-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
46244         [BZ #16852]
46245         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46246         * socket/sys/socket.h: Likewise.
46247         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46249 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46251         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46253 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46255         * time/tst-ftime.c: New test.
46256         * time/Makefile (tests): Add tst-ftime.
46258 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46260         * soft-fp/extended.h: Fix comment formatting.
46261         * soft-fp/op-1.h: Likewise.
46262         * soft-fp/op-2.h: Likewise.
46263         * soft-fp/op-4.h: Likewise.
46264         * soft-fp/op-8.h: Likewise.
46265         * soft-fp/op-common.h: Likewise.
46266         * soft-fp/soft-fp.h: Likewise.
46268         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46270 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46272         [BZ #6652]
46273         * Makeconfig (soversions-default-setname): Remove variable.
46274         ($(common-objpfx)soversions.i): Don't pass default_setname to
46275         soversions.awk.
46276         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46277         oldest_abi to abi-versions.awk.
46278         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46279         * config.make.in (oldest-abi): Remove variable.
46280         * configure.ac (--enable-oldest-abi): Remove configure option.
46281         * configure: Regenerated.
46282         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46283         text.
46284         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46285         * scripts/soversions.awk: Do not handle default_setname variable.
46286         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46287         variable.
46288         * sysdeps/mach/hurd/configure: Regenerated.
46289         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46290         variable.
46291         * sysdeps/unix/sysv/linux/configure: Regenerated.
46293 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46295         * elf/Makefile (CFLAGS-interp.c): Remove.
46296         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46297         path string.
46298         * elf/interp.c: Include generated runtime-linker.h
46300         * Makerules (lib%.so): Don't include $(+interp) in
46301         prerequisites.
46302         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46303         * dlfcn/eval.c: Remove file.
46305         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46306         macros.
46308         [BZ #17266]
46309         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46310         4.2 and newer.
46312         [BZ #17370]
46313         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46315 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46316             Jakub Jelinek  <jakub@redhat.com>
46318         [BZ #17266]
46319         * libio/stdio.h: Check definition of __fortify_function
46320         instead of __extern_always_inline to include bits/stdio2.h.
46321         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46322         check if __extern_always_inline is defined.
46323         [__USE_MISC || __USE_XOPEN]: Likewise.
46324         [__USE_ISOC99] Likewise.
46325         * misc/sys/cdefs.h (__fortify_function): Define only if
46326         __extern_always_inline is defined.
46327         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46328         __extern_always_inline and __extern_inline only for g++-4.3
46329         and newer or a compatible gcc.
46331 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46333         [BZ #17371]
46334         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46335         last change to handle zero prefix length.
46337 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46339         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46340         _SC_REGEX_VERSION.
46342         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46343         _POSIX_RAW_SOCKETS.
46345 2014-09-13  Allan McRae  <allan@archlinux.org>
46347         * po/ru.po: Update Russian translation from translation project.
46349 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46351         * locale/programs/locale.c (show_locale_vars): Inline local function
46352         into its sole call site.  Clean up some style nits.
46353         (print_item): New function, broken out of ...
46354         (show_info): ... local function here.  Clean up style nits.
46356         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46357         out of ...
46358         (set_class_defaults): ... local function set_default here.
46359         Define set_default as a macro locally to pass constant parameters.
46360         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46361         rather than a shared local.
46363         * stdlib/rpmatch.c (try): New function, broken out of ...
46364         (rpmatch): ... local function here.  Also, prototypify definition.
46366 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46368         * scripts/soversions.awk: Do not handle configuration names.
46369         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46370         vendor and os variables to soversions.awk.
46371         * configure.ac: Do not modify gnu-* host_os.
46372         * configure: Regenerated
46373         * shlib-versions: Remove first column with configuration names.
46374         * nptl/shlib-versions: Likewise.
46375         * nptl_db/shlib-versions: Likewise.
46376         * sysdeps/hppa/shlib-versions: Likewise.
46377         * sysdeps/m68k/shlib-versions: Likewise.
46378         * sysdeps/mach/hurd/shlib-versions: Likewise.
46379         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46380         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46381         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46382         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46383         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46384         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46385         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46386         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46388         Likewise.
46389         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46390         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46391         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46392         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46393         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46394         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46395         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46396         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46399         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46401         Regenerated.
46402         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46404         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46406         * shlib-versions: Remove OS-specific entries.  Moved to files in
46407         sysdeps.
46408         * sysdeps/mach/hurd/shlib-versions: New file.
46409         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46411         * nptl/shlib-versions: Remove architecture-specific entries.
46412         Moved to files in sysdeps.
46413         * shlib-versions: Likewise.
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46415         file.
46416         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46417         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46418         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46419         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46421         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46422         (UDP_NO_CHECK6_RX): Likewise.
46424 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46426         * sysdeps/posix/sysconf.c (__sysconf): Spell
46427         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46429 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46431         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46432         loading.
46433         * iconv/Versions (__gconv_transliterate): Export for use from
46434         gconv modules.
46435         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46436         (struct __gconv_trans_data, __gconv_trans_fct,
46437         __gconv_trans_context_fct, __gconv_trans_query_fct,
46438         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46439         definitions.
46440         (struct __gconv_step_data): Remove __trans member.
46441         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46442         longer hidden.  Remove unused trans_data argument.
46443         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46444         (__gconv_translit_find): Remove declaration.
46445         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46446         prototype.
46447         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46448         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46449         trans_data argument.  Add hidden definition.
46450         (__gconv_translit_find): Remove.
46451         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46452         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46453         * iconv/skeleton.c: Remove transliteration initialization.
46454         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46455         __gconv_step_data initialization.
46456         * libio/iofwide.c (__libio_translit_): Remove.
46457         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46458         * wcsmbs/btowc.c (__btowc): Likewise.
46459         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46460         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46461         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46462         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46463         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46464         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46465         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46466         * wcsmbs/wctob.c (wctob): Likewise.
46468 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46470         [BZ #16194]
46471         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46472         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46473         register usage.
46474         * sysdeps/x86/Makefile: Adjust.
46476 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46477             Roland McGrath  <roland@hack.frob.com>
46479         * locale/weight.h: Add include guard.
46480         (findidx): Make static rather than auto; take new parameters
46481         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46482         * locale/weightwc.h: Likewise.
46483         * posix/fnmatch_loop.c
46484         (FCT): Change type of EXTRA from int32_t to wint_t.
46485         Don't include either header inside the function.
46486         Call FINDIDX rather than findidx, and pass new arguments.
46487         #undef FINDIDX at the end of the file.
46488         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46489         FINDIDX before including fnmatch_loop.c for the non-wide version.
46490         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46491         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46492         for the wide version.
46493         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46494         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46495         Pass new arguments to findidx.
46496         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46497         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46498         Don't #include it inside the function.  Pass new arguments to findidx.
46499         * posix/regex_internal.h
46500         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46501         (re_string_elem_size_at): Don't #include it inside the function.
46502         Pass new arguments to findidx.
46503         * string/strcoll_l.c: #include WEIGHT_H at top level.
46504         (get_next_seq): Don't #include it inside the function.
46505         Pass new arguments to findidx.
46506         (get_next_seq_nocache): Likewise.
46507         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46508         (STRXFRM): Don't #include it inside the function.
46509         Pass new arguments to findidx.
46511 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46513         [BZ #17344]
46514         * malloc/malloc.c (unlink): Turn asserts into a call to
46515         malloc_printerr.
46517 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46519         [BZ #17370]
46520         * libio/wfileops (do_ftell_wide): Free OUT.
46522 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46524         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46526 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46528         [BZ #17363]
46529         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46530         group if the current group is empty.
46532 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46534         * benchtests/bench-memset.c (test_main): Add more test from size
46535         from 32 to 512 bytes.
46536         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46537         Add POWER8 memset object.
46538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46539         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46540         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46541         implementation.
46542         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46543         Likewise.
46544         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46545         multiarch POWER8 memset optimization.
46546         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46547         POWER8 memset optimization.
46549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46550         Remove bzero multiarch objects.
46551         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46552         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46553         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46554         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46555         Remove define.
46556         [__bzero]: Redefine to specific name.
46557         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46558         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46559         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46560         define.
46561         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46562         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46564 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46566         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46567         warnings into errors.
46569         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46570         __cxa_thread_atexit_impl prototype.
46572 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46574         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46575         Fix capitalization of error message.
46577 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46579         * sysdeps/mips/preconfigure: Modify ABI tests.
46581 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46583         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46585 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46586             Carlos O'Donell  <carlos@systemhalted.org>
46588         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46589         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46590         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46591         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46592         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46593         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46594         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46595         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46596         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46597         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46598         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46599         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46600         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46601         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46602         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46603         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46604         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46605         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46606         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46607         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46608         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46609         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46610         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46611         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46612         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46613         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46614         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46615         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46616         Deconditionalize the code that was previously under [RESET_PID].
46617         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46618         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46619         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46620         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46621         include sysdep.h.
46623 2014-09-08  Allan McRae  <allan@archlinux.org>
46625         * version.h (RELEASE): Set to "development".
46626         (VERSION): Set to "2.20.90"
46628 2014-09-07  Allan McRae  <allan@archlinux.org
46630         * version.h (RELEASE): Set to "stable".
46631         (VERSION): Set to "2.20"
46632         * include/features.h (__GLIBC_MINOR__): Set to 20.
46634         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46635         Liebler.
46637         * po/ko.po: Update Korean translation from translation project.
46639 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46641         [BZ #17354]
46642         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46643         macro for handling signed relocations.
46645 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46647         [BZ #17325]
46648         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46649         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46650         assert.
46651         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46652         * iconvdata/ibm935.c (BODY): Likewise.
46653         * iconvdata/ibm937.c (BODY): Likewise.
46654         * iconvdata/ibm939.c (BODY): Likewise.
46655         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46656         assert.
46657         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46658         script.
46659         * iconvdata/run-iconv-test.sh: New test loop for checking for
46660         decoder crashers.
46662 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46664         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46665         libm_hidden_ver.
46667 2014-09-01  Allan McRae  <allan@archlinux.org>
46669         * po/eo.po: Update Esperanto translation from translation project.
46671         * po/ca.po: Update Catalan translation from translation project.
46673 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46675         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46676         __proc_dostop call.
46678 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46680         [BZ #17319]
46681         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46682         to call set_thread_area instead of hand written asm.
46683         (__NR_set_thread_area): Removed define.
46684         (TLS_FLAG_WRITABLE): Likewise.
46685         (__ASSUME_SET_THREAD_AREA): Remove check.
46686         (TLS_EBX_ARG): Remove define.
46687         (TLS_LOAD_EBX): Likewise.
46689 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46691         Simplify atomicity of socket creation in bind.
46693         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46694         looking up the name after linking the file.
46696 2014-08-27  Allan McRae  <allan@archlinux.org>
46698         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46700 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46702         [BZ #17187]
46703         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46704         trans_compare, open_translit, __gconv_translit_find):
46705         Remove module loading code.
46707 2014-08-26  Allan McRae  <allan@archlinux.org>
46709         * po/vi.po: Update Vietnamese translation from translation project.
46711         * po/uk.po: Update Ukrainian translation from translation project.
46713         * po/fr.po: Update French translation from translation project.
46715         * po/ru.po: Update Russian translation from translation project.
46717         * po/pl.po: Update Polish translation from translation project.
46719         * po/cs.po: Update Czech translation from translation project.
46721         * po/de.po: Update German translation from translation project.
46723         * po/bg.po: Update Bulgarian translation from translation project.
46725         * po/sv.po: Update Sweedish translation from translation project.
46727         * po/nl.po: Update Dutch translation from translation project.
46729         * po/es.po: Update Spanish translation from translation project.
46731 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46733         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46735         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46736         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46737         (CPPFLAGS-iconvconfig): Likewise.
46738         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46740         * include/libc-symbols.h: Remove unnecessary check for
46741         NOT_IN_libc.
46742         * nptl/pthreadP.h: Likewise.
46743         * sysdeps/aarch64/setjmp.S: Likewise.
46744         * sysdeps/alpha/setjmp.S: Likewise.
46745         * sysdeps/arm/sysdep.h: Likewise.
46746         * sysdeps/i386/setjmp.S: Likewise.
46747         * sysdeps/m68k/setjmp.c: Likewise.
46748         * sysdeps/posix/getcwd.c: Likewise.
46749         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46750         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46751         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46752         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46753         * sysdeps/sh/sh3/setjmp.S: Likewise.
46754         * sysdeps/sh/sh4/setjmp.S: Likewise.
46755         * sysdeps/unix/alpha/sysdep.h: Likewise.
46756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46758         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46759         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46762         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46763         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46764         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46767         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46769         * sysdeps/x86_64/setjmp.S: Likewise.
46771 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46773         [BZ #17263]
46774         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46775         <stdint.h>.
46776         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46777         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46779 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46781         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46783         [BZ #17262]
46784         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46785         and __x86_64__ when disabling x87 inline functions.
46787 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46789         [BZ #17259]
46790         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46791         asm statement with __cpuid_count.
46793 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46795         * configure.ac: Change __ehdr_start code to dereference the struct.
46796         Run readelf on the output to look for relocations.
46797         * configure: Regenerated.
46799 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46801         [BZ #17261]
46802         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46803         value to 0.
46804         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46806 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46808         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46810 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46812         [BZ #16892]
46813         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46814         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46816 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46818         * malloc/malloc.c: Fix typo in comment.
46820 2014-08-09  Allan McRae  <allan@archlinux.org>
46822         * Regenerate libc.po.
46824 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46826         * intl/tst-gettext2.sh: Check every lang file for creation.
46828 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46830         * sysdeps/aarch64/fpu/math_private.h
46831         (libc_feholdsetround_noex_aarch64_ctx): New function.
46833 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46835         * sysdeps/arm/armv6/strcpy.S (strcpy):
46836         Fix performance issue in misaligned cases.
46838 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46840         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46841         Move definition from termios.h.
46842         (struct termio): Likewise.
46843         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46844         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46845         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46846         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46847         Likewise.
46848         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46849         Move definition to ioctl-types.h
46850         (struct termio): Likewise.
46851         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46852         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46853         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46854         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46855         Likewise.
46857 2014-08-05  Richard Henderson  <rth@redhat.com>
46859         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46860         exceptions.
46861         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46862         Add fraiseexcpt.
46863         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46864         Use __feraiseexcept.
46865         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46866         Protect libm symbols with IS_IN_libm.
46868         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46870 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46872         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46874 2014-08-04  Will Newton  <will.newton@linaro.org>
46876         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46877         file.
46879 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46881         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46882         variants for each function.
46884 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46886         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46887         appended ...
46888         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46889         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46890         appended ...
46891         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46892         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46893         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46894         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46895         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46896         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46897         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46898         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46899         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46900         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46901         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46902         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46903         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46904         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46905         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46906         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46907         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46908         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46909         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46910         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46911         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46912         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46913         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46914         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46915         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46916         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46917         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46918         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46919         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46920         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46921         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46922         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46923         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46924         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46925         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46926         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46927         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46928         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46929         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46930         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46931         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46932         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46933         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46935         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46936         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46937         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46938         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46939         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46940         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46941         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46942         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46943         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46944         Update #include.
46945         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46946         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46948 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46950         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46951         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46952         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46953         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46954         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46955         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46957 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46959         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46960         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46961         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46962         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46964 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46966         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46967         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46968         (__libc_vfork): Define function under this name.
46969         (__vfork): Define as an alias.
46970         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46971         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46973 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46975         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46976         that was previously under [RESET_PID].
46977         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46979 2014-08-04  Andreas Schwab  <schwab@suse.de>
46981         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46983 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46985         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46986         (main): Likewise.
46988 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46990         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46992 2014-08-01  Richard Henderon  <rth@redhat.com>
46994         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46995         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46996         typo in exact zero test.
46997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46998         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47001 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47003         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47004         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47005         * sysdeps/arm/sysdep.h: ... here.
47006         [!__ASSEMBLER__]: Include <stdint.h>.
47008 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47010         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47011         (HAVE_WCTYPE_H): Likewise.
47012         (HAVE_ISWCTYPE): Likewise.
47013         (ENABLE_NLS): Likewise.
47014         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47015         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47017         * posix/regex_internal.c: Check if DEBUG is defined and is
47018         set.
47020         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47021         (HAVE_MBSRTOWCS): Likewise.
47022         * posix/fnmatch.c: Include string.h unconditionally.
47024 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47026         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47027         reversal.
47029 2014-07-31  Roland McGrath  <roland@hack.frob.com>
47031         * sysdeps/generic/safe-fatal.h: New file.
47032         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47033         * nptl/forward.c: Include it.
47034         (__pthread_unwind): Use __safe_fatal as default action, rather
47035         than a bogus use of INTERNAL_SYSCALL that could never work.
47037         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47038         * configure.ac (libc_cv_builtin_trap): New test.
47039         * configure: Regenerated.
47040         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47041         (ABORT_INSTRUCTION): Define using __builtin_trap.
47043         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47044         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47045         * sysdeps/nptl/nptl-signals.h: New file.
47046         * nptl/pthreadP.h: Include <nptl-signals.h>.
47048 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47050         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47051         (ONE_DIRECTION): Define.
47052         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47053         (ONE_DIRECTION): Define.
47054         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47055         (ONE_DIRECTION): Define.
47057 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47059         * sysdeps/s390/Makefile: Delete file.
47060         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47061         * sysdeps/s390/__longjmp.c: Delete file.
47062         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47063         Remove fields __flags and __reserved.
47064         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47065         and add versioning.
47066         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47067         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47068         * sysdeps/s390/rtld-setjmp.S: Likewise.
47069         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47070         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47071         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47072         * sysdeps/s390/s390-32/setjmp.S: ... here.
47073         Add versioning.
47074         (__sigsetjmp): Remove setting __flags field.
47075         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47076         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47077         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47078         * sysdeps/s390/s390-64/setjmp.S: ... here.
47079         Add versioning.
47080         (__sigsetjmp): Remove setting __flags field.
47081         * sysdeps/s390/setjmp.S: Delete file.
47082         * sysdeps/s390/sigjmp.c: Likewise.
47083         * sysdeps/s390/v1-longjmp.c: Likewise.
47084         * sysdeps/s390/v1-setjmp.h: Likewise.
47085         * sysdeps/s390/v1-sigjmp.c: Likewise.
47086         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47087         Remove v1-longjmp_chk.
47088         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47089         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47090         Include debug/longjmp_chk.c and add versioning.
47091         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47092         Include nptl/pt-longjmp.c and add versioning.
47093         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47094         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47095         Include __longjmp.c.
47096         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47097         Move to ...
47098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47099         (__getcontext): Remove setting __flags field.
47100         Add versioning.
47101         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47102         Don't restore upper high grps.
47103         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47104         Likewise.
47105         (__swapcontext): Remove setting uc_flags field.
47106         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47107         Delete file.
47108         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47109         Include __longjmp.c.
47110         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47111         Move to ...
47112         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47113         (__getcontext): Remove setting __flags field.
47114         Add versioning.
47115         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47116         (__swapcontext): Remove setting uc_flags field.
47117         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47118         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47119         Remove fields uc_high_gprs and __reserved.
47120         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47121         New file with reverted content.
47122         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47123         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47124         Regenerated.
47125         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47126         Regenerated.
47128 2014-07-31  Andreas Schwab  <schwab@suse.de>
47130         * config.h.in (HAVE_IFUNC): Define to 0.
47131         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47132         definedness.
47134 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47137         memmove-avx-unaligned, memcpy-avx-unaligned and
47138         mempcpy-avx-unaligned.
47139         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47140         Add tests for AVX memcpy functions.
47141         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47142         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47143         memcpy_chk.
47144         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47145         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47146         memmove_chk.
47147         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47148         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47149         mempcpy_chk.
47150         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47151         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47152         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47154 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47156         [BZ #17213]
47157         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47158         powerpc64le.
47160 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47162         [BZ #16839]
47163         * manual/llio.texi: Add section about open file description locks.
47164         * manual/examples/ofdlocks.c: Example of open file description
47165         lock usage.
47166         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47167         F_OFD_SETLK, and F_OFD_SETLKW.
47169 2014-07-23  Allan McRae  <allan@archlinux.org>
47171         * po/es.po: Update Spanish translation from translation project.
47173 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47175         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47177 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47179         [BZ #17078]
47180         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47181         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47182         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47184 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47186         [BZ #17088]
47187         * math/fesetenv.c (__fesetenv)
47188         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47189         * math/feupdateenv.c (__feupdateenv)
47190         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47192         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47193         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47194         (__ASSUME_SOCKETCALL): Do not define.
47196         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47197         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47198         (__ASSUME_SOCKETCALL): Do not define.
47199         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47200         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47201         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47202         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47203         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47204         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47205         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47206         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47208         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47209         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47210         (__ASSUME_SOCKETCALL): Do not define.
47211         (__ASSUME_IPC64): Define unconditionally.
47212         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47213         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47214         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47215         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47216         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47218         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47219         Likewise.
47221         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47222         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47223         (__ASSUME_SOCKETCALL): Do not define.
47224         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47225         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47226         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47227         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47228         (__ASSUME_REQUEUE_PI): Define unconditionally.
47229         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47230         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47231         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47232         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47233         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47234         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47236         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47237         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47238         (__ASSUME_SOCKETCALL): Do not define.
47239         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47240         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47241         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47242         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47244         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47246         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47247         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47248         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47249         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47250         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47251         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47252         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47253         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47254         (__ASSUME_GETCPU_SYSCALL): Likewise.
47256         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47257         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47258         cases for individual architectures.
47259         * sysdeps/gnu/configure: Regenerated.
47260         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47261         LIBC_SLIBDIR_RTLDDIR.
47262         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47263         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47264         LIBC_SLIBDIR_RTLDDIR.
47265         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47267         LIBC_SLIBDIR_RTLDDIR.
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47269         Regenerated.
47270         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47271         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47272         file.
47273         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47274         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47275         file.
47276         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47277         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47278         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47279         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47281         * sysdeps/aarch64/shlib-versions: Move to ...
47282         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47283         * sysdeps/alpha/shlib-versions: Move to ...
47284         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47285         * sysdeps/arm/shlib-versions: Move to ...
47286         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47287         * sysdeps/hppa/shlib-versions: Move all contents except for
47288         libgcc_s entry to ...
47289         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47290         entry from ...
47291         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47292         * sysdeps/ia64/shlib-versions: Move to ...
47293         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47294         entry from ...
47295         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47296         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47297         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47298         * sysdeps/microblaze/shlib-versions: Move to ...
47299         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47300         * sysdeps/mips/shlib-versions: Move to ...
47301         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47302         entry from ...
47303         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47304         * sysdeps/tile/shlib-versions: Move to ...
47305         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47306         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47307         from ...
47308         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47309         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47310         entry from ...
47311         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47313 2014-07-17  Will Newton  <will.newton@linaro.org>
47315         * sysdeps/arm/bits/atomic.h
47316         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47317         (__arch_compare_and_exchange_bool_16_int): Likewise.
47318         (__arch_compare_and_exchange_bool_64_int): Likewise.
47320         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47321         into an #else block.
47323 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47325         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47326         just Linux configurations.  Test empirically that the compiler sets
47327         __ARM_EABI__, rather than using the tuple to decide.
47328         * sysdeps/arm/preconfigure: Regenerated.
47329         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47330         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47331         contents appended ...
47332         * sysdeps/arm/configure.ac: ... here.
47333         * sysdeps/arm/configure: Regenerated.
47335 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47337         * nptl/pthread_kill.c: New file.
47338         * nptl/pthread_sigmask.c: New file.
47339         * nptl/pthread_sigqueue.c: New file.
47341         * sysdeps/nptl/lowlevellock.h: New file.
47342         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47343         * sysdeps/nptl/lowlevellock-futex.h: New file.
47345         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47346         Remove dead declarations.
47348 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47350         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47351         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47352         config-cflags-avx2.
47353         * sysdeps/x86_64/configure.ac: Likewise.
47354         * sysdeps/i386/configure: Regenerated.
47355         * sysdeps/x86_64/configure: Likewise.
47356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47357         memset-avx2 only if config-cflags-avx2 is yes.
47358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47359         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47360         defined.
47361         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47362         only if HAVE_AVX2_SUPPORT is defined.
47363         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47365 2014-07-14  Alan Modra  <amodra@gmail.com>
47367         [BZ #17153]
47368         * elf/elf.h (DT_PPC64_NUM): Correct value.
47369         * NEWS: Add to fixed bug list.
47371 2014-07-13  Jim Meyering  <meyering@fb.com>
47373         [BZ 17150]
47374         regex: don't deref NULL upon heap allocation failure
47375         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47376         failure in one more place.
47377         To trigger the segfault, configure grep -with-included-regex,
47378         build it, and run these commands:
47379         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47381 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47383         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47385 2014-07-11  Richard Henderson  <rth@redhat.com>
47387         * sysdeps/aarch64/libm-test-ulps: Update.
47389 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47391         [BZ #17135]
47392         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47393         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47394         (__nptl_setxid): Initialize error member.  Call
47395         __nptl_setxid_error.
47396         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47397         * nptl/descr.h (struct xid_command): Add error member.
47398         * nptl/tst-setuid3.c: New file.
47399         * nptl/Makefile (tests): Add it.
47401 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47404         New define.
47405         (__lll_trylock): Use __lll_base_trylock.
47406         (__lll_cond_trylock): Likewise.
47408 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47410         * nptl/pthread_create.c (start_thread): Use atomic_or and
47411         lll_futex_wake directly rather than lll_robust_dead.
47412         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47413         (lll_robust_dead): Macro removed.
47414         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47415         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47416         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47417         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47418         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47419         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47420         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47421         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47422         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47423         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47425         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47426         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47427         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47430         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47431         Use atomic_compare_and_exchange_val_acq directly rather than
47432         lll_robust_trylock.
47433         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47434         (__lll_robust_trylock, lll_robust_trylock): Removed.
47435         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47436         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47437         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47438         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47439         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47440         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47441         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47442         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47443         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47444         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47446         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47447         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47448         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47450 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47452         * manual/locale.texi (Locale Names): New section documenting
47453         locale name syntax.  Adjust menu and node chaining accordingly.
47454         (Choosing Locale): Reference Locale Names, Locale Categories.
47455         Mention setting LC_ALL=C.  Reflect that name syntax is now
47456         documented.
47457         (Locale Categories): New section title.  Reference Locale Names.
47458         LC_ALL is an environment variable, but not a category.
47459         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47460         description, now in Locale Name.  Reference that section.  Locale
47461         name syntax is now documented.
47463 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47465         [BZ #17137]
47466         * locale/findlocale.c (name_present, valid_locale_name): New
47467         functions.
47468         (_nl_find_locale): Use the loc_name variable to store name
47469         candidates.  Call name_present and valid_locale_name to check and
47470         validate locale names.  Return an error if the locale is invalid.
47472 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47474         * locale/setlocale.c (setlocale): Use strdup for allocating
47475         composite name copy.
47477 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47479         Sync up with gnulib.
47480         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47481         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47482         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47483         and _GL_ARG_NONNULL.
47484         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47485         [!_LIBC]: Include code for Windows and Cygwin.
47486         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47487         Include prototype for int strerror_r.
47488         [!_LIBC] (is_open): New function.
47489         (flush_stdout): New function.
47490         (print_errno_message): Use it.
47491         (error): Likewise.
47492         (error_at_line): Likewise.
47493         (error_tail) Add function attribute macros.  Use
47494         __builtin_expect.
47496         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47498         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47500         * io/ftw.c: Include sys/param.h unconditionally.
47502         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47504         [BZ #17125]
47505         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47506         libc_freeres_ptr.
47507         (freecache): New function to free CACHE on exit.
47509         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47510         initialization.
47512 2014-07-09  David S. Miller  <davem@davemloft.net>
47514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47516         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47517         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47518         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47519         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47520         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47521         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47522         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47523         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47524         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47525         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47526         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47527         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47528         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47530 2014-07-09  Andreas Schwab  <schwab@suse.de>
47532         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47533         output.
47534         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47535         (do_test): Likewise.
47537         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47539 2014-07-09  Will Newton  <will.newton@linaro.org>
47541         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47542         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47543         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47544         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47545         * sysdeps/hppa/start.S (_start): Likewise.
47547 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47549         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47551         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47552         defined.
47554 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47556         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47557         after checking that it is non-NULL.
47559         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47561 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47563         * sysdeps/powerpc/memmove.c: Remove file.
47564         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47565         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47566         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47567         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47568         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47569         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47570         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47571         string memmove instead of removed powerpc one.
47573         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47574         [weak_alias]: Fix compiler warning due trailing data.
47575         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47576         [weak_alias]: Likewise.
47577         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47578         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47581         (__libc_ifunc_impl_list): Add memmove functions.
47583 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47585         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47586         Remove code.
47587         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47588         Likewise.
47589         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47590         Likewise.
47591         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47592         Likewise.
47593         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47594         Likewise.
47595         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47596         Likewise.
47597         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47598         Likewise.
47599         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47600         Likewise.
47601         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47602         Likewise.
47603         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47604         Likewise.
47605         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47606         Likewise.
47607         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47608         Likewise.
47609         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47610         Likewise.
47611         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47612         Likewise.
47613         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47614         Likewise.
47615         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47616         Likewise.
47617         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47618         Likewise.
47620 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47622         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47623         to avoid alignment traps in non-cacheable memory.
47624         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47627         multiarch objects.
47628         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47629         file: multiarch power7 memmove.
47630         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47631         multiarch default memmove.
47632         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47633         multiarch memove for powerpc32/power4.
47635         * string/bcopy.c: Use full path to include memmove.c.
47636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47637         multiarch objects.
47638         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47639         bcopy for powerpc64.
47640         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47641         bcopy for powerpc64.
47642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47643         and memmove implementations.
47644         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47645         optimized multiarch memmove for POWER7/powerpc64.
47646         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47647         default multiarch memmove for powerpc64.
47648         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47649         multiarch for powerpc64.
47650         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47651         for POWER7/powerpc64.
47652         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47653         memmove for POWER7/powerpc64.
47655         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47656         glibc default one.
47658         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47659         __ELF_NATIVE_CLASS equal to 64.
47661 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47663         * sysdeps/nptl/lowlevellock.h: File removed.
47665         * NEWS: NPTL is no longer an add-on!
47666         * nptl/internaltypes.h: Moved ...
47667         * sysdeps/nptl/internaltypes.h: ... here.
47668         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47669         * sysdeps/nptl/fork.c: Likewise.
47670         * sysdeps/nptl/gai_misc.h: Likewise.
47671         * sysdeps/nptl/librt-cancellation.c: Likewise.
47672         * sysdeps/nptl/jmp-unwind.c: Likewise.
47673         * sysdeps/nptl/setxid.h: Likewise.
47674         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47675         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47676         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47677         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47678         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47679         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47680         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47681         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47682         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47683         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47684         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47685         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47686         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47687         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47688         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47689         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47690         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47691         * nptl/Makeconfig: Moved ...
47692         * sysdeps/nptl/Makeconfig: ... here.
47693         * nptl/configure: File removed.
47694         * nptl/ANNOUNCE: File removed.
47695         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47696         * sysdeps/unix/sysv/linux/configure: Regenerated.
47698         * nptl/Makefile (routines): Add libc_pthread_init,
47699         libc_multiple_threads, register-atfork and unregister-atfork.
47700         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47701         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47702         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47703         pthread-pi-defines.sym, structsem.sym.
47704         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47705         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47706         [$(subdir) = nptl] (tests): Add tst-setgetname.
47707         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47708         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47709         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47710         [!LIBC_SIGACTION]: Remove aliases.
47711         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47712         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47713         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47714         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47715         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47716         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47718         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47719         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47720         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47721         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47722         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47723         __libc_allocate_rtsig_private.
47724         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47725         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47726         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47727         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47728         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47729         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47730         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47731         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47732         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47733         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47734         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47735         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47736         * nptl/internaltypes.h: ... here.
47737         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47738         * sysdeps/nptl/jmp-unwind.c: ... here.
47739         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47740         * nptl/libc-lowlevellock.c: ... here.
47741         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47742         * nptl/libc_multiple_threads.c: ... here.
47743         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47744         * nptl/libc_pthread_init.c: ... here.
47745         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47746         * nptl/lowlevelbarrier.sym: ... here.
47747         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47748         * nptl/lowlevelcond.sym: ... here.
47749         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47750         * nptl/lowlevellock.c: ... here.
47751         * nptl/lowlevellock.h: Moved ...
47752         * sysdeps/nptl/lowlevellock.h: ... here.
47753         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47754         * nptl/lowlevelrobustlock.c: ... here.
47755         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47756         * nptl/lowlevelrobustlock.sym: ... here.
47757         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47758         * nptl/lowlevelrwlock.sym: ... here.
47759         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47760         * nptl/pt-fork.c: ... here.
47761         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47762         * nptl/pthread-pi-defines.sym: ... here.
47763         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47764         * nptl/pthread_attr_getaffinity.c: ... here.
47765         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47766         * nptl/pthread_attr_setaffinity.c: ... here.
47767         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47768         * nptl/pthread_mutex_cond_lock.c: ... here.
47769         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47770         Update #include.
47771         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47772         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47773         * nptl/pthread_once.c: ... here, replacing old file.
47774         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47775         * nptl/pthread_yield.c: ... here.
47776         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47777         * nptl/register-atfork.c: ... here.
47778         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47779         * nptl/sem_post.c: ... here.
47780         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47781         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47782         * nptl/sem_timedwait.c: ... here.
47783         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47784         * nptl/sem_trywait.c: ... here.
47785         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47786         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47787         * nptl/sem_wait.c: ... here.
47788         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47789         * nptl/structsem.sym: ... here.
47790         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47791         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47792         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47793         * nptl/unregister-atfork.c: ... here.
47794         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47795         * nptl/unwindbuf.sym: ... here.
47796         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47797         * sysdeps/nptl/fork.c: ... here.
47798         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47799         * sysdeps/nptl/fork.h: ... here.
47800         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47801         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47802         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47803         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47804         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47805         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47806         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47807         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47808         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47809         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47810         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47811         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47812         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47813         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47814         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47815         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47816         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47817         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47818         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47819         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47820         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47821         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47822         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47823         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47824         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47825         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47826         * sysdeps/unix/sysv/linux/raise.c: ... here.
47827         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47828         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47829         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47830         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47831         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47832         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47833         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47834         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47835         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47836         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47837         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47838         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47839         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47840         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47841         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47843 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47845         * sysdeps/generic/memcopy.h: Add comment for
47846         MEMCPY_OK_FOR_FWD_MEMMOVE.
47848 2014-07-04  Will Newton  <will.newton@linaro.org>
47850         * string/memchr.c: Merge from gnulib.
47851         [_LIBC]: Remove conditionals.
47852         (__ptr_t): Remove define.
47853         (LONG_MAX_32_BITS): Likewise.
47854         (LONG_MAX): Likewise.
47855         (MEMCHR): Use ANSI prototype and optimize algorithm.
47857         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47859 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47861         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47862         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47864         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47865         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47866         in a bare environment with no <stdlib.h> installed.
47867         * sysdeps/nptl/configure: Regenerated.
47869         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47871         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47872         AC_EGREP_CPP for kernel header checks, so they only succeed if
47873         including <linux/version.h> actually works right.
47874         * sysdeps/unix/sysv/linux/configure: Regenerated.
47876         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47877         value so it's not diagnosed as unused.
47879         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47880         thing) with "ifeq ($(subdir),rt)".
47882 2014-07-03  Richard Henderson  <rth@redhat.com>
47884         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47885         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47886         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47888         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47889         (math_force_eval): New.
47891         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47892         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47894         * sysdeps/alpha/fpu/s_round.c: Remove file.
47895         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47897         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47898         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47899         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47900         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47901         (_dl_start, print_statistics): Likewise.
47902         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47903         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47905         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47906         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47907         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47908         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47909         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47910         (HP_SMALL_TIMING_AVAIL): Define.
47911         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47912         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47913         (HP_SMALL_TIMING_AVAIL): Define.
47914         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47915         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47917         * sysdeps/aarch64/hp-timing.h: New file.
47919         * sysdeps/generic/hp-timing.h: Remove dead comment.
47920         * sysdeps/generic/hp-timing-common.h: New file.
47921         * sysdeps/alpha/hp-timing.h: Include it.
47922         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47923         * sysdeps/i386/i686/hp-timing.h: Likewise.
47924         * sysdeps/ia64/hp-timing.h: Likewise.
47925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47926         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47927         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47928         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47929         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47930         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47931         (hp_timing_t): New.
47933         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47934         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47935         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47936         * elf/rtld.c (_dl_start_final): Likewise.
47937         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47938         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47939         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47940         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47941         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47942         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47943         (HP_TIMING_DIFF_INIT): Remove.
47944         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47945         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47946         (HP_TIMING_DIFF_INIT): Remove.
47947         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47948         * sysdeps/i386/i686/hp-timing.c: Remove file.
47949         * sysdeps/x86_64/hp-timing.c: Remove file.
47950         * sysdeps/ia64/hp-timing.c: Remove file.
47951         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47952         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47954         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47956         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47957         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47958         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47959         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47961         (HP_TIMING_ACCUM): Remove.
47962         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47963         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47964         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47966         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47967         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47968         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47969         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47970         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47971         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47972         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47973         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47975         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47977 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47979         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47981 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47983         Sync up with gettext.
47984         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47985         [_MSC_VER]: Include malloc.h
47986         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47987         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47988         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47989         TEMP_FAILURE_RETRY.  Cast return of alloca.
47990         [!_LIBC] Call gl_rwlock_init.
47991         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47993 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47995         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47996         before checking its value.
47998 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48000         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48002         * debug/memcpy_chk.c: Don't include pagecopy.h.
48003         * debug/mempcpy_chk.c: Likewise.
48004         * string/memcpy.c: Likewise.
48005         * string/memmove.c: Likewise.
48006         * sysdeps/powerpc/memmove.c: Likewise.
48007         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
48008         definition of PAGE_COPY_FWD_MAYBE here...
48009         * sysdeps/generic/pagecopy.h: ... from here.
48010         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48012 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48013             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48015         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48017         optimizations.
48018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48019         (__libc_ifunc_impl_list): Likewise.
48020         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48021         multiarch strcat for PPC64.
48022         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48023         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48025 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48027         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48029 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48031         * intl/loadmsgcat.c: Remove declaration of
48032         get_sysdep_segment_value.
48033         (get_sysdep_segment_value): Use ISO C style.
48034         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48035         semicolon.  Fix typo and formatting in comment.
48036         (_nl_unload_domain): Use ISO C style.
48038         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48040 2014-07-02  Will Newton  <will.newton@linaro.org>
48042         * malloc/obstack.c: Merge from gnulib master.
48043         [HAVE_CONFIG_H]: Remove conditional code.
48044         [!_LIBC]: Include config.h.
48045         [!ELIDE_CODE]: Don't include inttypes.h, include
48046         stdint.h unconditionally.
48047         (print_and_abort): Mark as _Noreturn.
48048         (_obstack_allocated_p): Mark as __attribute_pure__.
48049         (obstack_free): Rename to __obstack_free.
48050         [!__attribute__]: Remove conditional code.
48051         * malloc/obstack.h: Merge from gnulib master.
48052         [__cplusplus]: Move conditional down.
48053         [!__attribute_pure__]: Define __attribute_pure__ here
48054         if it is not already defined.
48055         (_obstack_memory_used): Mark as __attribute_pure__.
48056         [!__obstack_free]: Define as obstack_free.
48057         [__GNUC__]: Remove check for ancient NeXT gcc.
48059 2014-07-02  Will Newton  <will.newton@linaro.org>
48060             Paul Eggert  <eggert@cs.ucla.edu>
48062         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48064 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48066         * resolv/gethnamaddr.c: Add comment warning that the file is
48067         not maintained.
48069 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48071         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48072         entries.
48074         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48075         entry for aio_cancel and aio_cancel64.
48076         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48077         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48078         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48079         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48080         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48081         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48082         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48083         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48084         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48085         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48086         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48087         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48088         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48090 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48092         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48093         * nptl/pthread_mutex_lock.c: Likewise.
48094         * nptl/pthread_mutex_timedlock.c: Likewise.
48095         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48097 2014-07-01  Richard henderson  <rth@redhat.com>
48099         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48100         (__isnan, __isnanl): Remove.
48101         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48103         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48105 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48107         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48109 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48111         * resolv/nss_dns/dns-host.c (getanswer_r)
48112         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48114 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48116         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48117         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48118         undefine.
48119         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48120         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48122 2014-07-01  Roland McGrath <roland@hack.frob.com>
48124         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48125         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48127         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48128         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48130         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48131         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48132         ... here.
48133         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48134         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48136         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48137         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48138         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48139         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48141         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48142         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48143         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48144         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48145         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48146         Moved ...
48147         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48148         ... here.
48149         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48150         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48151         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48152         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48153         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48154         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48155         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48156         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48157         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48158         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48159         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48160         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48161         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48162         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48163         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48164         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48165         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48166         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48167         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48168         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48169         ... here.
48170         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48171         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48172         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48173         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48175         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48176         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48177         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48179 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48181         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48182         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48183         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48184         Add sysdep.
48186 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48190 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48192         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48193         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48195         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48197         * sysdeps/arm/libm-test-ulps: Regenerated.
48199 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48200             Roland McGrath <roland@hack.frob.com>
48202         * test-skeleton.c (signal_handler): Kill the whole process group
48203         before killing the child individually.
48204         (main): Report any failure on `setpgid'.
48206 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48208         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48209         from _TLS_H to _ARM_NPTL_TLS_H.
48210         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48211         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48213 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48215         [BZ #16539]
48216         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48217         (__expm1l): Return argument unchanged when small but not
48218         subnormal.
48220         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48221         include macro name.
48222         (_FP_UNPACK_RAW_1_P): Likewise.
48223         (_FP_PACK_RAW_1): Likewise.
48224         (_FP_PACK_RAW_1_P): Likewise.
48225         (_FP_MUL_MEAT_1_wide): Likewise.
48226         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48227         (_FP_MUL_MEAT_1_hard): Likewise.
48228         (_FP_DIV_MEAT_1_imm): Likewise.
48229         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48230         (_FP_DIV_MEAT_1_udiv): Likewise.
48231         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48232         (_FP_UNPACK_RAW_2): Likewise.
48233         (_FP_UNPACK_RAW_2_P): Likewise.
48234         (_FP_PACK_RAW_2): Likewise.
48235         (_FP_PACK_RAW_2_P): Likewise.
48236         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48237         (_FP_MUL_MEAT_2_wide): Likewise.
48238         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48239         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48240         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48241         (_FP_MUL_MEAT_2_gmp): Likewise.
48242         (_FP_DIV_MEAT_2_udiv): Likewise.
48243         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48244         (_FP_FRAC_SRL_4): Likewise.
48245         (_FP_FRAC_SRST_4): Likewise.
48246         (_FP_FRAC_SRS_4): Likewise.
48247         (_FP_UNPACK_RAW_4): Likewise.
48248         (_FP_UNPACK_RAW_4_P): Likewise.
48249         (_FP_PACK_RAW_4): Likewise.
48250         (_FP_PACK_RAW_4_P): Likewise.
48251         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48252         (_FP_MUL_MEAT_4_wide): Likewise.
48253         (_FP_MUL_MEAT_4_gmp): Likewise.
48254         (umul_ppppmnnn): Likewise.
48255         (_FP_DIV_MEAT_4_udiv): Likewise.
48256         (__FP_FRAC_ADD_4): Likewise.
48257         (__FP_FRAC_SUB_3): Likewise.
48258         (__FP_FRAC_SUB_4): Likewise.
48259         (__FP_FRAC_DEC_3): Likewise.
48260         (__FP_FRAC_DEC_4): Likewise.
48261         (__FP_FRAC_ADDI_4): Likewise.
48262         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48263         (_FP_FRAC_SRL_8): Likewise.
48264         (_FP_FRAC_SRS_8): Likewise.
48266         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48267         include macro name.
48268         (FP_UNPACK_RAW_EP): Likewise.
48269         (FP_PACK_RAW_E): Likewise.
48270         (FP_PACK_RAW_EP): Likewise.
48271         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48272         (_FP_ISSIGNAN): Likewise.
48273         (_FP_ADD_INTERNAL): Likewise.
48274         (_FP_FMA): Likewise.
48275         (_FP_CMP): Likewise.
48276         (_FP_SQRT): Likewise.
48277         (_FP_TO_INT): Likewise.
48278         (_FP_FROM_INT): Likewise.
48279         (FP_EXTEND): Likewise.
48280         (_FP_DIV_MEAT_N_loop): Likewise.
48282 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48284         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48285         throughout.
48287 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48289         [BZ #17097]
48290         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48291         result with correct sign in case of exponents that produce
48292         overflow except for X very close to 1.
48294 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48296         mktime: merge #if/#ifdef usage from glibc
48297         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48298         as that works with both Glibc's and Gnulib's style.
48299         See thread starting at Siddhesh Poyarekar's bug report at:
48300         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48302 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48304         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48305         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48306         * sysdeps/tile/tilegx/memmove.c: Remove file.
48308 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48310         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48311         abi-name definition.
48312         * scripts/soversions.awk: Do not handle or generate ABI lines.
48313         * shlib-versions: Remove ABI entries.
48314         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48315         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48317 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48320         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48321         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48322         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48323         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48324         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48326         Moved ...
48327         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48328         ... here.
48329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48330         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48332         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48334         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48335         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48336         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48338         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48342         Moved ...
48343         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48347         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48349         Moved ...
48350         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48352         Moved ...
48353         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48354         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48355         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48357         Moved ...
48358         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48360         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48362         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48364         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48366         Moved ...
48367         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48371         Moved ...
48372         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48374         Moved ...
48375         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48376         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48377         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48378         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48379         Moved ...
48380         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48381         ... here.
48382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48383         Identical file removed.
48384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48385         Moved ...
48386         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48388         Identical file removed.
48389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48390         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48392         Moved ...
48393         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48395         Identical file removed.
48396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48397         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48399         Identical file removed.
48400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48401         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48403         Identical file removed.
48404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48405         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48406         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48407         Identical file removed.
48408         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48409         Moved ...
48410         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48412         Identical file removed.
48413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48414         Moved ...
48415         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48417         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48419         Identical file removed.
48420         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48421         Moved ...
48422         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48423         ... here.
48424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48425         Identical file removed.
48426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48427         Moved ...
48428         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48430         Identical file removed.
48431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48432         Moved ...
48433         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48435         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48437         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48438         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48439         Moved ...
48440         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48441         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48442         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48444         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48445         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48446         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48447         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48448         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48450 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48452         [BZ #17092]
48453         * nscd/nscd.c (monitor_child): Return exit status of child
48454         instead of return value from wait syscall.
48456 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48458         * configure.ac (libc_commonpagesize): Remove variable.
48459         (libc_relro_required): Likewise.
48460         (libc_cv_z_relro): Remove configure test.
48461         * configure: Regenerated.
48462         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48463         variable.
48464         (libc_relro_required): Likewise.
48465         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48466         (libc_relro_required): Likewise.
48467         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48468         (libc_relro_required): Likewise.
48469         * sysdeps/arm/preconfigure: Regenerated.
48470         * sysdeps/ia64/preconfigure: Remove file.
48471         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48472         variable.
48473         (libc_relro_required): Likewise.
48475         [BZ #16561]
48476         [BZ #16562]
48477         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48478         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48479         recompute overflowing results in original rounding mode.
48480         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48481         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48482         recompute overflowing results in original rounding mode.
48483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48484         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48485         recompute overflowing results in original rounding mode.
48486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48487         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48488         recompute overflowing results in original rounding mode.
48489         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48490         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48491         recompute overflowing results in original rounding mode.
48492         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48493         (libc_feholdsetround_ctx): New macro.
48494         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48495         * sysdeps/i386/fpu/libm-test-ulps: Update.
48496         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48498 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48500         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48501         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48502         corresponding .cpsetup call.
48504 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48506         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48507         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48508         * sysdeps/arm/Makefile [$(subdir) = csu]
48509         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48510         (static-only-routines): Add aeabi_read_tp here.
48511         (shared-only-routines): Add libc-aeabi_read_tp here.
48512         (CFLAGS-libc-start.c): Add -fexceptions here.
48513         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48514         (sysdep_routines, static-only-routines, shared-only-routines):
48515         Don't add to these here.
48516         (CFLAGS-libc-start.c): Likewise.
48518         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48519         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48520         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48521         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48522         * sysdeps/arm/Makefile [$(subdir) = rt]
48523         (librt-sysdep_routines, librt-shared-only-routines):
48524         Append rt-aeabi_unwind_cpp_pr1 here.
48525         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48526         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48527         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48528         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48529         Append nptl-aeabi_unwind_cpp_pr1 here.
48530         (tests): Filter out tst-cleanupx4 here.
48531         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48532         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48533         Don't do those here.
48535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48537         * scripts/list-sources.sh: Do not handle ports specially.
48539 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48541         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48542         * sysdeps/arm/feupdateenv.c: Likewise.
48544         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48546 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48548         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48549         trailing whitespace removed.
48550         * scripts/config.guess: Update to version 2014-03-23.
48551         * scripts/config.sub: Update to version 2014-05-01
48552         * scripts/install-sh: Update to version 2013-12-25.23.
48553         * scripts/move-if-change: Update from gnulib.
48555 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48557         * debug/memmove_chk.c: Remove pagecopy.h include.
48559 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48561         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48562         identical to gnulib mktime.
48564 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48566         * configure.ac: Do not test for machine being rs6000.  Do not test
48567         for powerpc*-*soft.
48568         * configure: Regenerated.
48570         [BZ #11505]
48571         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48572         test.
48573         * configure: Regenerated.
48574         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48575         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48576         Remove configure test.
48577         * sysdeps/arm/configure: Regenerated.
48578         * sysdeps/nptl/configure.ac: Do not check
48579         libc_cv_asm_cfi_directives.
48580         * sysdeps/nptl/configure: Regenerated.
48581         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48582         * sysdeps/x86_64/nptl/configure: Remove generated file.
48583         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48584         unconditional.
48585         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48587 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48589         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48590         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48591         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48592         it is defined.
48594         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48595         instead of whether it is defined.
48596         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48597         * sysdeps/hppa/dl-machine.h: Likewise.
48598         * sysdeps/ia64/dl-machine.h: Likewise.
48599         * sysdeps/m68k/dl-machine.h: Likewise.
48600         * sysdeps/microblaze/dl-machine.h: Likewise.
48601         * sysdeps/mips/dl-machine.: Likewise.
48602         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48603         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48604         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48605         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48606         * sysdeps/sh/dl-machine.h: Likewise.
48607         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48608         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48609         * sysdeps/tile/dl-machine.h: Likewise.
48610         * sysdeps/x86_64/dl-machine.h: Likewise.
48612         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48613         code.
48614         (verify_persistent_db): Likewise.
48616 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48619         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48621         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48623         Moved ...
48624         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48625         ... here.
48626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48627         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48629         Identical file removed.
48630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48631         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48633         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48635         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48637         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48639         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48641         Moved ...
48642         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48644         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48646         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48648         Moved ...
48649         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48651         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48653         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48655         Identical file removed.
48656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48657         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48659         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48661         Moved ...
48662         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48663         ... here.
48664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48665         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48667         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48669         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48671         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48672         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48673         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48675         Moved ...
48676         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48678         Moved ...
48679         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48681         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48683         Moved ...
48684         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48686         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48688         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48689         folded into ...
48690         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48691         * sysdeps/unix/sysv/linux/s390/Versions
48692         (libpthread: GLIBC_2.19): New version set.
48693         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48694         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48695         (librt: GLIBC_2.3.3): New version set.
48696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48697         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48698         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48699         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48700         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48701         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48702         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48703         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48704         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48705         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48706         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48707         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48708         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48709         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48710         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48711         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48712         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48713         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48714         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48715         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48716         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48718         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48719         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48720         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48721         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48722         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48723         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48724         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48725         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48726         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48727         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48730         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48732         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48734         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48736         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48738         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48740         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48742         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48743         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48744         (__libc_vfork): Define the function under this name.
48745         [!NOT_IN_libc] (__vfork): Make this an alias.
48746         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48747         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48748         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48749         (__libc_vfork): Define the function under this name.
48750         [!NOT_IN_libc] (__vfork): Make this an alias.
48751         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48752         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48753         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48754         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48755         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48756         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48758         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48759         code that was previously under [RESET_PID].
48760         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48761         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48762         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48764         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48765         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48766         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48767         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48768         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48769         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48770         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48771         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48772         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48773         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48774         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48775         Moved ...
48776         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48777         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48778         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48779         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48780         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48781         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48782         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48783         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48784         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48785         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48786         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48787         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48788         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48789         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48790         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48791         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48792         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48793         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48794         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48795         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48796         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48797         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48798         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48799         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48800         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48801         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48802         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48804         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48806 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48808         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48809         that was previously under [RESET_PID].
48810         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48812 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48814         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48815         not undefine and redefine.
48816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48817         [O_CLOEXEC]: Make code unconditional.
48818         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48819         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48820         <kernel-features.h>.
48821         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48822         conditional variable definition.
48823         (shm_open) [O_CLOEXEC]: Make code unconditional.
48824         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48825         code.
48827         * configure.ac (USE_REGPARMS): Don't define here.
48828         * configure: Regenerated.
48829         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48830         * sysdeps/i386/configure: Regenerated.
48832         * nptl/createthread.c: Don't include kernel-features.h.
48833         * nptl/pthread_cancel.c: Likewise.
48834         * nptl/pthread_condattr_setclock.c: Likewise.
48835         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48836         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48837         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48838         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48839         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48840         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48841         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48842         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48843         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48844         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48845         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48846         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48847         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48848         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48849         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48850         * nscd/gai.c: Likewise.
48851         * nss/nss_db/db-open.c: Likewise.
48852         * sysdeps/generic/ldsodefs.h: Likewise.
48853         * sysdeps/sh/nptl/tls.h: Likewise.
48854         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48855         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48856         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48857         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48858         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48859         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48860         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48861         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48862         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48863         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48864         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48865         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48866         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48867         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48868         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48869         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48870         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48871         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48872         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48873         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48875         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48876         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48877         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48882         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48883         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48884         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48885         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48886         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48887         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48888         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48889         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48890         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48891         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48892         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48893         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48894         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48895         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48896         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48897         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48898         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48899         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48900         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48901         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48902         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48903         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48904         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48905         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48906         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48907         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48908         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48909         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48910         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48911         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48934         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48935         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48936         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48937         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48938         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48939         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48940         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48941         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48942         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48943         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48944         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48945         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48946         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48947         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48948         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48949         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48950         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48951         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48952         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48953         * sysdeps/unix/sysv/linux/system.c: Likewise.
48954         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48955         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48956         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48957         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48958         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48959         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48960         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48962         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48963         * configure: Regenerated.
48964         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48966         * configure.ac (base_machine): Do not set specially for particular
48967         machines here.
48968         * configure: Regenerated.
48969         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48970         settings from configure.ac.
48971         * sysdeps/i386/preconfigure: New file.
48972         * sysdeps/s390/preconfigure: Likewise.
48973         * sysdeps/sh/preconfigure: Likewise.
48974         * sysdeps/sparc/preconfigure: Likewise.
48976 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48978         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48979         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48980         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48981         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48982         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48983         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48984         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48985         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48986         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48987         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48988         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48989         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48990         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48991         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48993         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48994         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48995         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48996         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48998         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48999         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49000         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49001         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49002         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49003         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49004         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49005         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49006         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49007         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49008         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49009         * sysdeps/sparc/sparc32/sem_post.c: ... here.
49010         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49011         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49012         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49013         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49014         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49015         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49016         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49017         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49019         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49021         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49022         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49023         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49025         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49026         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49027         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49028         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49029         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49030         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49031         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49032         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49033         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49034         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49035         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49038         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49040         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49042         Moved ...
49043         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49044         ... here.
49045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49046         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49048         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49050         Moved ...
49051         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49053         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49057         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49059         Moved ...
49060         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49062         Moved ...
49063         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49065         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49067         Moved ...
49068         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49070         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49072         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49074         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49076         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49078         Moved ...
49079         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49080         ... here.
49081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49082         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49084         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49086         Moved ...
49087         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49089         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49091         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49093         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49095         Moved ...
49096         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49098         Moved ...
49099         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49101         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49103         Moved ...
49104         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49106         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49108         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49110 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49112         * timezone/checktab.awk: Update from tzcode 2014e.
49113         * timezone/private.h: Likewise.
49114         * timezone/tzfile.h: Likewise.
49115         * timezone/zdump.c: Likewise.
49116         * timezone/zic.c: Likewise.
49118         * sysdeps/unix/sysv/linux/kernel-features.h
49119         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49120         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49121         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49122         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49123         Remove conditional code.
49125 2014-06-25  Will Newton  <will.newton@linaro.org>
49127         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49128         (_dl_arm_cap_flags): Add HWCAP2 values.
49129         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49130         (_DL_HWCAP_COUNT): Increase to 37.
49131         (_DL_HWCAP_LAST): New define.
49132         (_DL_HWCAP2_LAST): New define.
49133         (_dl_procinfo): Add support for printing
49134         AT_HWCAP2 entries.
49135         (_dl_string_hwcap): Use _dl_hwcap_string.
49137 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49141 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49143         * README: Do not mention ports directory.
49145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49146         Remove macro.
49147         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49148         <kernel-features.h>.
49149         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49150         conditional variable definition.
49151         (__futimes): Update comment.
49152         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49153         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49155         [BZ #16560]
49156         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49157         arguments close to 0.
49158         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49159         Likewise.
49160         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49161         Likewise.
49162         * math/auto-libm-test-in: Add more tests of exp10.
49163         * math/auto-libm-test-out: Regenerated.
49164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49166         * sysdeps/unix/sysv/linux/kernel-features.h
49167         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49168         * sysdeps/unix/sysv/linux/readv.c: Do not include
49169         <kernel-features.h>.
49170         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49171         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49172         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49173         unconditional.
49174         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49175         conditional code.
49176         * sysdeps/unix/sysv/linux/writev.c: Do not include
49177         <kernel-features.h>.
49178         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49179         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49180         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49181         unconditional.
49182         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49183         conditional code.
49185 2014-06-25  Will Newton  <will.newton@linaro.org>
49187         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49188         comment changes throughout the file.  Remove checks
49189         for HAVE_*_H definitions that are not required.
49190         (__gen_tempname): Call abort if an unknown kind value is
49191         passed.
49193 2014-06-25  Andreas Schwab  <schwab@suse.de>
49195         [BZ #17086]
49196         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49197         scalbln, scalblnf, scalblnl in libc.
49199 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49201         [BZ #17086]
49202         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49203         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49204         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49206 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49208         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49209         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49210         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49211         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49212         Update #include.
49213         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49214         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49215         Update #include.
49216         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49217         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49218         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49219         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49220         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49221         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49222         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49223         * sysdeps/x86/bits/semaphore.h: ... here.
49224         * sysdeps/x86/nptl/elide.h: Moved ...
49225         * sysdeps/x86/elide.h: ... here.
49226         * sysdeps/x86_64/nptl/Implies: File removed.
49227         * sysdeps/i386/nptl/Implies: File removed.
49229 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49231         [BZ #16539]
49232         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49233         return the argument for normal arguments with exponent below -64.
49234         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49235         Likewise.
49236         * math/auto-libm-test-in: Add another test of expm1.
49237         * math/auto-libm-test-out: Regenerated.
49239         [BZ #16287]
49240         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49241         calling __erfcl for arguments at least 16.
49242         * math/auto-libm-test-in: Add more tests of erf.
49243         * math/auto-libm-test-out: Regenerated.
49245         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49246         individual architectures.
49247         * sysdeps/unix/sysv/linux/configure: Regenerated.
49248         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49249         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49250         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49251         (ldd_rewrite_script): Define variable.
49252         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49254         file.
49255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49256         generated file.
49257         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49258         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49259         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49260         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49261         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49262         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49263         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49264         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49266 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49268         [BZ #17084]
49269         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49270         Rename member __data.d to __data.__elision_data.
49272 2014-06-24  Wilco  <wdijkstr@arm.com>
49274         * NEWS: Add 16918 to fixed bug list.
49276 2014-06-24  Wilco  <wdijkstr@arm.com>
49278         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49280 2014-06-24  Wilco  <wdijkstr@arm.com>
49282         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49283         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49284         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49285         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49286         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49287         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49288         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49289         Use _FPU_MASK_RM.
49291 2014-06-24  Wilco  <wdijkstr@arm.com>
49293         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49295 2014-06-24  Wilco  <wdijkstr@arm.com>
49297         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49298         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49299         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49300         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49302 2014-06-24  Wilco  <wdijkstr@arm.com>
49304         [BZ #16918]
49305         * sysdeps/arm/feupdateenv.c (feupdateenv):
49306         Rewrite to reduce FPSCR accesses and fix return value.
49308 2014-06-24  Wilco  <wdijkstr@arm.com>
49310         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49311         Optimize to avoid unnecessary FPSCR writes.
49312         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49313         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49314         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49315         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49317 2014-06-24  Wilco  <wdijkstr@arm.com>
49319         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49320         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49321         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49322         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49323         Call libc_fetestexcept_vfp.
49324         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49325         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49326         __SOFTFP__ ifdef so that they can be built for softfp.
49328 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49330         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49331         argument type signed char.
49333         * Makerules (check-abi): Dump diff of symlist if the test
49334         fails.
49336 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49338         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49339         using abort.
49341         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49342         Remove unused variable ST.
49344 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49346         [BZ #16354]
49347         [BZ #17061]
49348         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49349         small arguments before calling __expm1.
49350         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49351         small arguments before calling __expm1f.
49352         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49353         small arguments before calling __expm1l.
49354         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49355         Likewise.
49356         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49357         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49358         spurious underflow for some cosh tests.
49359         * math/auto-libm-test-out: Regenerated.
49360         * sysdeps/i386/fpu/libm-test-ulps: Update.
49362         [BZ #17050]
49363         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49364         (__ieee754_y1): Set errno if return value overflows.
49365         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49366         (__ieee754_y1f): Set errno if return value overflows.
49367         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49368         (__ieee754_y1l): Set errno if return value overflows.
49369         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49370         (__ieee754_y1l): Set errno if return value overflows.
49371         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49372         * math/auto-libm-test-out: Regenerated.
49374         * math/gen-auto-libm-tests.c: Document use of
49375         ignore-zero-inf-sign.
49376         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49377         (input_flags): Add ignore-zero-inf-sign.
49378         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49379         * math/gen-libm-test.pl (generate_testfile): Handle
49380         ignore-zero-inf-sign.
49381         * math/auto-libm-test-in: Mark some cpow tests with
49382         ignore-zero-inf-sign and some with xfail-rounding.
49383         * math/auto-libm-test-out: Regenerated.
49384         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49385         * sysdeps/i386/fpu/libm-test-ulps: Update.
49386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49388         [BZ #16315]
49389         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49390         overflowing or underflowing operations take place with sign of
49391         result.
49392         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49393         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49394         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49395         (__ieee754_pow): Recompute overflowing and underflowing results in
49396         original rounding mode.
49397         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49398         (__powl_helper): Allow negative argument X and scale negated value
49399         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49400         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49401         overflowing or underflowing operations take place with sign of
49402         result.
49403         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49404         Include <math.h>.
49405         * math/auto-libm-test-in: Add more tests of pow.
49406         * math/auto-libm-test-out: Regenerated.
49407         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49408         (pow_tonearest_test_data): Remove.
49409         (pow_test_tonearest): Likewise.
49410         (pow_towardzero_test_data): Likewise.
49411         (pow_test_towardzero): Likewise.
49412         (pow_downward_test_data): Likewise.
49413         (pow_test_downward): Likewise.
49414         (pow_upward_test_data): Likewise.
49415         (pow_test_upward): Likewise.
49416         (main): Don't call removed functions.
49417         * sysdeps/i386/fpu/libm-test-ulps: Update.
49418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49420 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49423         Moved ...
49424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49426         Moved ...
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49429         Moved ...
49430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49432         Moved ...
49433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49435         File removed.
49436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49437         File removed.
49438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49439         File removed.
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49441         File removed.
49442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49443         File removed.
49444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49445         File removed.
49446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49447         File removed.
49448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49449         File removed.
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49451         File removed.
49452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49453         File removed.
49454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49455         File removed.
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49457         File removed.
49458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49459         Moved ...
49460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49462         Moved ...
49463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49464         ... here.
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49466         Moved ...
49467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49469         Moved ...
49470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49472         Moved ...
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49475         Moved ...
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49478         Moved ...
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49481         Moved ...
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49484         Moved ...
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49488         ... here.
49489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49490         Moved ...
49491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49493         Moved ...
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49495         ... here.
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49497         Moved ...
49498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49499         ... here.
49500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49501         Moved ...
49502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49503         ... here.
49504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49505         Moved ...
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49508         Moved ...
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49513         Moved ...
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49515         ... here.
49516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49517         Moved ...
49518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49519         ... here.
49520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49521         Moved ...
49522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49524         Moved ...
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49527         Moved ...
49528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49530         Moved ...
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49533         Moved ...
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49535         ... here.
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49537         Moved ...
49538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49540         Moved ...
49541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49543         Moved ...
49544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49546         Moved ...
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49551         Moved ...
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49554         Moved ...
49555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49557         Moved ...
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49559         ... here.
49560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49561         Moved ...
49562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49563         ... here.
49564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49565         Moved ...
49566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49567         ... here.
49568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49569         Moved ...
49570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49572         Moved ...
49573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49575         Moved ...
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49578         Moved ...
49579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49580         ... here.
49581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49582         Moved ...
49583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49584         ... here.
49585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49586         Moved ...
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49588         ... here.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49590         Moved ...
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49593         Moved ...
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49596 2014-06-23  Will Newton  <will.newton@linaro.org>
49597             Wilco  <wdijkstr@arm.com>
49599         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49600         implementation.  Include get-rounding-mode.h.
49601         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49602         [!libc_feholdsetround_noex_ctx]: Define
49603         libc_feholdsetround_noex_ctx.
49604         [!libc_feholdsetround_noexf_ctx]: Define
49605         libc_feholdsetround_noexf_ctx.
49606         [!libc_feholdsetround_noexl_ctx]: Define
49607         libc_feholdsetround_noexl_ctx.
49608         (libc_feholdsetround_ctx): New function.
49609         (libc_feresetround_ctx): New function.
49610         (libc_feholdsetround_noex_ctx): New function.
49611         (libc_feresetround_noex_ctx): New function.
49613 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49615         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49616         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49617         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49618         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49619         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49620         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49622         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49623         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49624         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49625         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49626         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49627         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49629         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49631         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49633         Moved ...
49634         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49635         ... here.
49636         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49637         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49639         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49641         Moved ...
49642         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49644         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49646         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49647         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49648         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49649         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49650         Moved ...
49651         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49653         Moved ...
49654         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49655         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49656         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49658         Moved ...
49659         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49661         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49662         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49663         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49664         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49665         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49666         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49667         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49668         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49669         Moved ...
49670         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49671         ... here.
49672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49673         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49675         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49676         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49677         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49678         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49679         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49680         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49681         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49682         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49683         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49684         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49685         Moved ...
49686         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49688         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49690         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49691         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49692         Moved ...
49693         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49695         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49696         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49697         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49699         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49700         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49701         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49702         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49703         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49704         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49705         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49706         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49708         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49709         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49710         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49711         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49712         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49713         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49714         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49715         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49716         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49717         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49718         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49719         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49720         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49721         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49722         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49723         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49724         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49725         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49726         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49728 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49731         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49732         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49733         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49734         (IPV6_PMTUDISC_INTERFACE): Likewise.
49735         (IPV6_PMTUDISC_OMIT): Likewise.
49737 2014-06-23  Andreas Schwab  <schwab@suse.de>
49739         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49740         Remove unused errout label.
49742 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49744         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49745         macro: hardware supports Vector Crypto instructions.
49747 2014-06-23  Will Newton  <will.newton@linaro.org>
49749         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49750         rather than __builtin_expect.
49752         * elf/dl-lookup.c (undefined_msg): Remove variable.
49753         (_dl_lookup_symbol_x): Replace undefined_msg with string
49754         literal.
49756         * elf/dl-lookup.c (do_lookup_unique): New function.
49757         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49758         to a separate function.
49760 2014-06-23  Andreas Schwab  <schwab@suse.de>
49762         [BZ #17079]
49763         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49764         before reading the next line.
49766 2014-06-23  Will Newton  <will.newton@linaro.org>
49768         * test-skeleton.c (signal_handler): Use printf and %m
49769         rather than perror.  Use printf rather than fprintf to
49770         stderr.  Use puts rather than fputs to stderr.
49771         (main): Likewise.
49773 2014-06-22  Ludovic CourtĂšs  <ludo@gnu.org>
49775         * nscd/nscd.c (thread_info_t): Remove typedef.
49776         (thread_info): Remove variable.
49778 2014-06-21  Allan McRae  <allan@archlinux.org>
49780         * NEWS: Mention CVE-2014-4043.
49782 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49784         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49785         * nptl/smp.h: ... here.
49787         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49789         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49790         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49791         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49792         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49794         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49795         * nptl/stack-aliasing.h: New file.
49796         * sysdeps/i386/i686/stack-aliasing.h: New file.
49797         * sysdeps/i386/i686/nptl/Makefile: File removed.
49798         * sysdeps/x86_64/stack-aliasing.h: New file.
49799         * sysdeps/x86_64/nptl/Makefile
49800         (CFLAGS-pthread_create.c): Variable removed.
49802         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49803         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49804         old file.
49805         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49806         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49807         old file.
49809 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49811         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49812         (__ASSUME_SIGFRAME_V2): Remove macro.
49813         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49814         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49815         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49816         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49817         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49818         Declare as function.  Remove conditional macro definitions.
49819         (__default_rt_sa_restorer): Likewise.
49820         (__default_sa_restorer_v1): Remove declaration.
49821         (__default_sa_restorer_v2): Likewise.
49822         (__default_rt_sa_restorer_v1): Likewise.
49823         (__default_rt_sa_restorer_v2): Likewise.
49824         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49825         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49826         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49828 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49830         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49831         (libpthread-routines): Add sysdep.
49832         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49833         * sysdeps/unix/sysv/linux/sparc/Versions
49834         (libpthread: GLIBC_2.3.3): New version set.
49835         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49836         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49837         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49838         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49839         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49840         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49841         Moved ...
49842         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49843         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49844         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49845         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49846         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49847         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49848         * sysdeps/sparc/nptl/sem_init.c: ... here.
49849         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49850         * sysdeps/sparc/nptl/sem_post.c: ... here.
49851         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49852         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49853         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49854         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49855         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49856         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49857         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49858         (libpthread-routines): Add cpu_relax.
49859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49860         File removed.
49861         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49862         (librt: GLIBC_2.3.3): New version set.
49863         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49864         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49865         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49866         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49869         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49870         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49871         Moved ...
49872         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49874         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49876         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49878         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49880         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49882         Moved ...
49883         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49884         Update #include.
49885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49886         Moved ...
49887         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49888         Update #include.
49889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49890         Moved ...
49891         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49892         Update #include.
49893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49894         Moved ...
49895         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49896         Update #include.
49897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49898         Moved ...
49899         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49900         Update #include.
49901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49902         Moved ...
49903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49904         Update #include.
49905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49906         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49908         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49910         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49912         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49914         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49916         Moved ...
49917         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49921         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49923 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49925         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49926         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49927         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49928         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49929         * nscd/nscd.c: Likewise.
49930         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49931         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49932         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49933         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49935         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49936         <kernel-features.h>.
49937         (init_mq_netlink): Remove conditional have_sock_cloexec
49938         definitions.  Remove code conditional on have_sock_cloexec < 0.
49939         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49940         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49941         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49942         <kernel-features.h>.
49943         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49944         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49946 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49949         Add tests for memset_chk and memset.
49951         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49952         with AVX2_Usable.
49954 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49956         [BZ #16046]
49957         * elf/tst-dl-iter-static.c: New file.
49958         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49960         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49961         error.
49963 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49965         * sysdeps/unix/sysv/linux/kernel-features.h
49966         (__ASSUME_F_GETOWN_EX): Remove macro.
49967         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49968         <kernel-features.h>.
49969         (miss_F_GETOWN_EX): Remove variable or macro.
49970         (do_fcntl): Do not check miss_F_GETOWN_EX.
49971         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49973         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49974         Remove macro.
49975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49976         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49977         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49979         * sysdeps/unix/sysv/linux/kernel-features.h
49980         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49981         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49982         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49983         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49985 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49987         [BZ #17075]
49988         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49989         Fix calculation of the symbol's value.
49990         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49991         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49992         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49993         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49994         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49995         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49996         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49997         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49998         (modules-names): Add `tst-armtlsdescmod',
49999         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50000         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50001         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50002         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50003         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50004         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50005         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50006         ($(objpfx)tst-armtlsdescloc): New dependency.
50007         ($(objpfx)tst-armtlsdescextnow): Likewise.
50008         ($(objpfx)tst-armtlsdescextlazy): Likewise.
50009         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50010         TLS scheme support.
50011         * sysdeps/arm/configure: Regenerate.
50013 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50015         * include/fcntl.h (__atfct_seterrno): Remove prototype.
50016         (__atfct_seterrno_2): Likewise.
50017         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50018         <kernel-features.h>.
50019         (__ASSUME_ATFCTS): Do not undefine and redefine.
50020         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50021         (__have_atfcts): Remove conditional definition.
50022         (__fxstatat([__NR_fstatat64]: Make code unconditional.
50023         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50024         unreachable if [__ASSUME_ATFCTS].
50025         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50026         not undefine and redefine.
50027         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50028         <kernel-features.h>.
50029         (faccessat) [__NR_faccessat]: Make code unconditional.
50030         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50031         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50032         <kernel-features.h>.
50033         (fchmodat) [__NR_fchmodat]: Make code unconditional.
50034         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50035         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50036         <kernel-features.h>.
50037         (fchownat) [__NR_fchownat]: Make code unconditional.
50038         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50039         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50040         <kernel-features.h>.
50041         (futimesat) [__NR_futimesat]: Make code unconditional.
50042         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50043         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50044         <kernel-features.h>.
50045         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50046         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50047         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50048         <kernel-features.h>.
50049         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50050         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50051         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50052         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50053         <kernel-features.h>.
50054         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50055         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50056         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50057         <kernel-features.h>.
50058         (linkat) [__NR_linkat]: Make code unconditional.
50059         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50060         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50061         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50062         <kernel-features.h>.
50063         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50064         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50065         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50066         <kernel-features.h>.
50067         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50068         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50069         * sysdeps/unix/sysv/linux/openat.c: Do not include
50070         <kernel-features.h>.
50071         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50072         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50073         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50074         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50075         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50076         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50077         <kernel-features.h>.
50078         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50079         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50080         result of INLINE_SYSCALL directly, not via int variable.
50081         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50082         <kernel-features.h>.
50083         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50084         (renameat) [__NR_renameat]: Make code unconditional.
50085         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50086         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50087         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50088         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50089         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50090         (__ASSUME_ATFCTS): Do not undefine and redefine.
50091         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50092         <kernel-features.h>.
50093         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50094         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50095         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50096         <kernel-features.h>.
50097         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50098         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50099         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50100         (__ASSUME_ATFCTS): Do not undefine and redefine.
50101         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50102         <kernel-features.h>.
50103         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50104         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50105         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50106         <kernel-features.h>.
50107         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50108         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50110 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50112         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50114 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50116         [BZ #17069]
50117         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50118         constructed tree before returning error.
50119         * posix/bug-regexp36.c: Expand test case.
50121 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50123         [BZ #6803]
50124         * math/libm-test.inc (scalbln_test_date):
50125         Add errno expectations.
50126         * math/w_scalblnf.c: New File.
50127         Add wrapper which checks for setting errno to ERANGE.
50128         Add weak_alias for corresponding scalbln function.
50129         * math/w_scalbln.c: Likewise.
50130         * math/w_scalblnl.c: Likewise.
50131         * math/Makefile (libm-calls): Add w_scalbln.
50132         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50133         Remove weak_alias for corresponding scalbln function.
50134         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50135         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50136         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50137         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50138         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50139         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50140         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50141         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50142         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50143         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50144         Remove long_double_symbol for scalblnl function in libm, libc.
50145         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50146         Add wrapper which checks for setting errno to ERANGE.
50147         Add long_double_symbol for scalblnl function in libm, libc.
50148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50149         Remove long_double_symbol for scalblnl in libm.
50150         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50151         Add wrapper which checks for setting errno to ERANGE.
50152         Add long_double_symbol for scalblnl function in libm.
50153         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50154         Do not use wrapper because of own implementation.
50156 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50158         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50159         3 bytes for __pad1 for x32.
50160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50162 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50163             H.J. Lu  <hongjiu.lu@intel.com>
50165         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50166         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50167         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50168         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50169         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50171 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50173         [BZ #17069]
50174         * posix/regcomp.c (parse_expression): Deallocate partially
50175         constructed tree before returning error.
50176         * posix/Makefile.c (tests): Add bug-regex36.
50177         (generated): Add bug-regex36.mtrace.
50178         (tests-special): Add $(objpfx)bug-regex36-mem.out
50179         (bug-regex36-ENV): New variable.
50180         ($(objpfx)bug-regex36-mem.out): New rule.
50181         * posix/bug-regex36.c: New file.
50183 2014-06-19  Will Newton  <will.newton@linaro.org>
50185         * malloc/malloc.c (systrim): If extra is zero then return
50186         early.
50188 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50190         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50192 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50194         * sysdeps/aarch64/strchr.S: New file.
50196 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50198         [BZ #17022]
50199         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50200         from arguments -2 or below.
50201         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50202         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50204 2014-06-18  Andreas Schwab  <schwab@suse.de>
50206         [BZ #17062]
50207         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50208         of a bracket expr not to run off the end of the string.
50209         * posix/Makefile (tests): Add tst-fnmatch3.
50210         * posix/tst-fnmatch3.c: New file.
50212 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50214         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50215         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50216         [$(cross-compiling) = no]: Likewise.
50217         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50218         [$(cross-compiling) = no]: Likewise.
50220 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50222         [BZ #17031]
50223         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50224         double, adjusted for any remainder from the high double.
50225         * math/libm-test.inc (nearbyint): Add tests.
50226         (rint): Likewise.
50228 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50230         * nptl/sysdeps/powerpc/Makefile: Moved ...
50231         * sysdeps/powerpc/nptl/Makefile: ... here.
50232         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50233         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50234         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50235         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50236         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50237         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50238         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50239         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50240         * nptl/sysdeps/powerpc/tls.h: Moved ...
50241         * sysdeps/powerpc/nptl/tls.h: ... here.
50243 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50245         [BZ #16681]
50246         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50247         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50248         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50249         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50250         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50251         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50252         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50253         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50254         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50256 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50258         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50260 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50262         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50263         defined operator.
50265         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50266         $TIMEOUTFACTOR.
50268 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50270         [BZ #17058]
50271         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50272         non-executed part of the test.
50274 2014-06-16  Andreas Schwab  <schwab@suse.de>
50276         * string/bits/string2.h (strdup, strndup): Update feature guard.
50278 2014-06-14  David S. Miller  <davem@davemloft.net>
50280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50282 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50284         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50285         that was previously under [RESET_PID].
50286         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50288         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50289         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50290         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50291         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50292         (__libc_vfork): New strong alias.
50293         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50295 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50297         * sysdeps/generic/elide.h: New file.
50299 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50301         * Makefile (installed-headers): Adjust path of pthread.h header.
50303 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50305         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50306         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50307         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50308         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50310         * nptl/sysdeps/s390/Makefile: Moved ...
50311         * sysdeps/s390/nptl/Makefile: ... here.
50312         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50313         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50314         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50315         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50316         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50317         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50318         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50319         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50320         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50321         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50322         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50323         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50324         * nptl/sysdeps/s390/tls.h: Moved ...
50325         * sysdeps/s390/nptl/tls.h: ... here.
50327         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50328         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50330 2014-06-13  David S. Miller  <davem@davemloft.net>
50332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50335         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50339         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50340         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50341         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50342         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50343         Remove RESET_PID cpp guards.
50344         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50345         Remove RESET_PID cpp guards.
50346         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50348 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50350         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50351         __sp to uintptr_t.
50353 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50355         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50356         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50357         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50358         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50359         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50360         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50361         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50362         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50363         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50365         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50367         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50368         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50369         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50370         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50372         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50373         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50376         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50377         (pthread_rwlock_rdlock): Add elision.
50378         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50379         (pthread_rwlock_wrlock): Add elision.
50380         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50381         (pthread_rwlock_trywrlock): Add elision.
50382         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50383         (pthread_rwlock_tryrdlock): Add elision.
50384         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50385         (pthread_rwlock_tryrdlock): Add elision unlock.
50386         * nptl/sysdeps/pthread/pthread.h:
50387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50388         (PTHREAD_RWLOCK_INITIALIZER,
50389         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50390         Handle new elision field.
50391         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50392         * sysdeps/arm/nptl/bits/pthreadtypes.h
50393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50394         * sysdeps/sh/nptl/bits/pthreadtypes.h
50395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50396         * sysdeps/tile/nptl/bits/pthreadtypes.h
50397         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50398         * sysdeps/a/nptl/bits/pthreadtypes.h
50399         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50400         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50401         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50404         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50405         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50407         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50408         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50409         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50410         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50411         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50412         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50414         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50415         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50416         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50417         (elision_init): Set try_xbegin to zero when no RTM.
50418         * sysdeps/x86/nptl/bits/pthreadtypes.h
50419         (pthread_rwlock_t): Change __pad1 to __rwelision.
50420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50422 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50424         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50425         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50426         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50427         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50429 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50431         [BZ #16996]
50432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50433         that the cached result has been set before returning it.
50435 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50437         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50438         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50439         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50440         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50441         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50442         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50444         * nptl/sysdeps/sparc/Makefile: Moved ...
50445         * sysdeps/sparc/nptl/Makefile: ... here.
50446         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50447         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50448         * nptl/sysdeps/sparc/tls.h: Moved ...
50449         * sysdeps/sparc/nptl/tls.h: ... here.
50450         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50451         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50452         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50453         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50454         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50455         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50456         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50457         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50458         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50459         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50460         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50461         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50462         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50463         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50464         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50465         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50466         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50468         Update #include.
50469         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50471         Update #include.
50472         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50473         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50474         Update #include.
50475         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50477         Update #include.
50479         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50481         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50482         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50484         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50485         (struct list_links): Type removed.
50486         (struct thread_node, struct timer_node): Replace struct list_links
50487         with struct list_head.
50488         (list_unlink_ip): Likewise.
50489         * sysdeps/pthread/timer_routines.c
50490         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50491         (list_append, list_insbefore): Likewise.
50492         (list_init): Function removed.
50493         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50494         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50495         * sysdeps/pthread/Makefile: ... here, new file.
50497         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50498         * sysdeps/nptl/Implies: ... here.
50499         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50500         * nptl/sysdeps/pthread/list.h: Moved ...
50501         * include/list.h: ... here.
50502         * nptl/sysdeps/pthread/createthread.c: Moved ...
50503         * nptl/createthread.c: ... here.
50504         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50505         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50506         * nptl/pt-longjmp.c: ... here.
50507         * nptl/sysdeps/pthread/Makefile: Moved ...
50508         * sysdeps/nptl/Makefile: ... here.
50509         * nptl/sysdeps/pthread/Subdirs: Moved ...
50510         * sysdeps/nptl/Subdirs: ... here.
50511         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50512         * sysdeps/nptl/aio_misc.h: ... here.
50513         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50514         * sysdeps/nptl/bits/libc-lock.h: ... here.
50515         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50516         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50517         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50518         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50519         * nptl/sysdeps/pthread/configure: Moved ...
50520         * sysdeps/nptl/configure: ... here.
50521         * nptl/sysdeps/pthread/configure.ac: Moved ...
50522         * sysdeps/nptl/configure.ac: ... here.
50523         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50524         * sysdeps/nptl/gai_misc.h: ... here.
50525         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50526         * sysdeps/nptl/librt-cancellation.c: ... here.
50527         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50528         * sysdeps/nptl/malloc-machine.h: ... here.
50529         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50530         * sysdeps/nptl/pthread-functions.h: ... here.
50531         * nptl/sysdeps/pthread/pthread.h: Moved ...
50532         * sysdeps/nptl/pthread.h: ... here.
50533         * nptl/sysdeps/pthread/setxid.h: Moved ...
50534         * sysdeps/nptl/setxid.h: ... here.
50535         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50536         * sysdeps/nptl/sigfillset.c: ... here.
50537         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50538         * sysdeps/nptl/tcb-offsets.h: ... here.
50539         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50540         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50541         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50542         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50543         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50544         * sysdeps/pthread/allocalim.h: ... here.
50545         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50546         * sysdeps/pthread/bits/sigthread.h: ... here.
50547         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50548         * sysdeps/pthread/flockfile.c: ... here.
50549         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50550         * sysdeps/pthread/ftrylockfile.c: ... here.
50551         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50552         * sysdeps/pthread/funlockfile.c: ... here.
50553         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50554         * sysdeps/pthread/posix-timer.h: ... here.
50555         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50556         * sysdeps/pthread/timer_create.c: ... here.
50557         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50558         * sysdeps/pthread/timer_delete.c: ... here.
50559         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50560         * sysdeps/pthread/timer_getoverr.c: ... here.
50561         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50562         * sysdeps/pthread/timer_gettime.c: ... here.
50563         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50564         * sysdeps/pthread/timer_routines.c: ... here.
50565         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50566         * sysdeps/pthread/timer_settime.c: ... here.
50567         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50568         * sysdeps/pthread/tst-timer.c: ... here.
50569         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50570         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50572         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50573         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50575         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50576         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50577         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50578         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50579         Update #include target.
50580         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50581         * sysdeps/i386/i686/nptl/Makefile: ... here.
50582         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50583         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50584         Update #include target.
50585         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50586         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50587         * nptl/sysdeps/i386/Makefile: Moved ...
50588         * sysdeps/i386/nptl/Makefile: ... here.
50589         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50590         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50591         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50592         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50593         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50594         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50595         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50596         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50597         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50598         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50599         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50600         * nptl/sysdeps/i386/tls.h: Moved ...
50601         * sysdeps/i386/nptl/tls.h: ... here.
50603         * sysdeps/sh/Makefile [$(subdir) = csu]
50604         (gen-as-const-headers): Add tcb-offsets.sym.
50605         * nptl/sysdeps/sh/Makefile: File removed.
50606         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50607         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50608         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50609         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50610         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50611         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50612         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50613         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50614         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50615         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50616         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50617         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50618         * nptl/sysdeps/sh/tls.h: Moved ...
50619         * sysdeps/sh/nptl/tls.h: ... here.
50620         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50621         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50622         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50623         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50624         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50625         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50626         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50627         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50628         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50629         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50631         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50633         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50634         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50635         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50636         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50637         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50638         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50639         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50640         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50641         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50642         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50643         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50644         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50645         Moved ...
50646         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50648         Moved ...
50649         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50650         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50653         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50654         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50655         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50656         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50657         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50658         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50659         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50660         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50661         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50662         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50663         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50664         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50665         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50666         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50667         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50669 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50671         * posix/spawn_faction_addopen.c: Include string.h.
50673 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50675         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50676         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50677         * nptl/sysdeps/x86_64/Makefile: Moved ...
50678         * sysdeps/x86_64/nptl/Makefile: ... here.
50679         * nptl/sysdeps/x86_64/configure: Moved ...
50680         * sysdeps/x86_64/nptl/configure: ... here.
50681         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50682         * sysdeps/x86_64/nptl/configure.ac: ... here.
50683         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50684         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50685         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50686         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50687         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50688         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50689         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50690         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50691         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50692         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50693         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50694         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50695         * nptl/sysdeps/x86_64/tls.h: Moved ...
50696         * sysdeps/x86_64/nptl/tls.h: ... here.
50697         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50698         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50699         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50700         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50702         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50704 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50708 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50710         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50711         type.
50712         [POSIX] (off_t): Likewise.
50713         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50714         [POSIX] (S_ISBLK): Require macro.
50715         [POSIX] (S_ISCHR): Likewise.
50716         [POSIX] (S_ISDIR): Likewise.
50717         [POSIX] (S_ISFIFO): Likewise.
50718         [POSIX] (S_ISREG): Likewise.
50719         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50720         optional-macro.
50721         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50722         type.
50723         [POSIX] (time_t): Likewise.
50724         [POSIX] (timer_t): Likewise.
50726 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50728         [BZ #17048]
50729         * posix/spawn_int.h (struct __spawn_action): Make the path string
50730         non-const to support deallocation.
50731         * posix/spawn_faction_addopen.c
50732         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50733         * posix/spawn_faction_destroy.c
50734         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50735         path in all spawn_do_open actions.
50736         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50737         posix_spawn_file_actions_addopen.
50739 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50741         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50742         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50743         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50744         conditional code always true.
50745         (__libc_vfork): New alias.
50747 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50749         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50750         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50752         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50754         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50755         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50757         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50758         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50760         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50761         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50763 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50765         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50766         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50767         multiarch strcmp for PPC64.
50768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50769         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50771         multiarch optimizations.
50772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50773         (__libc_ifunc_impl_list): Likewise.
50775 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50777         * benchtests/scripts/validate_benchout.py: New script.
50778         * benchtests/Makefile (bench-func): Call it.
50779         * benchtests/scripts/benchout.schema.json: New file.
50781 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50783         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50784         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50785         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50786         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50787         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50788         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50789         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50790         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50791         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50792         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50793         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50794         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50795         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50796         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50797         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50798         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50800         Moved ...
50801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50802         ... here.
50803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50804         Moved ...
50805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50807         Moved ...
50808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50809         ... here.
50810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50811         Moved ...
50812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50813         ... here.
50814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50815         Moved ...
50816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50818         Moved ...
50819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50820         ... here.
50821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50822         Moved ...
50823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50824         ... here.
50825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50826         Moved ...
50827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50829         Moved ...
50830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50831         ... here.
50832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50833         Moved ...
50834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50835         ... here.
50836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50837         Moved ...
50838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50839         ... here.
50840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50841         Moved ...
50842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50844         Moved ...
50845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50846         ... here.
50847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50848         Moved ...
50849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50850         ... here.
50851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50852         Moved ...
50853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50854         ... here.
50855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50856         Moved ...
50857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50859         Moved ...
50860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50861         ... here.
50862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50863         Moved ...
50864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50865         ... here.
50866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50867         Moved ...
50868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50870         Moved ...
50871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50872         ... here.
50873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50874         Moved ...
50875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50877         Moved ...
50878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50880         Moved ...
50881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50882         ... here.
50883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50884         Moved ...
50885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50886         ... here.
50887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50888         Moved ...
50889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50890         ... here.
50891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50892         Moved ...
50893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50895         Moved ...
50896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50897         ... here.
50898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50899         Moved ...
50900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50901         ... here.
50902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50903         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50905         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50906         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50907         Moved ...
50908         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50909         ... here.
50910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50911         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50912         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50913         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50914         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50915         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50917         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50918         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50919         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50920         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50921         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50922         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50923         Moved ...
50924         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50926         Moved ...
50927         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50929         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50931         Moved ...
50932         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50934         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50935         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50936         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50937         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50938         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50940 2014-06-10  Wilco  <wdijkstr@arm.com>
50942         * math/test-fenv-return.c: New file.
50943         * math/Makefile: Add new test test-fenv-return.
50945 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50947         [BZ #17042]
50948         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50949         when x - 1 is zero.
50950         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50951         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50952         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50953         0.0L for an argument of 1.0L.
50954         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50955         Likewise.
50956         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50957         value when x - 1 is zero.
50958         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50959         * sysdeps/i386/fpu/libm-test-ulps: Update.
50960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50962 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50964         [BZ #15119]
50965         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50967 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50969         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50970         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50972 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50974         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50975         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50977         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50978         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50980         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50981         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50983         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50984         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50986         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50987         if not already defined.
50988         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50989         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50990         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50991         (TLS_INIT_TP): Use it.
50992         (TLS_DEFINE_INIT_TP): New macro.
50993         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50995 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50997         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50998         constant.
50999         [POSIX] (IXANY): Likewise.
51000         [POSIX] (OLCUC): Likewise.
51001         [POSIX || POSIX2008] (CBAUD): Do not allow.
51002         [POSIX || POSIX2008] (DEFECHO): Likewise.
51003         [POSIX || POSIX2008] (ECHOCTL): Likewise.
51004         [POSIX || POSIX2008] (ECHOKE): Likewise.
51005         [POSIX || POSIX2008] (ECHOPRT): Likewise.
51006         [POSIX || POSIX2008] (EXTA): Likewise.
51007         [POSIX || POSIX2008] (EXTB): Likewise.
51008         [POSIX || POSIX2008] (FLUSHO): Likewise.
51009         [POSIX || POSIX2008] (LOBLK): Likewise.
51010         [POSIX || POSIX2008] (PENDIN): Likewise.
51011         [POSIX || POSIX2008] (SWTCH): Likewise.
51012         [POSIX || POSIX2008] (VDISCARD): Likewise.
51013         [POSIX || POSIX2008] (VDSUSP): Likewise.
51014         [POSIX || POSIX2008] (VLNEXT): Likewise.
51015         [POSIX || POSIX2008] (VREPRINT): Likewise.
51016         [POSIX || POSIX2008] (VSTATUS): Likewise.
51017         [POSIX || POSIX2008] (VWERASE): Likewise.
51018         (B*): Change to B[0123456789]*.
51019         * conform/data/time.h-data [POSIX || UNIX98]
51020         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51021         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51022         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51023         [POSIX] (tm_*): Do not allow.
51025 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
51027         * Makefile (install): Don't set LANGUAGE.
51028         * Makefile.in (install): Likewise.
51029         * assert/Makefile (test-assert-ENV): Remove variable.
51030         (test-assert-perr-ENV): Likewise.
51031         * elf/Makefile (neededtest4-ENV): Likewise.
51032         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51033         [$(cross-compiling) = no]: Don't set LANGUAGE.
51034         * io/ftwtest-sh (LANG): Remove variable.
51035         * libio/Makefile (tst-widetext-ENV): Likewise.
51036         * manual/install.texi (Running make install): Don't refer to
51037         environment settings for make install.
51038         * INSTALL: Regenerated.
51039         * nptl/tst-tls6.sh: Don't set LANG.
51040         * posix/globtest.sh (LANG): Remove variable.
51041         * string/Makefile (tester-ENV): Likewise.
51042         (inl-tester-ENV): Likewise.
51043         (noinl-tester-ENV): Likewise.
51044         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51045         [$(cross-compiling) = no]: Don't set LANGUAGE.
51046         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51047         without explicit environment settings.
51049 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51051         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51052         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51053         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51054         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51056 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51058         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51059         other files in the crypt directory.
51060         * crypt/crypt.c: Remove duplicate includes.
51061         * crypt/crypt-entry.c: Likewise.
51062         * crypt/crypt_util.c: Likewise.
51064 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51066         * Makeconfig (run-program-env): New variable.
51067         (run-program-prefix-before-env): Likewise.
51068         (run-program-prefix-after-env): Likewise.
51069         (run-program-prefix): Define in terms of new variables.
51070         (built-program-cmd-before-env): New variable.
51071         (built-program-cmd-after-env): Likewise.
51072         (built-program-cmd): Define in terms of new variables.
51073         (test-program-prefix-before-env): New variable.
51074         (test-program-prefix-after-env): Likewise.
51075         (test-program-prefix): Define in terms of new variables.
51076         (test-program-cmd-before-env): New variable.
51077         (test-program-cmd-after-env): Likewise.
51078         (test-program-cmd): Define in terms of new variables.
51079         * Rules (make-test-out): Use $(run-program-env).
51080         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51081         (help): Do not mention environment variables.  Mention
51082         --timeoutfactor option.
51083         (timeoutfactor): New variable.
51084         (blacklist_exports): Remove function.
51085         (exports): Remove variable.
51086         (command): Do not include ${exports}.
51087         * manual/install.texi (Configuring and compiling): Do not mention
51088         test wrappers preserving environment variables.  Mention that last
51089         assignment to a variable must take precedence.
51090         * INSTALL: Regenerated.
51091         * benchtests/Makefile (run-bench): Use $(run-program-env).
51092         * catgets/Makefile ($(objpfx)test1.cat): Use
51093         $(built-program-cmd-before-env), $(run-program-env) and
51094         $(built-program-cmd-after-env).
51095         ($(objpfx)test2.cat): Do not specify environment variables
51096         explicitly.
51097         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51098         $(run-program-env) and $(built-program-cmd-after-env).
51099         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51100         $(run-program-env) and $(test-program-cmd-after-env).
51101         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51102         explicitly.
51103         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51104         run_program_env and test_program_cmd_after_env arguments.
51105         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51106         * elf/tst-pathopt.sh: Use run_program_env argument.
51107         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51108         $(test-wrapper-env) and $(run-program-env).
51109         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51110         run_program_env arguments.
51111         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51112         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51113         $(test-program-prefix-before-env), $(run-program-env) and
51114         $(test-program-prefix-after-env).
51115         ($(objpfx)tst-gettext2.out): Likewise.
51116         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51117         run_program_env and test_program_prefix_after_env arguments.
51118         * intl/tst-gettext2.sh: Likewise.
51119         * intl/tst-gettext4.sh: Do not set environment variables
51120         explicitly.
51121         * intl/tst-gettext6.sh: Likewise.
51122         * intl/tst-translit.sh: Likewise.
51123         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51124         $(test-program-prefix-before-env), $(run-program-env) and
51125         $(test-program-prefix-after-env).
51126         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51127         run_program_env and test_program_prefix_after_env arguments.
51128         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51129         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51130         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51131         explicitly with each use of ${test_wrapper_env}.
51132         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51133         $(test-program-prefix-before-env), $(run-program-env) and
51134         $(test-program-prefix-after-env).
51135         * posix/tst-getconf.sh: Do not set environment variables
51136         explicitly.
51137         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51138         run_program_env and test_program_prefix_after_env arguments.
51139         * stdio-common/tst-printf.sh: Do not set environment variables
51140         explicitly.
51141         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51142         $(test-program-prefix-before-env), $(run-program-env) and
51143         $(test-program-prefix-after-env).
51144         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51145         run_program_env and test_program_prefix_after_env arguments.
51146         Split $test calls into $test_pre and $test.
51147         * timezone/Makefile (build-testdata): Use
51148         $(built-program-cmd-before-env), $(run-program-env) and
51149         $(built-program-cmd-after-env).
51151 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51153         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51154         strlen for non SHARED builds.
51156 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51158         * nptl/allocatestack.c (check_list): Inlined function...
51159         (__reclaim_stacks): ... here.
51161 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51163         [BZ #15698]
51164         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51165         memory overrun.
51167 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51169         * Rules (make-test-out): Include
51170         LOCPATH=$(common-objpfx)localedata in default environment.
51171         * debug/Makefile (tst-chk1-ENV): Remove variable.
51172         (tst-chk2-ENV): Likewise.
51173         (tst-chk3-ENV): Likewise.
51174         (tst-chk4-ENV): Likewise.
51175         (tst-chk5-ENV): Likewise.
51176         (tst-chk6-ENV): Likewise.
51177         (tst-lfschk1-ENV): Likewise.
51178         (tst-lfschk2-ENV): Likewise.
51179         (tst-lfschk3-ENV): Likewise.
51180         (tst-lfschk4-ENV): Likewise.
51181         (tst-lfschk5-ENV): Likewise.
51182         (tst-lfschk6-ENV): Likewise.
51183         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51184         (tst-iconv7-ENV): Likewise.
51185         * intl/Makefile (LOCPATH-ENV): Likewise.
51186         (tst-codeset-ENV): Likewise.
51187         (tst-gettext3-ENV): Likewise.
51188         (tst-gettext5-ENV): Likewise.
51189         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51190         (tst-fopenloc-ENV): Likewise.
51191         (tst-fgetws-ENV): Remove variable.
51192         (tst-ungetwc1-ENV): Likewise.
51193         (tst-ungetwc2-ENV): Likewise.
51194         (bug-ungetwc2-ENV): Likewise.
51195         (tst-swscanf-ENV): Likewise.
51196         (bug-ftell-ENV): Likewise.
51197         (tst-fgetwc-ENV): Likewise.
51198         (tst-fseek-ENV): Likewise.
51199         (tst-ftell-partial-wide-ENV): Likewise.
51200         (tst-ftell-active-handler-ENV): Likewise.
51201         (tst-ftell-append-ENV): Likewise.
51202         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51203         (tst-regexloc-ENV): Likewise.
51204         (bug-regex1-ENV): Likewise.
51205         (tst-regex-ENV): Likewise.
51206         (tst-regex2-ENV): Likewise.
51207         (bug-regex5-ENV): Likewise.
51208         (bug-regex6-ENV): Likewise.
51209         (bug-regex17-ENV): Likewise.
51210         (bug-regex18-ENV): Likewise.
51211         (bug-regex19-ENV): Likewise.
51212         (bug-regex20-ENV): Likewise.
51213         (bug-regex22-ENV): Likewise.
51214         (bug-regex23-ENV): Likewise.
51215         (bug-regex25-ENV): Likewise.
51216         (bug-regex26-ENV): Likewise.
51217         (bug-regex30-ENV): Likewise.
51218         (bug-regex32-ENV): Likewise.
51219         (bug-regex33-ENV): Likewise.
51220         (bug-regex34-ENV): Likewise.
51221         (bug-regex35-ENV): Likewise.
51222         (tst-rxspencer-ENV): Likewise.
51223         (tst-rxspencer-no-utf8-ENV): Likewise.
51224         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51225         (tst-sscanf-ENV): Likewise.
51226         (tst-swprintf-ENV): Likewise.
51227         (tst-swscanf-ENV): Likewise.
51228         (test-vfprintf-ENV): Likewise.
51229         (scanf13-ENV): Likewise.
51230         (bug14-ENV): Likewise.
51231         (tst-grouping-ENV): Likewise.
51232         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51233         (tst-strtod3-ENV): Likewise.
51234         (tst-strtod4-ENV): Likewise.
51235         (tst-strtod5-ENV): Likewise.
51236         (testmb2-ENV): Likewise./
51237         * string/Makefile (tst-strxfrm-ENV): Likewise.
51238         (tst-strxfrm2-ENV): Likewise.
51239         (bug-strcoll1-ENV): Likewise.
51240         (test-strcasecmp-ENV): Likewise.
51241         (test-strncasecmp-ENV): Likewise.
51242         * time/Makefile (tst-strptime-ENV): Likewise.
51243         (tst-ftime_l-ENV): Likewise.
51244         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51245         (tst-mbrtowc-ENV): Likewise.
51246         (tst-wcrtomb-ENV): Likewise.
51247         (tst-mbrtowc2-ENV): Likewise.
51248         (tst-c16c32-1-ENV): Likewise.
51249         (tst-mbsnrtowcs-ENV): Likewise.
51251 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51253         * manual/resource.texi (How to get information about the memory
51254         subsystem?): Fix typo.
51255         Reported by Peon de la Parra Ivan <peon@keba.com>
51257 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51259         [BZ #16882]
51260         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51261         (pthread_spin_lock): Branch out of spin loop to proper location.
51262         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51263         (pthread_spin_lock): Likewise.
51265         * nptl/tst-spin4.c: New test.
51266         * nptl/Makefile (tests): Add tst-spin4.
51268 2014-06-03  Andreas Schwab  <schwab@suse.de>
51270         [BZ #15946]
51271         * resolv/res_send.c (send_dg): Reload file descriptor after
51272         calling reopen.
51274 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51276         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51278 2014-06-03  Richard Henderson  <rth@redhat.com>
51280         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51281         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51282         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51283         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51284         in the SAVE_PID block.
51285         (__libc_vfork): New alias.
51286         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51288         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51289         child in registers, not on the stack.  Remove RESET_PID conditionals.
51290         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51292 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51294         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51296 2014-06-03  Wilco  <wdijkstr@arm.com>
51298         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51299         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51300         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51301         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51302         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51303         Likewise.
51305 2014-06-03  Wilco  <wdijkstr@arm.com>
51307         * sysdeps/aarch64/fpu/math_private.h
51308         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51309         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51310         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51311         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51312         Fix declarations.
51314 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51316         * crypt/crypt-private.h: Include ufc-crypt.h.
51317         (__b64_from_24bit): Declare extern.
51318         * crypt/crypt_util.c(__b64_from_24bit): New function.
51319         (b64t): New static const variable.
51320         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51321         (b64t): Remove variable.
51322         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51323         * crypt/sha256-crypt.c: Include crypt-private.h.
51324         (b64t): Remove variable.
51325         (__sha256_crypt_r): Remove b64_from_24bit and replace
51326         with __b64_from_24bit.
51327         * crypt/sha512-crypt.c: Likewise.
51329 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51331         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51332         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51333         Label the code __libc_vfork rather than __vfork.
51334         [!NOT_IN_libc] (vfork): Define as weak alias.
51335         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51336         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51337         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51339 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51341         * malloc/malloc.c (malloc_info): Fix format specifier for
51342         n_mmaps.
51344 2014-06-02  Wilco  <wdijkstr@arm.com>
51346         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51347         FPCR write.
51349 2014-06-02  Wilco  <wdijkstr@arm.com>
51351         [BZ #17009]
51352         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51353         Rewrite to reduce FPCR/FPSR accesses.
51355 2014-06-01  David S. Miller  <davem@davemloft.net>
51357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51359 2014-05-31  David S. Miller  <davem@davemloft.net>
51361         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51362         to occur in round to nearest mode when |x| >= 2.0
51364 2014-05-30  Richard Henderson  <rth@twiddle.net>
51366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51367         (PSEUDO_RET_NOERRNO): Remove.
51368         (ret): Don't redefine.
51369         (ret_NOERRNO): Define in terms of ret.
51370         (ret_ERRVAL): Likewise.
51372         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51373         use of PSEUDO_RET; perform the error check directly.
51375 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51377         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51378         with __int128_t.
51380 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51382         * malloc/malloc (malloc_info): Fix formatting.
51384 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51385             Roland McGrath  <roland@hack.frob.com>
51387         * malloc/malloc (malloc_info): Also print mmapped statistics.
51389 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51391         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51392         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51394 2014-05-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
51396         * malloc/malloc.c (malloc_info): Inline mi_arena.
51398 2014-05-29  Richard Henderson  <rth@twiddle.net>
51400         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51401         Remove comma before expanding ASM_ARGS_##nr.
51402         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51403         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51404         of ASM_ARGS_##nr.
51405         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51406         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51407         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51408         (ASM_ARGS_1): Add leading comma.
51410         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51411         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51412         to __errno_location.
51413         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51414         Remove the expected plt for __errno_location.
51416         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51417         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51418         call to __read_tp.
51420         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51421         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51422         it and break it down.
51423         (DOCARGS_0, DOCARGS_1): Do nothing.
51424         (DOCARGS_2): Update to store into the new stack frame.
51425         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51426         (UNDOCARGS_1): Update to restore from the new stack frame.
51427         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51428         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51430         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51431         (SINGLE_THREAD_P): New parameter for result regno.
51432         (PSEUDO): Update to match; use cbz instead of beq.
51434         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51435         Use ENTRY to define the _nocancel entry point.  Share the syscall
51436         and syscall error check paths with the cancel path.
51437         (PSEUDO_END): New.
51439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51440         whitespace; tabs before and after asm mnemonics.
51442 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51444         [BZ #15132]
51445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51446         Call fstat64 or stat64 internally, depending on arguments passed.
51447         Replace stat buffer argument with file descriptor argument.
51448         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51449         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51450         Pass fd to __internal_statvfs instead of calling fstat64.
51451         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51452         Pass fd to __internal_statvfs64 instead of calling fstat64.
51453         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51454         Pass -1 to __internal_statvfs instead of calling stat64.
51455         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51456         Pass -1 to __internal_statvfs64 instead of calling stat64.
51458 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51460         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51461         that was previously under [RESET_PID].
51462         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51464         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51465         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51467 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51469         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51471         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51472         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51474 2014-05-27  Ondƙej BĂ­lka  <neleai@seznam.cz>
51476         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51478 2014-05-27  Andreas Schwab  <schwab@suse.de>
51480         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51481         TLS_INIT_TP macro.
51482         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51483         * elf/rtld.c (init_tls, dl_main): Likewise.
51484         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51485         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51486         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51487         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51488         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51489         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51490         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51491         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51492         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51493         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51494         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51495         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51496         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51497         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51498         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51499         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51500         * sysdeps/generic/tls.h: Update description.
51502 2014-05-27  Will Newton  <will.newton@linaro.org>
51504         [BZ #16990]
51505         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51506         and restore r2 rather than just restoring.
51508 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51510         [BZ #16724]
51511         * libio/tst-ftell-append.c: New test case.
51512         * libio/Makefile (tests): Add test case.
51513         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51514         append mode.
51515         * libio/wfileops.c (do_ftell_wide): Likewise.
51517 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51521         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51522         ...
51523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51525         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51526         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51527         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51528         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51529         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51530         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51531         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51532         Moved ...
51533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51535         Moved ...
51536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51537         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51538         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51539         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51540         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51541         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51542         ...
51543         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51544         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51545         Moved ...
51546         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51547         here.
51548         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51549         ...
51550         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51551         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51552         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51554         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51555         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51556         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51557         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51560         merge into ...
51561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51563         ...
51564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51566         ...
51567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51568         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51569         Moved ...
51570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51571         here.
51572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51573         Moved ...
51574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51576         Moved ...
51577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51580         conditional [RESET_PID].
51581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51583         removed.
51584         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51585         removed.
51587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51588         <tcb-offsets.h>.
51589         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51590         (__libc_vfork): New strong alias.
51591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51592         removed.
51593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51594         Removed.
51596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51597         <tcb-offsets.h>.
51598         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51599         (__libc_vfork): New strong alias.
51600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51601         removed.
51602         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51603         removed.
51605 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51607         * malloc/malloc.c (mi_arena): New function.
51608         (malloc_info): Remove nested function mi_arena. Call non-nosted
51609         function mi_arena.
51611 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51614         by insrwi.
51615         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51616         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51617         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51618         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51619         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51620         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51621         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51623 2014-05-26  Andreas Schwab  <schwab@suse.de>
51625         [BZ #16984]
51626         * locale/programs/repertoire.c (repertoire_read): Add slash
51627         between I18NPATH element and file name.
51628         * locale/programs/locfile.c (locfile_read): Likewise.
51630 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51632         * nptl/pthread_mutexattr_settype.c
51633         (__pthread_mutexattr_settype):
51634         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51636 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51638         * nptl/tst-mutex5 (do_test):
51639         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51641 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51643         * benchtests/README: Document 'init' directive.
51644         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51645         BENCH_INIT.
51646         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51647         (parse_file): Recognize 'init' directive.
51649 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51651         [BZ #16796]
51652         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51653         alignment of struct pthread.
51655 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51657         [BZ #16878]
51658         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51659         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51660         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51661         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51663 2014-05-25  Richard Henderson  <rth@twiddle.net>
51665         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51666         (SINGLE_THREAD_P_PIC): Remove.
51667         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51668         (SINGLE_THREAD_P_PIC): Remove.
51670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51671         branch to syscall error ...
51672         (PSEUDO): ... here.
51673         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51674         from __local_syscall_error to .Lsyscall_error.
51675         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51676         (SYSCALL_ERROR): Update label name.
51678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51679         Do not use DOARGS/UNDOARGS.
51680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51681         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51682         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51683         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51684         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51687         block comment.
51689         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51690         define if !NOT_IN_libc.
51691         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51692         define with non-default symbol versions.
51694 2014-05-23  Richard Henderson  <rth@twiddle.net>
51696         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51697         (vfork, __vfork): Define via compat_symbol.
51699         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51700         [!HAVE_IFUNC] (vfork_compat): Remove.
51701         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51703 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51705         [BZ #16978]
51706         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51707         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51708         variable.
51710 2014-05-23  Richard Henderson  <rth@twiddle.net>
51712         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51713         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51714         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51715         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51717         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51718         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51719         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51720         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51721         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51722         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51723         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51724         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51725         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51726         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51727         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51728         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51729         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51730         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51731         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51732         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51733         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51734         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51735         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51736         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51737         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51738         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51739         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51740         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51741         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51742         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51743         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51744         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51745         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51746         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51747         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51748         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51749         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51750         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51751         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51752         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51753         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51754         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51755         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51756         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51757         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51758         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51759         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51760         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51761         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51762         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51763         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51764         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51765         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51766         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51767         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51768         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51769         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51770         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51771         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51772         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51774         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51775         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51776         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51777         before exiting on error.
51778         (__libc_vfork): New strong alias.
51779         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51780         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51782         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51783         that was previously under [RESET_PID].
51784         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51786         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51788 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51790         [BZ #16977]
51791         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51792         value when x - 1 is zero.
51793         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51794         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51795         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51796         0.0L for an argument of 1.0L.
51797         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51798         Likewise.
51799         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51800         value when x - 1 is zero.
51801         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51802         * sysdeps/i386/fpu/libm-test-ulps: Update.
51803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51805 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51807         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51808         alphasort and versionsort.
51810 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51812         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51813         macro.
51814         [copysignf]: Likewise.
51816 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51818         * crypt/md5-crypt.c: Fix formatting.
51820 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51822         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51823         (b64_from_24bit): New function.
51825 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51828         libc_hidden_builtin_def to ifunc.
51829         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51830         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51832 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51834         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51835         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51837 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51839         * nscd/Depend (linuxthreads): Remove.
51840         (nptl): Add.
51841         * resolv/Depend (linuxthreads): Remove.
51842         * rt/Depend (linuxthreads): Remove.
51844         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51845         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51846         $(common-objpfx)elf/.
51847         (link-libc-before-gnulib): Likewise.
51848         (elfobjdir): Remove variable.
51849         * Makefile (install): Use $(elf-objpfx) instead of
51850         $(common-objpfx)elf/.
51851         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51852         $(elfobjdir)/.
51853         (link-libc-deps): Likewise.
51854         ($(common-objpfx)libc.so): Likewise.
51855         ($(common-objpfx)linkobj/libc.so): Likewise.
51856         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51857         instead of $(common-objpfx)elf/.
51858         (symbolic-link-list): Likewise.
51859         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51860         [$(cross-compiling) = no]: Likewise.
51861         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51862         $(elfobjdir)/.
51863         (static-gnulib-arch): Likewise.
51864         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51865         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51866         $(common-objpfx)elf/.
51868 2014-05-21  Richard Henderson  <rth@redhat.com>
51870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51871         (SINGLE_THREAD_P): Use the correct width load.  Fold
51872         into the ldr offset.
51874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51875         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51877 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51879         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51880         (libgcc_s_resume): Use __attribute_used__.
51881         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51882         Likewise.
51884 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51886         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51887         optimization when used with float constants.
51889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51891 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51893         [BZ #16915]
51894         * locale/nl_langinfo_l.c: Make direct reference to every
51895         _nl_current_CATEGORY symbol.
51896         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51897         (tests-static): Add tst-langinfo-static.
51898         (tests-special): Add tst-langinfo-static.out.
51899         ($(objpfx)tst-langinfo.out): Redirect output.
51900         ($(objpfx)tst-langinfo-static.out): New.
51901         * localedata/tst-langinfo.sh: Send output to stdout.
51902         * localedata/tst-langinfo-static.c: New file.
51904         [BZ #16965]
51905         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51906         when the shift amount is modulo the limb size.
51908 2014-05-20  Richard Henderson  <rth@redhat.com>
51910         [BZ #16967]
51911         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51912         Change type of sa_flags from unsigned int to int.
51914         [BZ #16966]
51915         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51917         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51919 2014-05-20  Will Newton  <will.newton@linaro.org>
51921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51922         Test the return value of the system call in the nocancel case.
51924 2014-05-20  Will Newton  <will.newton@linaro.org>
51925             Yvan Roux  <yvan.roux@linaro.org>
51927         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51928         #include of asm/ptrace.h.
51929         (PTRACE_GET_THREAD_AREA): Remove #undef.
51930         (PTRACE_GETHBPREGS): Likewise.
51931         (PTRACE_SETHBPREGS): Likewise.
51932         (struct user_regs_struct): New structure.
51933         (struct user_fpsimd_struct): New structure.
51934         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51935         #include of asm/ptrace.h and second #include of sys/user.h.
51936         (PTRACE_GET_THREAD_AREA): Remove #undef.
51937         (PTRACE_GETHBPREGS): Likewise.
51938         (PTRACE_SETHBPREGS): Likewise.
51939         (ELF_NGREG): Use new struct user_regs_struct.
51940         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51942 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51945         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51947 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51949         [BZ #16958]
51950         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51951         membar to avoid block loads/stores to overlap previous stores.
51953 2014-05-17  Richard Henderson  <rth@redhat.com>
51955         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51956         Create the __##syscall_name##_nocancel entry point.
51957         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51958         Remove; let the sysdep-cancel.h code create it.
51960 2014-05-17  David S. Miller  <davem@davemloft.net>
51962         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51963         Protect with __USE_GNU.
51964         (TIOCSET_TEMPT): Likewise.
51965         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51966         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51967         these are already provided in bits/ioctl-types.h
51969 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51971         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51972         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51974         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51975         Use wait4 regardless of [__NR_waitpid].
51977 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51979         PR libgcc/60166
51980         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51981         (_FP_NANSIGN_Q): Set the quiet bit.
51983 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51985         * benchtests/Makefile
51986         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51987         not $(common-objpfx)math/libm.so.
51988         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51989         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51990         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51991         $(common-objpfx)dlfcn/libdl.so.
51992         ($(objpfx)tst-audit8): Depend on $(libm), not
51993         $(common-objpfx)math/libm.so.
51994         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51995         not $(common-objpfx)dlfcn/libdl.so.
51996         * math/Makefile
51997         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51998         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51999         [$(build-shared) = yes].
52000         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52001         $(common-objpfx)nptl/libpthread.so.
52002         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52003         $(common-objpfx)math/libm.so$(libm.so-version) or
52004         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52005         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52006         $(common-objpfx)dlfcn/libdl.so.
52007         * setjmp/Makefile (link-libm): Remove variable.
52008         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52009         * stdio-common/Makefile (link-libm): Remove variable.
52010         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52011         * stdlib/Makefile (link-libm): Remove variable.
52012         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52013         ($(objpfx)tst-strtod-round): Likewise.
52014         ($(objpfx)tst-tininess): Likewise.
52015         ($(objpfx)tst-strtod-underflow): Likewise.
52016         ($(objpfx)tst-strtod6): Likewise.
52017         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52018         $(libdl), not $(common-objpfx)nptl/libpthread.so and
52019         $(common-objpfx)dlfcn/libdl.so.
52021 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52023         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52024         BSD terminal modes definitions.
52026 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52028         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52029         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52031         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52032         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52033         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52034         Don't do #include_next.
52035         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52036         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52037         Don't do #include_next.
52038         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52039         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52040         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52041         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52043 2014-05-16  Allan McRae  <allan@archlinux.org>
52045         * po/sv.po: Update Swedish translation from translation project.
52047         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52048         in sed expression.
52050 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52052         [BZ #16917]
52053         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52054         errno if the TIOCGPTN ioctl fails with an error different than
52055         EINVAL.
52056         * login/tst-ptsname.c: New file.
52057         * login/Makefile (tests): Add tst-ptsname.
52059         [BZ #16943]
52060         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52061         and prlimit64.
52063 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52065         [BZ #16849]
52066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52067         herrno to return EAI_AGAIN.
52069 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52071         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52072         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52073         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52074         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52075         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52076         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52077         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52078         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52079         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52080         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52081         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52082         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52083         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52084         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52085         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52086         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52087         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52088         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52089         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52090         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52091         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52092         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52093         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52094         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52095         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52096         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52097         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52098         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52099         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52100         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52102         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52104         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52106         Moved ...
52107         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52109         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52111         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52112         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52113         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52115         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52117         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52119         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52121         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52123         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52125         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52127         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52129         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52131         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52133         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52135         Moved ...
52136         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52138         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52140         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52142         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52144         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52146         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52148         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52150         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52152         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52154         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52156         Moved ...
52157         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52159         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52161         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52162         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52163         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52164         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52165         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52166         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52167         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52168         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52169         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52170         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52171         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52172         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52173         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52174         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52175         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52176         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52177         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52178         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52179         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52180         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52181         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52182         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52183         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52184         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52185         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52186         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52187         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52188         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52189         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52190         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52191         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52193         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52194         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52196         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52197         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52198         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52199         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52200         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52201         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52202         Moved ...
52203         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52205         Moved ...
52206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52208         Moved ...
52209         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52211         Moved ...
52212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52213         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52214         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52216         Moved ...
52217         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52218         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52219         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52221         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52222         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52223         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52224         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52225         Moved ...
52226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52228         Moved ...
52229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52230         ... here.
52231         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52232         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52233         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52234         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52235         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52236         Moved ...
52237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52238         ... here.
52239         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52240         Moved ...
52241         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52242         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52243         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52244         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52245         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52246         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52247         Moved ...
52248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52250         Moved ...
52251         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52253         Moved ...
52254         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52256         Moved ...
52257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52258         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52259         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52261         Moved ...
52262         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52263         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52264         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52266         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52267         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52268         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52269         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52270         Moved ...
52271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52273         Moved ...
52274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52275         ... here.
52276         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52277         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52278         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52279         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52280         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52281         Moved ...
52282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52283         ... here.
52284         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52285         Moved ...
52286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52287         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52288         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52289         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52290         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52291         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52292         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52293         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52294         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52295         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52296         Moved ...
52297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52298         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52299         Moved ...
52300         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52301         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52302         Moved ...
52303         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52304         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52305         Moved ...
52306         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52307         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52308         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52309         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52310         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52312         Moved ...
52313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52314         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52315         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52317         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52318         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52319         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52320         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52321         Moved ...
52322         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52323         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52324         Moved ...
52325         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52326         ... here.
52327         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52328         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52329         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52330         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52331         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52332         Moved ...
52333         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52334         ... here.
52335         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52336         Moved ...
52337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52338         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52339         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52340         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52341         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52342         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52343         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52344         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52345         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52346         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52347         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52349         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52350         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52352         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52353         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52355         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52356         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52357         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52358         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52359         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52360         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52361         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52362         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52363         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52364         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52366         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52368         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52369         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52370         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52371         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52373         Moved ...
52374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52376         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52378         Moved ...
52379         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52383         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52384         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52385         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52386         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52387         Moved ...
52388         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52390         Moved ...
52391         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52392         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52395         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52397         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52398         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52399         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52400         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52401         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52402         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52403         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52404         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52405         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52406         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52407         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52409         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52410         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52411         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52412         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52413         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52415         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52416         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52417         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52418         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52419         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52420         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52421         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52422         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52423         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52424         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52426         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52429         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52430         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52431         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52432         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52433         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52434         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52435         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52436         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52437         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52438         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52439         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52440         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52441         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52442         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52444         Update #include.
52445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52446         Likewise.
52447         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52448         Likewise.
52449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52450         Likewise.
52451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52452         Likewise.
52453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52454         Likewise.
52455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52456         Likewise.
52457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52458         Likewise.
52459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52460         Likewise.
52461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52462         Likewise.
52463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52464         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52466         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52468         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52469         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52470         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52471         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52472         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52473         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52479         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52480         that was previously under [RESET_PID].
52481         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52482         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52483         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52485         * sysdeps/i386/nptl/Implies: New file.
52486         * sysdeps/x86_64/nptl/Implies: New file.
52487         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52488         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52489         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52490         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52492         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52493         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52494         (__libc_vfork): New strong alias.
52495         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52496         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52498         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52499         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52500         (__libc_vfork): New strong alias.
52501         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52502         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52504         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52505         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52506         (__libc_vfork): New strong alias.
52507         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52508         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52509         * nptl/pt-vfork.c: New file.
52510         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52511         (libpthread: GLIBC_2.20): New version set (empty).
52513 2014-05-14  Will Newton  <will.newton@linaro.org>
52515         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52516         rather than #if.
52518 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52520         [BZ #16564]
52521         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52522         arguments with exponent 65 or above.
52523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52524         arguments 0x1p113L or above.
52525         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52526         to arguments 0x1p107L or above.
52527         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52528         positive arguments with exponent 65 or above.
52529         * math/auto-libm-test-in: Add more tests of log1p.
52530         * math/auto-libm-test-out: Regenerated.
52532         [BZ #16928]
52533         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52534         non-finite arguments is +0.
52535         * math/s_cacosf.c (__cacosf): Likewise.
52536         * math/s_cacosl.c (__cacosl): Likewise.
52537         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52538         * sysdeps/i386/fpu/libm-test-ulps: Update.
52539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52541         [BZ #16927]
52542         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52543         value.
52544         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52545         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52546         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52547         for explicit high bit of mantissa when testing for argument equal
52548         to 1.
52549         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52550         * sysdeps/i386/fpu/libm-test-ulps: Update.
52551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52553         [BZ #16516]
52554         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52555         (__erf): Scale by 16 instead of 8 in potentially underflowing
52556         case.  Ensure exception if result actually underflows.
52557         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52558         (__erff): Scale by 16 instead of 8 in potentially underflowing
52559         case.  Ensure exception if result actually underflows.
52560         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52561         (efx8): Remove variable.
52562         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52563         case.  Ensure exception if result actually underflows.
52564         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52565         (efx8): Remove variable.
52566         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52567         case.  Ensure exception if result actually underflows.
52568         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52569         (efx8): Remove variable.
52570         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52571         case.  Ensure exception if result actually underflows.
52572         * math/auto-libm-test-in: Add more tests of erf.
52573         * math/auto-libm-test-out: Regenerated.
52575 2014-05-14  Andreas Schwab  <schwab@suse.de>
52577         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52578         Remove code conditionalized on USE___THREAD.
52580         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52581         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52582         not definedness.
52584 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52587         Define unconditionally.
52588         (__ASSUME_O_CLOEXEC): Likewise.
52589         (__ASSUME_SOCK_CLOEXEC): Likewise.
52590         (__ASSUME_IN_NONBLOCK): Likewise.
52591         (__ASSUME_PIPE2): Likewise.
52592         (__ASSUME_EVENTFD2): Likewise.
52593         (__ASSUME_SIGNALFD4): Likewise.
52594         (__ASSUME_DUP3): Likewise.
52595         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52596         (__ASSUME_DUP3): Do not define.
52597         (__ASSUME_EVENTFD2): Likewise.
52598         (__ASSUME_IN_NONBLOCK): Likewise.
52599         (__ASSUME_O_CLOEXEC): Likewise.
52600         (__ASSUME_PIPE2): Likewise.
52601         (__ASSUME_SIGNALFD4): Likewise.
52602         (__ASSUME_SOCK_CLOEXEC): Likewise.
52603         (__ASSUME_UTIMES): Undefine.
52604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52605         (__ASSUME_UTIMES): Do not define.
52606         (__ASSUME_O_CLOEXEC): Likewise.
52607         (__ASSUME_SOCK_CLOEXEC): Likewise.
52608         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52609         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52610         0x020621].
52611         (__ASSUME_PIPE2): Likewise.
52612         (__ASSUME_EVENTFD2): Likewise.
52613         (__ASSUME_SIGNALFD4): Likewise.
52614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52615         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52616         Do not define.
52617         (__ASSUME_EVENTFD2): Likewise.
52618         (__ASSUME_SIGNALFD4): Likewise.
52619         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52620         (__ASSUME_32BITUIDS): Likewise.
52621         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52622         (__ASSUME_IPC64): Likewise.
52623         (__ASSUME_ST_INO_64_BIT): Likewise.
52624         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52625         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52626         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52627         (__ASSUME_UTIMES): Do not define.
52628         (__ASSUME_PSELECT): Likewise.
52629         (__ASSUME_PPOLL): Likewise.
52630         (__ASSUME_O_CLOEXEC): Likewise.
52631         (__ASSUME_SOCK_CLOEXEC): Likewise.
52632         (__ASSUME_IN_NONBLOCK): Likewise.
52633         (__ASSUME_PIPE2): Likewise.
52634         (__ASSUME_EVENTFD2): Likewise.
52635         (__ASSUME_SIGNALFD4): Likewise.
52636         (__ASSUME_DUP3): Likewise.
52637         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52638         (__ASSUME_UTIMES): Likewise.
52639         (__ASSUME_O_CLOEXEC): Likewise.
52640         (__ASSUME_SOCK_CLOEXEC): Likewise.
52641         (__ASSUME_IN_NONBLOCK): Likewise.
52642         (__ASSUME_PIPE2): Likewise.
52643         (__ASSUME_EVENTFD2): Likewise.
52644         (__ASSUME_SIGNALFD4): Likewise.
52645         (__ASSUME_DUP3): Likewise.
52646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52647         (__ASSUME_UTIMES): Likewise.
52648         (__ASSUME_O_CLOEXEC): Likewise.
52649         (__ASSUME_SOCK_CLOEXEC): Likewise.
52650         (__ASSUME_IN_NONBLOCK): Likewise.
52651         (__ASSUME_PIPE2): Likewise.
52652         (__ASSUME_EVENTFD2): Likewise.
52653         (__ASSUME_SIGNALFD4): Likewise.
52654         (__ASSUME_DUP3): Likewise.
52655         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52656         Likewise.
52657         (__ASSUME_UTIMES): Likewise.
52658         (__ASSUME_EVENTFD2): Likewise.
52659         (__ASSUME_SIGNALFD4): Likewise.
52660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52661         (__ASSUME_O_CLOEXEC): Likewise.
52662         (__ASSUME_SOCK_CLOEXEC): Likewise.
52663         (__ASSUME_IN_NONBLOCK): Likewise.
52664         (__ASSUME_PIPE2): Likewise.
52665         (__ASSUME_EVENTFD2): Likewise.
52666         (__ASSUME_SIGNALFD4): Likewise.
52667         (__ASSUME_DUP3): Likewise.
52668         (__ASSUME_UTIMES): Undefine.
52670         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52671         feclearexcept.  Remove symbol versioning code.
52672         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52673         symbol versioning code.
52674         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52675         symbol versioning code.
52676         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52677         feupdateenv.  Remove symbol versioning code.
52678         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52679         fegetexceptflag.  Remove symbol versioning code.
52680         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52681         fesetexceptflag.  Remove symbol versioning code.
52682         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52683         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52684         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52685         (__posix_fadvise64_l32): Remove prototype.
52686         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52687         code.
52689 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52691         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52692         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52693         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52694         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52696 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52698         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52699         current working directory
52701 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52703         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52704         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52705         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52706         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52707         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52708         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52709         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52710         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52711         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52712         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52713         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52714         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52715         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52716         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52717         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52718         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52719         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52720         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52721         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52722         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52723         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52724         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52725         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52726         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52727         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52728         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52729         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52730         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52731         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52732         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52733         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52734         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52735         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52736         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52737         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52738         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52739         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52740         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52741         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52742         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52743         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52744         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52746         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52747         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52749         * sysdeps/unix/sysv/linux/arm/Makefile
52750         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52751         Add rt-aeabi_unwind_cpp_pr1.
52752         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52753         Add nptl-aeabi_unwind_cpp_pr1.
52754         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52755         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52756         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52757         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52758         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52759         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52761         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52762         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52763         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52764         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52766         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52767         Deconditionalize the code that was previously under [RESET_PID].
52768         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52770         * sysdeps/generic/exit-thread.h: New file.
52771         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52772         * include/unistd.h (__exit_thread): Remove declaration.
52773         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52774         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52775         * csu/libc-start.c: Include <exit-thread.h>.
52776         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52777         * nptl/pthread_create.c: Include <exit-thread.h>.
52778         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52779         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52780         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52781         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52782         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52783         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52784         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52785         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52786         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52787         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52788         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52789         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52790         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52791         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52792         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52793         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52794         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52796 2014-05-13  Andreas Schwab  <schwab@suse.de>
52798         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52800 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52802         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52803         (__ASSUME_UTIMES): Do not condition on kernel version.
52804         (__ASSUME_PSELECT): Define unconditionally.
52805         (__ASSUME_PPOLL): Likewise.
52806         (__ASSUME_ATFCTS): Likewise.
52807         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52808         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52809         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52810         (__ASSUME_UTIMENSAT): Define unconditionally.
52811         (__ASSUME_PRIVATE_FUTEX): Likewise.
52812         (__ASSUME_FALLOCATE): Likewise.
52813         (__ASSUME_O_CLOEXEC): Likewise.
52814         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52815         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52816         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52817         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52818         (__ASSUME_IN_NONBLOCK): Likewise.
52819         (__ASSUME_PIPE2): Likewise.
52820         (__ASSUME_EVENTFD2): Likewise.
52821         (__ASSUME_SIGNALFD4): Likewise.
52822         (__ASSUME_DUP3): Likewise.
52823         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52824         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52825         (__ASSUME_AT_RANDOM): Likewise.
52826         (__ASSUME_PREADV): Likewise.
52827         (__ASSUME_PWRITEV): Likewise.
52828         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52829         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52830         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52831         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52832         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52834         (__ASSUME_O_CLOEXEC): Define unconditionally.
52835         (__ASSUME_PSELECT): Do not undefine conditionally.
52836         (__ASSUME_PPOLL): Likewise.
52837         (__ASSUME_ATFCTS): Likewise.
52838         (__ASSUME_SET_ROBUST_LIST): Likewise.
52839         (__ASSUME_UTIMENSAT): Likewise.
52840         (__ASSUME_FDATASYNC): Define unconditionally.
52841         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52842         (__ASSUME_SIGFRAME_V2): Likewise.
52843         )__ASSUME_EVENTFD2): Likewise.
52844         (__ASSUME_SIGNALFD4): Likewise.
52845         (__ASSUME_PSELECT): Do not undefine conditionally.
52846         (__ASSUME_PPOLL): Likewise.
52847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52848         (__ASSUME_PSELECT): Define unconditionally.
52849         (__ASSUME_PPOLL): Likewise.
52850         (__ASSUME_O_CLOEXEC): Likewise.
52851         (__ASSUME_SOCK_CLOEXEC): Likewise.
52852         (__ASSUME_IN_NONBLOCK): Likewise.
52853         (__ASSUME_PIPE2): Likewise.
52854         (__ASSUME_EVENTFD2): Likewise.
52855         (__ASSUME_SIGNALFD4): Likewise.
52856         (__ASSUME_DUP3): Likewise.
52857         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52858         (__ASSUME_O_CLOEXEC): Likewise.
52859         (__ASSUME_SOCK_CLOEXEC): Likewise.
52860         (__ASSUME_IN_NONBLOCK): Likewise.
52861         (__ASSUME_PIPE2): Likewise.
52862         (__ASSUME_EVENTFD2): Likewise.
52863         (__ASSUME_SIGNALFD4): Likewise.
52864         (__ASSUME_DUP3): Likewise.
52865         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52866         (__ASSUME_EVENTFD2): Likewise.
52867         (__ASSUME_SIGNALFD4): Likewise.
52868         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52870 2014-05-12  Andreas Schwab  <schwab@suse.de>
52872         [BZ #16932]
52873         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52874         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52875         than maximum RPC packet size.
52876         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52877         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52878         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52879         (_nss_nis_getservbyport_r): Likewise.
52881 2014-05-12  Will Newton  <will.newton@linaro.org>
52883         * malloc/Makefile (tests): Add tst-mallopt.
52884         * malloc/tst-mallopt.c: New file.
52886 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52888         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52889         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52891 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52893         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52894         (tst-tlsmod6.so): Likewise.
52896 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52898         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52900 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #16064]
52903         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52904         and <dl-procinfo.h>.
52905         (__fegetenv): Save SSE state in envp->__eip if supported.
52906         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52907         envp->__eip if supported.
52908         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52909         and <dl-procinfo.h>.
52910         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52911         __data_offset and __data_selector in environment to 0.  Set SSE
52912         state if supported.
52913         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52914         test-fenv-sse.
52915         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52916         -mfpmath=sse.
52917         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52919 2014-05-09  Will Newton  <will.newton@linaro.org>
52921         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52922         and libc_relro_required for ARM.
52923         * sysdeps/arm/preconfigure: Regenerate.
52925 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52926             Stefan Liebler  <stli@linux.vnet.ibm.com>
52928         * config.make.in (enable-lock-elision): New Makefile variable.
52929         * configure.ac: Likewise.
52930         * configure: Regenerate.
52931         * sysdeps/s390/configure.ac:
52932         Add check for gcc transactions support.
52933         * sysdeps/s390/configure: Regenerate.
52934         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52935         Build elision files if enabled.
52936         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52937         Add lock elision support for s390.
52938         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52939         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52940         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52941         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52942         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52943         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52945         Likewise.
52946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52947         Likewise.
52948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52949         Likewise.
52950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52951         Likewise.
52952         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52953         (__lll_timedlock_elision, __lll_lock_elision)
52954         (__lll_unlock_elision, __lll_trylock_elision)
52955         (lll_timedlock_elision, lll_lock_elision)
52956         (lll_unlock_elision, lll_trylock_elision): Add.
52957         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52958         (pthread_mutex_t): Add lock elision support for s390.
52960 2014-05-14  Wilco  <wdijkstr@arm.com>
52962         * sysdeps/arm/fclrexcpt.c: Cleanup.
52963         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52964         * sysdeps/arm/feenablxcpt.c: Cleanup.
52965         * sysdeps/arm/fegetenv.c: Cleanup.
52966         * sysdeps/arm/fegetexcept.c: Cleanup.
52967         * sysdeps/arm/fegetround.c: Cleanup.
52968         * sysdeps/arm/feholdexcpt.c: Cleanup.
52969         * sysdeps/arm/fesetenv.c: Cleanup.
52970         * sysdeps/arm/fesetround.c: Cleanup.
52971         * sysdeps/arm/feupdateenv.c: Cleanup.
52972         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52973         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52974         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52975         * sysdeps/arm/ftestexcept.c: Cleanup.
52976         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52977         * sysdeps/arm/setfpucw.c: Cleanup.
52979 2014-05-09  Will Newton  <will.newton@linaro.org>
52981         * sysdeps/arm/armv7/strcmp.S: New file.
52982         * NEWS: Mention addition of ARMv7 optimized strcmp.
52984 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52986         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52987         look for %.ac rather than %.in.
52989         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52990         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52991         * sysdeps/mach/hurd/configure: Regenerated.
52992         * sysdeps/unix/sysv/linux/configure: Regenerated.
52994         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52996 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52998         [BZ #16922]
52999         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53000         (LONG_SUB): Ditto.
53001         (PTR_SUB): Ditto.
53003 2014-05-07  Andreas Schwab  <schwab@suse.de>
53005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53006         when skipping over non-matching result from nscd.
53008 2014-05-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
53010         [BZ #16876]
53011         * nptl/sockperf.c (client): Check socket return value.
53013         [BZ #16877]
53014         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53015         nscd security class.
53017 2014-05-06  Roland McGrath  <roland@hack.frob.com>
53019         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53020         * sysdeps/arm/unwind.h: ... here.
53022 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
53024         [BZ #16916]
53025         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53026         Define.
53028 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53030         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53031         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53032         multiarch strncpy for PPC64.
53033         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53034         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53036         multiarch optimizations.
53037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53038         (__libc_ifunc_impl_list): Likewise.
53039         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53041         multiarch stpncpy for PPC64.
53042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53043         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53045 2014-05-06  Andreas Schwab  <schwab@suse.de>
53047         [BZ #16912]
53048         * gmon/mcount.c (_MCOUNT_DECL): Use
53049         atomic_compare_and_exchange_bool_acq instead of
53050         catomic_compare_and_exchange_bool_acq.
53052 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53054         * elf/Makefile (others, install-bin): Remove pldd.
53055         (pldd-modules): Variable removed.
53056         ($(objpfx)pldd): Target removed.
53057         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53058         (others, install-bin): Append pldd here.
53059         ($(objpfx)pldd): New target.
53061         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53062         to 0, so the first #if test emitted later doesn't see it undefined.
53063         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53064         * sysdeps/gnu/errlist.c: Regenerated.
53066 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53068         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53069         [libc_hidden_builtin_def]: Define to empty value.
53070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53071         [libc_hidden_builtin_def]: Likewise.
53072         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53073         [libc_hidden_builtin_def]: Likewise.
53074         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53075         [libc_hidden_builtin_def]: Likewise.
53076         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53077         __redirect_memcpy and define ifunc as default hidden symbol.
53078         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53079         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53081 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53083         * locale/iso-4217.def: Reintroduce XDR currency.
53085 2014-05-04  Allan McRae  <allan@archlinux.org>
53087         * po/eo.po: Update Esperanto translation from translation project.
53089 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53091         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53092         and FEATURE_INDEX_MAX to 1.
53093         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53095 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53097         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53098         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53099         * iconvdata/big5.c (ONE_DIRECTION): Define.
53100         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53101         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53102         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53103         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53104         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53105         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53106         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53107         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53108         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53109         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53110         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53111         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53112         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53113         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53114         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53115         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53116         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53117         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53118         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53119         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53120         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53121         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53122         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53123         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53124         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53125         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53126         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53127         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53128         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53129         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53130         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53131         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53132         * iconvdata/johab.c (ONE_DIRECTION): Define.
53133         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53134         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53135         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53136         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53137         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53138         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53139         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53140         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53141         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53142         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53144 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53146         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53147         (_IO_JUMPS_OFFSET): Define to 0.
53149         * nptl/sysdeps/pthread/bits/libc-lock.h
53150         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53151         (__libc_lock_define_initialized_recursive): Always define using
53152         initializer.  Modern compilers treat uninitialized (implicit zero) and
53153         explicit zero initializers the same (i.e. put the datum in bss).
53155 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53157         * nscd/nscd-client.h: Include <string.h>.
53159 2014-05-01  David S. Miller  <davem@davemloft.net>
53161         [BZ #16885]
53162         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53163         multiple zero bytes exist at the end of a string.
53164         Reported by Aurelien Jarno <aurelien@aurel32.net>
53166         * string/test-strcmp.c (check): Add explicit test for situations where
53167         there are multiple zero bytes after the first.
53169 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53171         [BZ #16890]
53172         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53173         when compiling wprintf.
53174         * stdio-common/tstdiomisc.c (t3): New function.
53175         (main): Call it.
53177 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53179         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53180         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53181         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53182         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53184 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53186         * stdlib/longlong.h: Updated from GCC.
53188 2014-05-01  Will Newton  <will.newton@linaro.org>
53189             Bernard Ogden  <bernie.ogden@linaro.org>
53191         * NEWS: Update fixed bug list.
53193         [BZ #15119]
53194         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53196 2014-04-30  David S. Miller  <davem@davemloft.net>
53198         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53199         (libc_feholdexcept_setround_sparc_ctx): New function.
53200         (libc_fesetenv_sparc_ctx): Likewise.
53201         (libc_feupdateenv_sparc_ctx): Likewise.
53202         (libc_feholdsetround_sparc_ctx): Likewise.
53203         (libc_feholdexcept_setround_ctx): Define.
53204         (libc_feholdexcept_setroundf_ctx): Likewise.
53205         (libc_feholdexcept_setroundl_ctx): Likewise.
53206         (libc_fesetenv_ctx): Likewise.
53207         (libc_fesetenvf_ctx): Likewise.
53208         (libc_fesetenvl_ctx): Likewise.
53209         (libc_feupdateenv_ctx): Likewise.
53210         (libc_feupdateenvf_ctx): Likewise.
53211         (libc_feupdateenvl_ctx): Likewise.
53212         (libc_feresetround_ctx): Likewise.
53213         (libc_feresetroundf_ctx): Likewise.
53214         (libc_feresetroundl_ctx): Likewise.
53215         (libc_feholdsetround_ctx): Likewise.
53216         (libc_feholdsetroundf_ctx): Likewise.
53217         (libc_feholdsetroundl_ctx): Likewise.
53219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53220         with __USE_GNU instead of XOPEN cpp guards.
53222         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53223         0.
53225         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53226         with XOPEN cpp guards.
53228 2014-04-30  Julian Brown  <julian@codesourcery.com>
53230         [BZ #16888]
53231         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53232         handling.
53234 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53236         [BZ #9894]
53237         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53238         Change to 2.6.32.
53239         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53240         * sysdeps/unix/sysv/linux/configure: Regenerated.
53241         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53242         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53243         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53244         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53245         * README: Update reference to required Linux kernel version.
53246         * manual/install.texi (Linux): Update reference to required Linux
53247         kernel headers version.
53248         * INSTALL: Regenerated.
53250         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53251         header inclusion.
53252         [POSIX] (limits.h): Likewise.
53253         [POSIX] (math.h): Likewise.
53254         [POSIX] (sys/wait.h): Likewise.
53255         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53256         function.
53257         [POSIX] (stddef.h): Do not allow header inclusion.
53259 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53261         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53263 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53265         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53266         Return immediately after lll_futex_wake.
53268 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53270         [BZ #16791]
53271         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53272         structure.
53273         (datahead_init_pos): Call datahead_init_common early.
53274         (datahead_init_neg): Likewise.
53276         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53277         datahead_init_neg): New functions.
53278         * nscd/aicache.c (addhstaiX): Use them.
53279         * nscd/grpcache.c (cache_addgr): Likewise.
53280         * nscd/hstcache.c (cache_addhst): Likewise.
53281         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53282         * nscd/netgroupcache.c (do_notfound): Likewise.
53283         (addgetnetgrentX): Likewise.
53284         (addinnetgrX): Likewise.
53285         * nscd/pwdcache.c (cache_addpw): Likewise.
53286         * nscd/servicescache.c (cache_addserv): Likewise.
53288 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53289             Atsushi Onoe  <atsushi@onoe.org>
53291         [BZ #14308]
53292         [BZ #12994]
53293         [BZ #13651]
53294         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53295         one response is valid.
53296         * resolv/res_send.c (send_dg): Check for validity of other
53297         response if the current response is a referral.
53299 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53301         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53303 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53305         [BZ #16823]
53306         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53307         Always divide by positive zero when computing -Inf result.
53308         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53309         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53311 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53313         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53314         FPSCR if value do not change.
53315         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53316         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53317         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53318         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53319         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53320         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53321         function.
53323 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53325         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53326         * sysdeps/unix/sysv/linux/hppa: Move directory from
53327         ports/systeps/unix/sysv/linux/hppa.
53328         * README: Update listing for hppa-*-linux-gnu.
53330 2014-04-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
53332         [BZ #16754]
53333         * manual/stdio.texi (Hook functions): Fix types of stream hook
53334         functions.
53335         [BZ #16854]
53336         * socket/sys/socket.h: Fix typo in comment.
53338 2014-04-28  Wilco  <wdijkstr@arm.com>
53340         * sysdeps/arm/fenv_private.h: New file.
53341         * sysdeps/arm/math_private.h: New file.
53342         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53344 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53346         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53347         with __int128_t.
53348         (La_x86_64_retval): Likewise.
53350 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53352         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53353         fpsr if value didn't change.
53354         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53355         to fpcr if value didn't change.
53356         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53357         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53358         fpsr or fpcr if value didn't change.
53359         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53360         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53361         fpcr if value didn't change.
53362         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53363         to fpsr if value didn't change.
53365 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53367         * nptl/tst-sem3.c: Use test-skeleton.c
53368         (main): Rename to do_test.  Use return instead of
53369         exit.
53370         * nptl/tst-sem4.c: Use test-skeleton.c
53371         (main): Rename to do_test.
53373 2014-04-22  David S. Miller  <davem@davemloft.net>
53375         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53376         (struct sigaction): New struct member __glibc_reserved0, change
53377         type of sa_flags to int.
53379 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53381         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53382         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53384 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53386         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53387         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53389 2014-04-22  Will Newton  <will.newton@linaro.org>
53390             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53392         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53393         (__longjmp): Add longjmp and longjmp_target SystemTap
53394         probes.
53395         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53396         (__sigsetjmp): Add setjmp SystemTap probe.
53398 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53400         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53401         match manual order.
53403 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53405         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53407         * sysdeps/powerpc/fpu/fenv_private.h
53408         (libc_feholdexcept_setroundl_ctx): Define to
53409         libc_feholdexcept_setround_ppc_ctx.
53410         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53411         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53412         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53413         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53415 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53417         * sysdeps/aarch64/math-tests.h: New file.
53419 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53421         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53422         New.
53423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53424         Check and set bit_AVX2_Usable.
53425         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53426         macro.
53427         (bit_AVX2): Likewise.
53428         (index_AVX2_Usable): Likewise.
53429         (CPUID_AVX2): Likewise.
53430         (HAS_AVX2): Likewise.
53432 2014-04-17  Will Newton  <will.newton@linaro.org>
53434         * manual/setjmp.texi (System V contexts): Add note that
53435         calling setcontext on a context created by a call to a
53436         signal handler is undefined.  Update text to note that
53437         setcontext from a signal handler is possible but not
53438         recommended.
53440         [BZ #16629]
53441         * stdlib/tst-setcontext.c: Include signal.h.
53442         (main): Check that the signal stack before and
53443         after swapcontext is the same.
53445         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53446         Re-implement to restore registers in user code and avoid
53447         rt_sigreturn system call.
53449 2014-04-17  Wilco  <wdijkstr@arm.com>
53451         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53452         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53453         * math/test-fenv.c: Skip exception trap tests on targets which only
53454         support non-stop mode.
53456 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53457             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53459         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53460         (libc_feholdsetround_aarch64_ctx)
53461         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53462         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53463         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53464         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53465         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53466         (libc_feresetround_noexl_ctx): Define.
53468 2014-04-16  Richard Henderson  <rth@redhat.com>
53470         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53472         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53473         unwind tables.
53475         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53476         const from the non-libc, non-ldso copy.
53478         * sysdeps/alpha/libm-test-ulps: Regenerate.
53480 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53481             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53483         * sysdeps/aarch64/fpu/math_private.h: New file.
53485 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53487         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53489 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53491         [BZ #16275]
53492         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53493         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53495         Intel MPX bound registers before _dl_profile_fixup.
53496         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53497         registers after _dl_profile_fixup.  Save and restore bound
53498         registers bnd0/bnd1 when calling _dl_call_pltexit.
53499         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53500         (LR_BND_OFFSET): Likewise.
53501         (LRV_BND0_OFFSET): Likewise.
53502         (LRV_BND1_OFFSET): Likewise.
53504 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53506         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53507         to...
53508         * sysdeps/mach/hurd/i386/tls.h: ... here.
53509         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53510         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53511         fields.
53513 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53515         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53517 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53519         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53521 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53523         [BZ #14770]
53524         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53525         * sysdeps/s390/configure: Regenerate.
53527         [BZ #16824]
53528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53529         Set round-to-nearest internally to reduce error accumulation.
53531 2014-04-16  Alan Modra  <amodra@gmail.com>
53533         [BZ #16740]
53534         [BZ #16619]
53535         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53536         * math/libm-test.inc (frexp_test_data): Add tests.
53537         * NEWS: Update fixed bug list.
53539 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53541         * benchtests/Makefile: Depend on libraries in build directory.
53542         (bench-math): Separate out math tests.
53543         (bench-pthread): Separate out pthread tests.
53544         (bench): Include math and pthread tests.
53546 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53548         [BZ #16831]
53549         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53550         _dl_debug_initialize.
53552         * configure.ac: Remove SELinux header check.
53553         * configure: Regenerate.
53554         * nscd/selinux.c (perms): Array of const char* to permission names.
53555         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53556         default policy. Call string_to_security_class and string_to_av_perm to
53557         translate strings. Enforce default policy and call avs_has_perm with
53558         results of translated strings.
53560 2014-04-13  David S. Miller  <davem@davemloft.net>
53562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53564 2014-04-12  Allan McRae  <allan@archlinux.org>
53566         [BZ #16838]
53567         * manual/string.texi (Collation Functions): Fix qsort argument
53568         order in example.
53569         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53571 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53573         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53574         Make the test a no-op if there are no exceptions defined.
53576 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53578         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53579         enable-hardcoded-path-in-tests
53581 2014-04-11  Will Newton  <will.newton@linaro.org>
53583         * benchtests/Makefile (extra-objs): Add json-lib.o.
53584         (bench-func): Tidy up JSON output.
53585         * benchtests/bench-skeleton.c: Include json-lib.h.
53586         (main): Use JSON library functions to do output of
53587         benchmark results.
53588         * benchtests/bench-timing-type.c (main): Output the
53589         timing type simply, leaving formatting to the user.
53590         * benchtests/json-lib.c: New file.
53591         * benchtests/json-lib.h: Likewise.
53593 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53595         [BZ #15215]
53596         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53597         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53598         memory barriers.  Add comments.
53599         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53600         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53601         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53602         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53603         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53604         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53606 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53608         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53609         * sysdeps/s390/s390-64/configure.ac: ... this ...
53610         * sysdeps/s390/configure.ac: ... to here.
53611         * sysdeps/s390/s390-32/configure: Delete file.
53612         * sysdeps/s390/s390-64/configure: Delete file.
53613         * sysdeps/s390/configure: Regenerate.
53615 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53617         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53619 2014-04-11  Will Newton  <will.newton@linaro.org>
53621         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53622         to zero if it is not defined elsewhere.  (mtrim): Test
53623         the value of MALLOC_DEBUG with #if rather than #ifdef.
53625 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53627         * benchtests/pthread_once-inputs: New file.
53628         * benchtests/pthread_once-source.c: New file.
53629         * benchtests/README: Update documentation.
53631 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53632             H.J. Lu  <hongjiu.lu@intel.com>
53634         [BZ #16275]
53635         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53636         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53637         * sysdeps/x86_64/configure: Regenerated.
53638         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53639         macro.
53640         (REGISTER_SAVE_RAX): Likewise.
53641         (REGISTER_SAVE_RCX): Likewise.
53642         (REGISTER_SAVE_RDX): Likewise.
53643         (REGISTER_SAVE_RSI): Likewise.
53644         (REGISTER_SAVE_RDI): Likewise.
53645         (REGISTER_SAVE_R8): Likewise.
53646         (REGISTER_SAVE_R9): Likewise.
53647         (REGISTER_SAVE_BND0): Likewise.
53648         (REGISTER_SAVE_BND1): Likewise.
53649         (REGISTER_SAVE_BND2): Likewise.
53650         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53651         bound registers when calling _dl_fixup.
53653 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53655         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53656         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53657         of its definition.
53658         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53659         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53660         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53661         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53662         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53663         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53664         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53666 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53668         [BZ #15514]
53669         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53670         pathconf(_PC_NAME_MAX).
53672 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53674         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53675         Remove macro usage.
53676         (__PTHREAD_SPINS): Move definition to ...
53677         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53678         (__PTHREAD_SPINS): ... here.
53679         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53680         (__PTHREAD_SPIN): Likewise.
53681         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53682         (__PTHREAD_SPIN): Likewise.
53683         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53684         (__PTHREAD_SPIN): Likewise.
53685         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53686         (__PTHREAD_SPIN): Likewise.
53687         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53688         (__PTHREAD_SPIN): Likewise.
53689         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53690         (__PTHREAD_SPIN): Likewise.
53691         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53692         (__PTHREAD_SPIN): Likewise.
53693         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53694         (__PTHREAD_SPIN): Likewise.
53695         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53696         (__PTHREAD_SPIN): Likewise.
53697         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53698         (__PTHREAD_SPIN): Likewise.
53699         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53700         (__PTHREAD_SPIN): Likewise.
53701         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53702         (__PTHREAD_SPIN): Likewise.
53704         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53705         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53706         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53707         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53708         imply folder.
53709         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53710         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53711         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53712         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53713         correct imply path.
53714         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53715         strlen symbol for non multi-arch builds.
53716         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53717         missing hidden_def and weak_alias.
53719 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53721         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53723 2014-04-07  Will Newton  <will.newton@linaro.org>
53725         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53726         and contents.  [!_LIBC] Remove #ifndef and contents.
53727         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53728         * string/memccpy.c (__memccpy): Use ANSI prototype.
53729         * string/memfrob.c (memfrob): Likewise.
53730         * string/strcoll.c (STRCOLL): Likewise.
53731         * string/strlen.c (strlen): Likewise.
53732         * string/strtok.c (STRTOK): Likewise.
53733         * string/strcat.c: Remove unused #include of memcopy.h.
53734         (strcat): Use ANSI prototype.
53735         * string/strchr.c: Remove unused #include of memcopy.h.
53736         (strchr): Use ANSI prototype.
53737         * string/strcmp.c: Remove unused #include of memcopy.h.
53738         (strcmp): Use ANSI prototype.
53739         * string/strcpy.c: Remove unused #include of memcopy.h.
53740         (strcpy): Use ANSI prototype.
53742 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53745         * config.make.in (config-extra-cppflags): Set it from
53746         libc_extra_cppflags.
53747         * configure.ac (libc_extra_cflags): Make it accumulate over
53748         configure fragments.
53749         (libc_extra_cppflags): New flag.
53750         * configure. Regenerate.
53751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53752         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53753         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53756         [BZ #16815]
53757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53758         result for FE_DOWNWARD rounding mode.
53759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53760         Likewise.
53761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53763 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53765         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53766         in function argument name.
53768 2014-04-03  David Svoboda  <svoboda@cert.org>
53770         [BZ #5666]
53771         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53772         explicitly.
53774 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53776         * elf/dl-unmap-segments.h: New file.
53777         * sysdeps/generic/ldsodefs.h
53778         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53779         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53780         * elf/dl-fptr.c: Likewise.
53781         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53782         * sysdeps/aarch64/tlsdesc.c: Likewise.
53783         * sysdeps/arm/tlsdesc.c: Likewise.
53784         * sysdeps/i386/tlsdesc.c: Likewise.
53785         * sysdeps/tile/dl-runtime.c: Likewise.
53786         * sysdeps/x86_64/tlsdesc.c: Likewise.
53787         * elf/dl-load.h: New file.
53788         * elf/dl-load.c: Include it.
53789         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53790         Macros moved to dl-load.h.
53791         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53792         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53793         Use _dl_unmap_segments in place of __munmap.
53794         Break out segment-mapping loop into ...
53795         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53797 2014-04-03  Will Newton  <will.newton@linaro.org>
53799         * elf/dl-lookup.c (do_lookup_x): Remove comment
53800         referring to nested function and move variable
53801         declarations down to before first use.
53803 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53805         [BZ #16799]
53806         [BZ #16800]
53807         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53808         with 0 numerator.
53809         * math/s_catanf.c (__catanf): Likewise.
53810         * math/s_catanh.c (__catanh): Likewise.
53811         * math/s_catanhf.c (__catanhf): Likewise.
53812         * math/s_catanhl.c (__catanhl): Likewise.
53813         * math/s_catanl.c (__catanl): Likewise.
53814         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53815         by positive zero when computing -Inf result.
53816         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53817         (catanh_test): Likewise.
53818         * sysdeps/i386/fpu/libm-test-ulps: Update.
53819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53821         [BZ #16789]
53822         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53823         instead of using underflowing value in computing result.
53824         * math/s_clog10.c (__clog10): Likewise.
53825         * math/s_clog10f.c (__clog10f): Likewise.
53826         * math/s_clog10l.c (__clog10l): Likewise.
53827         * math/s_clogf.c (__clogf): Likewise.
53828         * math/s_clogl.c (__clogl): Likewise.
53829         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53830         (clog10_test): Likewise.
53831         * sysdeps/i386/fpu/libm-test-ulps: Update.
53832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53834 2014-04-02  Alan Modra  <amodra@gmail.com>
53836         [BZ #16739]
53837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53838         output when value is near a power of two.  Use int64_t for lx and
53839         remove casts.  Use decimal rather than hex exponent constants.
53840         Don't use long double multiplication when double will suffice.
53841         * math/libm-test.inc (nextafter_test_data): Add tests.
53842         * NEWS: Add 16739 and 16786 to bug list.
53844         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53846         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53848 2014-04-01  Will Newton  <will.newton@linaro.org>
53850         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53851         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53853 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53855         [BZ #13347]
53856         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53857         * nptl/tst-setuid2.c: New file.
53858         * nptl/Makefile (xtests): Add tst-setuid2.
53860 2014-04-01  Alan Modra  <amodra@gmail.com>
53862         [BZ #16786]
53863         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53865 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53867         [BZ #6803]
53868         [BZ #6804]
53869         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53870         set errno as appropriate.
53871         * math/w_scalbf.c (__scalbf): Likewise.
53872         * math/w_scalbl.c (__scalbl): Likewise.
53873         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53874         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53875         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53876         Add more NaN tests.
53878         [BZ #16349]
53879         * math/w_atan2.c: Include <errno.h>.
53880         (__atan2): Set errno for result underflowing to zero.
53881         * math/w_atan2f.c: Include <errno.h>.
53882         (__atan2f): Set errno for result underflowing to zero.
53883         * math/w_atan2l.c: Include <errno.h>.
53884         (__atan2l): Set errno for result underflowing to zero.
53885         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53886         tests.
53887         * math/auto-libm-test-out: Regenerated.
53889 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53892         Encode instruction correctly in little endian.
53893         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53894         Likewise.
53895         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53896         Likewise.
53897         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53898         Likewise.
53899         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53900         Likewise.
53902 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53904         [BZ #9894]
53905         * sysdeps/unix/sysv/linux/kernel-features.h
53906         [__sparc__ && !__arch64__ && !__sparc_v9__]
53907         (__ASSUME_SET_ROBUST_LIST): Do not define.
53908         [__sparc__ && !__arch64__ && !__sparc_v9__]
53909         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53910         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53911         Likewise.
53912         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53913         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53914         (__ASSUME_REQUEUE_PI): Likewise.
53915         (__ASSUME_SET_ROBUST_LIST): Likewise.
53916         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53917         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53918         Undefine.
53919         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53920         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53921         Likewise.
53922         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53923         Likewise.
53924         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53925         Likewise.
53926         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53927         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53928         Undefine.
53929         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53930         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53931         Likewise.
53933         [BZ #16648]
53934         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53935         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53936         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53938 2014-03-31  Will Newton  <will.newton@linaro.org>
53940         * benchtests/Makefile (bench): Add ffs and ffsll to list
53941         of tests.
53942         * benchtests/ffs-inputs: New file.
53943         * benchtests/ffsll-inputs: Likewise.
53945 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53947         [BZ #16770]
53948         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53949         too large before casting to int.
53950         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53951         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53952         * math/libm-test.inc (scalb_test_data): Add more tests.
53954 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53956         * benchtests/Makefile (DETAILED_OPT): New make option.
53957         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53958         set.
53959         * benchtests/bench-skeleton.c: Include stdbool.h.
53960         (main): Store and print timings per input.
53961         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53962         member to each argument value.
53963         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53964         (_print_arg_data): Initialize per-input timing to 0.
53966         * benchtests/Makefile (timing-type): New binary.
53967         (bench-clean): Also remove bench-timing-type.
53968         (bench): New target for timing-type.
53969         (bench-func): Print output in JSON format.
53970         * benchtests/bench-skeleton.c (main): Print output in JSON
53971         format.
53972         * benchtests/bench-timing-type.c: New file.
53973         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53974         (TIMING_PRINT_STATS): Remove.
53975         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53976         name separately.
53978         * benchtests/bench-modf.c: Remove.
53979         * benchtests/modf-inputs: New inputs file.
53981 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53983         [BZ #16362]
53984         * math/s_clog10.c (M_PI_LOG10E): New macro.
53985         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53986         imaginary parts are 0.
53987         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53988         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53989         imaginary parts are 0.
53990         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53991         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53992         imaginary parts are 0.
53993         * math/libm-test.inc (clog10_test_data): Update expected results
53994         for when real and imaginary parts are 0.
53996 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53998         * elf/dl-load.c: Finish conversion of __builtin_expect into
53999         __glibc_{un}likely.
54001 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
54003         [BZ #16348]
54004         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54005         1+x for argument with exponent below -67.
54006         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54007         Likewise.
54008         * math/auto-libm-test-in: Add more tests of exp.
54009         * math/auto-libm-test-out: Regenerated.
54011 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54013         [BZ #16759]
54014         * inet/getnetgrent_r.c (get_nonempty_val): New function.
54015         (nscd_getnetgrent): Use it.
54017         [BZ #16760]
54018         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54019         of stpcpy.
54021 2014-03-27  Andi Kleen  <ak@linux.intel.com>
54023         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54024         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54025         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54026         (lll_robust_unlock): Remove out of line section. Use cfi
54027         intrinsics.
54028         (LLL_STUB_UNWIND_INFO*): Remove.
54029         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54030         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54031         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54032         (lll_robust_unlock): Remove out of line section. Use cfi
54033         intrinsics.
54034         (LLL_STUB_UNWIND_INFO*): Remove.
54036 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54038         [BZ #16758]
54039         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54040         blank values.
54042 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54044         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54046 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54048         [BZ #16198]
54049         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54050         fnstenv.
54051         * math/test-fenv-preserve.c: New file.
54052         * math/Makefile (tests): Add test-fenv-preserve.
54054 2014-03-26  Will Newton <will.newton@linaro.org>
54056         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54058 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54060         * scripts/versionlist.awk: Partition the version sets and emit all
54061         GLIBC_* (sorted) before all others (sorted).
54063 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54065         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54066         GLIBC_2.2.5 version.
54068 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54070         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54071         calls.
54073         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54074         previous change.
54076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54078 2014-03-25  Andreas Schwab  <schwab@suse.de>
54080         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54081         label to be used after in6ailist is initialized.
54083 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54085         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54086         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54088 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54090         [BZ #16357]
54091         [BZ #16599]
54092         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54093         min_plus_half.
54094         (fp_formats): Update initializers.
54095         (init_fp_formats): Initialize new field.
54096         (output_for_one_input_case): Allow underflow for results up to
54097         min_plus_half.
54098         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54099         * math/auto-libm-test-in: Don't mark some underflows from asin and
54100         atanh as spurious.
54101         * math/auto-libm-test-out: Regenerated.
54102         * sysdeps/i386/fpu/libm-test-ulps: Update.
54103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54105 2014-03-25  Andreas Schwab  <schwab@suse.de>
54107         * libio/Makefile (tst-ftell-partial-wide-ENV)
54108         (tst-ftell-active-handler-ENV): Define.
54110 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54112         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54114 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54116         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54118 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54120         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54121         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54122         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54124 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54126         [BZ #16634]
54127         * elf/dl-load.c (open_verify): Add mode parameter.
54128         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54129         (open_path): Change from boolean 'secure' to complete flag 'mode'
54130         (_dl_map_object): Adjust.
54131         * elf/Makefile (tests): Add tst-dlopen-aout.
54132         * elf/tst-dlopen-aout.c: New test.
54134 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54136         [BZ #16714]
54137         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54138         (struct stat): Rename member pad0 to __glibc_reserved0.
54140         [BZ #16712]
54141         * sysdeps/s390/s390-32/bits/wordsize.h
54142         (__WORDSIZE32_SIZE_ULONG): New define.
54143         * sysdeps/s390/s390-64/bits/wordsize.h
54144         (__WORDSIZE32_SIZE_ULONG): Likewise.
54145         * sysdeps/generic/stdint.h (SIZE_MAX):
54146         Define as UL if __WORDSIZE32_SIZE_ULONG.
54148         [BZ #16713]
54149         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54150         (__glibc_reserved0): New variable.
54151         (sa_flags): Change type to int.
54153         * posix/Makefile (before-compile): Use += before-compile instead
54154         of a :=.
54156         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54157         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54159 2014-03-20  Andreas Schwab  <schwab@suse.de>
54161         [BZ #16743]
54162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54163         non-matching result from nscd.
54165 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54167         * scripts/bench.py: Moved to ...
54168         * benchtests/scripts/bench.py: ... here.
54169         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54171 2014-03-24  Andreas Schwab  <schwab@suse.de>
54173         [BZ #16002]
54174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54175         alloca_account and account alloca use for struct in6ailist.
54177 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54179         [BZ #16284]
54180         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54181         rounding mode to recompute results that overflow to infinity or
54182         underflow to zero.
54183         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54184         bug 16284.
54185         * math/auto-libm-test-out: Regenerated.
54186         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54187         (ccosh_test): Likewise.
54188         (csin_test_data): Use plus_oflow.
54189         (csin_test): Use ALL_RM_TEST.
54190         (csinh_test_data): Use plus_oflow.
54191         (csinh_test): Use ALL_RM_TEST.
54192         * sysdeps/i386/fpu/libm-test-ulps: Update.
54193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54195 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54197         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54198         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54199         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54201         [BZ #16731]
54202         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54203         when x - 1 is zero.
54204         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54205         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54206         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54207         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54208         argument is 1.
54209         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54210         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54211         zero.
54212         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54213         * sysdeps/i386/fpu/libm-test-ulps: Update.
54214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54216 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54218         * scripts/bench.pl: Remove file.
54219         * scripts/bench.py: New benchmark script.
54220         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54221         * benchtests/README: Mention python dependency.
54222         * scripts/pylintrc: New file.
54223         * scripts/pylint: New file.
54225         * bits/mathdef.h: Use #ifdef instead of #if.
54226         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54227         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54228         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54229         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54230         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54231         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54233 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54234             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54236         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54238         and strpbrk-ppc64 objects.
54239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54240         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54241         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54242         multiarch strpbrk for POWER7.
54243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54244         multiarch strpbrk for PPC64.
54245         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54246         ifunc selector.
54247         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54248         strpbrk for POWER7.
54250 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54252         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54253         (atan_test): Likewise.
54254         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54255         (atanh_test): Use ALL_RM_TEST.
54256         (atan2_test_data): Likewise.
54257         (cabs_test): Likewise.
54258         (cacosh_test): Likewise.
54259         (carg_test): Likewise.
54260         (casin_test): Likewise.
54261         (casinh_test): Likewise.
54262         (cbrt_test): Likewise.
54263         (csqrt_test): Likewise.
54264         (erf_test): Likewise.
54265         (erfc_test): Likewise.
54266         (pow10_test): Likewise.
54267         (exp2_test): Likewise.
54268         (hypot_test): Likewise.
54269         (j0_test): Likewise.
54270         (j1_test): Likewise.
54271         (lgamma_test): Likewise.
54272         (gamma_test): Likewise.
54273         (sincos_test): Likewise.
54274         (tanh_test): Likewise.
54275         (y0_test): Likewise.
54276         (y1_test): Likewise.
54277         * sysdeps/i386/fpu/libm-test-ulps: Update.
54278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54280 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54282         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54284         and strcspn-ppc64 objects.
54285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54286         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54287         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54288         multiarch strcspn for POWER7.
54289         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54290         multiarch strcspn for PPC64.
54291         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54292         ifunc selector.
54293         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54294         strcspn for POWER7.
54296 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54298         * math/gen-libm-test.pl (generate_testfile): Expect only function
54299         name as argument to AUTO_TESTS_* and pass results for all rounding
54300         modes to parse_args.
54301         (parse_auto_input): Separate inputs of automatic tests from
54302         outputs before storing in %auto_tests.
54303         * math/libm-test.inc (acos_test_data): Update call to
54304         AUTO_TESTS_f_f.
54305         (acos_test): Use ALL_RM_TEST.
54306         (acos_tonearest_test_data): Remove.
54307         (acos_test_tonearest): Likewise.
54308         (acos_towardzero_test_data): Likewise.
54309         (acos_test_towardzero): Likewise.
54310         (acos_downward_test_data): Likewise.
54311         (acos_test_downward): Likewise.
54312         (acos_upward_test_data): Likewise.
54313         (acos_test_upward): Likewise.
54314         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54315         (asin_test_data): Likewise.
54316         (asin_test): Use ALL_RM_TEST.
54317         (asin_tonearest_test_data): Remove.
54318         (asin_test_tonearest): Likewise.
54319         (asin_towardzero_test_data): Likewise.
54320         (asin_test_towardzero): Likewise.
54321         (asin_downward_test_data): Likewise.
54322         (asin_test_downward): Likewise.
54323         (asin_upward_test_data): Likewise.
54324         (asin_test_upward): Likewise.
54325         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54326         (atan_test_data): Likewise.
54327         (atanh_test_data): Likewise.
54328         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54329         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54330         (carg_test_data): Likewise.
54331         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54332         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54333         (ccosh_test_data): Likewise.
54334         (cexp_test_data): Likewise.
54335         (clog_test_data): Likewise.
54336         (clog10_test_data): Likewise.
54337         (cos_test_data): Update call to AUTO_TESTS_f_f.
54338         (cos_test): Use ALL_RM_TEST.
54339         (cos_tonearest_test_data): Remove.
54340         (cos_test_tonearest): Likewise.
54341         (cos_towardzero_test_data): Likewise.
54342         (cos_test_towardzero): Likewise.
54343         (cos_downward_test_data): Likewise.
54344         (cos_test_downward): Likewise.
54345         (cos_upward_test_data): Likewise.
54346         (cos_test_upward): Likewise.
54347         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54348         (cosh_test): Use ALL_RM_TEST.
54349         (cosh_tonearest_test_data): Remove.
54350         (cosh_test_tonearest): Likewise.
54351         (cosh_towardzero_test_data): Likewise.
54352         (cosh_test_towardzero): Likewise.
54353         (cosh_downward_test_data): Likewise.
54354         (cosh_test_downward): Likewise.
54355         (cosh_upward_test_data): Likewise.
54356         (cosh_test_upward): Likewise.
54357         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54358         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54359         (ctan_test_data): Likewise.
54360         (ctan_test): Use ALL_RM_TEST.
54361         (ctan_tonearest_test_data): Remove.
54362         (ctan_test_tonearest): Likewise.
54363         (ctan_towardzero_test_data): Likewise.
54364         (ctan_test_towardzero): Likewise.
54365         (ctan_downward_test_data): Likewise.
54366         (ctan_test_downward): Likewise.
54367         (ctan_upward_test_data): Likewise.
54368         (ctan_test_upward): Likewise.
54369         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54370         (ctanh_test): Use ALL_RM_TEST.
54371         (ctanh_tonearest_test_data): Remove.
54372         (ctanh_test_tonearest): Likewise.
54373         (ctanh_towardzero_test_data): Likewise.
54374         (ctanh_test_towardzero): Likewise.
54375         (ctanh_downward_test_data): Likewise.
54376         (ctanh_test_downward): Likewise.
54377         (ctanh_upward_test_data): Likewise.
54378         (ctanh_test_upward): Likewise.
54379         (erf_test_data): Update call to AUTO_TESTS_f_f.
54380         (erfc_test_data): Likewise.
54381         (exp_test_data): Likewise.
54382         (exp_test): Use ALL_RM_TEST.
54383         (exp_tonearest_test_data): Remove.
54384         (exp_test_tonearest): Likewise.
54385         (exp_towardzero_test_data): Likewise.
54386         (exp_test_towardzero): Likewise.
54387         (exp_downward_test_data): Likewise.
54388         (exp_test_downward): Likewise.
54389         (exp_upward_test_data): Likewise.
54390         (exp_test_upward): Likewise.
54391         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54392         (exp10_test): Use ALL_RM_TEST.
54393         (exp10_tonearest_test_data): Remove.
54394         (exp10_test_tonearest): Likewise.
54395         (exp10_towardzero_test_data): Likewise.
54396         (exp10_test_towardzero): Likewise.
54397         (exp10_downward_test_data): Likewise.
54398         (exp10_test_downward): Likewise.
54399         (exp10_upward_test_data): Likewise.
54400         (exp10_test_upward): Likewise.
54401         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54402         (expm1_test_data): Likewise.
54403         (expm1_test): Use ALL_RM_TEST.
54404         (expm1_tonearest_test_data): Remove.
54405         (expm1_test_tonearest): Likewise.
54406         (expm1_towardzero_test_data): Likewise.
54407         (expm1_test_towardzero): Likewise.
54408         (expm1_downward_test_data): Likewise.
54409         (expm1_test_downward): Likewise.
54410         (expm1_upward_test_data): Likewise.
54411         (expm1_test_upward): Likewise.
54412         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54413         (fma_test): Use ALL_RM_TEST.
54414         (fma_towardzero_test_data): Remove.
54415         (fma_test_towardzero): Likewise.
54416         (fma_downward_test_data): Likewise.
54417         (fma_test_downward): Likewise.
54418         (fma_upward_test_data): Likewise.
54419         (fma_test_upward): Likewise.
54420         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54421         (j0_test_data): Update call to AUTO_TESTS_f_f.
54422         (j1_test_data): Likewise.
54423         (jn_test_data): Update call to AUTO_TESTS_if_f.
54424         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54425         (log_test_data): Update call to AUTO_TESTS_f_f.
54426         (log10_test_data): Likewise.
54427         (log1p_test_data): Likewise.
54428         (log2_test_data): Likewise.
54429         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54430         (pow_tonearest_test_data): Likewise.
54431         (sin_test_data): Update call to AUTO_TESTS_f_f.
54432         (sin_test): Use ALL_RM_TEST.
54433         (sin_tonearest_test_data): Remove.
54434         (sin_test_tonearest): Likewise.
54435         (sin_towardzero_test_data): Likewise.
54436         (sin_test_towardzero): Likewise.
54437         (sin_downward_test_data): Likewise.
54438         (sin_test_downward): Likewise.
54439         (sin_upward_test_data): Likewise.
54440         (sin_test_upward): Likewise.
54441         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54442         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54443         (sinh_test): Use ALL_RM_TEST.
54444         (sinh_tonearest_test_data): Remove.
54445         (sinh_test_tonearest): Likewise.
54446         (sinh_towardzero_test_data): Likewise.
54447         (sinh_test_towardzero): Likewise.
54448         (sinh_downward_test_data): Likewise.
54449         (sinh_test_downward): Likewise.
54450         (sinh_upward_test_data): Likewise.
54451         (sinh_test_upward): Likewise.
54452         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54453         (sqrt_test): Use ALL_RM_TEST.
54454         (sqrt_tonearest_test_data): Remove.
54455         (sqrt_test_tonearest): Likewise.
54456         (sqrt_towardzero_test_data): Likewise.
54457         (sqrt_test_towardzero): Likewise.
54458         (sqrt_downward_test_data): Likewise.
54459         (sqrt_test_downward): Likewise.
54460         (sqrt_upward_test_data): Likewise.
54461         (sqrt_test_upward): Likewise.
54462         (tan_test_data): Update call to AUTO_TESTS_f_f.
54463         (tan_test): Use ALL_RM_TEST.
54464         (tan_tonearest_test_data): Remove.
54465         (tan_test_tonearest): Likewise.
54466         (tan_towardzero_test_data): Likewise.
54467         (tan_test_towardzero): Likewise.
54468         (tan_downward_test_data): Likewise.
54469         (tan_test_downward): Likewise.
54470         (tan_upward_test_data): Likewise.
54471         (tan_test_upward): Likewise.
54472         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54473         (tgamma_test_data): Likewise.
54474         (y0_test_data): Likewise.
54475         (y1_test_data): Likewise.
54476         (yn_test_data): Update call to AUTO_TESTS_if_f.
54477         (main): Do not call removed functions.
54479 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54481         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54482         (ldexp_test_data): Remove.
54483         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54484         scalbn_test_data.
54485         (scalb_test): Use ALL_RM_TEST.
54487 2014-03-19  Andreas Schwab  <schwab@suse.de>
54489         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54491 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54493         [BZ #16649]
54494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54495         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54496         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54498         (__ASSUME_PREADV): Undefine.
54499         (__ASSUME_PWRITEV): Likewise.
54501 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54503         * bits/mman-linux.h: Add comment about non-Linux use.
54504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54505         bits/mman-linux.h resting place.
54507         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54508         * bits/mman-linux.h: ... here.
54510 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54512         * conform/conformtest.pl: Add standard definition when calling C
54513         preprocessor on data files.
54514         (checknamespace): Remove unused variable.
54516 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54518         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54519         minus_oflow, plus_uflow and minus_uflow in expected results.
54520         * math/libm-test.inc (scalbn_test_data): Add more tests of
54521         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54522         minus_uflow.
54523         (scalbn_test): Use ALL_RM_TEST.
54524         (scalbln_test_data): Add more tests of negative arguments.  Use
54525         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54526         (scalbln_test): Use ALL_RM_TEST.
54528 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54530         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54532 2014-03-18  Will Newton  <will.newton@linaro.org>
54534         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54535         inaccurate comment.
54537 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54539         * Makerules [!subdir] (check-abi): Exit with error status if a
54540         test failed.
54542 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54544         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54545         for rint.  Include results for all rounding modes.
54546         (nearbyint_test): Use ALL_RM_TEST.
54547         (rint_test_data): Include all tests used for nearbyint.
54549 2014-03-17  Will Newton  <will.newton@linaro.org>
54551         * nptl/sysdeps/pthread/pthread.h: Revert previous
54552         change.
54554         * sysdeps/generic/ldsodefs.h: Revert previous
54555         change.
54557         * libio/genops.c: Revert previous change.
54558         * libio/libioP.h: Likewise.
54559         * stdio-common/vfprintf.c: Likewise.
54561         * sysdeps/generic/math_private.h: Revert previous
54562         change.
54564         * sysdeps/generic/math_private.h: Check whether
54565         HAVE_RM_CTX is defined with #ifdef rather
54566         than #if.
54568         * argp/argp-fmtstream.h: Check whether
54569         __STRICT_ANSI__ is defined with #ifdef rather
54570         than #if.
54571         * argp/argp.h: Likewise.
54573         * libio/genops.c: Check whether
54574         _IO_JUMPS_OFFSET is defined with #ifdef rather
54575         than #if.
54576         * libio/libioP.h: Likewise.
54577         * stdio-common/vfprintf.c: Likewise.
54579         * sysdeps/generic/ldsodefs.h: Check whether
54580         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54581         than #if.
54583         * nptl/sysdeps/pthread/pthread.h: Check
54584         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54585         its value.
54587 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54589         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54590         setting O_APPEND.
54591         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54592         test case.
54594         [BZ #16680]
54595         * libio/fileops.c (_IO_file_open): Seek to end of file but
54596         don't cache the offset.
54597         (get_file_offset): Remove function.
54598         (do_ftell): Use cached offset when available.
54599         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54600         don't cache the offset.
54601         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54602         case.
54603         (do_one_test): Call it.
54604         (do_ftell_test): Fix up expected old offset for a+ mode.
54605         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54606         available.
54608         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54609         up test status with function return status.
54610         (do_write_test): Likewise.
54611         (do_append_test): Likewise.
54613         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54614         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54615         Remove.
54617 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54619         * math/gen-libm-test.pl (parse_args): Handle results specified for
54620         each rounding mode separately.
54621         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54622         tests and results from lrint_tonearest_test_data,
54623         lrint_towardzero_test_data, lrint_downward_test_data and
54624         lrint_upward_test_data.
54625         (lrint_test): Use ALL_RM_TEST.
54626         (lrint_tonearest_test_data): Remove.
54627         (lrint_test_tonearest): Likewise.
54628         (lrint_towardzero_test_data): Likewise.
54629         (lrint_test_towardzero): Likewise.
54630         (lrint_downward_test_data): Likewise.
54631         (lrint_test_downward): Likewise.
54632         (lrint_upward_test_data): Likewise.
54633         (lrint_test_upward): Likewise.
54634         (llrint_test_data): Merge in per-rounding-mode tests and results
54635         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54636         llrint_downward_test_data and llrint_upward_test_data.
54637         (llrint_test): Use ALL_RM_TEST.
54638         (llrint_tonearest_test_data): Remove.
54639         (llrint_test_tonearest): Likewise.
54640         (llrint_towardzero_test_data): Likewise.
54641         (llrint_test_towardzero): Likewise.
54642         (llrint_downward_test_data): Likewise.
54643         (llrint_test_downward): Likewise.
54644         (llrint_upward_test_data): Likewise.
54645         (llrint_test_upward): Likewise.
54646         (rint_test_data): Merge in per-rounding-mode tests and results
54647         from rint_tonearest_test_data, rint_towardzero_test_data,
54648         rint_downward_test_data and rint_upward_test_data.  Add
54649         per-rounding-mode results for tests not in those arrays.
54650         (rint_test): Use ALL_RM_TEST.
54651         (rint_tonearest_test_data): Remove.
54652         (rint_test_tonearest): Likewise.
54653         (rint_towardzero_test_data): Likewise.
54654         (rint_test_towardzero): Likewise.
54655         (rint_downward_test_data): Likewise.
54656         (rint_test_downward): Likewise.
54657         (rint_upward_test_data): Likewise.
54658         (rint_test_upward): Likewise.
54659         (main): Don't call removed functions.
54661 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54663         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54664         "Compiled on ..." crapola.  It is anti-useful.
54666 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54668         * scripts/evaluate-test.sh: Handle fourth argument to determine
54669         whether test run should stop on failure.
54670         * Makeconfig (stop-on-test-failure): New variable.
54671         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54672         $(stop-on-test-failure).
54673         * Makefile (tests): Give a summary of results from testing and
54674         exit with failure status if they include an ERROR or FAIL.
54675         (xtests): Likewise.
54676         * manual/install.texi (Configuring and compiling): Mention
54677         stop-on-test-failure=y.
54678         * INSTALL: Regenerated.
54680 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54682         * scripts/versionlist.awk: New file.
54683         * Makerules [$(build-shared) = yes]
54684         (postclean-generated): Add Versions.def, not Versions.def.v and
54685         Versions.def.v.i.
54686         ($(common-objpfx)Versions.def.v.i): Target removed.
54687         ($(common-objpfx)Versions.def): New target.
54688         ($(common-objpfx)Versions.all): Depend on that rather that
54689         $(common-objpfx)Versions.def.v.
54690         * Versions.def: File removed.
54692         * Makeconfig (+gccwarn): Add -Wundef.
54693         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54694         a dl-sysdep.h breaking its contract.
54695         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54696         * include/stackinfo.h: New file.
54697         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54698         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54699         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54700         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54701         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54702         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54703         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54704         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54705         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54706         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54707         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54708         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54709         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54710         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54711         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54713 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54715         [BZ #16707]
54716         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54717         implementation.
54718         * math/libm-test.inc (round_test_data): Add more tests.
54720         [BZ #16706]
54721         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54722         implementation.
54723         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54725         [BZ #16701]
54726         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54727         implementation.
54728         * math/libm-test.inc (ceil_test_data): Add more tests.
54730         * math/libm-test.inc (trunc_test_data): Add more tests related to
54731         BZ#16414.
54733 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54735         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54736         with #if rather than #ifdef.
54737         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54739 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54741         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54742         first.  Disable AVX-512 GCC support if assembler doesn't support
54743         it.
54744         * sysdeps/x86_64/configure: Regenerated.
54746 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54748         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54749         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54750         (__old_pthread_attr_setstack): Likewise.
54751         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54752         [!_STACK_GROWS_DOWN]: Likewise.
54754 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54756         * config.make.in (have-bash2): Delete.
54757         * configure.ac (libc_cv_have_bash2): Delete.
54758         * configure: Regenerate.
54759         * elf/Makefile (common-ldd-rewrite): Rename to ...
54760         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54761         (sh-ldd-rewrite): Delete.
54762         (bash-ldd-rewrite): Delete.
54763         (have-bash2): Delete checks.
54764         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54765         ldd-rewrite.
54767         * config.make.in (have-ksh): Delete.
54768         (KSH): Delete.
54769         * configure.ac (libc_cv_have_ksh): Delete.
54770         * configure: Regenerate.
54772         * elf/Makefile: Delete $(have-ksh) check.
54773         ($(objpfx)sotruss): Change KSH to BASH.
54774         * elf/sotruss.ksh: Rename to ...
54775         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54776         function style to match POSIX.  Drop ksh vim mode setting.
54778         * manual/time.texi (Specifying the Time Zone with TZ): Change
54779         Tuesday to Thursday.
54781         * debug/tst-longjmp_chk2.c: Update header comment.
54782         (stackoverflow_handler): Add comment.  Call assert on pass value.
54784 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54786         [BZ #16194]
54787         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54788         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54789         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54790         (La_x86_64_vector): Add zmm.
54791         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54792         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54793         ($(objpfx)tst-audit10): New target.
54794         ($(objpfx)tst-audit10.out): Likewise.
54795         (tst-audit10-ENV): New.
54796         (AVX512-CFLAGS): Likewise.
54797         (CFLAGS-tst-audit10.c): Likewise.
54798         (CFLAGS-tst-auditmod10a.c): Likewise.
54799         (CFLAGS-tst-auditmod10b.c): Likewise.
54800         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54801         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54802         * sysdeps/x86_64/configure: Regenerated.
54803         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54804         AVX-512 zmm register support.
54805         (_dl_x86_64_save_sse): Likewise.
54806         (_dl_x86_64_restore_sse): Likewise.
54807         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54808         size vector registers.
54809         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54810         (ZMM_SIZE): Likewise.
54811         * sysdeps/x86_64/tst-audit10.c: New file.
54812         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54813         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54815 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54817         * configure.ac (HAVE_EHDR_START): New check.
54818         * configure: Regenerated.
54819         * config.h.in (HAVE_EHDR_START): New #undef.
54820         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54821         assuming the lowest-addressed segment maps the start of the file.
54823 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54825         * INSTALL: Regenerated.
54827 2014-03-13  Will Newton  <will.newton@linaro.org>
54829         * manual/setjmp.texi (System V contexts): Improve
54830         clarity and grammar of documentation.
54832 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54834         [BZ #16381]
54835         * elf/Makefile (tests): Add tst-pie2.
54836         (tests-pie): Add tst-pie2.
54837         * elf/tst-pie2.c: New file.
54838         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54839         for ET_EXEC.
54840         * elf/rtld.c (map_doit): Load executable as lt_executable.
54841         (dl_main): Likewise.
54843 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54845         [BZ #16642]
54846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54847         (__ASSUME_PSELECT): Undefine.
54849 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54851         [BZ #16689]
54852         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54853         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54854         static build.
54855         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54856         selector for static builds.
54858 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54860         [BZ #16695]
54861         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54862         key in the buffer.
54864 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54866         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54867         IFUNC selector for static builds.
54869 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54871         * sysdeps/mips/math_private.h [__mips_hard_float]
54872         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54873         libc_feresetround_mips_ctx.
54874         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54875         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54876         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54878         [BZ #16677]
54879         * math/s_nextafter.c (__nextafter): Do not return value from
54880         overflowing computation.
54881         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54882         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54883         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54884         Likewise.
54885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54886         Likewise.
54887         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54888         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54890 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54892         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54893         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54894         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54895         the new mov targetting sp.
54897 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54899         [BZ #16683]
54900         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54901         Define it for static builds as well.
54902         (NO_BZERO_IMPL): Likewise.
54904 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54906         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54907         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54908         multiarch strspn for PPC64.
54909         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54910         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54912         (__libc_ifunc_impl_list): Likewise.
54913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54914         multiarch optimizations
54915         * string/strspn.c (strspn): Using macro to redefine symbol name.
54917 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54920         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54921         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54922         multiarch strncat for PPC64.
54923         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54924         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54926         (__libc_ifunc_impl_list): Likewise.
54927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54928         multiarch optimizations
54930 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54932         [BZ #16639]
54933         * nscd/nscd.service: Make service type forking.
54935 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54937         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54938         sign in non default rounding modes.
54939         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54941 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54943         * math/libm-test.inc (ALL_RM_TEST): New macro.
54944         (ceil_test): Use ALL_RM_TEST.
54945         (cimag_test): Likewise.
54946         (conj_test): Likewise.
54947         (copysign_test): Likewise.
54948         (cproj_test): Likewise.
54949         (creal_test): Likewise.
54950         (fabs_test): Likewise.
54951         (floor_test): Likewise.
54952         (fmax_test): Likewise.
54953         (fmin_test): Likewise.
54954         (fmod_test): Likewise.
54955         (fpclassify_test): Likewise.
54956         (frexp_test): Likewise.
54957         (ilogb_test): Likewise.
54958         (isfinite_test): Likewise.
54959         (finite_test): Likewise.
54960         (isgreater_test): Likewise.
54961         (isgreaterequal_test): Likewise.
54962         (isinf_test): Likewise.
54963         (isless_test): Likewise.
54964         (islessequal_test): Likewise.
54965         (islessgreater_test): Likewise.
54966         (isnan_test): Likewise.
54967         (isnormal_test): Likewise.
54968         (issignaling_test): Likewise.
54969         (isunordered_test): Likewise.
54970         (logb_test): Likewise.
54971         (logb_downward_test_data): Remove.
54972         (logb_test_downward): Likewise.
54973         (lround_test): Use ALL_RM_TEST.
54974         (llround_test): Likewise.
54975         (modf_test): Likewise.
54976         (nexttoward_test): Likewise.
54977         (remainder_test): Likewise.
54978         (drem_test): Likewise.
54979         (remainder_tonearest_test_data): Likewise.
54980         (remainder_test_tonearest): Likewise.
54981         (drem_test_tonearest): Likewise.
54982         (remainder_towardzero_test_data): Likewise.
54983         (remainder_test_towardzero): Likewise.
54984         (drem_test_towardzero): Likewise.
54985         (remainder_downward_test_data): Likewise.
54986         (remainder_test_downward): Likewise.
54987         (drem_test_downward): Likewise.
54988         (remainder_upward_test_data): Likewise.
54989         (remainder_test_upward): Likewise.
54990         (drem_test_upward): Likewise.
54991         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54992         (round_test): Use ALL_RM_TEST.
54993         (signbit_test): Likewise.
54994         (trunc_test): Likewise.
54995         (significand_test): Likewise.
54996         (main): Don't call removed functions.
54998 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55000         [BZ #16674]
55001         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55002         || __USE_XOPEN2K8].
55003         (ILL_ILLOPN): Likewise.
55004         (ILL_ILLADR): Likewise.
55005         (ILL_ILLTRP): Likewise.
55006         (ILL_PRVOPC): Likewise.
55007         (ILL_PRVREG): Likewise.
55008         (ILL_COPROC): Likewise.
55009         (ILL_BADSTK): Likewise.
55010         (FPE_INTDIV): Likewise.
55011         (FPE_INTOVF): Likewise.
55012         (FPE_FLTDIV): Likewise.
55013         (FPE_FLTOVF): Likewise.
55014         (FPE_FLTUND): Likewise.
55015         (FPE_FLTRES): Likewise.
55016         (FPE_FLTINV): Likewise.
55017         (FPE_FLTSUB): Likewise.
55018         (SEGV_MAPERR): Likewise.
55019         (SEGV_ACCERR): Likewise.
55020         (BUS_ADRALN): Likewise.
55021         (BUS_ADRERR): Likewise.
55022         (BUS_OBJERR): Likewise.
55023         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55024         (TRAP_TRACE): Likewise.
55025         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55026         __USE_XOPEN2K8].
55027         (CLD_KILLED): Likewise.
55028         (CLD_DUMPED): Likewise.
55029         (CLD_TRAPPED): Likewise.
55030         (CLD_STOPPED): Likewise.
55031         (CLD_CONTINUED): Likewise.
55032         (POLL_IN): Likewise.
55033         (POLL_OUT): Likewise.
55034         (POLL_MSG): Likewise.
55035         (POLL_ERR): Likewise.
55036         (POLL_PRI): Likewise.
55037         (POLL_HUP): Likewise.
55038         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55039         Likewise.
55040         (ILL_ILLOPN): Likewise.
55041         (ILL_ILLADR): Likewise.
55042         (ILL_ILLTRP): Likewise.
55043         (ILL_PRVOPC): Likewise.
55044         (ILL_PRVREG): Likewise.
55045         (ILL_COPROC): Likewise.
55046         (ILL_BADSTK): Likewise.
55047         (FPE_INTDIV): Likewise.
55048         (FPE_INTOVF): Likewise.
55049         (FPE_FLTDIV): Likewise.
55050         (FPE_FLTOVF): Likewise.
55051         (FPE_FLTUND): Likewise.
55052         (FPE_FLTRES): Likewise.
55053         (FPE_FLTINV): Likewise.
55054         (FPE_FLTSUB): Likewise.
55055         (SEGV_MAPERR): Likewise.
55056         (SEGV_ACCERR): Likewise.
55057         (BUS_ADRALN): Likewise.
55058         (BUS_ADRERR): Likewise.
55059         (BUS_OBJERR): Likewise.
55060         (BUS_MCEERR_AR): Likewise.
55061         (BUS_MCEERR_AO): Likewise.
55062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55063         (TRAP_TRACE): Likewise.
55064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55065         __USE_XOPEN2K8].
55066         (CLD_KILLED): Likewise.
55067         (CLD_DUMPED): Likewise.
55068         (CLD_TRAPPED): Likewise.
55069         (CLD_STOPPED): Likewise.
55070         (CLD_CONTINUED): Likewise.
55071         (POLL_IN): Likewise.
55072         (POLL_OUT): Likewise.
55073         (POLL_MSG): Likewise.
55074         (POLL_ERR): Likewise.
55075         (POLL_PRI): Likewise.
55076         (POLL_HUP): Likewise.
55077         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55078         (ILL_ILLOPN): Likewise.
55079         (ILL_ILLADR): Likewise.
55080         (ILL_ILLTRP): Likewise.
55081         (ILL_PRVOPC): Likewise.
55082         (ILL_PRVREG): Likewise.
55083         (ILL_COPROC): Likewise.
55084         (ILL_BADSTK): Likewise.
55085         (FPE_INTDIV): Likewise.
55086         (FPE_INTOVF): Likewise.
55087         (FPE_FLTDIV): Likewise.
55088         (FPE_FLTOVF): Likewise.
55089         (FPE_FLTUND): Likewise.
55090         (FPE_FLTRES): Likewise.
55091         (FPE_FLTINV): Likewise.
55092         (FPE_FLTSUB): Likewise.
55093         (SEGV_MAPERR): Likewise.
55094         (SEGV_ACCERR): Likewise.
55095         (BUS_ADRALN): Likewise.
55096         (BUS_ADRERR): Likewise.
55097         (BUS_OBJERR): Likewise.
55098         (BUS_MCEERR_AR): Likewise.
55099         (BUS_MCEERR_AO): Likewise.
55100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55101         (TRAP_TRACE): Likewise.
55102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55103         __USE_XOPEN2K8].
55104         (CLD_KILLED): Likewise.
55105         (CLD_DUMPED): Likewise.
55106         (CLD_TRAPPED): Likewise.
55107         (CLD_STOPPED): Likewise.
55108         (CLD_CONTINUED): Likewise.
55109         (POLL_IN): Likewise.
55110         (POLL_OUT): Likewise.
55111         (POLL_MSG): Likewise.
55112         (POLL_ERR): Likewise.
55113         (POLL_PRI): Likewise.
55114         (POLL_HUP): Likewise.
55115         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55116         Likewise.
55117         (ILL_ILLOPN): Likewise.
55118         (ILL_ILLADR): Likewise.
55119         (ILL_ILLTRP): Likewise.
55120         (ILL_PRVOPC): Likewise.
55121         (ILL_PRVREG): Likewise.
55122         (ILL_COPROC): Likewise.
55123         (ILL_BADSTK): Likewise.
55124         (ILL_BADIADDR): Likewise.
55125         (ILL_BREAK): Likewise.
55126         (FPE_INTDIV): Likewise.
55127         (FPE_INTOVF): Likewise.
55128         (FPE_FLTDIV): Likewise.
55129         (FPE_FLTOVF): Likewise.
55130         (FPE_FLTUND): Likewise.
55131         (FPE_FLTRES): Likewise.
55132         (FPE_FLTINV): Likewise.
55133         (FPE_FLTSUB): Likewise.
55134         (FPE_DECOVF): Likewise.
55135         (FPE_DECDIV): Likewise.
55136         (FPE_DECERR): Likewise.
55137         (FPE_INVASC): Likewise.
55138         (FPE_INVDEC): Likewise.
55139         (SEGV_MAPERR): Likewise.
55140         (SEGV_ACCERR): Likewise.
55141         (SEGV_PSTKOVF): Likewise.
55142         (BUS_ADRALN): Likewise.
55143         (BUS_ADRERR): Likewise.
55144         (BUS_OBJERR): Likewise.
55145         (BUS_MCEERR_AR): Likewise.
55146         (BUS_MCEERR_AO): Likewise.
55147         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55148         (TRAP_TRACE): Likewise.
55149         (TRAP_BRANCH): Likewise.
55150         (TRAP_HWBKPT): Likewise.
55151         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55152         __USE_XOPEN2K8].
55153         (CLD_KILLED): Likewise.
55154         (CLD_DUMPED): Likewise.
55155         (CLD_TRAPPED): Likewise.
55156         (CLD_STOPPED): Likewise.
55157         (CLD_CONTINUED): Likewise.
55158         (POLL_IN): Likewise.
55159         (POLL_OUT): Likewise.
55160         (POLL_MSG): Likewise.
55161         (POLL_ERR): Likewise.
55162         (POLL_PRI): Likewise.
55163         (POLL_HUP): Likewise.
55164         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55165         (ILL_ILLOPN): Likewise.
55166         (ILL_ILLADR): Likewise.
55167         (ILL_ILLTRP): Likewise.
55168         (ILL_PRVOPC): Likewise.
55169         (ILL_PRVREG): Likewise.
55170         (ILL_COPROC): Likewise.
55171         (ILL_BADSTK): Likewise.
55172         (FPE_INTDIV): Likewise.
55173         (FPE_INTOVF): Likewise.
55174         (FPE_FLTDIV): Likewise.
55175         (FPE_FLTOVF): Likewise.
55176         (FPE_FLTUND): Likewise.
55177         (FPE_FLTRES): Likewise.
55178         (FPE_FLTINV): Likewise.
55179         (FPE_FLTSUB): Likewise.
55180         (SEGV_MAPERR): Likewise.
55181         (SEGV_ACCERR): Likewise.
55182         (BUS_ADRALN): Likewise.
55183         (BUS_ADRERR): Likewise.
55184         (BUS_OBJERR): Likewise.
55185         (BUS_MCEERR_AR): Likewise.
55186         (BUS_MCEERR_AO): Likewise.
55187         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55188         (TRAP_TRACE): Likewise.
55189         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55190         __USE_XOPEN2K8].
55191         (CLD_KILLED): Likewise.
55192         (CLD_DUMPED): Likewise.
55193         (CLD_TRAPPED): Likewise.
55194         (CLD_STOPPED): Likewise.
55195         (CLD_CONTINUED): Likewise.
55196         (POLL_IN): Likewise.
55197         (POLL_OUT): Likewise.
55198         (POLL_MSG): Likewise.
55199         (POLL_ERR): Likewise.
55200         (POLL_PRI): Likewise.
55201         (POLL_HUP): Likewise.
55202         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55203         (ILL_ILLOPN): Likewise.
55204         (ILL_ILLADR): Likewise.
55205         (ILL_ILLTRP): Likewise.
55206         (ILL_PRVOPC): Likewise.
55207         (ILL_PRVREG): Likewise.
55208         (ILL_COPROC): Likewise.
55209         (ILL_BADSTK): Likewise.
55210         (FPE_INTDIV): Likewise.
55211         (FPE_INTOVF): Likewise.
55212         (FPE_FLTDIV): Likewise.
55213         (FPE_FLTOVF): Likewise.
55214         (FPE_FLTUND): Likewise.
55215         (FPE_FLTRES): Likewise.
55216         (FPE_FLTINV): Likewise.
55217         (FPE_FLTSUB): Likewise.
55218         (SEGV_MAPERR): Likewise.
55219         (SEGV_ACCERR): Likewise.
55220         (BUS_ADRALN): Likewise.
55221         (BUS_ADRERR): Likewise.
55222         (BUS_OBJERR): Likewise.
55223         (BUS_MCEERR_AR): Likewise.
55224         (BUS_MCEERR_AO): Likewise.
55225         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55226         (TRAP_TRACE): Likewise.
55227         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55228         __USE_XOPEN2K8].
55229         (CLD_KILLED): Likewise.
55230         (CLD_DUMPED): Likewise.
55231         (CLD_TRAPPED): Likewise.
55232         (CLD_STOPPED): Likewise.
55233         (CLD_CONTINUED): Likewise.
55234         (POLL_IN): Likewise.
55235         (POLL_OUT): Likewise.
55236         (POLL_MSG): Likewise.
55237         (POLL_ERR): Likewise.
55238         (POLL_PRI): Likewise.
55239         (POLL_HUP): Likewise.
55240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55241         (ILL_ILLOPN): Likewise.
55242         (ILL_ILLADR): Likewise.
55243         (ILL_ILLTRP): Likewise.
55244         (ILL_PRVOPC): Likewise.
55245         (ILL_PRVREG): Likewise.
55246         (ILL_COPROC): Likewise.
55247         (ILL_BADSTK): Likewise.
55248         (FPE_INTDIV): Likewise.
55249         (FPE_INTOVF): Likewise.
55250         (FPE_FLTDIV): Likewise.
55251         (FPE_FLTOVF): Likewise.
55252         (FPE_FLTUND): Likewise.
55253         (FPE_FLTRES): Likewise.
55254         (FPE_FLTINV): Likewise.
55255         (FPE_FLTSUB): Likewise.
55256         (SEGV_MAPERR): Likewise.
55257         (SEGV_ACCERR): Likewise.
55258         (BUS_ADRALN): Likewise.
55259         (BUS_ADRERR): Likewise.
55260         (BUS_OBJERR): Likewise.
55261         (BUS_MCEERR_AR): Likewise.
55262         (BUS_MCEERR_AO): Likewise.
55263         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55264         (TRAP_TRACE): Likewise.
55265         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55266         __USE_XOPEN2K8].
55267         (CLD_KILLED): Likewise.
55268         (CLD_DUMPED): Likewise.
55269         (CLD_TRAPPED): Likewise.
55270         (CLD_STOPPED): Likewise.
55271         (CLD_CONTINUED): Likewise.
55272         (POLL_IN): Likewise.
55273         (POLL_OUT): Likewise.
55274         (POLL_MSG): Likewise.
55275         (POLL_ERR): Likewise.
55276         (POLL_PRI): Likewise.
55277         (POLL_HUP): Likewise.
55278         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55279         (ILL_ILLOPN): Likewise.
55280         (ILL_ILLADR): Likewise.
55281         (ILL_ILLTRP): Likewise.
55282         (ILL_PRVOPC): Likewise.
55283         (ILL_PRVREG): Likewise.
55284         (ILL_COPROC): Likewise.
55285         (ILL_BADSTK): Likewise.
55286         (ILL_DBLFLT): Likewise.
55287         (ILL_HARDWALL): Likewise.
55288         (FPE_INTDIV): Likewise.
55289         (FPE_INTOVF): Likewise.
55290         (FPE_FLTDIV): Likewise.
55291         (FPE_FLTOVF): Likewise.
55292         (FPE_FLTUND): Likewise.
55293         (FPE_FLTRES): Likewise.
55294         (FPE_FLTINV): Likewise.
55295         (FPE_FLTSUB): Likewise.
55296         (SEGV_MAPERR): Likewise.
55297         (SEGV_ACCERR): Likewise.
55298         (BUS_ADRALN): Likewise.
55299         (BUS_ADRERR): Likewise.
55300         (BUS_OBJERR): Likewise.
55301         (BUS_MCEERR_AR): Likewise.
55302         (BUS_MCEERR_AO): Likewise.
55303         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55304         (TRAP_TRACE): Likewise.
55305         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55306         __USE_XOPEN2K8].
55307         (CLD_KILLED): Likewise.
55308         (CLD_DUMPED): Likewise.
55309         (CLD_TRAPPED): Likewise.
55310         (CLD_STOPPED): Likewise.
55311         (CLD_CONTINUED): Likewise.
55312         (POLL_IN): Likewise.
55313         (POLL_OUT): Likewise.
55314         (POLL_MSG): Likewise.
55315         (POLL_ERR): Likewise.
55316         (POLL_PRI): Likewise.
55317         (POLL_HUP): Likewise.
55318         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55319         (ILL_ILLOPN): Likewise.
55320         (ILL_ILLADR): Likewise.
55321         (ILL_ILLTRP): Likewise.
55322         (ILL_PRVOPC): Likewise.
55323         (ILL_PRVREG): Likewise.
55324         (ILL_COPROC): Likewise.
55325         (ILL_BADSTK): Likewise.
55326         (FPE_INTDIV): Likewise.
55327         (FPE_INTOVF): Likewise.
55328         (FPE_FLTDIV): Likewise.
55329         (FPE_FLTOVF): Likewise.
55330         (FPE_FLTUND): Likewise.
55331         (FPE_FLTRES): Likewise.
55332         (FPE_FLTINV): Likewise.
55333         (FPE_FLTSUB): Likewise.
55334         (SEGV_MAPERR): Likewise.
55335         (SEGV_ACCERR): Likewise.
55336         (BUS_ADRALN): Likewise.
55337         (BUS_ADRERR): Likewise.
55338         (BUS_OBJERR): Likewise.
55339         (BUS_MCEERR_AR): Likewise.
55340         (BUS_MCEERR_AO): Likewise.
55341         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55342         (TRAP_TRACE): Likewise.
55343         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55344         __USE_XOPEN2K8].
55345         (CLD_KILLED): Likewise.
55346         (CLD_DUMPED): Likewise.
55347         (CLD_TRAPPED): Likewise.
55348         (CLD_STOPPED): Likewise.
55349         (CLD_CONTINUED): Likewise.
55350         (POLL_IN): Likewise.
55351         (POLL_OUT): Likewise.
55352         (POLL_MSG): Likewise.
55353         (POLL_ERR): Likewise.
55354         (POLL_PRI): Likewise.
55355         (POLL_HUP): Likewise.
55356         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55357         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55359         [BZ #16670]
55360         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55361         before #include of <time.h>.
55362         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55363         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55364         (test-xfail-UNIX98/sched.h/conform): Likewise.
55366 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55368         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55369         error absence of trapping exception support.
55370         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55372 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55374         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55375         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55376         * timezone/Makefile (testdata): Move definition above include of
55377         Rules.
55378         (test-zones): New variable.
55379         (tests-special): Add zone files.
55380         (build-testdata): Use $(evaluate-test).
55382         * elf/Makefile (tests-special): Rename tests to end with .out.
55383         ($(objpfx)noload-mem): Likewise.
55384         ($(objpfx)tst-leaks1-mem): Likewise.
55385         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55386         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55387         $(objpfx)test-iconvconfig.out.
55388         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55389         set -e inside subshell and redirect output to file.
55390         * iconvdata/Makefile (generated): Rename tests to end with .out.
55391         Correct type.
55392         (tests-special): Rename tests to end with .out.
55393         ($(objpfx)mtrace-tst-loading): Likewise.
55394         * intl/Makefile (generated): Likewise.
55395         (tests-special): Likewise.
55396         ($(objpfx)mtrace-tst-gettext): Likewise.
55397         * misc/Makefile (generated): Likewise.
55398         (tests-special): Likewise.
55399         ($(objpfx)tst-error1-mem): Likewise.
55400         * nptl/Makefile (tests-special): Likewise.
55401         ($(objpfx)tst-stack3-mem): Likewise.
55402         (generated): Likewise.
55403         * posix/Makefile (generated): Likewise.
55404         (tests-special): Likewise.
55405         (xtests-special): Likewise.
55406         ($(objpfx)tst-fnmatch-mem): Likewise.
55407         ($(objpfx)bug-regex2-mem): Likewise.
55408         ($(objpfx)bug-regex14-mem): Likewise.
55409         ($(objpfx)bug-regex21-mem): Likewise.
55410         ($(objpfx)bug-regex31-mem): Likewise.
55411         ($(objpfx)tst-vfork3-mem): Likewise.
55412         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55413         ($(objpfx)tst-pcre-mem): Likewise.
55414         ($(objpfx)tst-boost-mem): Likewise.
55415         ($(objpfx)bug-ga2-mem): Likewise.
55416         ($(objpfx)bug-glob2-mem): Likewise.
55417         * resolv/Makefile (generate): Likewise.
55418         (tests-special): Likewise.
55419         (xtests-special): Likewise.
55420         (generated): Likewise.
55421         ($(objpfx)mtrace-tst-leaks): Likewise.
55422         ($(objpfx)mtrace-tst-leaks2): Likewise.
55424         * scripts/merge-test-results.sh: New file.
55425         * Makefile (tests-special-notdir): New variable.
55426         (tests): Run merge-test-results.sh.
55427         (xtests): Likewise.
55428         * Rules (tests-special-notdir): New variable.
55429         (xtests-special-notdir): Likewise.
55430         (tests): Run merge-test-results.sh
55431         (xtests): Likewise.
55433         * Makeconfig (test-xfail-name): New variable.
55434         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55435         compute variable name for expected failures.
55436         * conform/Makefile (conformtest-headers-data): New variable.
55437         (conformtest-standards): Likewise.
55438         (conformtest-headers-ISO): Likewise.
55439         (conformtest-headers-ISO99): Likewise.
55440         (conformtest-headers-ISO11): Likewise.
55441         (conformtest-headers-POSIX): Likewise.
55442         (conformtest-headers-XPG3): Likewise.
55443         (conformtest-headers-XPG4): Likewise.
55444         (conformtest-headers-UNIX98): Likewise.
55445         (conformtest-headers-XOPEN2K): Likewise.
55446         (conformtest-headers-POSIX2008): Likewise.
55447         (conformtest-headers-XOPEN2K8): Likewise.
55448         (conformtest-header-list-base): Likewise.
55449         (conformtest-header-list-tests): Likewise.
55450         (conformtest-header-base): Likewise.
55451         (conformtest-header-tests): Likewise.
55452         (tests-special): Add $(conformtest-header-list-tests).  If
55453         [$(fast-check) && !$(cross-compiling)], add
55454         $(conformtest-header-tests) instead of
55455         $(objpfx)run-conformtest.out.
55456         (generated): Add $(conformtest-header-list-base).  If
55457         [$(fast-check) && !$(cross-compiling)], add
55458         $(conformtest-header-base).  Remove previous setting.
55459         ($(conformtest-header-list-tests)): New target.
55460         (test-xfail-run-conformtest): Remove variable.
55461         ($(objpfx)run-conformtest.out): Remove target.
55462         (test-xfail-ISO11/complex.h/conform): New variable.
55463         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55464         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55465         (test-xfail-XPG3/varargs.h/conform): Likewise.
55466         (test-xfail-XPG4/varargs.h/conform): Likewise.
55467         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55468         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55469         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55470         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55471         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55472         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55473         (test-xfail-XPG3/ftw.h/conform): Likewise.
55474         (test-xfail-XPG3/grp.h/conform): Likewise.
55475         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55476         (test-xfail-XPG3/limits.h/conform): Likewise.
55477         (test-xfail-XPG3/pwd.h/conform): Likewise.
55478         (test-xfail-XPG3/search.h/conform): Likewise.
55479         (test-xfail-XPG3/signal.h/conform): Likewise.
55480         (test-xfail-XPG3/stdio.h/conform): Likewise.
55481         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55482         (test-xfail-XPG3/string.h/conform): Likewise.
55483         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55484         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55485         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55486         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55487         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55488         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55489         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55490         (test-xfail-XPG3/termios.h/conform): Likewise.
55491         (test-xfail-XPG3/time.h/conform): Likewise.
55492         (test-xfail-XPG3/unistd.h/conform): Likewise.
55493         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55494         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55495         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55496         (test-xfail-XPG4/netdb.h/conform): Likewise.
55497         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55498         (test-xfail-XPG4/signal.h/conform): Likewise.
55499         (test-xfail-XPG4/stdio.h/conform): Likewise.
55500         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55501         (test-xfail-XPG4/stropts.h/conform): Likewise.
55502         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55503         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55504         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55505         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55506         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55507         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55508         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55509         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55510         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55511         (test-xfail-XPG4/termios.h/conform): Likewise.
55512         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55513         (test-xfail-XPG4/unistd.h/conform): Likewise.
55514         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55515         (test-xfail-POSIX/sched.h/conform): Likewise.
55516         (test-xfail-POSIX/signal.h/conform): Likewise.
55517         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55518         (test-xfail-POSIX/tar.h/conform): Likewise.
55519         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55520         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55521         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55522         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55523         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55524         (test-xfail-UNIX98/sched.h/conform): Likewise.
55525         (test-xfail-UNIX98/signal.h/conform): Likewise.
55526         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55527         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55528         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55529         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55530         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55531         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55532         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55533         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55534         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55535         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55536         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55537         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55538         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55539         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55540         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55541         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55542         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55543         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55544         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55545         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55546         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55547         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55548         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55549         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55550         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55551         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55552         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55553         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55554         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55555         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55556         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55557         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55558         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55559         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55560         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55561         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55562         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55563         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55564         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55565         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55566         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55567         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55568         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55569         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55570         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55571         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55572         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55573         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55574         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55575         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55576         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55577         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55578         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55579         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55580         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55581         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55582         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55583         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55584         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55585         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55586         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55587         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55588         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55589         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55590         (conformtest-cc-flags): Likewise.
55591         ($(conformtest-header-tests): New target.
55592         * conform/check-header-lists.sh: New file.
55593         * conform/run-conformtest.sh: Remove.
55595         * conform/conformtest.pl: Allow ' and \ in values given for
55596         constants.
55597         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55598         inclusion.
55599         [POSIX] (sys/types.h): Likewise.
55600         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55601         inclusion.
55602         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55603         inclusion.
55604         * conform/data/signal.h-data (SIGIO): Remove expectation.
55605         [XPG3] (SIGBUS): Do not expect.
55606         [POSIX || XPG3] (SIGPOLL): Likewise.
55607         [POSIX || XPG3] (SIGPROF): Likewise.
55608         [POSIX || XPG3] (SIGSYS): Likewise.
55609         [XPG3] (SIGTRAP): Likewise.
55610         [POSIX || XPG3] (SIGURG): Likewise.
55611         [POSIX || XPG3] (SIGVTALRM): Likewise.
55612         [POSIX || XPG3] (SIGXCPU): Likewise.
55613         [POSIX || XPG3] (SIGXFSZ): Likewise.
55614         [POSIX] (SA_SIGINFO): Expect.
55615         [XPG3] (siginfo_t): Do not expect type or contents.
55616         [POSIX] (si_pid): Do not expect element.
55617         [POSIX] (si_uid): Likewise.
55618         [POSIX] (si_addr): Likewise.
55619         [POSIX] (si_status): Likewise.
55620         [POSIX] (si_band): Likewise.
55621         [XPG4] (si_value): Likewise.
55622         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55623         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55624         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55625         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55626         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55627         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55628         [POSIX || XPG3] (ILL_COPROC): Likewise.
55629         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55630         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55631         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55632         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55633         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55634         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55635         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55636         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55637         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55638         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55639         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55640         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55641         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55642         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55643         [POSIX || XPG3] (CLD_EXITED): Likewise.
55644         [POSIX || XPG3] (CLD_KILLED): Likewise.
55645         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55646         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55647         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55648         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55649         [POSIX || XPG3] (POLL_IN): Likewise.
55650         [POSIX || XPG3] (POLL_OUT): Likewise.
55651         [POSIX || XPG3] (POLL_MSG): Likewise.
55652         [POSIX || XPG3] (POLL_ERR): Likewise.
55653         [POSIX || XPG3] (POLL_PRI): Likewise.
55654         [POSIX || XPG3] (POLL_HUP): Likewise.
55655         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55656         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55657         (SIG*): Do not allow.
55658         [XPG3] (si_*): Likewise.
55659         [XPG3] (SI_*): Likewise.
55660         [XPG3 || XPG4] (sigev_*): Likewise.
55661         [XPG3 || XPG4] (SIGEV_*): Likewise.
55662         [XPG3 || XPG4] (sival_*): Likewise.
55663         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55664         [POSIX || XPG3] (BUS_*): Likewise.
55665         [POSIX || XPG3] (CLD_*): Likewise.
55666         [POSIX || XPG3] (FPE_*): Likewise.
55667         [POSIX || XPG3] (ILL_*): Likewise.
55668         [POSIX || XPG3] (POLL_*): Likewise.
55669         [POSIX || XPG3] (SEGV_*): Likewise.
55670         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55671         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55672         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55673         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55674         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55675         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55676         Specify type and value.
55677         (TVERSLEN): Likewise.
55678         (REGTYPE): Likewise.
55679         (AREGTYPE): Likewise.
55680         (LNKTYPE): Likewise.
55681         (SYMTYPE): Likewise.
55682         (CHRTYPE): Likewise.
55683         (BLKTYPE): Likewise.
55684         (DIRTYPE): Likewise.
55685         (FIFOTYPE): Likewise.
55686         (CONTTYPE): Likewise.
55687         (TSUID): Likewise.
55688         (TSGID): Likewise.
55689         (TSVTX): Likewise.
55690         (TUREAD): Likewise.
55691         (TUWRITE): Likewise.
55692         (TUEXEC): Likewise.
55693         (TGREAD): Likewise.
55694         (TGWRITE): Likewise.
55695         (TGEXEC): Likewise.
55696         (TOREAD): Likewise.
55697         (TOWRITE): Likewise.
55698         (TOEXEC): Likewise.
55699         [POSIX] (TSVTX): Expect constant.
55701 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55703         * Makefile (tests): Change dependencies to ....
55704         (tests-special): ... additions to this variable.
55705         (tests): Depend on $(tests-special).
55706         * Makerules (check-abi-list): New variable.
55707         (check-abi): Depend on $(check-abi-list).
55708         [$(subdir) = elf] (tests-special): Add
55709         $(objpfx)check-abi-libc.out.
55710         [$(build-shared) = yes && subdir] (tests-special): Add
55711         $(check-abi-list).
55712         [$(build-shared) = yes && subdir] (tests): Do not depend on
55713         check-abi.
55714         * Rules (tests): Depend on $(tests-special).
55715         (xtests): Depend on $(xtests-special).
55716         * catgets/Makefile (tests): Change dependencies to ....
55717         (tests-special): ... additions to this variable.
55718         * conform/Makefile (tests): Change dependencies to ....
55719         (tests-special): ... additions to this variable.
55720         * elf/Makefile (tests): Change dependencies to ....
55721         (tests-special): ... additions to this variable.
55722         * grp/Makefile (tests): Change dependencies to ....
55723         (tests-special): ... additions to this variable.
55724         * iconv/Makefile (xtests): Change dependencies to ....
55725         (xtests-special): ... additions to this variable.
55726         * iconvdata/Makefile (tests): Change dependencies to ....
55727         (tests-special): ... additions to this variable.
55728         * intl/Makefile (tests): Change dependencies to ....
55729         (tests-special): ... additions to this variable.  Also add
55730         $(objpfx)tst-gettext.out.
55731         * io/Makefile (tests): Change dependencies to ....
55732         (tests-special): ... additions to this variable.
55733         * libio/Makefile (tests): Change dependencies to ....
55734         (tests-special): ... additions to this variable.
55735         * malloc/Makefile (tests): Change dependencies to ....
55736         (tests-special): ... additions to this variable.
55737         * misc/Makefile (tests): Change dependencies to ....
55738         (tests-special): ... additions to this variable.
55739         * nptl/Makefile (tests): Change dependencies to ....
55740         (tests-special): ... additions to this variable.
55741         * nptl_db/Makefile (tests): Change dependencies to ....
55742         (tests-special): ... additions to this variable.
55743         * posix/Makefile (tests): Change dependencies to ....
55744         (tests-special): ... additions to this variable.
55745         (xtests): Change dependencies to ....
55746         (xtests-special): ... additions to this variable.
55747         * resolv/Makefile (tests): Change dependencies to ....
55748         (tests-special): ... additions to this variable.
55749         (xtests): Change dependencies to ....
55750         (xtests-special): ... additions to this variable.
55751         * stdio-common/Makefile (tests): Change dependencies to ....
55752         (tests-special): ... additions to this variable.
55753         (do-tst-unbputc): Remove target.
55754         (do-tst-printf): Likewise.
55755         * stdlib/Makefile (tests): Change dependencies to ....
55756         (tests-special): ... additions to this variable.
55757         * string/Makefile (tests): Change dependencies to ....
55758         (tests-special): ... additions to this variable.
55759         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55760         (tests-special): ... additions to this variable.
55762         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55763         whole file.
55764         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55765         whole file.
55766         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55767         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55769         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55770         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55771         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55772         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55773         * conform/data/libgen.h-data [XPG3]: Likewise.
55774         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55775         * conform/data/ndbm.h-data [XPG3]: Likewise.
55776         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55777         * conform/data/netdb.h-data [XPG3]: Likewise.
55778         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55779         * conform/data/poll.h-data [XPG3]: Likewise.
55780         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55781         * conform/data/strings.h-data [XPG3]: Likewise.
55782         * conform/data/stropts.h-data [XPG3]: Likewise.
55783         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55784         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55785         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55786         Likewise.
55787         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55788         * conform/data/sys/time.h-data [XPG3]: Likewise.
55789         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55790         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55791         * conform/data/sys/un.h-data [XPG3]: Likewise.
55792         * conform/data/syslog.h-data [XPG3]: Likewise.
55793         * conform/data/ucontext.h-data [XPG3]: Likewise.
55794         * conform/data/utmpx.h-data [XPG3]: Likewise.
55795         * conform/data/varargs.h-data [UNIX98]: Enable file.
55797         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55799         * math/libm-test.inc (struct test_f_f_data): Move expected results
55800         into structure for each rounding mode.
55801         (struct test_ff_f_data): Likewise.
55802         (struct test_ff_f_data_nexttoward): Likewise.
55803         (struct test_fi_f_data): Likewise.
55804         (struct test_fl_f_data): Likewise.
55805         (struct test_if_f_data): Likewise.
55806         (struct test_fff_f_data): Likewise.
55807         (struct test_c_f_data): Likewise.
55808         (struct test_f_f1_data): Likewise.
55809         (struct test_fF_f1_data): Likewise.
55810         (struct test_ffI_f1_data): Likewise.
55811         (struct test_c_c_data): Likewise.
55812         (struct test_cc_c_data): Likewise.
55813         (struct test_f_i_data): Likewise.
55814         (struct test_ff_i_data): Likewise.
55815         (struct test_f_l_data): Likewise.
55816         (struct test_f_L_data): Likewise.
55817         (struct test_fFF_11_data): Likewise.
55818         (RM_): New macro.
55819         (RM_FE_DOWNWARD): Likewise.
55820         (RM_FE_TONEAREST): Likewise.
55821         (RM_FE_TOWARDZERO): Likewise.
55822         (RM_FE_UPWARD): Likewise.
55823         (RUN_TEST_LOOP_f_f): Update references to expected results.
55824         (RUN_TEST_LOOP_2_f): Likewise.
55825         (RUN_TEST_LOOP_fff_f): Likewise.
55826         (RUN_TEST_LOOP_c_f): Likewise.
55827         (RUN_TEST_LOOP_f_f1): Likewise.
55828         (RUN_TEST_LOOP_fF_f1): Likewise.
55829         (RUN_TEST_LOOP_fI_f1): Likewise.
55830         (RUN_TEST_LOOP_ffI_f1): Likewise.
55831         (RUN_TEST_LOOP_c_c): Likewise.
55832         (RUN_TEST_LOOP_cc_c): Likewise.
55833         (RUN_TEST_LOOP_f_i): Likewise.
55834         (RUN_TEST_LOOP_f_i_tg): Likewise.
55835         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55836         (RUN_TEST_LOOP_f_b): Likewise.
55837         (RUN_TEST_LOOP_f_b_tg): Likewise.
55838         (RUN_TEST_LOOP_f_l): Likewise.
55839         (RUN_TEST_LOOP_f_L): Likewise.
55840         (RUN_TEST_LOOP_fFF_11): Likewise.
55841         * math/gen-libm-test.pl (parse_args): Output four copies of
55842         expected results for each test.
55844         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55845         (__ASSUME_UTIMES): Remove.
55846         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55847         (__ASSUME_UTIMES): Likewise.
55849         * math/gen-auto-libm-tests.c: Update comment on output format.
55850         (output_for_one_input_case): Generate before-rounding and
55851         after-rounding information as conditions on output flags not
55852         floating-point format.
55853         * math/auto-libm-test-out: Regenerated.
55854         * math/gen-libm-test.pl (cond_value): New function.
55855         (or_cond_value): Use cond_value.
55856         (generate_testfile): Handle conditional exceptions.
55858 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55860         * math/libm-test.inc (max_valid_error): New variable.
55861         (init_max_error): Take new argument specifying whether function
55862         results are exactly determined.  Set max_valid_error and bound
55863         other variables for errors based on this argument.
55864         (set_max_error): Do not record results above max_valid_error.
55865         (check_float_internal): Only accept errors of up to 0.5ulps if
55866         also at most max_valid_error.
55867         (START): Take new argument EXACT and pass it to init_max_error.
55868         (acos_test): Update call to START.
55869         (acos_test_tonearest): Likewise.
55870         (acos_test_towardzero): Likewise.
55871         (acos_test_downward): Likewise.
55872         (acos_test_upward): Likewise.
55873         (acosh_test): Likewise.
55874         (asin_test): Likewise.
55875         (asin_test_tonearest): Likewise.
55876         (asin_test_towardzero): Likewise.
55877         (asin_test_downward): Likewise.
55878         (asin_test_upward): Likewise.
55879         (asinh_test): Likewise.
55880         (atan_test): Likewise.
55881         (atanh_test): Likewise.
55882         (atan2_test): Likewise.
55883         (cabs_test): Likewise.
55884         (cacos_test): Likewise.
55885         (cacosh_test): Likewise.
55886         (carg_test): Likewise.
55887         (casin_test): Likewise.
55888         (casinh_test): Likewise.
55889         (catan_test): Likewise.
55890         (catanh_test): Likewise.
55891         (cbrt_test): Likewise.
55892         (ccos_test): Likewise.
55893         (ccosh_test): Likewise.
55894         (ceil_test): Likewise.
55895         (cexp_test): Likewise.
55896         (cimag_test): Likewise.
55897         (clog_test): Likewise.
55898         (clog10_test): Likewise.
55899         (conj_test): Likewise.
55900         (copysign_test): Likewise.
55901         (cos_test): Likewise.
55902         (cos_test_tonearest): Likewise.
55903         (cos_test_towardzero): Likewise.
55904         (cos_test_downward): Likewise.
55905         (cos_test_upward): Likewise.
55906         (cosh_test): Likewise.
55907         (cosh_test_tonearest): Likewise.
55908         (cosh_test_towardzero): Likewise.
55909         (cosh_test_downward): Likewise.
55910         (cosh_test_upward): Likewise.
55911         (cpow_test): Likewise.
55912         (cproj_test): Likewise.
55913         (creal_test): Likewise.
55914         (csin_test): Likewise.
55915         (csinh_test): Likewise.
55916         (csqrt_test): Likewise.
55917         (ctan_test): Likewise.
55918         (ctan_test_tonearest): Likewise.
55919         (ctan_test_towardzero): Likewise.
55920         (ctan_test_downward): Likewise.
55921         (ctan_test_upward): Likewise.
55922         (ctanh_test): Likewise.
55923         (ctanh_test_tonearest): Likewise.
55924         (ctanh_test_towardzero): Likewise.
55925         (ctanh_test_downward): Likewise.
55926         (ctanh_test_upward): Likewise.
55927         (erf_test): Likewise.
55928         (erfc_test): Likewise.
55929         (exp_test): Likewise.
55930         (exp_test_tonearest): Likewise.
55931         (exp_test_towardzero): Likewise.
55932         (exp_test_downward): Likewise.
55933         (exp_test_upward): Likewise.
55934         (exp10_test): Likewise.
55935         (exp10_test_tonearest): Likewise.
55936         (exp10_test_towardzero): Likewise.
55937         (exp10_test_downward): Likewise.
55938         (exp10_test_upward): Likewise.
55939         (pow10_test): Likewise.
55940         (exp2_test): Likewise.
55941         (expm1_test): Likewise.
55942         (expm1_test_tonearest): Likewise.
55943         (expm1_test_towardzero): Likewise.
55944         (expm1_test_downward): Likewise.
55945         (expm1_test_upward): Likewise.
55946         (fabs_test): Likewise.
55947         (fdim_test): Likewise.
55948         (floor_test): Likewise.
55949         (fma_test): Likewise.
55950         (fma_test_towardzero): Likewise.
55951         (fma_test_downward): Likewise.
55952         (fma_test_upward): Likewise.
55953         (fmax_test): Likewise.
55954         (fmin_test): Likewise.
55955         (fmod_test): Likewise.
55956         (fpclassify_test): Likewise.
55957         (frexp_test): Likewise.
55958         (hypot_test): Likewise.
55959         (ilogb_test): Likewise.
55960         (isfinite_test): Likewise.
55961         (finite_test): Likewise.
55962         (isgreater_test): Likewise.
55963         (isgreaterequal_test): Likewise.
55964         (isinf_test): Likewise.
55965         (isless_test): Likewise.
55966         (islessequal_test): Likewise.
55967         (islessgreater_test): Likewise.
55968         (isnan_test): Likewise.
55969         (isnormal_test): Likewise.
55970         (issignaling_test): Likewise.
55971         (isunordered_test): Likewise.
55972         (j0_test): Likewise.
55973         (j1_test): Likewise.
55974         (jn_test): Likewise.
55975         (ldexp_test): Likewise.
55976         (lgamma_test): Likewise.
55977         (gamma_test): Likewise.
55978         (lrint_test): Likewise.
55979         (lrint_test_tonearest): Likewise.
55980         (lrint_test_towardzero): Likewise.
55981         (lrint_test_downward): Likewise.
55982         (lrint_test_upward): Likewise.
55983         (llrint_test): Likewise.
55984         (llrint_test_tonearest): Likewise.
55985         (llrint_test_towardzero): Likewise.
55986         (llrint_test_downward): Likewise.
55987         (llrint_test_upward): Likewise.
55988         (log_test): Likewise.
55989         (log10_test): Likewise.
55990         (log1p_test): Likewise.
55991         (log2_test): Likewise.
55992         (logb_test): Likewise.
55993         (logb_test_downward): Likewise.
55994         (lround_test): Likewise.
55995         (llround_test): Likewise.
55996         (modf_test): Likewise.
55997         (nearbyint_test): Likewise.
55998         (nextafter_test): Likewise.
55999         (nexttoward_test): Likewise.
56000         (pow_test): Likewise.
56001         (pow_test_tonearest): Likewise.
56002         (pow_test_towardzero): Likewise.
56003         (pow_test_downward): Likewise.
56004         (pow_test_upward): Likewise.
56005         (remainder_test): Likewise.
56006         (drem_test): Likewise.
56007         (remainder_test_tonearest): Likewise.
56008         (drem_test_tonearest): Likewise.
56009         (remainder_test_towardzero): Likewise.
56010         (drem_test_towardzero): Likewise.
56011         (remainder_test_downward): Likewise.
56012         (drem_test_downward): Likewise.
56013         (remainder_test_upward): Likewise.
56014         (drem_test_upward): Likewise.
56015         (remquo_test): Likewise.
56016         (rint_test): Likewise.
56017         (rint_test_tonearest): Likewise.
56018         (rint_test_towardzero): Likewise.
56019         (rint_test_downward): Likewise.
56020         (rint_test_upward): Likewise.
56021         (round_test): Likewise.
56022         (scalb_test): Likewise.
56023         (scalbn_test): Likewise.
56024         (scalbln_test): Likewise.
56025         (signbit_test): Likewise.
56026         (sin_test): Likewise.
56027         (sin_test_tonearest): Likewise.
56028         (sin_test_towardzero): Likewise.
56029         (sin_test_downward): Likewise.
56030         (sin_test_upward): Likewise.
56031         (sincos_test): Likewise.
56032         (sinh_test): Likewise.
56033         (sinh_test_tonearest): Likewise.
56034         (sinh_test_towardzero): Likewise.
56035         (sinh_test_downward): Likewise.
56036         (sinh_test_upward): Likewise.
56037         (sqrt_test): Likewise.
56038         (sqrt_test_tonearest): Likewise.
56039         (sqrt_test_towardzero): Likewise.
56040         (sqrt_test_downward): Likewise.
56041         (sqrt_test_upward): Likewise.
56042         (tan_test): Likewise.
56043         (tan_test_tonearest): Likewise.
56044         (tan_test_towardzero): Likewise.
56045         (tan_test_downward): Likewise.
56046         (tan_test_upward): Likewise.
56047         (tanh_test): Likewise.
56048         (tgamma_test): Likewise.
56049         (trunc_test): Likewise.
56050         (y0_test): Likewise.
56051         (y1_test): Likewise.
56052         (yn_test): Likewise.
56053         (significand_test): Likewise.
56055         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56056         individual tests in comment.
56057         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56058         (prev_max_error): New variable.
56059         (prev_real_max_error): Likewise.
56060         (prev_imag_max_error): Likewise.
56061         (compare_ulp_data): Don't refer to test names in comment.
56062         (find_test_ulps): Remove function.
56063         (find_function_ulps): Likewise.
56064         (find_complex_function_ulps): Likewise.
56065         (init_max_error): Take function name as argument.  Look up ulps
56066         for that function.
56067         (print_ulps): Remove function.
56068         (print_max_error): Use prev_max_error instead of calling
56069         find_function_ulps.
56070         (print_complex_max_error): Use prev_real_max_error and
56071         prev_imag_max_error instead of calling find_complex_function_ulps.
56072         (check_float_internal): Take max_ulp parameter instead of calling
56073         find_test_ulps.  Don't call print_ulps.
56074         (check_float): Update call to check_float_internal.
56075         (check_complex): Update calls to check_float_internal.
56076         (START): Pass argument to init_max_error.
56077         * math/gen-libm-test.pl (%results): Don't include "kind"
56078         information.
56079         (parse_ulps): Don't handle ulps of individual tests.
56080         (print_ulps_file): Likewise.
56081         (output_ulps): Likewise.
56082         * math/README.libm-test: Update.
56083         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56084         individual tests.
56085         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56086         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56087         * sysdeps/arm/libm-test-ulps: Likewise.
56088         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56089         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56090         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56091         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56092         * sysdeps/microblaze/libm-test-ulps: Likewise.
56093         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56094         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56095         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56096         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56097         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56098         * sysdeps/sh/libm-test-ulps: Likewise.
56099         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56100         * sysdeps/tile/libm-test-ulps: Likewise.
56101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56103 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56105         * math/libm-test.inc (print_complex_max_error): Check separately
56106         whether real and imaginary errors are within allowed range and
56107         pass 0 to print_complex_function_ulps instead of value within
56108         allowed range.
56110 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56112         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56113         formatting.
56114         (get_handles_fopen): Likewise.
56115         (do_write_test): Likewise.
56117         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56119         * libio/fileops.c (do_ftell): Use cached offset when
56120         available.
56121         * libio/iofwide.c (do_ftell_wide): Likewise.
56122         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56123         _IO_file_attach.
56124         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56126         [BZ #16532]
56127         * libio/libioP.h (get_file_offset): New function.
56128         * libio/fileops.c (get_file_offset): Likewise.
56129         (do_ftell): Likewise.
56130         (_IO_new_file_seekoff): Split out ftell logic.
56131         * libio/wfileops.c (do_ftell_wide): Likewise.
56132         (_IO_wfile_seekoff): Split out ftell logic.
56133         * libio/tst-ftell-active-handler.c: New test case.
56134         * libio/Makefile (tests): Add it.
56136 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56138         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56139         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56141 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56143         [BZ #16639]
56144         * nscd/connections.c (nscd_init): Call do_exit.
56145         (start_threads): Call do_exit and notify_parent.
56146         (begin_drop_privileges): Call do_exit.
56147         (finish_drop_privileges): Likewise.
56148         * nscd/selinux.c (preserve_capabilities): Likewise.
56149         (install_real_capabilities): Likewise.
56150         (nscd_selinux_enabled): Likewise.
56151         (avc_create_thread): Likewise.
56152         (avc_alloc_lock): Likewise.
56153         (nscd_avc_init): Likewise.
56154         * nscd/nscd.c (parent_fd): New static variable.
56155         (main): Create a pipe between parent and child processes.
56156         Skip closing parent_fd.
56157         (monitor_child): New function.
56158         (do_exit): Likewise.
56159         (notify_parent): Likewise.
56160         * nscd/nscd.h (notify_parent): Likewise.
56161         (do_exit): Likewise.
56163 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56165         * malloc/malloc.c (__libc_calloc): Revert last change.
56167 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56171 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56173         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56175         implementation.
56176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56177         (__libc_ifunc_impl_list): Likewise.
56178         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56179         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56180         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56181         * string/strrchr.c: Define STRRCHR.
56183 2014-02-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
56185         * benchtest/bench-strtok.c (simple_strtok): Delete.
56186         (strtok_string): Use as benchmark.
56187         * string/strtok (STRTOK): New macro.
56189 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56191         * manual/threads.texi: Add header and standard comments to all
56192         functions.
56194         * elf/dl-lookup.c (check_match): New function.
56195         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56196         (do_lookup_x): Remove nested function check_match. Use non-nested
56197         function check_match.
56199 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56201         * csu/Makefile (generated, before-compile): Use += rather than =.
56202         * catgets/Makefile (generated, generated-dirs): Likewise.
56203         * debug/Makefile (generated): Likewise.
56204         * dlfcn/Makefile (generated): Likewise.
56205         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56206         * iconvdata/Makefile (before-compile, generated): Likewise.
56207         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56208         * libio/Makefile (generated): Likewise.
56209         * malloc/Makefile (generated): Likewise.
56210         * manual/Makefile (generated, generated-dirs): Likewise.
56211         * misc/Makefile (generated): Likewise.
56212         * posix/Makefile (generated): Likewise.
56213         * resolv/Makefile (generated): Likewise.
56214         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56215         * timezone/Makefile (generated, generated-dirs): Likewise.
56217         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56219 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56222         power8 implementation.
56223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56224         file: POWER8 llround ifunc implementation.
56225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56226         (__lllround): Add POWER8 implementation.
56227         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56228         POWER8 llround implementation.
56230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56231         power8 implementation.
56232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56233         file: POWER8 llrint ifunc implementation.
56234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56235         Add POWER8 implementation.
56236         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56237         POWER8 llrint implementation.
56239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56240         power8 implementation.
56241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56242         file: POWER8 finite ifunc implementation.
56243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56244         Add POWER8 implementation.
56245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56246         Likewise.
56247         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56248         POWER8 finite implementation.
56249         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56251         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56252         power8 implementation.
56253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56254         file: POWER8 isinf ifunc implementation.
56255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56256         POWER8 implementation.
56257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56258         Likewise.
56259         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56260         isinf implementation.
56261         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56263         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56264         (INIT_ARCH): Add hwcap2 initialization.
56265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56266         power8 implementation.
56267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56268         file: POWER8 isnan ifunc implementation.
56269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56270         POWER8 implementation.
56271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56272         Likewise.
56273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56274         isnan implementation.
56275         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56277 2014-02-27  Joey Ye  <joey.ye@arm.com>
56279         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56280         (_FP_NANFRAC_Q): Set to zero.
56282 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56284         [BZ #16623]
56285         * math/auto-libm-test-in: New test inputs.
56286         * math/auto-libm-test-out: Regenerate.
56287         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56288         and DA.
56289         (__cos): Likewise.
56290         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56292 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56294         * scripts/evaluate-test.sh: Take new argument indicating whether
56295         failure is expected.
56296         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56297         indicating whether failure is expected.
56298         * conform/Makefile (test-xfail-run-conformtest): New variable.
56299         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56300         level.
56301         * posix/Makefile (test-xfail-annexc): New variable.
56302         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56304 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56306         * argp/Makefile: Include Makeconfig immediately after defining
56307         subdir.
56308         * assert/Makefile: Likewise.
56309         * benchtests/Makefile: Likewise.
56310         * catgets/Makefile: Likewise.
56311         * conform/Makefile: Likewise.
56312         * crypt/Makefile: Likewise.
56313         * csu/Makefile: Likewise.
56314         (all): Remove target.
56315         * ctype/Makefile: Include Makeconfig immediately after defining
56316         subdir.
56317         * debug/Makefile: Likewise.
56318         * dirent/Makefile: Likewise.
56319         * dlfcn/Makefile: Likewise.
56320         * gmon/Makefile: Likewise.
56321         * gnulib/Makefile: Likewise.
56322         * grp/Makefile: Likewise.
56323         * gshadow/Makefile: Likewise.
56324         * hesiod/Makefile: Likewise.
56325         * hurd/Makefile: Likewise.
56326         (all): Remove target.
56327         * iconvdata/Makefile: Include Makeconfig immediately after
56328         defining subdir.
56329         * inet/Makefile: Likewise.
56330         * intl/Makefile: Likewise.
56331         * io/Makefile: Likewise.
56332         * libio/Makefile: Likewise.
56333         (all): Remove target.
56334         * locale/Makefile: Include Makeconfig immediately after defining
56335         subdir.
56336         * login/Makefile: Likewise.
56337         * mach/Makefile: Likewise.
56338         (all): Remove target.
56339         * malloc/Makefile: Include Makeconfig immediately after defining
56340         subdir.
56341         (all): Remove target.
56342         * manual/Makefile: Include Makeconfig immediately after defining
56343         subdir.
56344         * math/Makefile: Likewise.
56345         * misc/Makefile: Likewise.
56346         * nis/Makefile: Likewise.
56347         * nss/Makefile: Likewise.
56348         * po/Makefile: Likewise.
56349         (all): Remove target.
56350         * posix/Makefile: Include Makeconfig immediately after defining
56351         subdir.
56352         * pwd/Makefile: Likewise.
56353         * resolv/Makefile: Likewise.
56354         * resource/Makefile: Likewise.
56355         * rt/Makefile: Likewise.
56356         * setjmp/Makefile: Likewise.
56357         * shadow/Makefile: Likewise.
56358         * signal/Makefile: Likewise.
56359         * socket/Makefile: Likewise.
56360         * soft-fp/Makefile: Likewise.
56361         * stdio-common/Makefile: Likewise.
56362         * stdlib/Makefile: Likewise.
56363         * streams/Makefile: Likewise.
56364         * string/Makefile: Likewise.
56365         * sunrpc/Makefile: Likewise.
56366         (all): Remove target.
56367         * sysvipc/Makefile: Include Makeconfig immediately after defining
56368         subdir.
56369         * termios/Makefile: Likewise.
56370         * time/Makefile: Likewise.
56371         * timezone/Makefile: Likewise.
56372         (all): Remove target.
56373         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56374         subdir.
56375         * wctype/Makefile: Likewise.
56377 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56379         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56380         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56381         (libc_feholdexcept_setround_mips): Ditto.
56382         (libc_feholdsetround): New.
56383         (libc_feholdsetroundf): New.
56384         (libc_feholdsetroundl): New.
56385         (libc_feupdateenv_test_mips): New.
56386         (libc_feupdateenv_test): New.
56387         (libc_feupdateenv_testf): New.
56388         (libc_feupdateenv_testl): New.
56389         (libc_feresetround): New.
56390         (libc_feresetroundf): New.
56391         (libc_feresetroundl): New.
56392         (libc_fetestexcept_mips): New.
56393         (libc_fetestexcept): New.
56394         (libc_fetestexceptf): New.
56395         (libc_fetestexceptl): New.
56396         (HAVE_RM_CTX): New.
56397         (libc_feholdexcept_setround_mips_ctx): New.
56398         (libc_feholdexcept_setround_ctx): New.
56399         (libc_feholdexcept_setroundf_ctx): New.
56400         (libc_feholdexcept_setroundl_ctx): New.
56401         (libc_fesetenv_mips_ctx): New.
56402         (libc_fesetenv_ctx): New.
56403         (libc_fesetenv_ctxf): New.
56404         (libc_fesetenv_ctxl): New.
56405         (libc_feupdateenv_mips_ctx): New.
56406         (libc_feupdateenv_ctx): New.
56407         (libc_feupdateenvf_ctx): New.
56408         (libc_feupdateenvl_ctx): New.
56409         (libc_feholdsetround_mips_ctx): New.
56410         (libc_feholdsetround_ctx): New.
56411         (libc_feholdsetroundf_ctx): New.
56412         (libc_feholdsetroundl_ctx): New.
56413         (libc_feresetround_mips_ctx): New.
56414         (libc_feresetround_ctx): New.
56415         (libc_feresetroundf_ctx): New.
56416         (libc_feresetroundl_ctx): New.
56418 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56420         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56422         * manual/ipc.texi: New file.
56423         * manual/Makefile (chapters): Add ipc.
56424         * manual/job.texi: Add "Inter-Process Communication" to next.
56425         * manual/process.texi: Add "Inter-Process Communication" to prev.
56427 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56431 2014-02-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
56433         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56435         * manual/arith.texi: Fix spaces after sentences.
56436         * manual/charset.texi: Likewise.
56437         * manual/errno.texi: Likewise.
56438         * manual/install.texi: Likewise.
56439         * manual/llio.texi: Likewise.
56440         * manual/locale.texi: Likewise.
56441         * manual/maint.texi: Likewise.
56442         * manual/math.texi: Likewise.
56443         * manual/memory.texi: Likewise.
56444         * manual/message.texi: Likewise.
56445         * manual/probes.texi: Likewise.
56446         * manual/resource.texi: Likewise.
56447         * manual/signal.texi: Likewise.
56448         * manual/socket.texi: Likewise.
56449         * manual/stdio.texi: Likewise.
56450         * manual/string.texi: Likewise.
56451         * manual/time.texi: Likewise.
56452         * manual/users.texi: Likewise.
56454 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56456         [BZ #16632]
56457         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56458         _DEFAULT_SOURCE is defined.
56460 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56461             Carlos O'Donell  <carlos@redhat.com>
56463         [BZ #16613]
56464         * elf/dl-tls.c (_dl_count_modids): New function.
56465         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56466         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56467         audit library and increment generation counter.
56468         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56469         * elf/tst-audit9.c: New file.
56470         * elf/tst-auditmod9a.c: New file.
56471         * elf/tst-auditmod9b.c: New file.
56472         * elf/Makefile: Add rules to build and run tst-audit9.
56474 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56476         [BZ #15347]
56477         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56479 2014-02-25  Will Newton  <will.newton@linaro.org>
56481         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56482         (__longjmp): Restore sp and lr before restoring callee
56483         saved registers.  Add longjmp and longjmp_target
56484         SystemTap probe point.
56485         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56486         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56487         Define to zero to match jmpbuf layout.
56488         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56489         (__sigsetjmp): Save sp and lr before saving callee
56490         saved registers.  Add setjmp SystemTap probe point.
56492 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56494         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56496 2014-02-24  Andreas Schwab  <schwab@suse.de>
56498         [BZ #15804]
56499         * elf/pldd.c (wait_for_ptrace_stop): New function.
56500         (main): Call it after attaching.
56502 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56504         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56505         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56506         Versions files is now verboten.
56507         * hurd/Versions (libc: GLIBC_2.0):
56508         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56509         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56510         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56511         * mach/Versions: Likewise.
56513         * csu/Versions: Remove unused %include.
56514         * resolv/Versions: Likewise.
56516 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56518         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56519         ($(objpfx)check-local-headers.out): Likewise.
56520         ($(objpfx)begin-end-check.out): Likewise.
56521         * Makerules (check-abi-%.out): Likewise.
56522         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56523         ($(objpfx)test2.cat): Likewise.
56524         ($(objpfx)de/libc.cat): Likewise.
56525         ($(objpfx)test-gencat.out): Likewise.
56526         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56527         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56528         ($(objpfx)noload-mem): Likewise.
56529         ($(objpfx)tst-pathopt.out): Likewise.
56530         ($(objpfx)tst-rtld-load-self.out): Likewise.
56531         ($(objpfx)tst-array1-cmp.out): Likewise.
56532         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56533         ($(objpfx)tst-array2-cmp.out): Likewise.
56534         ($(objpfx)tst-array3-cmp.out): Likewise.
56535         ($(objpfx)tst-array4-cmp.out): Likewise.
56536         ($(objpfx)tst-array5-cmp.out): Likewise.
56537         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56538         ($(objpfx)check-textrel.out): Likewise.
56539         ($(objpfx)check-execstack.out): Likewise.
56540         ($(objpfx)check-localplt.out): Likewise.
56541         ($(objpfx)order2-cmp.out): Likewise.
56542         ($(objpfx)tst-leaks1-mem): Likewise.
56543         ($(objpfx)tst-leaks1-static-mem): Likewise.
56544         ($(objpfx)tst-initorder-cmp.out): Likewise.
56545         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56546         ($(objpfx)tst-unused-dep.out): Likewise.
56547         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56548         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56549         * iconv/Makefile (test-iconvconfig): Likewise.
56550         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56551         ($(objpfx)iconv-test.out): Likewise.
56552         ($(objpfx)tst-tables.out): Likewise.
56553         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56554         ($(objpfx)tst-gettext.out): Likewise.
56555         ($(objpfx)tst-translit.out): Likewise.
56556         ($(objpfx)tst-gettext2.out): Likewise.
56557         ($(objpfx)tst-gettext4.out): Likewise.
56558         ($(objpfx)tst-gettext6.out): Likewise.
56559         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56560         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56561         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56562         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56563         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56564         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56565         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56566         ($(objpfx)wordexp-tst.out): Likewise.
56567         ($(objpfx)annexc.out): Likewise.
56568         ($(objpfx)tst-fnmatch-mem): Likewise.
56569         ($(objpfx)bug-regex2-mem): Likewise.
56570         ($(objpfx)bug-regex14-mem): Likewise.
56571         ($(objpfx)bug-regex21-mem): Likewise.
56572         ($(objpfx)bug-regex31-mem): Likewise.
56573         ($(objpfx)tst-vfork3-mem): Likewise.
56574         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56575         ($(objpfx)tst-pcre-mem): Likewise.
56576         ($(objpfx)tst-boost-mem): Likewise.
56577         ($(objpfx)tst-getconf.out): Likewise.
56578         ($(objpfx)bug-ga2-mem): Likewise.
56579         ($(objpfx)bug-glob2-mem): Likewise.
56580         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56581         ($(objpfx)mtrace-tst-leaks2): Likewise.
56582         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56583         ($(objpfx)tst-printf.out): Likewise.
56584         ($(objpfx)tst-setvbuf1.out): Likewise.
56585         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56586         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56587         ($(objpfx)tst-fmtmsg.out): Likewise.
56588         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56589         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56591         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56592         * bits/sigaction.h [__USE_MISC]: Likewise.
56593         * bits/waitstatus.h: Update #endif comments.
56594         * ctype/ctype.h: Likewise.
56595         * dirent/dirent.h: Likewise.
56596         [__USE_MISC]: Remove redundant conditionals.
56597         * grp/grp.h: Update #endif comments.
56598         [__USE_GNU]: Remove redundant conditionals.
56599         [__USE_MISC]: Likewise.
56600         * inet/netinet/in.h [__USE_GNU]: Likewise.
56601         * io/sys/stat.h [__USE_MISC]: Likewise.
56602         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56603         * libio/bits/stdio.h: Update #endif comments.
56604         [__USE_MISC]: Remove redundant conditionals.
56605         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56606         * libio/stdio.h: Update #endif comments.
56607         [__USE_MISC]: Remove redundant conditionals.
56608         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56609         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56610         * math/math.h: Update #else and #endif comments.
56611         [__USE_MISC]: Remove redundant conditionals.
56612         * misc/sys/uio.h: Update #endif comments.
56613         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56614         * posix/glob.h [__USE_MISC]: Likewise.
56615         * posix/sys/types.h: Update #endif comments.
56616         [__USE_MISC]: Remove redundant conditionals.
56617         * posix/sys/wait.h: Update #endif comments.
56618         [__USE_MISC]: Remove redundant conditionals.
56619         * posix/unistd.h: Update #endif comments.
56620         [__USE_MISC]: Remove redundant conditionals.
56621         * pwd/pwd.h [__USE_GNU]: Likewise.
56622         [__USE_MISC]: Likewise.
56623         * resolv/netdb.h [__USE_GNU]: Likewise.
56624         * signal/signal.h: Update #endif comments.
56625         [__USE_MISC]: Remove redundant conditionals.
56626         * stdlib/stdlib.h: Update #else and #endif comments.
56627         [__USE_MISC]: Remove redundant conditionals.
56628         [__USE_GNU]: Likewise.
56629         * string/bits/string2.h [__USE_MISC]: Likewise.
56630         * string/string.h: Update #endif comments.
56631         [__USE_MISC]: Remove redundant conditionals.
56632         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56633         Likewise.
56634         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56635         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56636         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56637         Likewise.
56638         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56639         Likewise.
56640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56641         comments.
56642         [__USE_MISC]: Remove redundant conditionals.
56643         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56644         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56645         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56646         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56647         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56648         Likewise.
56649         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56650         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56651         Likewise.
56652         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56653         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56654         Likewise.
56655         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56656         Likewise.
56657         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56658         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56659         Likewise.
56660         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56661         Likewise.
56662         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56663         * sysdeps/x86/bits/string.h: Update #endif comments.
56664         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56665         conditionals.
56666         * time/sys/time.h: Update #endif comments.
56667         * time/time.h: Likewise.
56668         [__USE_MISC]: Remove redundant conditionals.
56670 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56672         [BZ #16600]
56673         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56675 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56677         * Versions.def (librt): Add GLIBC_2.17.
56679 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56681         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56682         synonym for _SYS_AUXV_H to allow direct inclusion.
56683         * sysdeps/sparc/bits/hwcap.h: Likewise.
56684         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56685         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56686         * sysdeps/sparc/sysdep.h: Likewise.
56688 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56690         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56692 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56694         * benchtests/bench-strrchr.c: Print length instead of position.
56696 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56698         [BZ #16611]
56699         * sysdeps/unix/sysv/linux/kernel-features.h
56700         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56701         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56702         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56703         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56704         Likewise.
56705         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56706         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56707         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56708         (__ASSUME_SENDMMSG): Define instead of using previous
56709         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56710         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56711         (__ASSUME_SENDMMSG_SYSCALL): Define.
56712         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56713         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56714         Likewise.
56715         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56716         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56717         Likewise.
56718         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56719         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56720         Likewise.
56721         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56722         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56723         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56724         [__ASSUME_SENDMMSG]: Change conditionals to
56725         [__ASSUME_SENDMMSG_SOCKETCALL].
56726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56727         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56728         Define.
56729         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56730         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56731         Likewise.
56732         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56733         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56734         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56735         [!__ASSUME_SENDMMSG]: Change conditional to
56736         [!__ASSUME_SENDMMSG_SOCKETCALL].
56737         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56738         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56739         Define.
56741         [BZ #16610]
56742         * sysdeps/unix/sysv/linux/kernel-features.h
56743         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56744         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56745         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56746         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56747         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56748         [__i386__ || __sparc__]
56749         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56750         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56751         (__ASSUME_RECVMMSG): Define instead of using previous
56752         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56753         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56754         (__ASSUME_RECVMMSG_SYSCALL): Define.
56755         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56756         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56757         Likewise.
56758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56759         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56760         Likewise.
56761         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56762         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56763         Likewise.
56764         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56765         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56766         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56767         [__ASSUME_RECVMMSG]: Change condition to
56768         [__ASSUME_RECVMMSG_SOCKETCALL].
56769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56770         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56771         Define.
56772         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56773         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56774         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56775         Likewise.
56776         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56777         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56778         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56779         [!__ASSUME_RECVMMSG]: Change condition to
56780         [!__ASSUME_RECVMMSG_SOCKETCALL].
56781         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56782         (__ASSUME_RECVMMSG_SYSCALL): Define.
56784         [BZ #16609]
56785         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56786         __powerpc__ || __s390__ || __sh__ || __sparc__]
56787         (__ASSUME_SOCKETCALL): Define.
56788         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56789         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56790         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56791         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56792         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56793         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56794         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56795         (__ASSUME_ACCEPT4): Define instead of using previous
56796         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56797         __powerpc__ || __sparc__ || __s390__)] condition.
56798         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56799         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56800         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56801         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56802         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56803         [!__ASSUME_ACCEPT4]: Change condition to
56804         [!__ASSUME_ACCEPT4_SOCKETCALL].
56805         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56806         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56807         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56808         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56809         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56810         __ASSUME_ACCEPT4_SYSCALL.
56811         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56812         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56813         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56814         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56815         __ASSUME_ACCEPT4_SYSCALL.
56816         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56817         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56818         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56819         [__ASSUME_ACCEPT4]: Change condition to
56820         [__ASSUME_ACCEPT4_SOCKETCALL].
56821         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56822         (__ASSUME_SOCKETCALL): Define.
56823         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56824         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56825         (__ASSUME_SOCKETCALL): Define.
56826         (__ASSUME_ACCEPT4): Remove.
56827         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56828         Define.
56829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56830         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56831         Likewise.
56832         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56833         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56835         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56836         macro.
56837         (HWCAP_ARM_LPAE): Likewise.
56838         (HWCAP_ARM_EVTSTRM): Likewise.
56839         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56840         Add vpfd32, lpae and evtstrm.
56841         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56842         Increase to 22.
56844 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56846         * math/auto-libm-test-in: Add tests of clog10.
56847         * math/auto-libm-test-out: Regenerated.
56848         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56849         * sysdeps/i386/fpu/libm-test-ulps: Update.
56850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56852 2014-02-18  Andreas Schwab  <schwab@suse.de>
56854         [BZ #16574]
56855         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56856         Store non-zero if the second buffer was newly allocated.
56857         (send_dg): Likewise.
56858         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56859         to send_vc and send_dg.
56860         (res_nsend): Pass NULL for ansp2_malloced.
56861         * resolv/res_query.c (__libc_res_nquery): Add parameter
56862         answerp2_malloced and pass it down to __libc_res_nsend.
56863         (res_nquery): Pass additional NULL to __libc_res_nquery.
56864         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56865         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56866         second answer buffer if answerp2_malloced was set.
56867         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56868         (__libc_res_nquerydomain): Add parameter
56869         answerp2_malloced and pass it down to __libc_res_nquery.
56870         (res_nquerydomain): Pass additional NULL to
56871         __libc_res_nquerydomain.
56872         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56873         additional NULL to __libc_res_nsend and __libc_res_nquery.
56874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56875         additional NULL to __libc_res_nsearch.
56876         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56877         parameter of __libc_res_nsearch to check for separately allocated
56878         second buffer.
56879         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56880         __libc_res_nquery.
56881         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56882         additional NULL to __libc_res_nquery.
56883         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56884         __libc_res_nsearch.
56885         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56886         * include/resolv.h: Update prototypes of __libc_res_nquery,
56887         __libc_res_nsearch, __libc_res_nsend.
56889 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56891         * math/auto-libm-test-in: Add tests of fma.
56892         * math/auto-libm-test-out: Regenerated.
56893         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56894         (fma_towardzero_test_data): Likewise.
56895         (fma_downward_test_data): Likewise.
56896         (fma_upward_test_data): Likewise.
56897         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56898         mpc_mode.
56899         (rounding_modes): Add values for new field.
56900         (func_calc_method): Add value mpfr_fff_f.
56901         (func_calc_desc): Add mpfr_fff_f union field.
56902         (test_function): Add field exact_args.
56903         (FUNC): Add macro argument EXACT_ARGS.
56904         (FUNC_mpfr_f_f): Update call to FUNC.
56905         (FUNC_mpfr_f_f): Likewise.
56906         (FUNC_mpfr_ff_f): Likewise.
56907         (FUNC_mpfr_if_f): Likewise.
56908         (FUNC_mpc_c_f): Likewise.
56909         (FUNC_mpc_c_c): Likewise.
56910         (test_functions): Add fma.  Update calls to FUNC.
56911         (handle_input_arg): Add argument exact_args.
56912         (add_test): Update call to handle_input_arg.
56913         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56914         (output_for_one_input_case): Update call to calc_generic_results.
56915         Recalculate exact zero results in each rounding mode.
56917         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56918         non-negative before setting low bit.
56919         * math/auto-libm-test-in: Mark one asin test possibly having
56920         spurious underflow.
56921         * math/auto-libm-test-out: Regenerated.
56922         * sysdeps/i386/fpu/libm-test-ulps: Update.
56923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56925 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56927         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56928         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56929         ports/sysdeps/unix/sysv/linux/microblaze.
56930         * README: Add missing listing for microblaze*-*-linux-gnu.
56932 2014-02-16  Ondƙej BĂ­lka  <neleai@seznam.cz>
56934         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56935         duplicate code
56937 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56939         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56940         * sysdeps/unix/sysv/linux/ia64: Move directory from
56941         ports/sysdeps/unix/sysv/linux/ia64.
56942         * README: Update listing for ia64-*-linux-gnu.
56944 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56945             Joseph Myers  <joseph@codesourcery.com>
56947         * Makeconfig (test-name): New variable.
56948         (evaluate-test): Likewise.
56949         * Makerules (do-test-clean): Remove .test-result files.
56950         (common-mostlyclean): Likewise.
56951         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56952         * scripts/evaluate-test.sh: New file.
56954 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56956         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56957         separate $(objpfx)tst-fopenloc-cmp.out and
56958         $(objpfx)tst-fopenloc-mem.out targets.
56959         (tests): Update dependencies.
56960         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56961         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56962         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56963         (tst-rxspencer-no-utf8-ARGS): New variable.
56964         (tst-rxspencer-no-utf8-ENV): Likewise.
56965         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56966         instead of $(objpfx)tst-rxspencer-mem.
56967         ($(objpfx)tst-rxspencer-mem): Change target to
56968         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56969         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56970         * posix/tst-rxspencer-no-utf8.c: New file.
56972         * elf/Makefile ($(objpfx)order.out): Remove rule.
56973         [$(run-built-tests) = yes] (tests): Depend on
56974         $(objpfx)order-cmp.out.
56975         ($(objpfx)order-cmp.out): New rule.
56976         [$(run-built-tests) = yes] (tests): Depend on
56977         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56978         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56979         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56980         $(objpfx)tst-array5-static-cmp.out.
56981         ($(objpfx)tst-array1.out): Remove rule.
56982         ($(objpfx)tst-array1-cmp.out): New rule.
56983         ($(objpfx)tst-array1-static.out): Remove rule.
56984         ($(objpfx)tst-array1-static-cmp.out): New rule.
56985         ($(objpfx)tst-array2.out): Remove rule.
56986         ($(objpfx)tst-array2-cmp.out): New rule.
56987         ($(objpfx)tst-array3.out): Remove rule.
56988         ($(objpfx)tst-array3-cmp.out): New rule.
56989         ($(objpfx)tst-array4.out): Remove rule.
56990         ($(objpfx)tst-array4-cmp.out): New rule.
56991         ($(objpfx)tst-array5.out): Remove rule.
56992         ($(objpfx)tst-array5-cmp.out): New rule.
56993         ($(objpfx)tst-array5-static.out): Remove rule.
56994         ($(objpfx)tst-array5-static-cmp.out): New rule.
56995         [$(run-built-tests) = yes] (tests): Depend on
56996         $(objpfx)order2-cmp.out.
56997         ($(objpfx)order2.out): Remove rule.
56998         ($(objpfx)order2-cmp.out): New rule.
56999         ($(objpfx)tst-initorder.out): Remove rule.
57000         [$(run-built-tests) = yes] (tests): Depend on
57001         $(objpfx)tst-initorder-cmp.out.
57002         ($(objpfx)tst-initorder-cmp.out): New rule.
57003         ($(objpfx)tst-initorder2.out): Remove rule.
57004         [$(run-built-tests) = yes] (tests): Depend on
57005         $(objpfx)tst-initorder2-cmp.out.
57006         ($(objpfx)tst-initorder2-cmp.out): New rule.
57007         [$(run-built-tests) = yes] (tests): Depend on
57008         $(objpfx)tst-unused-dep-cmp.out.
57009         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57010         ($(objpfx)tst-unused-dep-cmp.out): New rule.
57011         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57012         on $(objpfx)tst-setvbuf1-cmp.out.
57013         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57014         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57015         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57016         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57017         ($(objpfx)tst-svc.out): Remove rule.
57018         ($(objpfx)tst-svc-cmp.out): New rule.
57020 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
57022         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57023         * ctype/ctype.h [__USE_MISC]: Likewise.
57024         * dirent/dirent.h [__USE_MISC]: Likewise.
57025         * grp/grp.h [__USE_MISC]: Likewise.
57026         * io/fcntl.h [__USE_MISC]: Likewise.
57027         * io/sys/stat.h [__USE_MISC]: Likewise.
57028         * libio/stdio.h [__USE_MISC]: Likewise.
57029         * posix/unistd.h [__USE_MISC]: Likewise.
57030         * pwd/pwd.h [__USE_MISC]: Likewise.
57031         * stdlib.h [__USE_MISC]: Likewise.
57032         * string/bits/string2.h [__USE_MISC]: Likewise.
57033         * string/string.h [__USE_MISC]: Likewise.
57034         * time/time.h [__USE_MISC]: Likewise.
57036 2014-02-13  Andreas Schwab  <schwab@suse.de>
57038         [BZ #16574]
57039         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57040         second answer buffer if it was separately allocated.
57042 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57044         * sysdeps/mips/math-tests.h: Include <features.h>.
57045         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57046         (ROUNDING_TESTS_long_double): Do not define.
57047         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57048         (EXCEPTION_TESTS_long_double): Likewise.
57049         * sysdeps/mips/mips64/libm-test-ulps: Update.
57051         * include/features.h (__USE_BSD): Remove macro definitions.
57052         (__USE_SVID): Likewise.
57053         (_BSD_SOURCE): Likewise.
57054         (_SVID_SOURCE): Likewise.
57055         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57056         from definition of _DEFAULT_SOURCE.
57057         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57058         [_DEFAULT_SOURCE].
57059         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57060         * bits/mman.h [__USE_BSD]: Likewise.
57061         * bits/termios.h [__USE_BSD]: Likewise.
57062         * bits/waitstatus.h [__USE_BSD]: Likewise.
57063         * ctype/ctype.h [__USE_SVID]: Likewise.
57064         * dirent/dirent.h [__USE_BSD]: Likewise.
57065         * grp/grp.h [__USE_SVID]: Likewise.
57066         [__USE_BSD]: Likewise.
57067         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57068         * io/fcntl.h [__USE_BSD]: Likewise.
57069         * io/ftw.h [__USE_BSD]: Likewise.
57070         * io/sys/stat.h [__USE_BSD]: Likewise.
57071         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57072         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57073         * libio/stdio.h [__USE_SVID]: Likewise.
57074         [__USE_BSD]: Likewise.
57075         * math/math.h [__USE_SVID]: Likewise.
57076         [__USE_BSD]: Likewise.
57077         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57078         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57079         * misc/search.h [__USE_SVID]: Likewise.
57080         * misc/sys/mman.h [__USE_BSD]: Likewise.
57081         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57082         * misc/sys/uio.h [__USE_BSD]: Likewise.
57083         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57084         * posix/glob.h [__USE_BSD]: Likewise.
57085         * posix/regex.h [__USE_BSD]: Likewise.
57086         * posix/sys/types.h [__USE_BSD]: Likewise.
57087         [__USE_SVID]: Likewise.
57088         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57089         * posix/sys/wait.h [__USE_BSD]: Likewise.
57090         [__USE_SVID]: Likewise.
57091         * posix/unistd.h [__USE_BSD]: Likewise.
57092         [__USE_SVID]: Likewise.
57093         * pwd/pwd.h [__USE_SVID]: Likewise.
57094         * resolv/netdb.h [__USE_BSD]: Likewise.
57095         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57096         * signal/signal.h [__USE_BSD]: Likewise.
57097         [__USE_SVID]: Likewise.
57098         * socket/sys/socket.h [__USE_BSD]: Likewise.
57099         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57100         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57101         [__USE_SVID]: Likewise.
57102         * string/bits/string2.h [__USE_BSD]: Likewise.
57103         [__USE_SVID]: Likewise.
57104         * string/bits/string3.h [__USE_BSD]: Likewise.
57105         * string/endian.h [__USE_BSD]: Likewise.
57106         * string/string.h [__USE_SVID]: Likewise.
57107         [__USE_BSD]: Likewise.
57108         * string/strings.h [__USE_BSD]: Likewise.
57109         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57110         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57111         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57112         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57113         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57114         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57115         Likewise.
57116         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57117         Likewise.
57118         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57119         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57120         Likewise.
57121         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57122         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57123         Likewise.
57124         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57125         Likewise.
57126         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57127         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57128         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57129         Likewise.
57130         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57131         Likewise.
57132         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57133         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57134         * termios/termios.h [__USE_BSD]: Likewise.
57135         * time/sys/time.h [__USE_BSD]: Likewise.
57136         * time/time.h [__USE_BSD]: Likewise.
57137         [__USE_SVID]: Likewise.
57139         * Makefile (subdir_targets): Remove subdir_lint.out.
57141         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57142         (do-tst-printf): Likewise.
57143         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57144         $(objpfx)tst-printf.out.
57146         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57148         * Makerules (check-abi-%): Change target to
57149         $(objpfx)check-abi-%.out.
57150         (check-abi target): Update dependencies.
57151         (check-abi-pattern variable): Redirect output of diff to $@.
57152         (check-abi variable): Likewise.
57153         * elf/Makefile (check-abi): Update dependencies.
57155         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57156         unused.
57157         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57158         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57159         subnormal range.
57160         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57161         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57162         value has largest subnormal exponent.
57163         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57164         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57165         * sysdeps/aarch64/soft-fp/sfp-machine.h
57166         (_FP_TININESS_AFTER_ROUNDING): New macro.
57167         * sysdeps/alpha/soft-fp/sfp-machine.h
57168         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57169         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57170         Likewise.
57171         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57172         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57173         * sysdeps/mips/soft-fp/sfp-machine.h
57174         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57175         * sysdeps/powerpc/soft-fp/sfp-machine.h
57176         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57177         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57178         Likewise.
57179         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57180         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57181         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57182         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57183         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57184         Likewise.
57186 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57188         [BZ #16545]
57189         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57190         model 1.
57192 2014-02-12  Richard Henderson  <rth@redhat.com>
57194         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57195         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57196         * sysdeps/unix/sysv/linux/alpha: Move directory from
57197         ports/sysdeps/unix/sysv/linux/alpha.
57198         * README: Update listing for alpha-*-linux-gnu.
57200 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57202         * include/features.h: Update comment documenting feature test
57203         macros.
57204         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57205         _DEFAULT_SOURCE.
57206         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57207         (_SVID_SOURCE): Likewise.
57208         (_DEFAULT_SOURCE): Update description of default features.
57209         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57210         with _GNU_SOURCE.
57211         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57212         (S_ISVTX): Likewise.
57213         * manual/math.texi (Mathematical Constants): Likewise.
57214         * manual/signal.texi (Interrupted Primitives): Likewise.
57215         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57216         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57217         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57218         Don't refer to _SVID_SOURCE in warning text.
57220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57222         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57223         already defined.
57224         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57225         * sysdeps/mips/dl-lookup.c: Remove.
57226         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57228 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57230         [BZ #16447]
57231         * math/auto-libm-test-in: Add testcase for expl.
57232         * math/auto-libm-test-out: Regenerate.
57233         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57234         calculation of unsafe.
57235         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57237 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57239         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57240         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57241         ports/sysdeps/unix/sysv/linux/aarch64.
57242         * README: Update listing for aarch64*-*-linux-gnu.
57244 2014-02-11  Will Newton  <will.newton@linaro.org>
57246         * manual/probes.texi (Mathematical Function Probes): Use
57247         "triggered" instead of "hit".
57249         * manual/probes.texi (Internal Probes): Add documentation
57250         of setjmp, longjmp and longjmp_target probes.
57252         * include/stap-probe.h: Add comment about probe argument
57253         format.
57255         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57256         definition.  (tr_where, tr_freehook, tr_mallochook,
57257         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57259 2014-02-11  David S. Miller  <davem@davemloft.net>
57261         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57262         processing int_tests.
57264 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57266         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57267         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57268         * sysdeps/unix/sysv/linux/mips: Move directory from
57269         ports/sysdeps/unix/sysv/linux/mips.
57270         * README: Update listing for mips-*-linux-gnu and
57271         mips64-*-linux-gnu.
57273 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57275         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57276         * sysdeps/unix/sysv/linux/m68k: Move directory from
57277         ports/sysdeps/unix/sysv/linux/m68k.
57278         * README: Update listing for m68k-*-linux-gnu.
57280 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57282         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57283         * sysdeps/unix/sysv/linux/generic: Move directory from
57284         ports/sysdeps/unix/sysv/linux/generic.
57285         * sysdeps/unix/sysv/linux/tile: Move directory from
57286         ports/sysdeps/unix/sysv/linux/tile.
57287         * README: Update listing for tile*-*-linux-gnu.
57289 2014-02-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
57291         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57292         __builtin_expect.
57293         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57294         * catgets/open_catalog.c (__open_catalog): Likewise.
57295         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57296         * debug/confstr_chk.c: Likewise.
57297         * debug/fread_chk.c (__fread_chk): Likewise.
57298         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57299         * debug/getgroups_chk.c: Likewise.
57300         * debug/mbsnrtowcs_chk.c: Likewise.
57301         * debug/mbsrtowcs_chk.c: Likewise.
57302         * debug/mbstowcs_chk.c: Likewise.
57303         * debug/memcpy_chk.c: Likewise.
57304         * debug/memmove_chk.c: Likewise.
57305         * debug/mempcpy_chk.c: Likewise.
57306         * debug/memset_chk.c: Likewise.
57307         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57308         * debug/strcat_chk.c (__strcat_chk): Likewise.
57309         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57310         * debug/strncat_chk.c (__strncat_chk): Likewise.
57311         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57312         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57313         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57314         * debug/wcpncpy_chk.c: Likewise.
57315         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57316         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57317         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57318         * debug/wcsncpy_chk.c: Likewise.
57319         * debug/wcsnrtombs_chk.c: Likewise.
57320         * debug/wcsrtombs_chk.c: Likewise.
57321         * debug/wcstombs_chk.c: Likewise.
57322         * debug/wmemcpy_chk.c: Likewise.
57323         * debug/wmemmove_chk.c: Likewise.
57324         * debug/wmempcpy_chk.c: Likewise.
57325         * debug/wmemset_chk.c: Likewise.
57326         * dirent/scandirat.c (SCANDIRAT): Likewise.
57327         * dlfcn/dladdr1.c (dladdr1): Likewise.
57328         * dlfcn/dladdr.c (dladdr): Likewise.
57329         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57330         * dlfcn/dlerror.c (__dlerror): Likewise.
57331         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57332         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57333         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57334         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57335         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57336         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57337         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57338         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57339         Likewise.
57340         * elf/dl-conflict.c: Likewise.
57341         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57342         * elf/dl-dst.h: Likewise.
57343         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57344         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57346         * elf/dl-init.c (call_init, _dl_init): Likewise.
57347         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57348         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57349         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57350         Likewise.
57351         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57352         Likewise.
57353         * elf/dl-minimal.c (__libc_memalign): Likewise.
57354         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57355         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57356         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57357         * elf/dl-sym.c (do_sym): Likewise.
57358         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57359         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57360         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57361         * elf/dl-writev.h (_dl_writev): Likewise.
57362         * elf/ldconfig.c (search_dir): Likewise.
57363         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57364         (dl_main): Likewise.
57365         * elf/setup-vdso.h (setup_vdso): Likewise.
57366         * grp/compat-initgroups.c (compat_call): Likewise.
57367         * grp/fgetgrent.c (fgetgrent): Likewise.
57368         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57369         * grp/putgrent.c (putgrent): Likewise.
57370         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57371         Likewise.
57372         * hurd/hurdinit.c: Likewise.
57373         * iconvdata/8bit-gap.c (struct): Likewise.
57374         * iconvdata/ansi_x3.110.c : Likewise.
57375         * iconvdata/big5.c : Likewise.
57376         * iconvdata/big5hkscs.c : Likewise.
57377         * iconvdata/cp1255.c: Likewise.
57378         * iconvdata/cp1258.c : Likewise.
57379         * iconvdata/cp932.c : Likewise.
57380         * iconvdata/euc-cn.c: Likewise.
57381         * iconvdata/euc-jisx0213.c : Likewise.
57382         * iconvdata/euc-jp.c: Likewise.
57383         * iconvdata/euc-jp-ms.c : Likewise.
57384         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57385         * iconvdata/gb18030.c : Likewise.
57386         * iconvdata/gbbig5.c (const): Likewise.
57387         * iconvdata/gbgbk.c: Likewise.
57388         * iconvdata/gbk.c : Likewise.
57389         * iconvdata/ibm1364.c : Likewise.
57390         * iconvdata/ibm930.c : Likewise.
57391         * iconvdata/ibm932.c: Likewise.
57392         * iconvdata/ibm933.c : Likewise.
57393         * iconvdata/ibm935.c : Likewise.
57394         * iconvdata/ibm937.c : Likewise.
57395         * iconvdata/ibm939.c : Likewise.
57396         * iconvdata/ibm943.c: Likewise.
57397         * iconvdata/iso_11548-1.c: Likewise.
57398         * iconvdata/iso-2022-cn.c : Likewise.
57399         * iconvdata/iso-2022-cn-ext.c : Likewise.
57400         * iconvdata/iso-2022-jp-3.c: Likewise.
57401         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57402         * iconvdata/iso-2022-kr.c : Likewise.
57403         * iconvdata/iso646.c (gconv_end): Likewise.
57404         * iconvdata/iso_6937-2.c : Likewise.
57405         * iconvdata/iso_6937.c : Likewise.
57406         * iconvdata/iso8859-1.c: Likewise.
57407         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57408         * iconvdata/shift_jisx0213.c : Likewise.
57409         * iconvdata/sjis.c : Likewise.
57410         * iconvdata/t.61.c : Likewise.
57411         * iconvdata/tcvn5712-1.c : Likewise.
57412         * iconvdata/tscii.c: Likewise.
57413         * iconvdata/uhc.c : Likewise.
57414         * iconvdata/unicode.c (gconv_end): Likewise.
57415         * iconvdata/utf-16.c (gconv_end): Likewise.
57416         * iconvdata/utf-32.c (gconv_end): Likewise.
57417         * iconvdata/utf-7.c (base64): Likewise.
57418         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57419         * iconv/gconv_close.c (__gconv_close): Likewise.
57420         * iconv/gconv_open.c (__gconv_open): Likewise.
57421         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57422         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57423         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57424         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57425         (ucs4le_internal_loop_single): Likewise.
57426         * iconv/iconv.c (iconv): Likewise.
57427         * iconv/iconv_close.c: Likewise.
57428         * iconv/loop.c (SINGLE): Likewise.
57429         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57430         * include/atomic.h: Likewise.
57431         * inet/inet6_option.c (option_alloc): Likewise.
57432         * intl/bindtextdom.c (set_binding_values): Likewise.
57433         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57434         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57435         * intl/localealias.c (read_alias_file): Likewise.
57436         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57437         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57438         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57439         * libio/fmemopen.c (fmemopen): Likewise.
57440         * libio/iofgets.c (_IO_fgets): Likewise.
57441         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57442         * libio/iofgetws.c (fgetws): Likewise.
57443         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57444         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57445         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57446         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57447         * locale/findlocale.c (_nl_find_locale): Likewise.
57448         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57449         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57450         Likewise.
57451         * locale/setlocale.c (setlocale): Likewise.
57452         * login/programs/pt_chown.c (main): Likewise.
57453         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57454         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57455         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57456         (mmap, mmap64, mremap, munmap): Likewise.
57457         * math/e_exp2l.c: Likewise.
57458         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57459         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57460         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57461         * math/s_catan.c (__catan): Likewise.
57462         * math/s_catanf.c (__catanf): Likewise.
57463         * math/s_catanh.c (__catanh): Likewise.
57464         * math/s_catanhf.c (__catanhf): Likewise.
57465         * math/s_catanhl.c (__catanhl): Likewise.
57466         * math/s_catanl.c (__catanl): Likewise.
57467         * math/s_ccosh.c (__ccosh): Likewise.
57468         * math/s_ccoshf.c (__ccoshf): Likewise.
57469         * math/s_ccoshl.c (__ccoshl): Likewise.
57470         * math/s_cexp.c (__cexp): Likewise.
57471         * math/s_cexpf.c (__cexpf): Likewise.
57472         * math/s_cexpl.c (__cexpl): Likewise.
57473         * math/s_clog10.c (__clog10): Likewise.
57474         * math/s_clog10f.c (__clog10f): Likewise.
57475         * math/s_clog10l.c (__clog10l): Likewise.
57476         * math/s_clog.c (__clog): Likewise.
57477         * math/s_clogf.c (__clogf): Likewise.
57478         * math/s_clogl.c (__clogl): Likewise.
57479         * math/s_csin.c (__csin): Likewise.
57480         * math/s_csinf.c (__csinf): Likewise.
57481         * math/s_csinh.c (__csinh): Likewise.
57482         * math/s_csinhf.c (__csinhf): Likewise.
57483         * math/s_csinhl.c (__csinhl): Likewise.
57484         * math/s_csinl.c (__csinl): Likewise.
57485         * math/s_csqrt.c (__csqrt): Likewise.
57486         * math/s_csqrtf.c (__csqrtf): Likewise.
57487         * math/s_csqrtl.c (__csqrtl): Likewise.
57488         * math/s_ctan.c (__ctan): Likewise.
57489         * math/s_ctanf.c (__ctanf): Likewise.
57490         * math/s_ctanh.c (__ctanh): Likewise.
57491         * math/s_ctanhf.c (__ctanhf): Likewise.
57492         * math/s_ctanhl.c (__ctanhl): Likewise.
57493         * math/s_ctanl.c (__ctanl): Likewise.
57494         * math/w_pow.c: Likewise.
57495         * math/w_powf.c: Likewise.
57496         * math/w_powl.c: Likewise.
57497         * math/w_scalb.c (sysv_scalb): Likewise.
57498         * math/w_scalbf.c (sysv_scalbf): Likewise.
57499         * math/w_scalbl.c (sysv_scalbl): Likewise.
57500         * misc/error.c (error_tail): Likewise.
57501         * misc/pselect.c (__pselect): Likewise.
57502         * nis/nis_callback.c (__nis_create_callback): Likewise.
57503         * nis/nis_call.c (__nisfind_server): Likewise.
57504         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57505         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57506         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57507         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57508         * nis/nis_lookup.c (nis_lookup): Likewise.
57509         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57510         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57511         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57512         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57513         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57514         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57515         * nis/nss_compat/compat-initgroups.c (add_group)
57516         (internal_getgrent_r): Likewise.
57517         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57518         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57519         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57520         (internal_getspnam_r): Likewise.
57521         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57522         (_nss_nis_getaliasbyname_r): Likewise.
57523         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57524         (_nss_nis_getntohost_r): Likewise.
57525         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57526         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57527         (_nss_nis_getgrgid_r): Likewise.
57528         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57529         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57530         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57531         (_nss_nis_gethostbyname4_r): Likewise.
57532         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57533         (initgroups_netid): Likewise.
57534         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57535         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57536         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57537         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57538         (_nss_nis_getprotobynumber_r): Likewise.
57539         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57540         (_nss_nis_getsecretkey): Likewise.
57541         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57542         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57543         (_nss_nis_getpwuid_r): Likewise.
57544         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57545         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57546         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57547         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57548         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57549         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57550         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57551         Likewise.
57552         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57553         (_nss_nisplus_getntohost_r): Likewise.
57554         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57555         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57556         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57557         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57558         Likewise.
57559         * nis/nss_nisplus/nisplus-initgroups.c
57560         (_nss_nisplus_initgroups_dyn): Likewise.
57561         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57562         (_nss_nisplus_getnetbyaddr_r): Likewise.
57563         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57564         (_nss_nisplus_getprotobynumber_r): Likewise.
57565         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57566         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57567         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57568         Likewise.
57569         * nis/nss_nisplus/nisplus-service.c
57570         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57571         (_nss_nisplus_getservbyport_r): Likewise.
57572         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57573         (_nss_nisplus_getspnam_r): Likewise.
57574         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57575         Likewise.
57576         * nscd/aicache.c (addhstaiX): Likewise.
57577         * nscd/cache.c (cache_search, prune_cache): Likewise.
57578         * nscd/connections.c (register_traced_file, send_ro_fd)
57579         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57580         (main_loop_epoll): Likewise.
57581         * nscd/grpcache.c (addgrbyX): Likewise.
57582         * nscd/hstcache.c (addhstbyX): Likewise.
57583         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57584         * nscd/mem.c (gc, mempool_alloc): Likewise.
57585         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57586         (addinnetgrX): Likewise.
57587         * nscd/nscd-client.h (__nscd_acquire_maplock)
57588         (__nscd_drop_map_ref): Likewise.
57589         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57590         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57591         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57592         Likewise.
57593         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57594         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57595         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57596         (__nscd_get_map_ref): Likewise.
57597         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57598         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57599         Likewise.
57600         * nscd/pwdcache.c (addpwbyX): Likewise.
57601         * nscd/selinux.c (preserve_capabilities): Likewise.
57602         * nscd/servicescache.c (addservbyX): Likewise.
57603         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57604         * posix/fnmatch.c (fnmatch): Likewise.
57605         * posix/getopt.c (_getopt_internal_r): Likewise.
57606         * posix/glob.c (glob, glob_in_dir): Likewise.
57607         * posix/wordexp.c (exec_comm_child): Likewise.
57608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57609         (getanswer_r, gaih_getanswer_slice): Likewise.
57610         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57611         * resolv/res_init.c: Likewise.
57612         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57613         * resolv/res_query.c (__libc_res_nquery): Likewise.
57614         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57615         Likewise.
57616         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57617         * stdio-common/perror.c (perror): Likewise.
57618         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57619         * stdio-common/tmpnam.c (tmpnam): Likewise.
57620         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57621         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57622         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57623         Likewise.
57624         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57625         * stdlib/putenv.c (putenv): Likewise.
57626         * stdlib/setenv.c (__add_to_environ): Likewise.
57627         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57628         * stdlib/strtol_l.c (INTERNAL): Likewise.
57629         * string/memmem.c (memmem): Likewise.
57630         * string/strerror.c (strerror): Likewise.
57631         * string/strnlen.c (__strnlen): Likewise.
57632         * string/test-memmem.c (simple_memmem): Likewise.
57633         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57634         * sunrpc/pm_getport.c (__get_socket): Likewise.
57635         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57636         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57637         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57638         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57639         Likewise.
57640         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57641         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57642         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57643         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57644         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57645         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57646         Likewise.
57647         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57648         Likewise.
57649         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57650         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57651         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57652         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57653         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57655         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57656         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57657         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57658         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57659         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57660         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57661         Likewise.
57662         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57663         Likewise.
57664         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57665         Likewise.
57666         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57667         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57668         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57669         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57670         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57671         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57672         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57673         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57675         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57676         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57677         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57678         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57681         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57682         Likewise.
57683         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57684         Likewise.
57685         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57686         Likewise.
57687         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57688         Likewise.
57689         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57691         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57692         Likewise.
57693         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57694         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57695         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57696         * sysdeps/posix/sleep.c: Likewise.
57697         * sysdeps/posix/tempname.c: Likewise.
57698         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57699         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57700         Likewise.
57701         * sysdeps/powerpc/powerpc32/dl-machine.h
57702         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57703         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57705         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57706         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57707         Likewise.
57708         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57709         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57710         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57712         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57713         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57714         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57715         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57716         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57717         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57718         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57719         (elf_machine_lazy_rel): Likewise.
57720         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57721         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57722         (elf_machine_lazy_rel): Likewise.
57723         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57724         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57725         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57726         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57727         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57728         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57729         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57730         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57731         Likewise.
57732         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57733         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57734         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57735         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57736         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57737         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57738         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57739         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57740         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57741         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57742         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57743         Likewise.
57744         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57745         (__posix_fallocate64_l64): Likewise.
57746         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57747         (posix_fallocate): Likewise.
57748         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57749         Likewise.
57750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57751         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57752         (getifaddrs_internal): Likewise.
57753         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57754         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57755         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57756         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57757         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57758         (__posix_fallocate64_l64): Likewise.
57759         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57760         Likewise.
57761         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57762         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57763         (__get_clockfreq): Likewise.
57764         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57765         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57766         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57768         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57769         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57770         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57771         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57772         Likewise.
57773         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57774         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57775         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57776         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57777         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57778         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57779         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57780         Likewise.
57781         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57782         (posix_fallocate): Likewise.
57783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57784         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57785         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57786         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57787         (elf_machine_rela, elf_machine_rela_relative)
57788         (elf_machine_lazy_rel): Likewise.
57789         * time/asctime.c (asctime_internal): Likewise.
57790         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57791         * time/tzset.c (__tzset_parse_tz): Likewise.
57792         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57793         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57794         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57795         * wcsmbs/wcsmbsload.h: Likewise.
57797         [BZ #15894]
57798         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57800         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57801         (arena_get2): Remove THREAD_STATS conditionals.
57802         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57803         (__malloc_stats, int): Likewise.
57805 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57807         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57808         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57810         * manual/setjmp.texi: Fix typos/grammar errors.
57812         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57813         Only return early when n is <= 0.  Delete unused return statement.
57815         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57816         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57817         * debug/tst-longjmp_chk3.c: New file.
57819         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57820         (test_main): Replace code with set_fortify_handler call.
57821         * debug/test-strcpy_chk.c: Likewise.
57822         * debug/tst-chk1.c: Likewise.
57823         * debug/tst-longjmp_chk.c: Likewise.
57824         * test-skeleton.c: Include fcntl.h & paths.h
57825         (set_fortify_handler): Define.
57827         * debug/tst-longjmp_chk.c: Add header comment and include
57828         ../test-skeleton.c.
57829         (do_test): Mark static.
57830         (TEST_FUNCTION): Define.
57832         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57833         (IP_PMTUDISC_INTERFACE): Likewise.
57834         (IP_MULTICAST_IF): Likewise.
57835         (IP_MULTICAST_TTL): Likewise.
57836         (IP_MULTICAST_LOOP): Likewise.
57837         (IP_ADD_MEMBERSHIP): Likewise.
57838         (IP_DROP_MEMBERSHIP): Likewise.
57839         (IP_UNBLOCK_SOURCE): Likewise.
57840         (IP_BLOCK_SOURCE): Likewise.
57841         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57842         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57843         (IP_MSFILTER): Likewise.
57844         (MCAST_JOIN_GROUP): Likewise.
57845         (MCAST_BLOCK_SOURCE): Likewise.
57846         (MCAST_UNBLOCK_SOURCE): Likewise.
57847         (MCAST_LEAVE_GROUP): Likewise.
57848         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57849         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57850         (MCAST_MSFILTER): Likewise.
57851         (IP_MULTICAST_ALL): Likewise.
57852         (IP_UNICAST_IF): Likewise.
57854         * timezone/Makefile: Delete $(have-ksh) check.
57855         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57856         * timezone/tzselect.ksh: Add +x mode bits.
57858         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57859         (ANON_INODE_FS_MAGIC): Likewise.
57860         (BDEVFS_MAGIC): Likewise.
57861         (BINFMTFS_MAGIC): Likewise.
57862         (BTRFS_TEST_MAGIC): Likewise.
57863         (CRAMFS_MAGIC_WEND): Likewise.
57864         (DEBUGFS_MAGIC): Likewise.
57865         (ECRYPTFS_SUPER_MAGIC): Likewise.
57866         (EXT3_SUPER_MAGIC): Likewise.
57867         (EXT4_SUPER_MAGIC): Likewise.
57868         (FUTEXFS_SUPER_MAGIC): Likewise.
57869         (HOSTFS_SUPER_MAGIC): Likewise.
57870         (HUGETLBFS_MAGIC): Likewise.
57871         (MINIX3_SUPER_MAGIC): Likewise.
57872         (MTD_INODE_FS_MAGIC): Likewise.
57873         (NILFS_SUPER_MAGIC): Likewise.
57874         (OPENPROM_SUPER_MAGIC): Likewise.
57875         (PIPEFS_MAGIC): Likewise.
57876         (PSTOREFS_MAGIC): Likewise.
57877         (QNX6_SUPER_MAGIC): Likewise.
57878         (RAMFS_MAGIC): Likewise.
57879         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57880         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57881         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57882         (SECURITYFS_MAGIC): Likewise.
57883         (SELINUX_MAGIC): Likewise.
57884         (SMACK_MAGIC): Likewise.
57885         (SOCKFS_MAGIC): Likewise.
57886         (SQUASHFS_MAGIC): Likewise.
57887         (STACK_END_MAGIC): Likewise.
57888         (TMPFS_MAGIC): Likewise.
57889         (USBDEVICE_SUPER_MAGIC): Likewise.
57890         (V9FS_MAGIC): Likewise.
57891         (XENFS_SUPER_MAGIC): Likewise.
57892         (CRAMFS_MAGIC): Fix typo in comment.
57893         (EXT2_SUPER_MAGIC): Update comment.
57894         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57896 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57898         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57899         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57900         * sysdeps/unix/sysv/linux/arm: Move directory from
57901         ports/sysdeps/unix/sysv/linux/arm.
57902         * README: Update listing for arm-*-linux-gnueabi.
57904         * README: Remove mention of am33.
57906 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57908         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57909         than the comma operator, to avoid "rhs of comma has no effect"
57910         compiler warnings.
57911         (__sigfillset, __sigandset, __sigorset): Likewise.
57912         * include/signal.h (__sigemptyset): Likewise.
57913         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57915 2014-02-07  Allan McRae  <allan@archlinux.org>
57917         * version.h (RELEASE): Set to "development".
57918         (VERSION): Set to "2.19.90"
57919         * NEWS: Add 2.20 section.
57921 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57923         [BZ #16529]
57924         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57926 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57928         * manual/contrib.texi: Update entry for Carlos O'Donell,
57929         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57931 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57933         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57935         * sysdeps/unix/sysv/linux/kernel-features.h
57936         [__LINUX_KERNEL_VERSION >= 0x020621]
57937         (__ASSUME_PROC_PID_TASK_COMM): Define.
57939 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57941         [BZ #16398]
57942         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57943         conversion when destination buffer does not have enough space.
57944         * libio/tst-ftell-partial-wide.c: New test case.
57945         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57947         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57948         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57949         Leonard and Allan McRae.
57951 2014-02-04  David S. Miller  <davem@davemloft.net>
57953         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57954         32-bit.
57956 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57959         New file
57960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57961         New file
57962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57963         New file.
57964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57965         New file.
57966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57967         New file.
57968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57969         New file.
57970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57971         New file.
57972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57973         New file.
57974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57975         New file.
57976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57977         New file.
57978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57979         New file.
57980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57981         New file.
57982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57983         New file.
57985 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57987         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57988         * shlib-versions: Likewise.
57990 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57991             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57993         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57994         (abilist-pattern): New variable, set to %-le.abilist.
57996         * Makerules (abilist-pattern): New variable.
57997         (vpath): Use $(abilist-pattern) in place of %.abilist.
57998         (check-abi-% pattern rule): Likewise.
57999         (check-abi, update-abi): Likewise.
58001 2014-02-04  Eric Wong  <normalperson@yhbt.net>
58003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58005 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
58007         * manual/startup.texi: Add next, previous, and top entries for
58008         the `Program Arguments' and `Environment Variables' nodes.
58010 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
58012         * manual/macros.texi: Add comments before MTASC-safety macros.
58014         * manual/users.texi: Document MTASC-safety properties.
58016         * manual/threads.texi (pthread_key_create, pthread_key_delete)
58017         (pthread_getspecific, pthread_setspecific): Format with
58018         @deftypefun, and add @safety note.
58019         * manual/signal.texi: Move comments that analyze the above
58020         functions to their home place.
58022 2014-02-03  Allan McRae  <allan@archlinux.org>
58024         * po/sl.po: Update Slovenian translation from translation project.
58026 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
58028         * manual/time.texi (timegm): Add missing blank after @c.
58029         Reported by Joseph Myers <joseph@codesourcery.com>.
58031 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
58033         * manual/check-safety.sh: New.
58034         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58036         * manual/terminal.texi: Document MTASC-safety properties.
58038         * manual/filesys.texi: Document MTASC-safety properties.
58040         * manual/errno.texi: Document MTASC-safety properties.
58042         * manual/intro.texi: Document safety identifiers and
58043         conditionals.
58045         * manual/string.texi (wcstok): Fix prototype.
58046         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58048         * manual/time.texi: Document MTASC-safety properties.
58050         * manual/string.texi: Document MTASC-safety properties.
58052         * manual/threads.texi: Document MTASC-safety properties.
58054         * manual/stdio.texi: Document MTASC-safety properties.
58056         * manual/syslog.texi: Document MTASC-safety properties.
58058         * manual/sysinfo.texi: Document MTASC-safety properties.
58060         * manual/startup.texi: Document MTASC-safety properties.
58062         * manual/socket.texi: Document MTASC-safety properties.
58064         * manual/signal.texi: Document MTASC-safety properties.
58066 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58068         * manual/setjmp.texi: Document MTASC-safety properties.
58070         * manual/search.texi: Document MTASC-safety properties.
58072         * manual/resource.texi: Document MTASC-safety properties.
58074         * manual/process.texi: Document MTASC-safety properties.
58076         * manual/platform.texi: Document MTASC-safety properties.
58078         * manual/pipe.texi: Document MTASC-safety properties.
58080         * manual/pattern.texi: Document MTASC-safety properties.
58082         * manual/message.texi: Document MTASC-safety properties.
58084         [BZ #12751]
58085         * manual/memory.texi: Document MTASC-safety properties.
58087         * manual/math.texi: Document MTASC-safety properties.
58089         * manual/locale.texi: Document MTASC-safety properties.
58091         * manual/llio.texi: Document MTASC-safety properties.
58093         * manual/libdl.texi: New.
58095         * manual/lang.texi: Document MTASC-safety properties.
58097         * manual/job.texi: Document MTASC-safety properties.
58099         * manual/getopt.texi: Document MTASC-safety properties.
58101         * manual/ctype.texi: Document MTASC-safety properties.
58103 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58105         [BZ #16046]
58106         * csu/libc-tls.c (static_map): Remove variable.
58107         (__libc_setup_tls): Use main executable's link map for TLS data.
58108         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58109         casing for LM_ID_BASE and GL(dl_nns).
58110         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58111         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58112         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58113         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58114         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58115         member.
58116         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58117         l_phnum members.
58119 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58121         * manual/debug.texi: Document MTASC-safety properties.
58123 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58125         [BZ #16510]
58126         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58127         of __x86_64__ when disabling x87 inline functions.
58129 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58131         * manual/charset.texi: Document MTASC-safety properties.
58133         * manual/crypt.texi: Document MTASC-safety properties.
58135         * manual/conf.texi: Document MTASC-safety properties.
58137         * manual/arith.texi: Document MTASC-safety properties.
58139         * manual/argp.texi: Document MTASC-safety properties.
58141         * manual/macros.texi: Introduce macros to document multi
58142         thread, asynchronous signal and asynchronous cancellation
58143         safety properties.
58144         * manual/intro.texi: Introduce the properties themselves.
58146 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58148         * sysdeps/sh/sh4/Makefile: New file.
58150 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58152         * math/gen-libm-test.pl ($srcdir): New variable.
58153         ($auto_input): Use it.
58155 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58157         [BZ #16506]
58158         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58159         access beyond array bounds when parsing netgroups file.
58161         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58162         the old buffer before realloc.
58164 2014-01-27  Allan McRae  <allan@archlinux.org>
58166         * po/fr.po: Update French translation from translation project.
58168 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58170         * sysdeps/sh/libm-test-ulps: Regenerate.
58172 2014-01-24  David S. Miller  <davem@davemloft.net>
58174         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58176 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58178         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58179         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58181 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58183         [BZ #16474]
58184         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58185         string pointers after reallocation.
58187 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58189         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58190         __SH4A__ instead of __SH_FPU_ANY__.
58192 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58194         * sysdeps/sh/fpu_control.h: New file.
58195         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58196         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58197         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58198         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58199         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58200         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58201         * sysdeps/sh/sys/ucontext.h: Remove.
58202         * sysdeps/sh/sys: Remove directory.
58204 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58206         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58207         s390/sys/ucontext.h.
58208         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58209         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58211 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58213         [BZ #15605]
58214         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58216 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58218         [BZ #16431]
58219         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58220         Adjust the vDSO correctly for internal calls.
58221         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58223 2014-01-20  Allan McRae  <allan@archlinux.org>
58225         * po/ca.po: Update Catalan translation from translation project.
58227 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58229         * sysdeps/s390/sotruss-lib.c: New file.
58231 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58233         [BZ #16430]
58234         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58235         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58236         local calls issues by not having a PLT stub required for IFUNC calls.
58237         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58239 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58241         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58242         * math/test-fpucw-static.c: Likewise.
58244 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58246         [BZ #16453]
58247         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58249 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58251         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58252         implementation for powerpc.
58254 2014-01-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
58256         [BZ #14782]
58257         * sysdeps/posix/system.c (__libc_system): Do not enable
58258         asynchronous cancellation.
58260 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58262         [BZ #16427]
58263         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58264         handling only for numbers special also in the IEEE case.
58266 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58268         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58270 2014-01-11  Allan McRae  <allan@archlinux.org>
58272         * po/bg.po: Update Bulgarian translation from translation project.
58274         * po/de.po: Update German translation from translation project.
58276 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58278         * sysdeps/generic/gcc-compat.h: New file.
58280 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58282         * benchtests/asin-inputs: Correct slow inputs.
58283         * benchtests/acos-inputs: Likewise.
58285 2014-01-10  Allan McRae  <allan@archlinux.org>
58287         * po:sv.po: Update Swedish translation from translation project.
58289         * po/vi.po: Update Vietnamese translation from translation project.
58291         * po/eo.po: Update Esperanto translation from translation project.
58293         * po/cs.po: Update Czech translation from translation project.
58295         * po/nl.po: Update Dutch translation from translation project.
58297         * po/pl.po: Update Polish translation from translation project.
58299         * po/ru.po: Update Russian translation from translation project.
58301         * po/uk.po: Update Ukrainian translation from translation project.
58303 2014-01-08  Brooks Moses  <bmoses@google.com>
58305         * elf/dl-load.c: Fix comment typo.
58307 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58309         * po/header.pot: Rename to...
58310         * po/pot.header: ... this.
58311         * po/Makefile: Use pot.header.
58313 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58314             Maxim Kuvyrkov  <maxim@kugelworks.com>
58316         [BZ #16394]
58317         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58318         SRC and DEST against LEN.
58320 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58322         [BZ #16414]
58323         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58324         implementation.
58325         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58327 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58331 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58333         [BZ #16408]
58334         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58335         for large positive arguments.
58337 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58339         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58341         * math/auto-libm-test-in: Mark various tests with
58342         xfail-rounding:ldbl-128ibm.
58343         * math/auto-libm-test-out: Regenerated.
58345         [BZ #16407]
58346         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58347         Increase overflow threshold.
58349 2014-01-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
58351         [BZ #14286]
58352         * stdio-common/vfprintf.c: Check for integer overflow.
58354 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58356         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58357         the first argument and return value of __tls_get_addr_internal.
58359 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58361         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58362         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58364 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58366         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58367         * sysdeps/s390/rtld-global-offsets.sym: New file.
58368         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58369         GLIBC_2.19 symbol.
58370         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58371         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58372         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58373         ... this.
58374         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58375         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58376         ... this.
58377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58378         Regenerate.
58379         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58380         Regenerate.
58381         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58382         halfs of GPRs for high_gprs contexts.
58383         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58384         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58385         field.
58386         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58387         uc_flags field.
58388         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58389         64 bit versions:
58390         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58391         for high GPRs (uc_high_gprs) and for future extensions
58392         (__reserved).
58393         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58394         for future extensions (__reserved).
58395         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58396         64 bit versions:
58397         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58398         SC_HIGHGPRS offset definition.
58399         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58400         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58402         * Versions.def: Add GLIBC_2.19 for libpthread.
58403         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58404         siglongjmp for libpthread with GLIBC_2.19 symver.
58405         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58406         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58407         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58408         * sysdeps/s390/__longjmp.c: New file.
58409         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58410         * sysdeps/s390/longjmp.c: New file.
58411         * sysdeps/s390/setjmp.S: New file.
58412         * sysdeps/s390/sigjmp.S: New file.
58413         * sysdeps/s390/v1-longjmp.c: New file.
58414         * sysdeps/s390/v1-setjmp.h: New file.
58415         * sysdeps/s390/v1-sigjmp.c: New file.
58416         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58417         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58418         GLIBC_2.19 version.
58419         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58420         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58421         versioned symbols for ____longjmp_chk.
58422         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58423         Likewise.
58424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58425         Regenerate.
58426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58427         Regenerate.
58428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58429         Regenerate.
58430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58431         Regenerate.
58432         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58433         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58434         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58435         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58436         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58437         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58438         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58439         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58440         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58441         * sysdeps/s390/rtld-__longjmp.c: New file.
58442         * sysdeps/s390/rtld-setjmp.S: New file.
58444 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58446         [BZ #16400]
58447         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58448         Return -__logl (x) for small positive arguments without evaluating
58449         a polynomial.
58451 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58453         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58454         Rename to ...
58455         (__ptrace_peeksiginfo_args): ... this.
58456         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58457         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58458         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58460 2014-01-06  Allan McRae  <allan@archlinux.org>
58462         * inet/netinet/in.h: Fix typo in comment.
58464 2014-01-05  Andreas Jaeger  <aj@suse.de>
58466         * sysdeps/i386/fpu/libm-test-ulps: Update.
58468 2014-01-05  Allan McRae  <allan@archlinux.org>
58470         * po/libc.pot: Regenerated.
58472         * malloc/memusagestat.c: Fix gettext call formatting.
58474 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58476         * nscd/nscd.c: Improve usage() output.
58478 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58480         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58481         * sysdeps/unix/sysv/linux/configure: Regenerated.
58482         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58483         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58485 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58487         [BZ #16390]
58488         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58489         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58491 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58493         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58494         extra tokens at end of #undef directive.
58495         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58496         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58497         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58499 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58501         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58503         * math/auto-libm-test-in: Mark various tests with
58504         xfail-rounding:ldbl-128ibm.
58505         * math/auto-libm-test-out: Regenerated.
58507 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58509         [BZ #16386]
58510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58511         numbers with subnormal high part when calculating exponent.
58513         [BZ #16385]
58514         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58515         fabs.
58517         [BZ #16384]
58518         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58519         M_LN2l.
58520         (__ieee754_acoshl): Use __log1pl not __log1p.
58522 2013-01-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
58524         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58525         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58526         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58527         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58528         (reused_arena, arena_get2): Convert to GNU style.
58529         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58530         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58531         (memalign_check, __malloc_set_state): Likewise.
58532         * malloc/mallocbug.c (main): Likewise.
58533         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58534         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58535         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58536         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58537         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58538         (__posix_memalign, malloc_info): Likewise.
58539         * malloc/malloc.h: Likewise.
58540         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58541         (mallochook, memalignhook, reallochook, mabort): Likewise.
58542         * malloc/mcheck.h: Likewise.
58543         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58544         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58545         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58546         * malloc/morecore.c (__default_morecore): Likewise.
58547         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58548         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58549         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58550         (print_and_abort): Likewise.
58551         * malloc/obstack.h: Likewise.
58552         * malloc/set-freeres.c (__libc_freeres): Likewise.
58553         * malloc/tst-mallocstate.c (main): Likewise.
58554         * malloc/tst-mtrace.c (main): Likewise.
58555         * malloc/tst-realloc.c (do_test): Likewise.
58557 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58559         [BZ #16366]
58560         * nscd/netgroupcache.c (do_notfound): New function.
58561         (addgetnetgrentX): Use it.
58563         [BZ # 16365]
58564         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58565         NSS_STATUS_NOTFOUND.
58567 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58569         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58572 2014-01-01  Allan McRae  <allan@archlinux.org>
58574         * scripts/update-copyrights: Update configure input file suffix.
58576         * NEWS: Update copyright year.
58577         * catgets/gencat.c: Likewise.
58578         * csu/version.c: Likewise.
58579         * debug/catchsegv.sh: Likewise.
58580         * debug/pcprofiledump.c: Likewise.
58581         * debug/xtrace.sh: Likewise.
58582         * elf/ldconfig.c: Likewise.
58583         * elf/ldd.bash.in: Likewise.
58584         * elf/pldd.c: Likewise.
58585         * elf/sotruss.ksh: Likewise.
58586         * elf/sprof.c: Likewise.
58587         * iconv/iconv_prog.c: Likewise.
58588         * iconv/iconvconfig.c: Likewise.
58589         * locale/programs/locale.c: Likewise.
58590         * locale/programs/localedef.c: Likewise.
58591         * login/programs/pt_chown.c: Likewise.
58592         * malloc/memusage.sh: Likewise.
58593         * malloc/memusagestat.c: Likewise.
58594         * malloc/mtrace.pl: Likewise.
58595         * manual/libc.texinfo: Likewise.
58596         * nscd/nscd.c: Likewise.
58597         * nss/getent.c: Likewise.
58598         * nss/makedb.c: Likewise.
58599         * posix/getconf.c: Likewise.
58600         * scripts/test-installation.pl: Likewise.
58602         * All files with FSF copyright notices: Update copyright dates
58603         using scripts/update-copyrights.
58604         * intl/plural.c: Regenerated.
58605         * locale/programs/charmap-kw.h: Likewise.
58606         * locale/programs/locfile-kw.h: Likewise.
58608 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58610         * sysdeps/unix/sysv/linux/configure: Regenerated.
58611         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58612         the linux/fanotify.h header.
58613         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58614         HAVE_LINUX_FANOTIFY_H is defined.
58616 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58618         * benchtests/cos-inputs: New inputs.
58619         * benchtests/sin-inputs: Likewise.
58621         * benchtests/atan-inputs: New inputs. Fix name of multiple
58622         precision fallback inputs.
58624         * benchtests/atanh-inputs: New inputs.
58625         * benchtests/tanh-inputs: Likewise.
58627         * benchtests/acosh-inputs: New inputs.
58628         * benchtests/asinh-inputs: Likewise.
58630         * benchtests/cosh-inputs: New inputs.
58631         * benchtests/sinh-inputs: Likewise.
58633         * benchtests/acos-inputs: Add more inputs.
58634         * benchtests/asin-inputs: Likewise.
58636 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58638         [BZ #16375]
58639         * manual/arith.texi: Fix spelling.
58640         * manual/charset.texi: Likewise.
58641         * manual/errno.texi: Likewise.
58642         * manual/filesys.texi: Likewise.
58643         * manual/lang.texi: Likewise.
58644         * manual/llio.texi: Likewise.
58645         * manual/locale.texi: Likewise.
58646         * manual/message.texi: Likewise.
58647         * manual/resource.texi: Likewise.
58648         * manual/search.texi: Likewise.
58649         * manual/setjmp.texi: Likewise.
58650         * manual/stdio.texi: Likewise.
58651         * manual/string.texi: Likewise.
58652         * manual/sysinfo.texi: Likewise.
58653         * manual/time.texi: Likewise.
58655 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58657         * po/sl.po: New file.
58659 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58661         * .gitignore: Add core/.gdbinit/.gdb_history.
58663 2013-12-27  Allan McRae  <allan@archlinux.org>
58665         [BZ #16369]
58666         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58667         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58669 2013-12-24  Brooks Moses  <bmoses@google.com>
58671         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58672         all compilers that claim C++98 compliance, not just GCC.
58673         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58674         Likewise.
58676 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58678         * NEWS: Restore accidentally deleted bug-fix entries.
58680 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58681             Ondƙej BĂ­lka  <neleai@seznam.cz>
58683         [BZ #15073]
58684         * malloc/malloc.c (_int_free): Perform sanity check only if we
58685         have_lock.
58687 2013-12-23  Ondƙej BĂ­lka  <neleai@seznam.cz>
58689         [BZ #12986]
58690         * manual/stdio.texi (String Input Conversions): Clarify that character
58691         classes are not supported.
58693 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58697 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58699         [BZ #16337]
58700         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58701         Calculate results for small negative arguments directly rather
58702         than using reflection formula with special underflow handling.
58704         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58705         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58706         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58707         (fchflags): Likewise.
58708         (revoke): Likewise.
58709         (setlogin): Likewise.
58710         (sigaltstack): Likewise.
58711         (wait4): Likewise.
58712         (sigblock): Remove.
58713         (sigsetmask): Likewise.
58714         (wait3): Likewise.
58715         (waitpid): Likewise.
58716         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58717         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58718         file.
58719         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58720         * sysdeps/unix/bsd/Makefile: ... here.
58721         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58722         * sysdeps/unix/bsd/Versions: ... here.
58723         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58724         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58725         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58726         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58727         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58728         * sysdeps/unix/bsd/sigblock.c: ... here.
58729         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58730         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58731         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58732         * sysdeps/unix/bsd/sigvec.c: ... here.
58733         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58734         * sysdeps/unix/bsd/tcdrain.c: ... here.
58735         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58736         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58737         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58738         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58739         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58740         * sysdeps/unix/bsd/wait.c: ... here.
58741         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58742         * sysdeps/unix/bsd/wait3.c: ... here.
58743         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58744         * sysdeps/unix/bsd/waitpid.c: ... here.
58746 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58748         [BZ #16356]
58749         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58750         round-to-nearest for [!USE_AS_EXPM1L].
58751         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58752         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58753         more tests of exp and exp10.  Expect some exp10 tests to miss
58754         exceptions or fail in directed rounding modes.
58755         * math/auto-libm-test-out: Regenerated.
58756         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58757         (exp10_test_tonearest): New function.
58758         (exp10_towardzero_test_data): New array.
58759         (exp10_test_towardzero): New function.
58760         (exp10_downward_test_data): New array.
58761         (exp10_test_downward): New function.
58762         (exp10_upward_test_data): New array.
58763         (exp10_test_upward): New function.
58764         (main): Call the new functions.
58765         * sysdeps/i386/fpu/libm-test-ulps: Update.
58766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58768 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58770         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58771         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58772         * math/auto-libm-test-out: Regenerated.
58773         * math/libm-test.inc (acosh_test_data): Add more tests.
58774         (atanh_test_data): Likewise.
58775         (ceil_test_data): Likewise.
58776         (copysign_test_data): Likewise.
58777         * sysdeps/i386/fpu/libm-test-ulps: Update.
58778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58780         * timezone/checktab.awk: Update from tzcode 2013i.
58781         * timezone/private.h: Likewise.
58782         * timezone/scheck.c: Likewise.
58783         * timezone/tzfile.h: Likewise.
58784         * timezone/tzselect.ksh: Likewise.
58785         * timezone/zdump.c: Likewise.
58786         * timezone/zic.c: Likewise.
58788         * math/auto-libm-test-in: Add tests of cpow.
58789         * math/auto-libm-test-out: Regenerated.
58790         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58791         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58792         mpc_cc_c.
58793         (func_calc_desc): Add mpc_cc_c union field.
58794         (test_functions): Add cpow.
58795         (special_fill_2pi): New function.
58796         (special_real_inputs): Add 2pi.
58797         (calc_generic_results): Handle mpc_cc_c.
58798         * sysdeps/i386/fpu/libm-test-ulps: Update.
58799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58801         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58802         csqrt, ctan and ctanh.
58803         * math/auto-libm-test-out: Regenerated.
58804         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58805         (TEST_COND_x86): Likewise.
58806         (ccos_test_data): Use AUTO_TESTS_c_c.
58807         (ccosh_test_data): Likewise.
58808         (cexp_test_data): Likewise.
58809         (clog_test_data): Likewise.
58810         (csqrt_test_data): Likewise.
58811         (ctan_test_data): Likewise.
58812         (ctan_tonearest_test_data): Likewise.
58813         (ctan_towardzero_test_data): Likewise.
58814         (ctan_downward_test_data): Likewise.
58815         (ctan_upward_test_data): Likewise.
58816         (ctanh_test_data): Likewise.
58817         (ctanh_tonearest_test_data): Likewise.
58818         (ctanh_towardzero_test_data): Likewise.
58819         (ctanh_downward_test_data): Likewise.
58820         (ctanh_upward_test_data): Likewise.
58821         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58822         mpc_c_c.
58823         (func_calc_desc): Add mpc_c_c union field.
58824         (FUNC_mpc_c_c): New macro.
58825         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58826         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58827         ctanh.
58828         (special_fill_min_subnorm_p120): New function.
58829         (special_real_inputs): Add min_subnorm_p120.
58830         (calc_generic_results): Handle mpc_c_c.
58831         * sysdeps/i386/fpu/libm-test-ulps: Update.
58832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58834 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58836         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58837         (do_sin_slow): New functions.
58838         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58839         (cslow2, csloww1, csloww2): Use the new functions.
58841         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58842         Use M to change sign of result instead of X.  Assume X is
58843         positive.
58844         (csloww1): Likewise.
58845         (__sin): Adjust.
58846         (__cos): Adjust.
58848         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58849         arguments A and DA.
58850         (__sin): Adjust.
58851         (__cos): Likewise.
58853         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58854         (__cos): Likewise.
58855         (sloww1): Don't adjust sign of DX.
58856         (csloww1): Likewise.
58857         (sloww2): Use X directly and don't adjust sign of DX.
58858         (csloww2): Likewise.
58860 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58862         * math/auto-libm-test-in: Add tests of cabs and carg.
58863         * math/auto-libm-test-out: Regenerated.
58864         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58865         (carg_test_data): Likewise.
58866         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58867         mpc_c_f.
58868         (func_calc_desc): Add mpc_c_f union field.
58869         (test_functions): Add cabs and carg.
58870         (calc_generic_results): Handle mpc_c_f.
58872         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58873         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58874         as a macro and a compat symbol.
58875         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58876         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58877         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58878         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58879         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58880         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58881         not use .hidden.
58882         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58883         Likewise.
58884         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58885         Likewise.
58886         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58887         Likewise.
58888         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58889         Likewise.
58890         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58891         Likewise.
58892         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58893         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58894         from GLIBC_2.3.2.
58896 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58900 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58902         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58903         trailing whitespace removed.
58904         * scripts/config.guess: Update to version 2013-11-29.
58905         * scripts/config.sub: Update to version 2013-10-01.
58907         * math/auto-libm-test-in: Add tests of sincos.
58908         * math/auto-libm-test-out: Regenerated.
58909         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58910         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58911         mpfr_f_11.
58912         (func_calc_desc): Add mpfr_f_11 union field.
58913         (test_functions): Add sincos.
58914         (calc_generic_results): Handle mpfr_f_11.
58915         * sysdeps/i386/fpu/libm-test-ulps: Update.
58916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58918 2013-12-19  Andreas Schwab  <schwab@suse.de>
58920         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58921         CALL_MCOUNT.
58922         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58923         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58924         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58926 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58928         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58929         * sysdeps/i386/fpu/libm-test-ulps: Update.
58930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58932         [BZ #16293]
58933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58934         round-to-nearest mode when using frndint.
58935         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58936         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58937         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58938         Likewise.
58939         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58940         sinh test to fail.
58941         * math/auto-libm-test-out: Regenerated.
58942         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58943         (TEST_COND_x86): Likewise.
58944         (expm1_tonearest_test_data): New array.
58945         (expm1_test_tonearest): New function.
58946         (expm1_towardzero_test_data): New array.
58947         (expm1_test_towardzero): New function.
58948         (expm1_downward_test_data): New array.
58949         (expm1_test_downward): New function.
58950         (expm1_upward_test_data): New array.
58951         (expm1_test_upward): New function.
58952         (main): Run the new test functions.
58953         * sysdeps/i386/fpu/libm-test-ulps: Update.
58954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58956         * include/features.h: Update comment documenting feature test
58957         macros.  Mention _DEFAULT_SOURCE in comment.
58958         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58959         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58960         _BSD_SOURCE and _SVID_SOURCE.
58961         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58962         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58963         !_SVID_SOURCE]: Likewise.
58964         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58965         (__USE_POSIX_IMPLICITLY): Define.
58966         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58967         (_POSIX_SOURCE): Undefine and redefine.
58968         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58969         (_POSIX_C_SOURCE): Likewise.
58970         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58971         (Feature Test Macros): Update documentation of default features.
58973 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58975         * benchtests/Makefile: Add bench-strtok.
58976         * benchtests/bench-strtok.c: New file: strtok benchtest.
58978 2013-12-19  Allan McRae  <allan@archlinux.org>
58980         * manual/install.texi: Suppress menu for plain text output.
58981         * INSTALL: Regenerated.
58983 2013-12-18  Brooks Moses  <bmoses@google.com>
58985         [BZ #15846]
58986         * misc/getauxval.c: Include errno.h.
58987         (__getauxval): Set errno to ENOENT if the requested type is not
58988         found.
58989         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58990         don't declare with __attribute_const__.
58991         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58992         * manual/startup.texi: Document that getauxval sets errno.
58994 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58996         * math/auto-libm-test-in: Add tests of jn and yn.
58997         * math/auto-libm-test-out: Regenerated.
58998         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58999         (yn_test_data): Likewise.
59000         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59001         mpfr_if_f.
59002         (func_calc_desc): Add mpfr_if_f union field.
59003         (FUNC_mpfr_if_f): New macro.
59004         (test_functions): Add jn and yn.
59005         (calc_generic_results): Assert type of second input for
59006         mpfr_ff_f.  Handle mpfr_if_f.
59007         (output_for_one_input_case): Disable all checking for arguments
59008         fitting floating-point types in case of an integer argument.
59009         * sysdeps/i386/fpu/libm-test-ulps: Update.
59010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59013         Don't expect fegetround reference in libm.so.
59015 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59017         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59018         $(config-cflags-nofma).
59020 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59022         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59023         * math/auto-libm-test-out: Regenerated.
59025         [BZ #16338]
59026         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59027         to determine exponent and adjust argument to have exponent of -1.
59028         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59029         log2.
59030         * math/auto-libm-test-out: Regenerated.
59031         * sysdeps/i386/fpu/libm-test-ulps: Update.
59032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59034 2013-12-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
59036         * manual/probes.texi: Remove cases when per-thread arenas are
59037         disabled.
59039 2013-12-18  Andreas Schwab  <schwab@suse.de>
59041         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59042         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59043         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59044         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59045         * sysdeps/i386/i686/multiarch/Makefile: Update.
59046         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59048 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59050         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59051         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59053 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59055         [BZ #15968]
59056         Support TZ transition times < 00:00:00.
59057         This is needed for version-3 tz-format files; it supports time
59058         stamps past 2037 for America/Godthab (the only entry in the tz
59059         database for which this change is relevant).
59060         * manual/time.texi (TZ Variable): Document transition times
59061         from -167:59:59 through -00:00:01.
59062         * time/tzset.c (tz_rule): Time of day is now signed.
59063         (__tzset_parse_tz): Parse negative time of day.
59065         Document TZ transition times >= 25:00:00.
59066         * manual/time.texi (TZ Variable): Document transition times from
59067         25:00:00 through 167:59:59.  These are already supported, and this
59068         support will help with version-3 tz-format files.
59070         * manual/time.texi (TZ Variable): Modernize North America example
59071         to reflect current (i.e., 2007-and-later) daylight saving rules.
59073         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59075 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59077         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59078         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59080         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59081         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59082         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59083         * sysdeps/unix/bsd/clock.c: Likewise.
59084         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59085         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59086         * sysdeps/unix/bsd/init-posix.c: Likewise.
59087         * sysdeps/unix/bsd/poll.c: Likewise.
59088         * sysdeps/unix/bsd/ptsname.c: Likewise.
59089         * sysdeps/unix/bsd/seekdir.c: Likewise.
59090         * sysdeps/unix/bsd/setegid.c: Likewise.
59091         * sysdeps/unix/bsd/seteuid.c: Likewise.
59092         * sysdeps/unix/bsd/setgid.c: Likewise.
59093         * sysdeps/unix/bsd/setrgid.c: Likewise.
59094         * sysdeps/unix/bsd/setruid.c: Likewise.
59095         * sysdeps/unix/bsd/setsid.c: Likewise.
59096         * sysdeps/unix/bsd/setuid.c: Likewise.
59097         * sysdeps/unix/bsd/sigaction.c: Likewise.
59098         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59099         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59100         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59101         * sysdeps/unix/bsd/telldir.c: Likewise.
59102         * sysdeps/unix/bsd/times.c: Likewise.
59103         * sysdeps/unix/bsd/usleep.c: Likewise.
59105         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59106         ($(objpfx)libbsd-compat.a): Remove rule.
59108         * include/features.h (__FAVOR_BSD): Do not define.
59109         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59110         features conflicting with POSIX.
59111         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59112         (_BSD_SOURCE): Remove description of not being a subset of other
59113         feature test macros.
59114         * manual/job.texi (getpgrp): Do not document BSD version.
59115         (getpgid): Do not document by reference to BSD getpgrp.
59116         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59117         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59118         * signal/signal.h [__FAVOR_BSD]: Likewise.
59119         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59120         instead of making contents conditional on [__FAVOR_BSD].
59121         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59123 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59127 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59129         [BZ #16314]
59130         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59131         values below 2**-450, not 2**-500.
59132         * math/auto-libm-test-in: Don't allow spurious underflow from
59133         hypot.
59134         * math/auto-libm-test-out: Regenerated.
59136         [BZ #16316]
59137         [BZ #16330]
59138         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59139         values of ha and hb and sort them after adjusting subnormal
59140         arguments.
59141         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59142         Likewise.
59143         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59144         values of ea and eb and sort them after adjusting subnormal
59145         arguments.
59146         * math/auto-libm-test-in: Do not expect some hypot tests of
59147         subnormals to fail.  Add more hypot tests.
59148         * math/auto-libm-test-out: Regenerated.
59150 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59152         [BZ #13304]
59153         * sysdeps/sh/s_fma.c: New file.
59154         * sysdeps/sh/s_fmaf.c: New file.
59155         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59156         version.
59157         * sysdeps/sh/Implies: Add sh/soft-fp.
59159 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59161         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59162         level of indirection to members `objname', `errstring', `malloced'.
59163         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59164         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59165         it as the __longjmp argument (just pass 1 instead).
59166         (_dl_catch_error): Initialize C with argument pointers and address of
59167         volatile local ERRCODE rather than copying values out of C at return.
59169 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59171         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59172         * math/auto-libm-test-out: Regenerated.
59173         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59174         (hypot_test_data): Likewise.
59175         (pow_test_data): Likewise.
59176         (pow_tonearest_test_data): Likewise.
59177         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59178         mpfr_ff_f.
59179         (func_calc_desc): Add mpfr_ff_f union field.
59180         (FUNC_mpfr_ff_f): New macro.
59181         (test_functions): Add atan2, hypot and pow.
59182         (special_fill_min): New function.
59183         (special_fill_minus_min): Likewise.
59184         (special_fill_min_subnorm): Likewise.
59185         (special_fill_minus_min_subnorm): Likewise.
59186         (special_real_inputs): Add min, -min, min_subnorm and
59187         -min_subnorm.
59188         (calc_generic_results): Handle mpfr_ff_f.
59189         * sysdeps/i386/fpu/libm-test-ulps: Update.
59190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59192 2013-12-16  Will Newton  <will.newton@linaro.org>
59194         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59195         (Aligned Memory Blocks): Add documentation for aligned_alloc
59196         and suggest it as an alternative to posix_memalign.
59197         (Hooks for Malloc): Document __memalign_hook is also called
59198         for aligned_alloc.  (Summary of Malloc): Add summary for
59199         aligned alloc.  Document __memalign_hook is also called
59200         for aligned_alloc.
59202 2013-12-16  Will Newton  <will.newton@linaro.org>
59204         * manual/memory.texi (Malloc Examples): Clarify default
59205         alignment documentation.  Suggest posix_memalign rather
59206         than memalign or valloc.
59207         (Aligned Memory Blocks): Remove suggestion to use memalign
59208         or valloc.  Remove obsolete comment about BSD.
59209         Document memalign errno values and mark the function obsolete.
59210         Document posix_memalign returned error codes.  Mark valloc
59211         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59212         called for posix_memalign and valloc.
59213         (Summary of Malloc): Add posix_memalign to function summary.
59214         __memalign_hook is also called for posix_memalign and valloc.
59216 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59218         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59219         TAYLOR_SIN.
59220         (__sin): Adjust.
59221         (__cos): Likewise.
59222         (sloww): Use mynumber union.  Expand ternary operator into
59223         if-else statements.
59224         (cslow): use mynumber union.
59226 2013-12-16  Allan McRae  <allan@archlinux.org>
59228         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59229         * configure: Regenerated.
59231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59233         [BZ #14120]
59234         * configure.ac: Added --enable-maintainer-mode. Check for
59235         autoconf when enabled.
59236         * configure: Regenerated.
59238         * nscd/nscd.service: New file.
59239         * nscd/nscd.tmpfiles: New file.
59241 2013-12-14  Ondƙej BĂ­lka  <neleai@seznam.cz>
59243         [BZ #12100]
59244         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59245         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59246         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59247         (strstr): Add __strstr_sse2_unaligned ifunc.
59248         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59249         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59250         (strcasestr): Remove __strcasestr_sse42 ifunc.
59251         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59253         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59255 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59257         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59258         * sysdeps/sh/bits/fenv.h: ... here.
59259         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59261 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59263         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59266         hypotf multiarch implementations.
59267         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59268         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59269         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59270         multiarch hypot for PPC64.
59271         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59274         multiarch hypotf for PPC64.
59276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59277         modff multiarch implementations.
59278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59281         multiarch modf for PPC64.
59282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59285         multiarch modff for PPC64.
59287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59288         and logl multiarch implementations.
59289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59292         multiarch logb for PPC64.
59293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59296         multiarch logb for PPC64.
59297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59300         multiarch logb for PPC64.
59302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59303         isinff multiarch implementation.
59304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59305         file.
59306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59308         multiarch isinf for PPC64.
59309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59310         file.
59311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59312         multiarch isinff for PPC64.
59314         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59315         finitef multiarch implementation.
59316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59317         file.
59318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59320         multiarch finite for PPC64.
59321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59322         file.
59323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59324         multiarch finitef for PPC64.
59326         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59327         lrint multiarch implementation.
59328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59329         file.
59330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59332         multiarch llrint for PPC64.
59333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59334         multiarch lrint for PPC64.
59336         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59337         copysignf multiarch implementation.
59338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59339         file.
59340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59341         file.
59342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59343         multiarch copysign for PPC64.
59344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59345         multiarch copysignf for PPC64.
59347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59348         multiarch implementation.
59349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59350         file.
59351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59352         file.
59353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59354         file.
59355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59356         file.
59357         multiarch llround for PPC64.
59358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59359         multiarch trunc for PPC64.
59360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59361         multiarch truncf for PPC64.
59363         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59364         multiarch implementation.
59365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59366         file.
59367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59368         file.
59369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59370         file.
59371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59372         file.
59373         multiarch llround for PPC64.
59374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59375         multiarch round for PPC64.
59376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59377         multiarch roundf for PPC64.
59379         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59380         multiarch implementation.
59381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59382         file.
59383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59384         file.
59385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59386         file.
59387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59388         file.
59389         multiarch llround for PPC64.
59390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59391         multiarch floor for PPC64.
59392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59393         multiarch floorf for PPC64.
59395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59396         multiarch implementation.
59397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59398         file.
59399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59400         file.
59401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59402         file.
59403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59404         file.
59405         multiarch llround for PPC64.
59406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59407         multiarch ceil for PPC64.
59408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59409         multiarch ceilf for PPC64.
59411         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59412         multiarch implementation.
59413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59414         file.
59415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59416         file.
59417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59418         file.
59419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59420         multiarch llround for PPC64.
59421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59422         multiarch lround for PPC64.
59424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59425         multiarch implementation.
59426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59429         file.
59430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59433         multiarch isnan for PPC64.
59434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59435         multiarch isnanf for PPC64.
59437         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59438         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59439         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59440         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59441         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59444         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59445         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59446         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59450         multiarch implementations.
59451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59452         (__libc_ifunc_impl_list): Likewise.
59453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59454         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59455         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59456         multiarch stpcpy for PPC64.
59458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59459         multiarch implementations.
59460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59461         (__libc_ifunc_impl_list): Likewise.
59462         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59463         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59464         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59465         multiarch strcpy for PPC64.
59467         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59468         redefine function name.
59469         (_wordcopy_fwd_dest_aligned): Likewise.
59470         (_wordcopy_bwd_aligned): Likewise.
59471         (_wordcopy_bwd_dest_aligned): Likewise.
59472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59473         multiarch implementations.
59474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59475         (__libc_ifunc_impl_list): Likewise.
59476         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59477         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59479         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59480         multiarch wcscpy for PPC64.
59482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59483         multiarch implementations.
59484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59485         (__libc_ifunc_impl_list): Likewise.
59486         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59488         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59490         multiarch wcscpy for PPC64.
59492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59493         multiarch implementations.
59494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59495         (__libc_ifunc_impl_list): Likewise.
59496         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59497         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59498         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59499         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59500         multiarch wcsrchr for PPC64.
59502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59503         multiarch implementations.
59504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59505         (__libc_ifunc_impl_list): Likewise.
59506         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59507         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59508         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59509         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59510         multiarch wcschr for PPC64.
59512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59513         multiarch implementations.
59514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59515         (__libc_ifunc_impl_list): Likewise.
59516         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59517         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59518         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59519         multiarch strchrnul for PPC64.
59521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59522         implementations.
59523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59524         (__libc_ifunc_impl_list): Likewise.
59525         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59526         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59527         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59528         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59529         strchr for PPC64.
59531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59532         implementations.
59533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59534         (__libc_ifunc_impl_list): Likewise.
59535         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59536         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59537         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59538         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59539         strncmp for PPC64.
59541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59542         multiarch implementations.
59543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59544         (__libc_ifunc_impl_list): Likewise.
59545         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59546         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59547         strncasecmp for PPC64.
59548         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59549         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59550         multiarch strncasecmp_l for PPC64.
59552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59553         multiarch implementations.
59554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59555         (__libc_ifunc_impl_list): Likewise.
59556         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59557         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59558         multiarch strcasecmp for PPC64.
59559         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59560         file.
59561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59562         multiarch strcasecmp_l for PPC64.
59564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59565         implementations.
59566         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59567         (__libc_ifunc_impl_list): Likewise.
59568         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59569         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59570         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59571         strnlen for PPC64.
59573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59574         implementations.
59575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59576         (__libc_ifunc_impl_list): Likewise.
59577         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59578         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59579         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59580         strlen for PPC64.
59582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59583         implementations.
59584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59585         (__libc_ifunc_impl_list): Likewise.
59586         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59587         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59588         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59589         rawmemrchr for PPC64.
59591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59592         implementation.
59593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59594         (__libc_ifunc_impl_list): Likewise.
59595         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59596         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59597         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59598         memrchr for PPC64.
59600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59601         implementation.
59602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59603         (__libc_ifunc_impl_list): Likewise.
59604         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59605         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59606         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59607         memchr for PPC64.
59609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59610         implementation.
59611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59612         (__libc_ifunc_impl_list): Likewise.
59613         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59614         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59615         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59616         mempcpy for PPC64.
59618         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59619         avoid cretion of __bzero symbol.
59620         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59621         Likewise.
59622         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59623         Likewise.
59624         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59625         Likewise.
59626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59627         multiarch implementations.
59628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59629         (__libc_ifunc_impl_list): Likewise.
59630         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59631         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59632         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59633         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59634         bzero for PPC32.
59635         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59636         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59637         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59638         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59639         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59640         memset for PPC64.
59641         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59643         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59645         implementations.
59646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59647         (__libc_ifunc_impl_list): Likewise.
59648         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59649         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59650         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59651         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59652         memcmp for PPC64.
59654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59655         multiarch for POWER/PPC64.
59656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59657         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59658         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59661         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59662         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59664         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59665         memcpy for PPC64.
59667         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59668         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59669         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59671         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59672         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59673         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59674         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59675         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59676         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59677         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59678         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59679         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59680         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59681         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59690 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59692         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59694 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59696         * benchtests/Makefile (bench): Add exp2 and log2.
59697         (LDLIBS-bench-exp2): Add -lm.
59698         (LDLIBS-bench-log2): Likewise.
59699         * benchtests/exp2-inputs: New inputs file.
59700         * benchtests/log2-inputs: New inputs file.
59701         * benchtests/log-inputs: Add new inputs.
59702         * benchtests/tan-inputs: Likewise.
59704 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59706         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59707         definition...
59708         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59709         (csloww2): ... from here.
59711         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59712         instead of structures.
59713         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59714         (POLYNOMIAL): Likewise.
59715         (TAYLOR_SLOW): Likewise.
59716         (__sin): Likewise.
59717         (__cos): Likewise.
59718         (slow1): Likewise.
59719         (slow2): Likewise.
59720         (sloww): Likewise.
59721         (sloww1); Likewise.
59722         (sloww2): Likewise.
59723         (bsloww1): Likewise.
59724         (bsloww2): Likewise.
59725         (cslow2): Likewise.
59726         (csloww): Likewise.
59727         (csloww1): Likewise.
59728         (csloww2): Likewise.
59730 2013-12-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
59732         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59733         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59734         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59735         * malloc/hooks.c (realloc_check): Likewise.
59737         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59738         * malloc/arena.c: Remove PER_THREAD conditional.
59739         [!PER_THREAD]: Remove code.
59740         (ptmalloc_unlock_all2): Likewise.
59741         (ptmalloc_init): Likewise.
59742         (_int_new_arena): Likewise.
59743         (arena_get2): Likewise.
59744         * malloc/hooks.c (__malloc_get_state): Likewise.
59745         (__malloc_set_state): Likewise.
59746         * malloc/malloc.c: Likewise.
59747         (struct malloc_state): Likewise.
59748         (struct malloc_par): Likewise.
59749         (__libc_realloc): Likewise.
59750         (__libc_mallopt): Likewise.
59752 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59754         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59756 2013-12-09  Ondƙej BĂ­lka  <neleai@seznam.cz>
59758         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59759         macro to a function.  Check for zero perturb_byte.
59760         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59762         * malloc/malloc.c: (force_reg): Remove.
59763         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59764         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59765         force_reg by atomic_forced_read.
59766         * malloc/arena.c (ptmalloc_init): Likewise.
59767         * malloc/hooks.c (top_check): Likewise.
59769 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59773 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59777 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59779         * math/auto-libm-test-in: Add tests of lgamma.
59780         * math/auto-libm-test-out: Regenerated.
59781         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59782         (M_LOG_2_SQRT_PIl): Likewise.
59783         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59785         mpfr_f_f1.
59786         (func_calc_desc): Add mpfr_f_f1 union field.
59787         (ARGS1): New macro.
59788         (ARGS2): Likewise.
59789         (ARGS3): Likewise.
59790         (ARGS4): Likewise.
59791         (RET1): Likewise.
59792         (RET2): Likewise.
59793         (CALC): Likewise.
59794         (FUNC): Likewise.
59795         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59796         (test_functions): Add lgamma.
59797         (calc_generic_results): Handle mpfr_f_f1.
59798         * sysdeps/i386/fpu/libm-test-ulps: Update.
59799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59801 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59803         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59804         __mpn_add_n for PowerPC64/POWER7.
59805         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59806         __mpn_sub_n for PowerPC64/POWER7.
59808         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59809         __mpn_addmul_1 for PowerPC64.
59810         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59811         __mpn_submul_1 for PowerPC64.
59812         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59813         for PowerPC64.
59814         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59815         for PowerPC64.
59817 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59819         [BZ #15089]
59820         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59822 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59824         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59826         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59827         add multiarch folders.
59828         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59829         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59830         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59831         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59832         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59833         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59834         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59835         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59836         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59837         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59838         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59847         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59849         New file.
59850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59851         New file.
59852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59853         multiarch __ieee754_hypot for PowerPC32.
59854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59855         New file.
59856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59857         New file.
59858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59859         multiarch __ieee754_hypotf for PowerPC32.
59861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59862         long_double_symbol only if __logbl is defined.
59863         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59864         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59865         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59866         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59867         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59868         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59869         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59870         path for implementation.
59871         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59872         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59874         logb, and logbl multiarch implementations for PowerPC32.
59875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59876         file.
59877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59878         file.
59879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59880         multiarch logb for PowerPC32.
59881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59882         file.
59883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59884         file.
59885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59886         multiarch logbf for PowerPC32.
59887         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59889         file.
59890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59891         multiarch logbl implementation for PowerPC32.
59893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59894         and modff multiarch implementations.
59895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59896         New file.
59897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59898         New file.
59899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59900         multiarch modf for PowerPC32.
59901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59902         New file.
59903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59904         New file.
59905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59906         multiarch modff for PowerPC32.
59908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59909         and lrintf multiarch implementations.
59910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59911         New file.
59912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59913         New file.
59914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59915         multiarch lrint for PowerPC32.
59916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59917         file: multiarch lrintf for PowerPC32.
59919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59920         and lroundf multiarch implementations.
59921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59922         New file.
59923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59924         New file.
59925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59926         New file.
59927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59928         multiarch lround for PowerPC32.
59929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59930         file: multiarch lroundf for PowerPC32.
59932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59933         copysign and copysignf multiarch implementations.
59934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59935         New file.
59936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59937         New file.
59938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59939         file: multiarch copysign for PowerPC32.
59940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59941         file: multiarch copysignf for PowerPC32.
59943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59944         and truncf multiarch implementations.
59945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59946         New file.
59947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59948         file.
59949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59950         multiarch trunc for PowerPC32.
59951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59952         New file.
59953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59954         New file.
59955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59956         multiarch truncf for PowerPC32.
59958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59959         and roundf multiarch implementations.
59960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59961         New file.
59962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59963         file.
59964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59965         multiarch round for PowerPC32.
59966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59967         New file.
59968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59969         New file.
59970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59971         multiarch roundf for PowerPC32.
59973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59974         and floorf multiarch implementations.
59975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59976         New file.
59977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59978         file.
59979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59980         multiarch floor for PowerPC32.
59981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59982         New file.
59983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59984         New file.
59985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59986         multiarch floorf for PowerPC32.
59988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59989         and ceilf multiarch implementations.
59990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59991         New file.
59992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59993         file.
59994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59995         multiarch ceil for PowerPC32.
59996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59997         New file.
59998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59999         file.
60000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60001         multiarch ceilf for PowerPC32.
60003         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60004         is defined.
60005         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60006         FINITEF is defined.
60007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60008         and finitef multiarch implementations.
60009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60010         New file.
60011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60012         file.
60013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60014         multiarch finite for PowerPC32.
60015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60016         New file.
60017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60018         file: multiarch finitef for PowerPC32.
60020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60021         and isinff multiarch implementations.
60022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60023         file.
60024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60025         file.
60026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60027         multiarch isinf for PowerPC32.
60028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60029         New file.
60030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60031         multiarch isinff for PowerPC32.
60033         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60034         alias when __isnan is defined.
60035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60036         and isnanf multiarch implementations.
60037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60038         file.
60039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60040         file.
60041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60042         file.
60043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60044         file.
60045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60046         multiarch isnan for PowerPC32.
60047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60048         New file.
60049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60050         New file.
60051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60052         multiarch isnanf for PowerPC32.
60054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60055         and sqrtf multiarch implementations.
60056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60057         file.
60058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60059         file.
60060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60061         multiarch sqrt for PowerPC32.
60062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60063         file.
60064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60065         file.
60066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60067         multiarch sqrtf for PowerPC32.
60069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60070         and llroundf multiarch implementations.
60071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60072         New file.
60073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60074         New file.
60075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60076         New file.
60077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60078         file: multiarch llround for PowerPC32.
60079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60080         file: multiarch llroundf for PowerPC32.
60082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60083         multiarch PowerPC32 fpu implementations.
60084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60085         New file.
60086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60087         New file.
60088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60089         multiarch llrint for PowerPC32.
60090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60091         New file.
60092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60093         New file.
60094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60095         file.
60097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60099         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60100         file.
60101         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60102         file.
60103         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60104         file.
60105         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60106         multiarch wordcopy for PPC32.
60107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60108         wordcopy objects.
60109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60110         (__libc_ifunc_impl_list): Likewise.
60111         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60112         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60113         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60114         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60115         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60116         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60118         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60120         file.
60121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60122         file.
60123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60124         file.
60125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60126         multiarch wcscpy for PPC32.
60127         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60128         multiarch objects.
60129         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60130         (__libc_ifunc_impl_list): Likewise.
60131         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60132         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60133         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60134         sysdeps/powerpc/power6/wcscpy.c.
60136         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60138         file.
60139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60140         file.
60141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60142         file.
60143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60144         multiarch wcsrchr for PPC32.
60145         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60146         multiarch objects.
60147         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60148         (__libc_ifunc_impl_list): Likewise.
60149         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60150         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60151         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60152         sysdeps/powerpc/power6/wcsrchr.c.
60154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60155         file.
60156         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60157         file.
60158         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60160         multiarch wcschr for PPc32.
60161         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60162         multiarch objects.
60163         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60164         (__libc_ifunc_impl_list): Likewise.
60165         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60166         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60167         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60168         sysdeps/powerpc/power6/wcschr.c.
60170         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60171         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60172         file.
60173         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60174         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60175         file: multiarch strchr for PPC32.
60176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60177         multiarch objects.
60178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60179         (__libc_ifunc_impl_list): Likewise.
60181         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60182         name.
60183         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60184         file.
60185         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60186         file.
60187         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60188         multiarch strchrnul for PPC32.
60189         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60190         multiarch objects.
60191         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60192         (__libc_ifunc_impl_list): Likewise.
60194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60195         file.
60196         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60197         multiarch strncasecmp for PPC32.
60198         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60199         file.
60200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60201         multiarch strncasecmp_l for PPC32.
60202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60203         strncasecmp multiarch objects.
60204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60205         (__libc_ifunc_impl_list): Likewise.
60207         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60208         file.
60209         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60210         multiarch strncasecmp for PPC32.
60211         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60212         New file.
60213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60214         multiarch strcasecmp_l for PPC32.
60215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60216         multiarch objects.
60217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60218         (__libc_ifunc_impl_list): Likewise.
60220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60221         file.
60222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60223         file.
60224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60225         multiarch strncmp for PPC32.
60226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60227         multiarch objects.
60228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60229         (__libc_ifunc_impl_list): Likewise.
60231         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60232         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60233         file.
60234         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60235         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60237         multiarch objects.
60238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60239         (__libc_ifunc_impl_list): Likewise.
60241         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60242         file.
60243         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60244         file.
60245         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60246         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60247         multiarch objects.
60248         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60249         (__libc_ifunc_impl_list): Likewise.
60251         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60252         file.
60253         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60254         file.
60255         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60256         multiarch rawmemchr for PPC32.
60257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60258         multiarch objects.
60259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60260         (__libc_ifunc_impl_list): Likewise.
60262         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60263         file.
60264         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60265         file.
60266         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60267         file: memrchr multiarch for PPC32.
60268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60269         multiarch objects.
60270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60271         (__libc_ifunc_impl_list): Likewise.
60273         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60275         file.
60276         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60277         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60278         multiarch memchr for PPC32.
60279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60280         multiarch objects.
60281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60282         (__libc_ifunc_impl_list): Likewise.
60284         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60285         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60286         file.
60287         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60288         file.
60289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60290         file: multiarch mempcpy for PPC32.
60291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60292         multiarch objects.
60293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60294         (__libc_ifunc_impl_list): Likewise.
60296         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60298         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60299         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60300         multiarch bzero for PPC32.
60301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60302         file.
60303         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60304         file.
60305         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60306         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60307         file: multiarch memset for PPC32.
60308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60310         memset multiarch objects.
60311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60312         (__libc_ifunc_impl_list): Likewise.
60314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60315         file.
60316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60317         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60318         memcmp for PPC32.
60319         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60321         multiarch objects.
60322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60323         (__libc_ifunc_impl_list): Likewise.
60325         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60326         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60327         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60328         file.
60329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60330         file.
60331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60332         file.
60333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60334         multiarch memcpy for PPC32.
60335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60336         multiarch objects.
60337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60338         (__libc_ifunc_impl_list): Likewise.
60340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60341         support multiarch for POWER/PPC32.
60342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60343         Likewise.
60344         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60346         Implies file to make multiarch folder appers before the fpu and
60347         default folder for power4 configuration.
60349 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60351         * scripts/bench.pl: Append volatile keyword to type.
60353 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60355         * sysdeps/sh/sotruss-lib.c: New file.
60356         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60358 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60362 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60364         [BZ #6810]
60365         * math/w_tgamma.c: Include <errno.h>.
60366         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60367         * math/w_tgammaf.c: Include <errno.h>.
60368         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60369         * math/w_tgammal.c: Include <errno.h>.
60370         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60371         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60372         underflow.  Add more tgamma tests.
60373         * math/auto-libm-test-out: Regenerated.
60374         * sysdeps/i386/fpu/libm-test-ulps: Update.
60375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60377         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60378         sin, sinh, tan, tanh, tgamma, y0 and y1.
60379         * math/auto-libm-test-out: Regenerated.
60380         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60381         (TEST_COND_x86): Likewise.
60382         (M_E2l): Remove macro.
60383         (M_E3l): Likewise.
60384         (M_2_SQRT_PIl): Likewise.
60385         (M_SQRT_PIl): Likewise.
60386         (M_1_DIV_El): Likewise.
60387         (log_test_data): Use AUTO_TESTS_f_f.
60388         (log10_test_data): Likewise.
60389         (log1p_test_data): Likewise.
60390         (log2_test_data): Likewise.
60391         (sin_test_data): Likewise.
60392         (sin_tonearest_test_data): Likewise.
60393         (sin_towardzero_test_data): Likewise.
60394         (sin_downward_test_data): Likewise.
60395         (sin_upward_test_data): Likewise.
60396         (sinh_test_data): Likewise.
60397         (sinh_tonearest_test_data): Likewise.
60398         (sinh_towardzero_test_data): Likewise.
60399         (sinh_downward_test_data): Likewise.
60400         (sinh_upward_test_data): Likewise.
60401         (tan_test_data): Likewise.
60402         (tan_tonearest_test_data): Likewise.
60403         (tan_towardzero_test_data): Likewise.
60404         (tan_downward_test_data): Likewise.
60405         (tan_upward_test_data): Likewise.
60406         (tanh_test_data): Likewise.
60407         (tgamma_test_data): Likewise.
60408         (y0_test_data): Likewise.
60409         (y1_test_data): Likewise.
60410         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60411         (special_real_inputs): Add pi/4.
60412         * sysdeps/i386/fpu/libm-test-ulps: Update.
60413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60415 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60417         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60418         "longjmp_target" static probes.
60419         (__longjmp): Rename to __longjmp_symbol.
60420         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60421         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60422         on which longjmp to generate.
60423         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60424         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60425         probe.
60426         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60427         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60428         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60429         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60430         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60431         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60433         __longjmp_symbol based on which __longjmp to generate.
60434         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60435         probe.
60436         (setjmp): Rename to setjmp_symbol.
60437         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60438         (_setjmp): Rename to _setjmp_symbol.
60439         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60440         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60441         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60442         which setjmp to generate.
60443         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60444         "longjmp_target" static probes.
60446 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60448         * benchtests/README: Add note about output arguments.
60449         * benchtests/bench-sincos.c: Remove file.
60450         * benchtests/sincos-inputs: New file.
60451         * scripts/bench.pl: Identify output arguments and define
60452         static variables for them.
60454         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60456         [BZ #15941]
60457         * Makefile (INSTALL): Add install-plain.texi as the primary
60458         dependency.
60459         * manual/install-plain.texi: New file.
60460         * manual/install.texi: Include node directive only for
60461         non-plaintext output.
60463 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60465         * stdlib/longlong.h: Update from GCC.
60467         [BZ #6807]
60468         [BZ #15901]
60469         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60470         * math/w_j0f.c (y0f): Likewise.
60471         * math/w_j0l.c (__y0l): Likewise.
60472         * math/w_j1.c (y1): Likewise.
60473         * math/w_j1f.c (y1f): Likewise.
60474         * math/w_j1l.c (__y1l): Likewise.
60475         * math/w_jn.c (yn): Likewise.
60476         * math/w_jnf.c (ynf): Likewise.
60477         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60478         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60479         value for Bessel function domain errors outside _SVID_ mode.
60480         Adjust sign of return value for yn (negative integer, 0).
60481         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60482         by zero in return for negative x and set sign appropriately for
60483         negative n.
60484         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60485         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60486         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60487         expectations in error cases.
60488         (y1_test_data): Likewise.
60489         (yn_test_data): Likewise.
60490         * sysdeps/i386/fpu/libm-test-ulps: Update.
60491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60493 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60495         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60496         "64" to "64-v1".  Add "64-v2".
60497         (abi-64-options): Rename to ...
60498         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60499         (abi-64-condition): Rename to ...
60500         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60501         (abi-64-ld-soname): Rename to ...
60502         (abi-64-v1-ld-soname): ... this.
60503         (abi-64-v2-options): Define.
60504         (abi-64-v2-condition): Likewise.
60505         (abi-64-v2-ld-soname): Likewise.
60506         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60507         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60512 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60513             Alan Modra  <amodra@gmail.com>
60515         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60516         New versions for use with the ELFv2 ABI.
60517         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60518         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60519         declaration.
60520         (struct La_ppc64v2_retval): Likewise.
60521         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60522         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60523         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60524         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60525         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60526         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60527         Do not save or restore CR.
60528         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60529         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60530         return values for ELFv2 ABI.  Fix location of FPR return registers.
60531         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60532         updated values for _CALL_ELF == 2.
60533         (La_regs, La_retval, int_retval): Likewise.
60535 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60537         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60538         (FRAME_MIN_SIZE_PARM): Likewise.
60539         (FRAME_BACKCHAIN): Likewise.
60540         (FRAME_CR_SAVE): Likewise.
60541         (FRAME_LR_SAVE): Likewise.
60542         (FRAME_TOC_SAVE): Likewise.
60543         (FRAME_PARM_SAVE): Likewise.
60544         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60545         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60546         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60547         (call_mcount_parm_offset): New macro.
60548         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60549         (PROF): Use symbolic stack frame offsets.
60550         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60551         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60552         Redefine in terms of FRAME_MIN_SIZE.
60553         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60554         (_dl_profile_resolve): Likewise.  Update comment.
60555         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60556         symbols stack frame offsets.
60557         (__sigsetjmp): Likewise.
60558         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60559         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60560         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60561         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60564         (FRAME_BACKCHAIN): Remove.
60565         (FRAME_CR_SAVE): Likewise.
60566         (FRAME_LR_SAVE): Likewise.
60567         (FRAME_COMPILER_DW): Likewise.
60568         (FRAME_LINKER_DW): Likewise.
60569         (FRAME_TOC_SAVE): Likewise.
60570         (FRAME_PARM_SAVE): Likewise.
60571         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60572         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60573         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60575         (CHECK_SP): Use symbolic stack frame offsets.
60576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60577         zone" instead of caller's parameter save area for temp storage.
60578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60579         Likewise.  Also, use symbolic stack frame offsets.
60580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60581         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60582         our own stack frame instead of the caller's.
60583         (__socket): Use symbolic stack frame offsets.
60585 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60586             Alan Modra  <amodra@gmail.com>
60588         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60589         Define.
60590         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60591         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60592         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60593         New function.
60594         (elf_machine_fixup_plt): Call it.
60595         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60596         reloc arguments.
60597         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60598         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60599         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60600         r2 before calling target.
60602 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60603             Alan Modra  <amodra@gmail.com>
60605         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60606         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60607         versions of macros to support ELFv2 ABI.
60608         (LOCALENTRY): New macro.
60609         (ENTRY, EALIGN): Use it.
60610         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60611         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60612         fall through into ENTRY entry point.
60613         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60614         Only define if _CALL_ELF != 2.
60616         (elf_machine_matches_host): Verify ABI version matches.
60617         (RTLD_START): Use LOCALENTRY.
60618         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60619         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60620         (PLT_ENTRY_WORDS): New macro.
60621         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60622         (elf_machine_runtime_setup): Support ELFv2 ABI.
60623         (elf_machine_fixup_plt): Likewise.
60624         (elf_machine_plt_conflict): Likewise.
60625         (resolve_ifunc): Likewise.
60626         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60627         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60628         Likewise.
60629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60630         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60632         (makecontext): Support ELFv2 ABI.
60633         * elf/elf.h (EF_PPC64_ABI): Define.
60635 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60637         * sysdeps/powerpc/powerpc64/sysdep.h
60638         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60639         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60640         (ENTRY) [ASSEMBLER]: ... but instead here ...
60641         (EALIGN) [ASSEMBLER]: ... and here.
60642         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60643         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60644         (ENTRY_2) [!ASSEMBLER]: Use it.
60645         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60646         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60647         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60648         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60649         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60651         Use PPC64_LOAD_FUNCPTR.
60653         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60655 2013-12-04  Alan Modra  <amodra@gmail.com>
60657         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60658         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60659         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60660         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60662         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60663         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60664         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60665         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60666         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60667         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60669 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60672         (__makecontext): Fix incorrect CFI when backtracing out of
60673         context created via makecontext.
60674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60675         (__setcontext): Fix incorrect CFI during switch to new context.
60676         (__novec_setcontext): Likewise.
60678 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60680         [BZ #4772]
60681         * time/strptime_l.c (__strptime_internal): Allow modifiers
60682         in strptime.
60683         * time/tst-strptime.c (day_tests): Add testcase.
60685 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60687         * scripts/bench.pl: Skip over blank lines.
60689 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60691         [BZ #926]
60692         * manual/time.texi (Calendar Time): Clarify what timezone functions
60693         use.
60695 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60699 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60701         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60702         implementation.
60703         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60704         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60705         * debug/memset_chk.c (__memset_chk): Likewise.
60706         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60707         * debug/strncpy_chk.c: Likewise.
60709 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60711         [BZ #15268]
60712         [BZ #15425]
60713         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60714         (__ieee754_exp): For possibly underflowing results, check size of
60715         result and force underflow exception if required.
60716         * math/auto-libm-test-in: Add more tests of exp.
60717         * math/auto-libm-test-out: Regenerated.
60718         * sysdeps/i386/fpu/libm-test-ulps: Update.
60719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60721         [BZ #16283]
60722         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60723         * math/w_exp2f.c (__exp2f): Likewise.
60724         * math/w_exp2l.c (__exp2l): Likewise.
60725         * math/auto-libm-test-in: Do not allow missing errno on exp2
60726         underflow.
60727         * math/auto-libm-test-out: Regenerated.
60729 2013-12-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
60731         [BZ #16274]
60732         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60733         handle filename validation.
60734         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60735         (do_open): Delete.
60737 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60739         [BZ #6786]
60740         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60741         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60742         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60743         <float.h>.
60744         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60745         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60746         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60748         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60749         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60750         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60751         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60752         Add more erfc tests.
60753         * math/auto-libm-test-out: Regenerated.
60754         * sysdeps/i386/fpu/libm-test-ulps: Update.
60755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60757         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60758         exp2, expm1, j0 and j1.
60759         * math/auto-libm-test-out: Regenerated.
60760         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60761         (erfc_test_data): Likewise.
60762         (exp_test_data): Likewise.
60763         (exp_tonearest_test_data): Likewise.
60764         (exp_towardzero_test_data): Likewise.
60765         (exp_downward_test_data): Likewise.
60766         (exp_upward_test_data): Likewise.
60767         (exp10_test_data): Likewise.
60768         (exp2_test_data): Likewise.
60769         (expm1_test_data): Likewise.
60770         (j0_test_data): Likewise.
60771         (j1_test_data): Likewise.
60772         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60773         (input_flag_type): Add flag_xfail_rounding.
60774         (input_flags): Add xfail-rounding.
60775         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60776         (output_for_one_input_case): Handle flag_xfail_rounding.
60777         * sysdeps/i386/fpu/libm-test-ulps: Update.
60778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60780 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60782         [BZ #16289]
60783         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60784         division by 0.
60786 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60788         [BZ #16195]
60789         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60790         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60791         (STAP_PROBE0): New macro.
60792         (STAP_PROBE1): Likewise.
60793         (STAP_PROBE2): Likewise.
60794         (STAP_PROBE3): Likewise.
60795         (STAP_PROBE4): Likewise.
60797 2013-12-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
60799         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60801 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60803         * benchtests/Makefile (bench): Add sqrt.
60804         (LDLIBS-bench-sqrt): New.
60805         * benchtests/sqrt-input: New.
60807 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60809         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60810         (GAIH_EAI): Likewise.
60811         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60812         (gaih_inet): Likewise.
60813         (getaddrinfo): Don't use GAIH_EAI.
60815         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60816         (struct gaih): Remove definition.
60818 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60820         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60821         Use HERRNOP directly.
60823 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60827 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60829         * math/gen-auto-libm-tests.c (test_functions): Add more
60830         single-argument functions.
60831         (special_fill_pi_2): New function.
60832         (special_fill_minus_pi_2): Likewise.
60833         (special_fill_pi_6): Likewise.
60834         (special_fill_minus_pi_6): Likewise.
60835         (special_fill_pi_3): Likewise.
60836         (special_fill_2pi_3): Likewise.
60837         (special_fill_e): Likewise.
60838         (special_fill_1_e): Likewise.
60839         (special_fill_e_minus_1): Likewise.
60840         (special_real_inputs): Add more special inputs.
60841         (output_for_one_input_case): Do not require ERANGE on underflow to
60842         zero if round-to-nearest result does not underflow to zero, unless
60843         exact results required.
60844         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60845         atan, atanh, cbrt, cos and cosh.
60846         * math/auto-libm-test-out: Regenerated.
60847         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60848         (acos_tonearest_test_data): Likewise.
60849         (acos_towardzero_test_data): Likewise.
60850         (acos_downward_test_data): Likewise.
60851         (acos_upward_test_data): Likewise.
60852         (acosh_test_data): Likewise.
60853         (asin_test_data): Likewise.
60854         (asin_tonearest_test_data): Likewise.
60855         (asin_towardzero_test_data): Likewise.
60856         (asin_upward_test_data): Likewise.
60857         (asinh_test_data): Likewise.
60858         (atan_test_data): Likewise.
60859         (atanh_test_data): Likewise.
60860         (cbrt_test_data): Likewise.
60861         (cos_test_data): Likewise.
60862         (cos_tonearest_test_data): Likewise.
60863         (cos_towardzero_test_data): Likewise.
60864         (cos_downward_test_data): Likewise.
60865         (cos_upward_test_data): Likewise.
60866         (cosh_test_data): Likewise.
60867         (cosh_tonearest_test_data): Likewise.
60868         (cosh_towardzero_test_data): Likewise.
60869         (cosh_downward_test_data): Likewise.
60870         (cosh_upward_test_data): Likewise.
60871         * sysdeps/i386/fpu/libm-test-ulps: Update.
60872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60874 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60876         [BZ #6787]
60877         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60878         * math/w_exp10f.c (__exp10f): Likewise.
60879         * math/w_exp10l.c (__exp10l): Likewise.
60880         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60881         errno settings in existing tests.
60883         [BZ #14032]
60884         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60885         precision control set to double precision.
60886         * sysdeps/i386/fpu/w_sqrt.c: New file.
60887         * math/auto-libm-test-in: Add more tests.
60888         * math/auto-libm-test-out: Update.
60890         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60891         (sqrt_test_tonearest): New function.
60892         (sqrt_towardzero_test_data): New variable.
60893         (sqrt_test_towardzero): New function.
60894         (sqrt_downward_test_data): New variable.
60895         (sqrt_test_downward): New function.
60896         (sqrt_upward_test_data): New variable.
60897         (sqrt_test_upward): New function.
60898         (main): Call the new functions.
60900         * math/gen-auto-libm-tests.c: New file.
60901         * math/auto-libm-test-in: Likewise.
60902         * math/auto-libm-test-out: New generated file.
60903         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60904         variables.
60905         (%beautify): Add generated representations of zero.
60906         (top level): Set $auto_input and call parse_auto_input.
60907         (beautify): Remove trailing "f" from hex float constants.
60908         (parse_args): Handle XFAIL_TEST.
60909         (convert_condition): New function.
60910         (or_value): Likewise.
60911         (or_cond_value): Likewise.
60912         (generate_testfile): Handle AUTO_TESTS_* lines.
60913         (parse_auto_input): New function.
60914         * math/libm-test.inc (XFAIL_TEST): New macro.
60915         (ERRNO_UNCHANGED): Update value.
60916         (ERRNO_EDOM): Likewise.
60917         (ERRNO_ERANGE): Likewise.
60918         (IGNORE_RESULT): Likewise.
60919         (TEST_COND_flt_32): New macro.
60920         (TEST_COND_dbl_64): Likewise.
60921         (TEST_COND_ldbl_96_intel): Likewise.
60922         (TEST_COND_ldbl_96_m68k): Likewise.
60923         (TEST_COND_ldbl_128): Likewise.
60924         (TEST_COND_ldbl_128ibm): Likewise.
60925         (TEST_COND_long32): Likewise.
60926         (TEST_COND_long64): Likewise.
60927         (TEST_COND_before_rounding): Likewise.
60928         (TEST_COND_after_rounding): Likewise.
60929         (enable_test): Handle XFAIL_TEST flag.
60930         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60931         with finite results.
60932         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60933         auto-libm-test-out.
60935 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60936             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60938         [BZ #16214]
60939         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60940         __tls_get_addr_internal instead of __tls_get_offset in order to
60941         avoid GOT pointer dependency.  Make rtld export
60942         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60943         __tls_get_addr since we are a __tls_get_offset platform.
60944         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60945         GOT pointer being set up before.
60946         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60948 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60950         * manual/math.texi (Errors in Math Functions): Document accuracy
60951         goals.
60953         [BZ #15004]
60954         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60955         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60956         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60957         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60958         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60959         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60960         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60962         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60963         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60964         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60965         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60967         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60971         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60972         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60973         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60974         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60975         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60976         Likewise.
60977         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60978         Likewise.
60979         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60980         Likewise.
60981         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60982         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60983         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60984         atomic-feupdateenv and flt-rounds.
60985         * sysdeps/powerpc/nofpu/Versions (libc): Add
60986         __atomic_feholdexcept, __atomic_feclearexcept,
60987         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60988         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60989         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60990         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60991         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60992         here.
60993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60994         Update.
60996         * manual/arith.texi (FP Exceptions): Document that exceptions may
60997         not be raised when matherr is used.
60998         (Math Error Reporting): Document overflow in directed rounding
60999         modes.  Document that errno may not be set when finite values are
61000         returned on overflow.  Document intent to set errno on underflow
61001         only for underflow to zero.
61003         [BZ #16271]
61004         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61005         round-to-nearest then adjust result for other rounding modes.
61006         * include/fenv.h (fegetround): Use libm_hidden_proto.
61007         * math/fegetround.c (fegetround): Use libm_hidden_def.
61008         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61009         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61010         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61012         Likewise.
61013         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61014         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61015         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61016         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61018 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61020         [BZ #16077]
61021         * nss/Versions (libnss_files): Add
61022         _nss_files_gethostbyname3_r.
61023         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61024         New function.
61025         (HOST_DB_LOOKUP): Remove macro.
61026         (_nss_files_gethostbyname_r): Implement function without the
61027         HOST_DB_LOOKUP macro.
61028         (_nss_files_gethostbyname2_r): Likewise.
61030 2013-11-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
61032         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61034 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61036         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61037         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61038         warning.
61040 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61042         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61043         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61044         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61045         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61046         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61047         __fe_nomask_env_priv and attribute_hidden.
61048         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61049         (libc_feupdateenv_test_ppc): Likewise.
61050         (libc_feresetround_ppc): Likewise.
61051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61052         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61053         compat_symbol macro.
61054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61055         (__fe_nomask_env): Likewise.
61056         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61058 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61060         * string/Makefile: Remove ifunc tests.
61061         * string/test-string.h: Define TEST_IFUNC.
61062         * string/test-bcopy-ifunc.c: Remove.
61063         * string/test-bzero-ifunc.c: Likewise.
61064         * string/test-memccpy-ifunc.c: Likewise.
61065         * string/test-memchr-ifunc.c: Likewise.
61066         * string/test-memcmp-ifunc.c: Likewise.
61067         * string/test-memcpy-ifunc.c: Likewise.
61068         * string/test-memmem-ifunc.c: Likewise.
61069         * string/test-memmove-ifunc.c: Likewise.
61070         * string/test-mempcpy-ifunc.c: Likewise.
61071         * string/test-memrchr-ifunc.c: Likewise.
61072         * string/test-memset-ifunc.c: Likewise.
61073         * string/test-rawmemchr-ifunc.c: Likewise.
61074         * string/test-stpcpy-ifunc.c: Likewise.
61075         * string/test-stpncpy-ifunc.c: Likewise.
61076         * string/test-strcasecmp-ifunc.c: Likewise.
61077         * string/test-strcasestr-ifunc.c: Likewise.
61078         * string/test-strcat-ifunc.c: Likewise.
61079         * string/test-strchr-ifunc.c: Likewise.
61080         * string/test-strchrnul-ifunc.c: Likewise.
61081         * string/test-strcmp-ifunc.c: Likewise.
61082         * string/test-strcpy-ifunc.c: Likewise.
61083         * string/test-strcspn-ifunc.c: Likewise.
61084         * string/test-strlen-ifunc.c: Likewise.
61085         * string/test-strncasecmp-ifunc.c: Likewise.
61086         * string/test-strncat-ifunc.c: Likewise.
61087         * string/test-strncmp-ifunc.c: Likewise.
61088         * string/test-strncpy-ifunc.c: Likewise.
61089         * string/test-strnlen-ifunc.c: Likewise.
61090         * string/test-strpbrk-ifunc.c: Likewise.
61091         * string/test-strrchr-ifunc.c: Likewise.
61092         * string/test-strspn-ifunc.c: Likewise.
61093         * string/test-strstr-ifunc.c: Likewise.
61095 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61097         * benchtests/Makefile: Remove ifunc tests.
61098         * benchtests/bench-string.h: Define TEST_IFUNC.
61099         * benchtests/bench-bcopy-ifunc.c: Remove.
61100         * benchtests/bench-bzero-ifunc.c: Likewise.
61101         * benchtests/bench-memccpy-ifunc.c: Likewise.
61102         * benchtests/bench-memchr-ifunc.c: Likewise.
61103         * benchtests/bench-memcmp-ifunc.c: Likewise.
61104         * benchtests/bench-memcpy-ifunc.c: Likewise.
61105         * benchtests/bench-memmem-ifunc.c: Likewise.
61106         * benchtests/bench-memmove-ifunc.c: Likewise.
61107         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61108         * benchtests/bench-memrchr-ifunc.c: Likewise.
61109         * benchtests/bench-memset-ifunc.c: Likewise.
61110         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61111         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61112         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61113         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61114         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61115         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61116         * benchtests/bench-strcat-ifunc.c: Likewise.
61117         * benchtests/bench-strchr-ifunc.c: Likewise.
61118         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61119         * benchtests/bench-strcmp-ifunc.c: Likewise.
61120         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61121         * benchtests/bench-strcpy-ifunc.c: Likewise.
61122         * benchtests/bench-strcspn-ifunc.c: Likewise.
61123         * benchtests/bench-strlen-ifunc.c: Likewise.
61124         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61125         * benchtests/bench-strncat-ifunc.c: Likewise.
61126         * benchtests/bench-strncmp-ifunc.c: Likewise.
61127         * benchtests/bench-strncpy-ifunc.c: Likewise.
61128         * benchtests/bench-strnlen-ifunc.c: Likewise.
61129         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61130         * benchtests/bench-strrchr-ifunc.c: Likewise.
61131         * benchtests/bench-strsep-ifunc.c: Likewise.
61132         * benchtests/bench-strspn-ifunc.c: Likewise.
61133         * benchtests/bench-strstr-ifunc.c: Likewise.
61135 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61137         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61139 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61141         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61142         * rt/aio.h: Likewise.
61143         * sysdeps/gnu/bits/utmp.h: Likewise.
61144         * sysdeps/gnu/bits/utmpx.h: Likewise.
61145         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61146         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61147         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61148         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61149         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61150         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61151         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61152         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61153         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61154         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61155         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61156         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61157         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61159         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61160         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61161         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61162         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61163         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61164         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61165         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61166         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61167         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61168         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61169         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61171         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61172         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61173         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61174         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61175         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61176         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61177         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61178         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61179         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61180         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61181         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61182         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61183         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61184         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61185         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61186         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61188 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61190         [BZ #16245]
61191         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61192         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61194 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61196         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61197         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61198         Likewise.
61200 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61202         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61203         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61204         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61205         (__fesetround): Remove define.
61206         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61207         rounding and exceptions handling.
61208         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61209         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61210         (__fe_nomask_env): Likewise.
61211         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61212         __fegetround instead of fegetround.
61213         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61214         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61216 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61218         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61219         it's there.
61221         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61223 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61225         [BZ #11157]
61226         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61227         (encrypt_r): Likewise.
61228         * malloc/obstack.h (obstack_free): Likewise.
61229         * posix/unistd.h (encrypt): Likewise.
61231 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61233         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61234         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61235         DL_CALL_DT_FINI() that call the functions directly.
61236         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61237         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61238         * elf/dl-fini.c: Likewise.
61240 2013-11-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
61242         * malloc/hooks.c (memalign_check): Add alignment rounding.
61243         * malloc/malloc.c (_mid_memalign): New function.
61244         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61245         Implement by calling _mid_memalign.
61246         * manual/probes.texi (Memory Allocation Probes): Remove
61247         memory_valloc_retry and memory_pvalloc_retry.
61249 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61251         * locale/programs/locarchive.c (open_archive): Add const
61252         qualifier to ARCHIVEFNAME and copy default fname to
61253         DEFAULT_FNAME.
61255         [BZ #15601]
61256         * libio/tst-widetext.input: Rename Oriya to Odia.
61257         * locale/iso-639.def: Likewise.
61259         * manual/probes.texi (Mathematical Function Probes): Add
61260         documentation for sin, cos, asin and acos probes.
61261         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61262         (__sin32): Add slowasin probe.
61263         (__cos32): Add slowacos probe.
61264         (__mpsin): Add slowsin probe.
61265         (__mpcos): Add slowcos probe.
61267 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61269         [BZ #15483]
61270         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61271         thread-local __sim_exceptions_thread and global
61272         __sim_exceptions_global.
61273         (__sim_disabled_exceptions): Change to thread-local
61274         __sim_disabled_exceptions_thread and global
61275         __sim_disabled_exceptions_global.
61276         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61277         and global __sim_round_mode_global.
61278         (__simulate_exceptions): Use thread-local floating-point state and
61279         set global state from it as needed.
61280         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61281         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61282         __sim_round_mode_thread.
61283         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61284         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61285         and global __sim_exceptions_global.
61286         (__sim_disabled_exceptions): Change to thread-local
61287         __sim_disabled_exceptions_thread and global
61288         __sim_disabled_exceptions_global.
61289         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61290         and global __sim_round_mode_global.
61291         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61292         (SIM_SET_GLOBAL): Likewise.
61293         * sysdeps/powerpc/soft-fp/sfp-machine.h
61294         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61295         __sim_round_mode_thread.
61296         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61297         __sim_disabled_exceptions_thread.
61298         (__sim_exceptions): Change to __sim_exceptions_thread.
61299         (__sim_disabled_exceptions): Change to
61300         __sim_disabled_exceptions_thread.
61301         (__sim_round_mode): Change to __sim_round_mode_thread.
61302         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61303         thread-local floating-point state and set global state from it as
61304         needed.
61305         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61306         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61307         (__sim_disabled_exceptions): Remove extern declaration.
61308         (feenableexcept): Use thread-local floating-point state and set
61309         global state from it as needed.
61310         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61311         extern declaration.
61312         (__sim_disabled_exceptions): Likewise.
61313         (__sim_round_mode): Likewise.
61314         (__fegetenv): Use thread-local floating-point state.
61315         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61316         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61317         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61318         floating-point state and set global state from it as needed.
61319         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61320         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61321         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61322         Likewise.
61323         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61324         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61325         Likewise.
61326         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61327         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61328         Use __sim_round_mode_thread.
61329         * math/test-fenv-tls.c: New file.
61330         * math/Makefile (tests): Add test-fenv-tls.
61331         ($(objpfx)test-fenv-tls): Depend on
61332         $(common-objpfx)nptl/libpthread.so.
61334 2013-11-19  Andreas Schwab  <schwab@suse.de>
61336         * locale/programs/locale.c (show_info): Decode wordarray elements.
61337         * locale/categories.def (LC_MONETARY): Add element for
61338         _NL_MONETARY_CRNCYSTR.
61339         * locale/C-monetary.c (conversion_rate): New variable.
61340         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61341         element.
61343 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61345         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61346         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61348 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61350         * elf/Makefile (tst-auxv): New test.
61351         * elf/tst-auxv.c: New
61352         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61354 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61356         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61357         (hidden_proto): Caller changed.
61358         (hidden_tls_proto): New macro.
61359         (libc_hidden_tls_proto): Likewise.
61360         (rtld_hidden_tls_proto): Likewise.
61361         (libm_hidden_tls_proto): Likewise.
61362         (libresolv_hidden_tls_proto): Likewise.
61363         (librt_hidden_tls_proto): Likewise.
61364         (libdl_hidden_tls_proto): Likewise.
61365         (libnss_files_hidden_tls_proto): Likewise.
61366         (libnsl_hidden_tls_proto): Likewise.
61367         (libnss_nisplus_hidden_tls_proto): Likewise.
61368         (libutil_hidden_tls_proto): Likewise.
61370 2013-11-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61372         [BZ #10253]
61373         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61374         (decompose_rpath): Defer expansion to fillin_rpath.
61375         (_dl_init_paths): Pass linkmap to fillin_rpath.
61377 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61379         * benchtests/Makefile: Add strsep.
61380         * benchtests/bench-strsep.c: New file: strsep benchtest.
61381         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61383 2013-11-18  Andreas Schwab  <schwab@suse.de>
61385         * locale/programs/locale.c (show_info) [case byte]: Check for
61386         '\377' instead of '\177'.
61387         * locale/C-monetary.c (not_available): Always use "\377".
61388         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61389         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61390         detect unavailable sign_posn locale elements.
61391         * locale/localeconv.c (__localeconv): For grouping and
61392         mon_grouping handle "\177" and "\377" like no grouping.
61393         (INT_ELEM): New macro.  Use it to set all numeric members.
61394         * locale/programs/ld-monetary.c (monetary_read)
61395         <tok_mon_grouping>: Normalize single -1 to the empty string.
61396         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61397         Likewise.
61399 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61401         [BZ #16055]
61402         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61403         when we match (nil).
61404         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61406 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61408         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61409         (NO_TEST_INLINE): Update value.
61410         (ERRNO_UNCHANGED): Likewise.
61411         (ERRNO_EDOM): Likewise.
61412         (ERRNO_ERANGE): Likewise.
61413         (IGNORE_RESULT): Likewise.
61414         (check_float_internal): Check signs of NaN results if
61415         TEST_NAN_SIGN used.
61416         (check_complex): Pass TEST_NAN_SIGN flag through to second
61417         check_float_internal call.
61418         (copysign_test_data): Add tests with quiet NaNs as second
61419         argument.  Use TEST_NAN_SIGN.
61420         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61421         TEST_NAN_SIGN.
61422         (signbit_test_data): Add tests of quiet NaN argument.
61423         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61425         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61426         $ignore_result.
61427         (parse_args): Handle function results specified as IGNORE.
61428         * math/libm-test.inc (IGNORE_RESULT): New macro.
61429         (check_float_internal): Do not check numerical result if flag
61430         IGNORE_RESULT set.
61431         (check_complex): Pass through IGNORE_RESULT to second
61432         check_float_internal call.
61433         (check_int): Do not check numerical result if flag IGNORE_RESULT
61434         set.
61435         (check_long): Likewise.
61436         (check_bool): Likewise.
61437         (check_longlong): Likewise.
61438         (lrint_test_data): Add tests of infinite and NaN arguments.
61439         (lrint_tonearest_test_data): Likewise.
61440         (lrint_towardzero_test_data): Likewise.
61441         (lrint_downward_test_data): Likewise.
61442         (lrint_upward_test_data): Likewise.
61443         (llrint_test_data): Likewise.
61444         (llrint_tonearest_test_data): Likewise.
61445         (llrint_towardzero_test_data): Likewise.
61446         (llrint_downward_test_data): Likewise.
61447         (llrint_upward_test_data): Likewise.
61448         (lround_test_data): Likewise.
61449         (llround_test_data): Likewise.
61451         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61452         (ERRNO_UNCHANGED): Update value.
61453         (ERRNO_EDOM): Likewise.
61454         (ERRNO_ERANGE): Likewise.
61455         (NO_TEST_INLINE_FLOAT): New macro.
61456         (NO_TEST_INLINE_DOUBLE): Likewise.
61457         (enable_test): New function.
61458         (RUN_TEST_f_f): Check enable_test before running test.
61459         (RUN_TEST_2_f): Likewise.
61460         (RUN_TEST_fff_f): Likewise.
61461         (RUN_TEST_c_f): Likewise.
61462         (RUN_TEST_f_f1): Likewise.
61463         (RUN_TEST_fF_f1): Likewise.
61464         (RUN_TEST_fI_f1): Likewise.
61465         (RUN_TEST_ffI_f1): Likewise.
61466         (RUN_TEST_c_c): Likewise.
61467         (RUN_TEST_cc_c): Likewise.
61468         (RUN_TEST_f_i): Likewise.
61469         (RUN_TEST_f_i_tg): Likewise.
61470         (RUN_TEST_ff_i_tg): Likewise.
61471         (RUN_TEST_f_b): Likewise.
61472         (RUN_TEST_f_b_tg): Likewise.
61473         (RUN_TEST_f_l): Likewise.
61474         (RUN_TEST_f_L): Likewise.
61475         (RUN_TEST_fFF_11): Likewise.
61476         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61477         conditionals.
61478         (cosh_test_data): Likewise.
61479         (exp_test_data): Likewise.
61480         (expm1_test_data): Likewise.
61481         (hypot_test_data): Likewise.
61482         (pow_test_data): Likewise.
61483         (sinh_test_data): Likewise.
61484         (tanh_test_data): Likewise.
61485         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61486         flags argument.
61488         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61489         tests with quiet NaN input and output.
61490         (acosh_test_data): Likewise.
61491         (asin_test_data): Likewise.
61492         (asinh_test_data): Likewise.
61493         (atan_test_data): Likewise.
61494         (atanh_test_data): Likewise.
61495         (atan2_test_data): Likewise.
61496         (cbrt_test_data): Likewise.
61497         (cos_test_data): Likewise.
61498         (cosh_test_data): Likewise.
61499         (erf_test_data): Likewise.
61500         (erfc_test_data): Likewise.
61501         (exp_test_data): Likewise.
61502         (exp10_test_data): Likewise.
61503         (exp2_test_data): Likewise.
61504         (expm1_test_data): Likewise.
61505         (hypot_test_data): Likewise.
61506         (j0_test_data): Likewise.
61507         (j1_test_data): Likewise.
61508         (jn_test_data): Likewise.
61509         (lgamma_test_data): Likewise.
61510         (log_test_data): Likewise.
61511         (log10_test_data): Likewise.
61512         (log1p_test_data): Likewise.
61513         (log2_test_data): Likewise.
61514         (pow_test_data): Likewise.
61515         (scalb_test_data): Likewise.
61516         (sin_test_data): Likewise.
61517         (sincos_test_data): Likewise.
61518         (sinh_test_data): Likewise.
61519         (tan_test_data): Likewise.
61520         (tanh_test_data): Likewise.
61521         (tgamma_test_data): Likewise.
61522         (y0_test_data): Likewise.
61523         (y1_test_data): Likewise.
61524         (yn_test_data): Likewise.
61526         [BZ #16167]
61527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61528         argument being NaN and avoid computations with second argument in
61529         that case.
61530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61532         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61534 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61536         * locale/iso-639.def: Add Chitwani Tharu (the).
61538 2013-11-14  Andreas Schwab  <schwab@suse.de>
61540         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61541         word instead of empty string.
61543 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61546         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61548         (__fe_nomask_env): Likewise.
61550 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61552         * benchtests/bench-timing.h: Include time.h.
61554 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61556         [BZ #15997]
61557         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61558         to 3.4.0 for x32.
61559         * sysdeps/unix/sysv/linux/configure: Regenerated.
61561 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61563         [BZ #16151]
61564         * stdlib/strtod_l.c (round_and_return): Do not consider
61565         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61566         exponent one less than half the least subnormal exponent.
61567         * stdlib/test-strtod-round-data: Add more tests.
61568         * stdlib/tst-strtod-round.c (tests): Regenerated.
61570 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61572         [BZ #14143]
61573         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61574         (__fe_mask_env): Likewise.
61575         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61576         libm_hidden_proto and add function prototype.
61577         (__fe_mask_env): Add function prototype.
61578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61579         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61581         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61583         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61585 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61587         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61588         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61590 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61592         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61593         of htab_find_slot().
61595 2013-11-11  David S. Miller  <davem@davemloft.net>
61597         [BZ #16150]
61598         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61599         symbol in the non-vis3 case in static builds.
61600         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61601         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61602         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61603         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61605 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61607         [BZ #387]
61608         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61609         it is empty.
61611 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61613         * benchtests/Makefile: Add bench-strtod.
61614         * benchtests/bench-strtod.c: New file: strtod benchtest
61616 2013-11-11  Andreas Schwab  <schwab@suse.de>
61618         [BZ #16153]
61619         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61620         terminating NUL in key length.
61622 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61625         Add artificial ODP entry for vDSO symbol for PPC64.
61626         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61627         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61629 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61631         [BZ #15374]
61632         * nss/getent.c (services_keys): Recognize services starting with digit.
61634 2013-11-06  David S. Miller  <davem@davemloft.net>
61636         [BZ #15985]
61637         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61638         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61640 2013-11-06  Will Newton  <will.newton@linaro.org>
61642         * manual/memory.texi (Malloc Examples): Remove register
61643         keyword from examples.
61645 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61647         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61649 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61651         [BZ #6981]
61652         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61653         depending on [__GCC_IEC_559 > 0].
61654         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61655         depending on [__GCC_IEC_559_COMPLEX > 0].
61657 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61659         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61660         to iso-639.def.
61662 2013-11-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
61664         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61666 2013-11-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
61668         [BZ #16112]
61669         * malloc/malloc (malloc_info): Do not handle first bin as
61670         special case.
61672 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61674         * locale/iso-639.def: Add Central Nahuatl (nhn).
61676 2013-11-01  Bruno Haible  <bruno@clisp.org>
61678         [BZ #7003]
61679         * manual/math.texi (BSD Random): Specify range upper bound as
61680         in POSIX.
61682 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61684         * locale/iso-639.def: Add Meadow Mari (mhr).
61686 2013-10-31  Ondƙej BĂ­lka  <neleai@seznam.cz>
61688         [BZ #14752], [BZ #15763]
61689         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61690         Validate name.
61691         * rt/tst_shm.c: Add test for escaping directory.
61693 2013-10-31  Andreas Schwab  <schwab@suse.de>
61695         [BZ #15917]
61696         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61697         followed by 'x' as part of digit sequence.
61698         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61700 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61702         [BZ #16037]
61703         * configure.ac: allow GNU Make 4.0 and greater.
61704         * configure: Regenerated.
61706 2013-10-30  Will Newton  <will.newton@linaro.org>
61708         [BZ #16038]
61709         * malloc/hooks.c (memalign_check): Limit alignment to the
61710         maximum representable power of two.
61711         * malloc/malloc.c (__libc_memalign): Likewise.
61712         * malloc/tst-memalign.c (do_test): Add test for very
61713         large alignment values.
61714         * malloc/tst-posix_memalign.c (do_test): Likewise.
61716 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61718         [BZ #11087]
61719         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61720         (munmap_chunk): Likewise.
61721         (mremap_chunk): Likewise.
61723 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61725         [BZ #15799]
61726         * stdlib/div.c (div): Remove obsolete code.
61727         * stdlib/ldiv.c (ldiv): Likewise.
61728         * stdlib/lldiv.c (lldiv): Likewise.
61730 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61732         [BZ #16071]
61733         * nss/nss_files/files-XXX.c (get_contents_ret): New
61734         enumerator.
61735         (get_contents): New function.
61736         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61738 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61740         * configure.in: Moved to ...
61741         * configure.ac: ... here. Change reference to configure.in
61742         to configure.ac.
61743         * sysdeps/arm/preconfigure.ac: ... here.
61744         configure.in to configure.ac.
61745         * sysdeps/gnu/configure.in: Moved to ...
61746         * sysdeps/gnu/configure.ac: ... here.
61747         * sysdeps/i386/configure.in: Moved to ...
61748         * sysdeps/i386/configure.ac: ... here.
61749         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61750         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61751         * sysdeps/mach/configure.in: Moved to ...
61752         * sysdeps/mach/configure.ac: ... here.
61753         * sysdeps/mach/hurd/configure.in: Moved to ...
61754         * sysdeps/mach/hurd/configure.ac: ... here.
61755         * sysdeps/powerpc/configure.in: Moved to ...
61756         * sysdeps/powerpc/configure.ac: ... here.
61757         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61758         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61759         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61760         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61761         * sysdeps/s390/s390-32/configure.in: Moved to ...
61762         * sysdeps/s390/s390-32/configure.ac: ... here.
61763         * sysdeps/s390/s390-64/configure.in: Moved to ...
61764         * sysdeps/s390/s390-64/configure.ac: ... here.
61765         * sysdeps/sh/configure.in: Moved to ...
61766         * sysdeps/sh/configure.ac: ... here.
61767         * sysdeps/sparc/configure.in: Moved to ...
61768         * sysdeps/sparc/configure.ac: ... here.
61769         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61770         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61771         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61772         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61773         * sysdeps/x86_64/configure.in: Moved to ...
61774         * sysdeps/x86_64/configure.ac: ... here.
61775         * sysdeps/x86_64/preconfigure.in: Moved to ...
61776         * sysdeps/x86_64/preconfigure.ac: ... here.
61777         * aclocal.m4: Change reference to configure.in to configure.ac.
61778         * config.h.in: Likewise.
61779         * manual/install.texi: Likewise.
61780         * manual/maint.texi: Likewise.
61781         * Makefile: Likewise.
61782         * malloc/Makefile: Likewise.
61783         * nscd/Makefile: Likewise.
61784         * Makeconfig: Change reference to configure.in and
61785         preconfigure.in to configure.ac and preconfigure.ac
61786         respectively.
61787         * INSTALL: Regenerated.
61788         * configure: Likewise.
61789         * sysdeps/gnu/configure: Likewise.
61790         * sysdeps/i386/configure: Likewise.
61791         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61792         * sysdeps/mach/configure: Likewise.
61793         * sysdeps/mach/hurd/configure: Likewise.
61794         * sysdeps/powerpc/configure: Likewise.
61795         * sysdeps/powerpc/powerpc32/configure: Likewise.
61796         * sysdeps/powerpc/powerpc64/configure: Likewise.
61797         * sysdeps/s390/s390-32/configure: Likewise.
61798         * sysdeps/s390/s390-64/configure: Likewise.
61799         * sysdeps/sh/configure: Likewise.
61800         * sysdeps/sparc/configure: Likewise.
61801         * sysdeps/unix/sysv/linux/configure: Likewise.
61802         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61803         * sysdeps/x86_64/configure: Likewise.
61804         * sysdeps/x86_64/preconfigure: Likewise.
61806 2013-10-29  Andreas Schwab  <schwab@suse.de>
61808         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61810 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61812         * benchtests/pow-inputs: Add new inputs.
61814         * benchtests/exp-inputs: Add new inputs.
61816         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61817         conditional check for return value.
61818         (__cos32): Likewise.
61820 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61822         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61823         to provide a boost for large inputs with word alignment.
61824         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61825         implementation based on optimized PPC64 strcpy.
61826         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61827         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61828         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61829         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61831 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61833         [BZ #2801]
61834         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61836 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61838         [BZ #14876]
61839         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61840         * time/tst-strptime.c (day_tests): Add testcase.
61842 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61844         [BZ #14029]
61845         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61847 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61849         [BZ #16074]
61850         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61851         MAP_FAILED on error.
61853 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61855         [BZ #16072]
61856         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61857         heap for large requests.
61859 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61861         [BZ #9954]
61862         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61863         result if the result has no associated interface.
61864         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61865         interface for all 127.X.Y.Z addresses.
61867 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61869         * locale/iso-639.def: Add Ligurian (lij)
61871 2013-10-21  Ondƙej BĂ­lka  <neleai@seznam.cz>
61873         [BZ #15825]
61874         * sunrpc/rpc_main.c: Document rpcgen -5.
61876 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61878         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61880 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61882         [BZ #10278]
61883         * posix/glob.c: Match only directories when trailing slash is present.
61884         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61885         (main): Add testcase.
61887 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61889         [BZ #15670]
61890         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61892 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61894         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61895         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61896         AUTH_DES and cindex for FIPS 140-2.
61897         (DES Encryption): Add cindex FIPS 46-3.
61899         * locale/locarchive.h (struct locarhandle): Add fname.
61900         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61901         if an optional argument was specified to --list-archive,
61902         otherwise NULL.
61903         * locale/programs/locarchive.c (show_archive_content): Take new
61904         argument fname and pass it via ah.fname to open_archive.
61905         * locale/programs/localedef.h: Update decl.
61906         (open_archive): If AH->fname is non-null, open that file
61907         rather than the default file name, and don't ignore ENOENT.
61908         (create_archive): Set AH.fname to NULL.
61909         (delete_locales_from_archive): Likewise.
61910         (add_locales_to_archive): Likewise.
61911         * locale/programs/locfile.c (write_all_categories): Likewise.
61913 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61914             Aldy Hernandez  <aldyh@redhat.com>
61916         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61917         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61918         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61919         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61920         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61921         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61922         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61923         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61924         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61925         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61926         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61927         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61928         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61929         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61930         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61931         Likewise.
61932         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61933         Likewise.
61934         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61935         Likewise.
61936         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61937         Likewise.
61938         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61939         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61940         Likewise.
61941         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61942         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61943         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61944         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61945         Likewise.
61946         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61947         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61948         * sysdeps/powerpc/preconfigure: Likewise.
61949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61950         Likewise.
61951         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61952         Replace contents of file by #include of <fenv_libc.h>.
61953         * sysdeps/powerpc/soft-fp/sfp-machine.h
61954         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61955         and <sys/prctl.h>.
61956         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61957         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61958         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61959         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61960         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61961         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61962         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61967         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61969         Allow copysignl PLT reference to be missing.
61971 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61972             Joseph Myers  <joseph@codesourcery.com
61974         [BZ #15948]
61975         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61976         single character.
61977         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61979 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61981         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61982         * elf/tst-tls1.c: Likewise.
61983         * elf/tst-tls10.h: Likewise.
61984         * elf/tst-tls14.c: Likewise.
61985         * elf/tst-tls2.c: Likewise.
61986         * elf/tst-tls3.c: Likewise.
61987         * elf/tst-tls4.c: Likewise.
61988         * elf/tst-tls5.c: Likewise.
61989         * elf/tst-tls6.c: Likewise.
61990         * elf/tst-tls7.c: Likewise.
61991         * elf/tst-tls8.c: Likewise.
61992         * elf/tst-tls9.c: Likewise.
61993         * elf/tst-tlsmod1.c: Likewise.
61994         * elf/tst-tlsmod13.c: Likewise.
61995         * elf/tst-tlsmod13a.c: Likewise.
61996         * elf/tst-tlsmod14a.c: Likewise.
61997         * elf/tst-tlsmod16a.c: Likewise.
61998         * elf/tst-tlsmod16b.c: Likewise.
61999         * elf/tst-tlsmod2.c: Likewise.
62000         * elf/tst-tlsmod3.c: Likewise.
62001         * elf/tst-tlsmod4.c: Likewise.
62002         * elf/tst-tlsmod5.c: Likewise.
62003         * elf/tst-tlsmod6.c: Likewise.
62005 2013-10-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
62007         [BZ #12486]
62008         * malloc/malloc.c: remove checks for statistics.
62010 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62012         [BZ #15277]
62013         * inet/inet_net.c (inet_network): Detect additional invalid strings.
62014         * inet/tst-network.c: Add testcase.
62016 2013-10-17  Andreas Schwab  <schwab@suse.de>
62018         [BZ #15218]
62019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62020         to determine canonical name.
62022 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62024         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62025         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62027         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62028         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62029         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62030         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62031         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62032         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62033         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62034         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62035         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62036         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62037         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62038         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62039         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62041         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62042         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62043         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62044         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62045         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62046         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62047         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62048         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62049         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62050         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62051         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62052         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62053         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62054         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62056         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62057         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62058         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62059         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62060         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62061         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62062         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62063         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62064         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62065         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62066         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62067         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62068         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62069         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62070         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62071         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62072         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62073         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62074         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62075         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62076         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62077         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62078         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62079         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62080         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62081         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62083 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62085         [BZ #16041]
62086         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62087         make result into a quiet NaN.
62089 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62091         * soft-fp/adddf3.c: Fix horizontal whitespace.
62092         * soft-fp/addsf3.c: Likewise.
62093         * soft-fp/addtf3.c: Likewise.
62094         * soft-fp/divdf3.c: Likewise.
62095         * soft-fp/divsf3.c: Likewise.
62096         * soft-fp/divtf3.c: Likewise.
62097         * soft-fp/double.h: Likewise.
62098         * soft-fp/eqdf2.c: Likewise.
62099         * soft-fp/eqsf2.c: Likewise.
62100         * soft-fp/eqtf2.c: Likewise.
62101         * soft-fp/extenddftf2.c: Likewise.
62102         * soft-fp/extended.h: Likewise.
62103         * soft-fp/extendsfdf2.c: Likewise.
62104         * soft-fp/extendsftf2.c: Likewise.
62105         * soft-fp/extendxftf2.c: Likewise.
62106         * soft-fp/fixdfdi.c: Likewise.
62107         * soft-fp/fixdfsi.c: Likewise.
62108         * soft-fp/fixdfti.c: Likewise.
62109         * soft-fp/fixsfdi.c: Likewise.
62110         * soft-fp/fixsfsi.c: Likewise.
62111         * soft-fp/fixsfti.c: Likewise.
62112         * soft-fp/fixtfdi.c: Likewise.
62113         * soft-fp/fixtfsi.c: Likewise.
62114         * soft-fp/fixtfti.c: Likewise.
62115         * soft-fp/fixunsdfdi.c: Likewise.
62116         * soft-fp/fixunsdfsi.c: Likewise.
62117         * soft-fp/fixunsdfti.c: Likewise.
62118         * soft-fp/fixunssfdi.c: Likewise.
62119         * soft-fp/fixunssfsi.c: Likewise.
62120         * soft-fp/fixunssfti.c: Likewise.
62121         * soft-fp/fixunstfdi.c: Likewise.
62122         * soft-fp/fixunstfsi.c: Likewise.
62123         * soft-fp/fixunstfti.c: Likewise.
62124         * soft-fp/floatdidf.c: Likewise.
62125         * soft-fp/floatdisf.c: Likewise.
62126         * soft-fp/floatditf.c: Likewise.
62127         * soft-fp/floatsidf.c: Likewise.
62128         * soft-fp/floatsisf.c: Likewise.
62129         * soft-fp/floatsitf.c: Likewise.
62130         * soft-fp/floattidf.c: Likewise.
62131         * soft-fp/floattisf.c: Likewise.
62132         * soft-fp/floattitf.c: Likewise.
62133         * soft-fp/floatundidf.c: Likewise.
62134         * soft-fp/floatundisf.c: Likewise.
62135         * soft-fp/floatunditf.c: Likewise.
62136         * soft-fp/floatunsidf.c: Likewise.
62137         * soft-fp/floatunsisf.c: Likewise.
62138         * soft-fp/floatunsitf.c: Likewise.
62139         * soft-fp/floatuntidf.c: Likewise.
62140         * soft-fp/floatuntisf.c: Likewise.
62141         * soft-fp/floatuntitf.c: Likewise.
62142         * soft-fp/fmadf4.c: Likewise.
62143         * soft-fp/fmasf4.c: Likewise.
62144         * soft-fp/fmatf4.c: Likewise.
62145         * soft-fp/gedf2.c: Likewise.
62146         * soft-fp/gesf2.c: Likewise.
62147         * soft-fp/getf2.c: Likewise.
62148         * soft-fp/ledf2.c: Likewise.
62149         * soft-fp/lesf2.c: Likewise.
62150         * soft-fp/letf2.c: Likewise.
62151         * soft-fp/muldf3.c: Likewise.
62152         * soft-fp/mulsf3.c: Likewise.
62153         * soft-fp/multf3.c: Likewise.
62154         * soft-fp/negdf2.c: Likewise.
62155         * soft-fp/negsf2.c: Likewise.
62156         * soft-fp/negtf2.c: Likewise.
62157         * soft-fp/op-1.h: Likewise.
62158         * soft-fp/op-2.h: Likewise.
62159         * soft-fp/op-4.h: Likewise.
62160         * soft-fp/op-8.h: Likewise.
62161         * soft-fp/op-common.h: Likewise.
62162         * soft-fp/quad.h: Likewise.
62163         * soft-fp/single.h: Likewise.
62164         * soft-fp/soft-fp.h: Likewise.
62165         * soft-fp/sqrtdf2.c: Likewise.
62166         * soft-fp/sqrtsf2.c: Likewise.
62167         * soft-fp/sqrttf2.c: Likewise.
62168         * soft-fp/subdf3.c: Likewise.
62169         * soft-fp/subsf3.c: Likewise.
62170         * soft-fp/subtf3.c: Likewise.
62171         * soft-fp/truncdfsf2.c: Likewise.
62172         * soft-fp/trunctfdf2.c: Likewise.
62173         * soft-fp/trunctfsf2.c: Likewise.
62174         * soft-fp/trunctfxf2.c: Likewise.
62175         * soft-fp/unorddf2.c: Likewise.
62176         * soft-fp/unordsf2.c: Likewise.
62177         * soft-fp/unordtf2.c: Likewise.
62179 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62181         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62182         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62184 2013-10-15   Ondƙej BĂ­lka  <neleai@seznam.cz>
62186         * elf/dl-libc.c: Clear initfini list after freeing.
62188 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62190         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62191         * soft-fp/addsf3.c: Likewise.
62192         * soft-fp/addtf3.c: Likewise.
62193         * soft-fp/divdf3.c: Likewise.
62194         * soft-fp/divsf3.c: Likewise.
62195         * soft-fp/divtf3.c: Likewise.
62196         * soft-fp/double.h: Likewise.
62197         * soft-fp/eqdf2.c: Likewise.
62198         * soft-fp/eqsf2.c: Likewise.
62199         * soft-fp/eqtf2.c: Likewise.
62200         * soft-fp/extenddftf2.c: Likewise.
62201         * soft-fp/extended.h: Likewise.
62202         * soft-fp/extendsfdf2.c: Likewise.
62203         * soft-fp/extendsftf2.c: Likewise.
62204         * soft-fp/extendxftf2.c: Likewise.
62205         * soft-fp/fixdfdi.c: Likewise.
62206         * soft-fp/fixdfsi.c: Likewise.
62207         * soft-fp/fixdfti.c: Likewise.
62208         * soft-fp/fixsfdi.c: Likewise.
62209         * soft-fp/fixsfsi.c: Likewise.
62210         * soft-fp/fixsfti.c: Likewise.
62211         * soft-fp/fixtfdi.c: Likewise.
62212         * soft-fp/fixtfsi.c: Likewise.
62213         * soft-fp/fixtfti.c: Likewise.
62214         * soft-fp/fixunsdfdi.c: Likewise.
62215         * soft-fp/fixunsdfsi.c: Likewise.
62216         * soft-fp/fixunsdfti.c: Likewise.
62217         * soft-fp/fixunssfdi.c: Likewise.
62218         * soft-fp/fixunssfsi.c: Likewise.
62219         * soft-fp/fixunssfti.c: Likewise.
62220         * soft-fp/fixunstfdi.c: Likewise.
62221         * soft-fp/fixunstfsi.c: Likewise.
62222         * soft-fp/fixunstfti.c: Likewise.
62223         * soft-fp/floatdidf.c: Likewise.
62224         * soft-fp/floatdisf.c: Likewise.
62225         * soft-fp/floatditf.c: Likewise.
62226         * soft-fp/floatsidf.c: Likewise.
62227         * soft-fp/floatsisf.c: Likewise.
62228         * soft-fp/floatsitf.c: Likewise.
62229         * soft-fp/floattidf.c: Likewise.
62230         * soft-fp/floattisf.c: Likewise.
62231         * soft-fp/floattitf.c: Likewise.
62232         * soft-fp/floatundidf.c: Likewise.
62233         * soft-fp/floatundisf.c: Likewise.
62234         * soft-fp/floatunsidf.c: Likewise.
62235         * soft-fp/floatunsisf.c: Likewise.
62236         * soft-fp/floatuntidf.c: Likewise.
62237         * soft-fp/floatuntisf.c: Likewise.
62238         * soft-fp/floatuntitf.c: Likewise.
62239         * soft-fp/fmadf4.c: Likewise.
62240         * soft-fp/fmasf4.c: Likewise.
62241         * soft-fp/fmatf4.c: Likewise.
62242         * soft-fp/gedf2.c: Likewise.
62243         * soft-fp/gesf2.c: Likewise.
62244         * soft-fp/getf2.c: Likewise.
62245         * soft-fp/ledf2.c: Likewise.
62246         * soft-fp/lesf2.c: Likewise.
62247         * soft-fp/letf2.c: Likewise.
62248         * soft-fp/muldf3.c: Likewise.
62249         * soft-fp/mulsf3.c: Likewise.
62250         * soft-fp/multf3.c: Likewise.
62251         * soft-fp/negdf2.c: Likewise.
62252         * soft-fp/negsf2.c: Likewise.
62253         * soft-fp/negtf2.c: Likewise.
62254         * soft-fp/op-1.h: Likewise.
62255         * soft-fp/op-2.h: Likewise.
62256         * soft-fp/op-4.h: Likewise.
62257         * soft-fp/op-8.h: Likewise.
62258         * soft-fp/op-common.h: Likewise.
62259         * soft-fp/quad.h: Likewise.
62260         * soft-fp/single.h: Likewise.
62261         * soft-fp/soft-fp.h: Likewise.
62262         * soft-fp/sqrtdf2.c: Likewise.
62263         * soft-fp/sqrtsf2.c: Likewise.
62264         * soft-fp/sqrttf2.c: Likewise.
62265         * soft-fp/subdf3.c: Likewise.
62266         * soft-fp/subsf3.c: Likewise.
62267         * soft-fp/subtf3.c: Likewise.
62268         * soft-fp/truncdfsf2.c: Likewise.
62269         * soft-fp/trunctfdf2.c: Likewise.
62270         * soft-fp/trunctfsf2.c: Likewise.
62271         * soft-fp/trunctfxf2.c: Likewise.
62272         * soft-fp/unorddf2.c: Likewise.
62273         * soft-fp/unordsf2.c: Likewise.
62274         * soft-fp/unordtf2.c: Likewise.
62276 2013-10-14   Ondƙej BĂ­lka  <neleai@seznam.cz>
62278         [BZ #15672]
62279         * misc/error.c (error_tail): Fix possible buffer overflow.
62281 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62283         [BZ #13028]
62284         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62285         address.
62287 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62289         [BZ #832]
62290         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62291         testing pipefail option.
62293 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62295         * soft-fp/double.h: Indent preprocessor directives inside #if.
62296         * soft-fp/extended.h: Likewise.
62297         * soft-fp/op-2.h: Likewise.
62298         * soft-fp/op-4.h: Likewise.
62299         * soft-fp/op-common.h: Likewise.
62300         * soft-fp/quad.h: Likewise.
62301         * soft-fp/single.h: Likewise.
62302         * soft-fp/soft-fp.h: Likewise.
62304 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62306         * iconv/iconv_prog.c: Fix typos.
62307         * stdio-common/psiginfo-data.h: Likewise.
62309 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62311         [BZ #15764]
62312         * locale/setlocale.c: Fix typo.
62314 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62316         [BZ #16036]
62317         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62318         signaling NaN arguments.
62319         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62320         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62322         [BZ #14910]
62323         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62324         unordered operands.
62325         * soft-fp/gesf2.c (__gesf2): Likewise.
62326         * soft-fp/getf2.c (__getf2): Likewise.
62327         * soft-fp/ledf2.c (__ledf2): Likewise.
62328         * soft-fp/lesf2.c (__lesf2): Likewise.
62329         * soft-fp/letf2.c (__letf2): Likewise.
62331         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62332         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62333         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62334         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62335         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62336         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62337         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62338         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62339         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62340         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62341         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62342         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62343         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62344         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62345         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62346         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62347         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62348         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62349         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62350         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62351         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62352         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62353         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62354         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62355         * soft-fp/floattidf.c (__floattidf): Likewise.
62356         * soft-fp/floattisf.c (__floattisf): Likewise.
62357         * soft-fp/floattitf.c (__floattitf): Likewise.
62358         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62359         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62360         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62361         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62362         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62363         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62364         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62365         * soft-fp/gesf2.c (__gesf2): Likewise.
62366         * soft-fp/getf2.c (__getf2): Likewise.
62367         * soft-fp/ledf2.c (__ledf2): Likewise.
62368         * soft-fp/lesf2.c (__lesf2): Likewise.
62369         * soft-fp/letf2.c (__letf2): Likewise.
62371         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62372         Undefine and redefine.
62373         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62374         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62375         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62376         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62377         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62378         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62379         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62380         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62381         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62382         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62383         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62384         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62385         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62386         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62387         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62389         [BZ #16032]
62390         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62391         without decrementing exponent if mantissa >= that for the
62392         denominator, not >.
62393         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62394         denominator, not >.  Decrement exponent in < case instead of
62395         incrementing in >= case.
62396         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62397         without decrementing exponent if mantissa >= that for the
62398         denominator, not >.
62400         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62401         computing saturated result for unsigned overflow.
62403 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62404             Jeff Law  <law@redhat.com>
62406         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62407         (atan2Mp): Add systemtap probe marker.
62408         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62409         (__ieee754_log): Add systemtap probe marker.
62410         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62411         (atanMp): Add systemtap probe marker.
62412         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62413         (tanMp): Add systemtap probe marker.
62414         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62415         (__slowexp): Add systemtap probe marker.
62416         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62417         (__slowpow): Add systemtap probe marker.
62418         * manual/probes.texi: Document probes.
62420 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62422         [BZ #15362]
62423         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62424         written.
62425         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62426         written.
62427         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62428         written to buffer but not flushed.
62429         * libio/iofwrite_u.c:  Likewise.
62430         * libio/iopadn.c:  Return bytes returned even if EOF was
62431         encountered.
62432         * libio/iowpadn.c:  Likewise.
62433         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62434         if _IO_padn does not write the whole buffer.
62435         [!COMPILE_WPRINTF] (PAD): Likewise.
62437 2013-10-10  David S. Miller  <davem@davemloft.net>
62439         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62440         directory block.
62442 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62444         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62445         instead of FSF address.
62446         * soft-fp/fixdfti.c: Likewise.
62447         * soft-fp/fixsfti.c: Likewise.
62448         * soft-fp/fixtfti.c: Likewise.
62449         * soft-fp/fixunsdfti.c: Likewise.
62450         * soft-fp/fixunssfti.c: Likewise.
62451         * soft-fp/fixunstfti.c: Likewise.
62452         * soft-fp/floattidf.c: Likewise.
62453         * soft-fp/floattisf.c: Likewise.
62454         * soft-fp/floattitf.c: Likewise.
62455         * soft-fp/floatuntidf.c: Likewise.
62456         * soft-fp/floatuntisf.c: Likewise.
62457         * soft-fp/floatuntitf.c: Likewise.
62458         * soft-fp/trunctfxf2.c: Likewise.
62460         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62461         * soft-fp/fixdfti.c: Likewise.
62462         * soft-fp/fixsfti.c: Likewise.
62463         * soft-fp/fixtfti.c: Likewise.
62464         * soft-fp/fixunsdfti.c: Likewise.
62465         * soft-fp/fixunssfti.c: Likewise.
62466         * soft-fp/fixunstfti.c: Likewise.
62467         * soft-fp/floattidf.c: Likewise.
62468         * soft-fp/floattisf.c: Likewise.
62469         * soft-fp/floattitf.c: Likewise.
62470         * soft-fp/floatuntidf.c: Likewise.
62471         * soft-fp/floatuntisf.c: Likewise.
62472         * soft-fp/floatuntitf.c: Likewise.
62473         * soft-fp/trunctfxf2.c: Likewise.
62475 2013-10-10  David S. Miller  <davem@davemloft.net>
62477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62479 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62481         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62482         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62483         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62484         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62485         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62486         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62487         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62490         for NaNs before doing comparisons on argument.
62491         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62492         Likewise.
62494 2013-10-10  Will Newton  <will.newton@linaro.org>
62496         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62497         passed to _int_memalign does not overflow.
62499 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62501         * scripts/bench.pl: Add include-sources directive.
62502         * benchtests/README: Update documentation.
62504 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62506         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62507         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62508         instead of FP_INIT_ROUNDMODE.
62509         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62510         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62512         [BZ #16034]
62513         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62514         copy class of input value.
62515         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62516         not handle exceptions.
62517         * soft-fp/negsf2.c (__negsf2): Likewise.
62518         * soft-fp/negtf2.c (__negtf2): Likewise.
62519         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62521 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62523         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62524         semicolon.  From Linux kernel.
62526 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62528         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62530 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62532         [BZ #156]
62533         * manual/socket.texi: Added statement about buffer
62534         for gethostbyname2_r.
62536 2013-10-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
62538         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62539         Use .p2align directive instead, throughout.
62540         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62541         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62542         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62545         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62546         * sysdeps/x86_64/strchr.S: Likewise.
62547         * sysdeps/x86_64/strrchr.S: Likewise.
62549 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62551         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62553         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62555         * sysdeps/generic/math_private.h (__mpsin1): Remove
62556         declaration.
62557         (__mpcos1): Likewise.
62558         (__mpsin): New argument __range_reduce.
62559         (__mpcos): Likewise.
62560         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62561         (slow): Use __mpsin and __mpcos.
62562         (slow1): Likewise.
62563         (slow2): Likewise.
62564         (sloww): Likewise.
62565         (sloww1): Likewise.
62566         (sloww2): Likewise.
62567         (bsloww): Likewise.
62568         (bsloww1): Likewise.
62569         (bsloww2): Likewise.
62570         (cslow2): Likewise.
62571         (csloww): Likewise.
62572         (csloww1): Likewise.
62573         (csloww2): Likewise.
62574         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62575         range_reduce.  Merge in __mpsin1.
62576         (__mpcos): Likewise.
62577         (__mpsin1): Remove.
62578         (__mpcos1): Likewise.
62580 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62582         * locale/loadlocale.c (_nl_intern_locale_data): Use
62583         LOCFILE_ALIGNED_P.
62584         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62585         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62586         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62587         obstack data is appropriately aligned.
62588         (obstack_int32_grow_fast): Likewise.
62589         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62590         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62591         (add_locale_uint32_array): Likewise.
62593 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62595         * benchtests/Makefile: Remove ARGLIST and RET variables.
62596         ($(objpfx)bench-%.c): Pass only function name to the script.
62597         * benchtests/README: Update documentation.
62598         * benchtests/acos-inputs: Add new directives.
62599         * benchtests/acosh-inputs: Likewise.
62600         * benchtests/asin-inputs: Likewise.
62601         * benchtests/asinh-inputs: Likewise.
62602         * benchtests/atan-inputs: Likewise.
62603         * benchtests/atanh-inputs: Likewise.
62604         * benchtests/cos-inputs: Likewise.
62605         * benchtests/cosh-inputs: Likewise.
62606         * benchtests/exp-inputs: Likewise.
62607         * benchtests/log-inputs: Likewise.
62608         * benchtests/pow-inputs: Likewise.
62609         * benchtests/rint-inputs: Likewise.
62610         * benchtests/sin-inputs: Likewise.
62611         * benchtests/sinh-inputs: Likewise.
62612         * benchtests/tan-inputs: Likewise.
62613         * benchtests/tanh-inputs: Likewise.
62614         * scripts/bench.pl: Add support for new directives.
62616 2013-10-07  Alan Modra  <amodra@gmail.com>
62618         * README: Fix careless merge.
62620 2013-10-05  Alan Modra  <amodra@gmail.com>
62622         * NEWS: Mention powerpc64le support and bugs fixed.
62623         * README: Both big-endian and little-endian powerpc64 supported.
62625 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62627         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62628         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62629         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62630         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62632 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62634         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62635         match prototype.
62637 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62639         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62640         Move -mhard-float appending from
62641         ports/sysdeps/powerpc/powerpc32/Makefile.
62642         [$(with-fp) = yes] (ASFLAGS): Likewise.
62643         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62644         * sysdeps/powerpc/nofpu: Move directory from
62645         ports/sysdeps/powerpc/nofpu.
62646         * sysdeps/powerpc/soft-fp: Move directory from
62647         ports/sysdeps/powerpc/soft-fp.
62648         * sysdeps/powerpc/powerpc32/405: Move directory from
62649         ports/sysdeps/powerpc/powerpc32/405.
62650         * sysdeps/powerpc/powerpc32/440: Move directory from
62651         ports/sysdeps/powerpc/powerpc32/440.
62652         * sysdeps/powerpc/powerpc32/464: Move directory from
62653         ports/sysdeps/powerpc/powerpc32/464.
62654         * sysdeps/powerpc/powerpc32/476: Move directory from
62655         ports/sysdeps/powerpc/powerpc32/476.
62656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62657         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62659         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62661         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62663         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62665         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62666         * README: Update for powerpc-*-linux-gnu software floating point
62667         support in libc.
62669         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62670         case to powerpc/powerpc32*.
62671         * sysdeps/unix/sysv/linux/configure: Regenerated.
62673         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62674         (_FPU_MASK_OM): Define as 0x04.
62675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62677         0x00c10080.
62678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62679         0x0000003c.
62680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62683         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62684         getcontext_e500.
62685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62686         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62687         setcontext_e500.
62688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62689         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62690         and setcontext_e500.
62692 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62694         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62696 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62698         * manual/threads.texi (Default Thread Attributes): Fix typo.
62700 2013-10-04  Will Newton  <will.newton@linaro.org>
62702         * malloc/Makefile: Add tst-memalign.
62703         * malloc/tst-memalign.c: New file.
62705         * malloc/tst-posix_memalign.c: Add comments.
62706         (do_test): Add comments and call free on all potentially
62707         allocated pointers. Add space after cast.
62709         * malloc/tst-pvalloc.c: Add comments.
62710         (do_test): Add comments and call free on all potentially
62711         allocated pointers. Remove duplicate check for NULL pointer.
62712         Add space after cast.
62714         * malloc/tst-valloc.c: Add comments.
62715         (do_test): Add comments and call free on all potentially
62716         allocated pointers. Remove duplicate check for NULL pointer.
62717         Add space after cast.
62719 2013-10-04  Alan Modra  <amodra@gmail.com>
62721         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62722         Use stdint types in rather than __attribute__((mode())).
62723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62725 2013-10-04  Alan Modra  <amodra@gmail.com>
62727         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62728         Correct handling of unaligned relocs for little-endian.
62729         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62731 2013-10-04  Alan Modra  <amodra@gmail.com>
62733         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62734         * configure: Regenerate.
62735         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62736         * shlib-versions: Likewise.
62738 2013-10-04  Alan Modra  <amodra@gmail.com>
62740         * string/tester.c (test_memrchr): Increment reported test cycle.
62742 2013-10-04  Alan Modra  <amodra@gmail.com>
62744         * string/test-memcpy.c (do_one_test): When reporting errors, print
62745         string address and don't overrun end of string.
62747 2013-10-04  Alan Modra  <amodra@gmail.com>
62749         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62750         insrdi.  Make better use of reg selection to speed exit slightly.
62751         Schedule entry path a little better.  Remove useless "are we done"
62752         checks on entry to main loop.  Handle wrapping around zero address.
62753         Correct main loop count.  Handle single left-over word from main
62754         loop inline rather than by using loop_small.  Remove extra word
62755         case in loop_small caused by wrong loop count.  Add little-endian
62756         support.
62757         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62758         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62759         cache hint.
62760         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62761         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62762         support.  Avoid rlwimi.
62763         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62765 2013-10-04  Alan Modra  <amodra@gmail.com>
62767         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62768         insrdi.  Formatting.
62769         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62770         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62771         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62772         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62773         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62774         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62776 2013-10-04  Alan Modra  <amodra@gmail.com>
62778         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62780         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62781         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62782         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62783         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62784         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62785         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62786         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62787         use of regs.  Use power7 mtocrf.  Tidy function tails.
62789 2013-10-04  Alan Modra  <amodra@gmail.com>
62791         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62792         Formatting.  Consistently use rXXX register defines or rN defines.
62793         Use early exit labels that avoid restoring unused non-volatile regs.
62794         Make cr field use more consistent with rWORDn compares.  Rename
62795         regs used as shift registers for unaligned loop, using rN defines
62796         for short lifetime/multiple use regs.
62797         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62798         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62799         addi 1,1,64 to pop stack frame.  Simplify return value code.
62800         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62802 2013-10-04  Alan Modra  <amodra@gmail.com>
62804         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62805         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62806         rather than rlwimi.
62807         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62808         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62809         little-endian support.  Correct typos.
62810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62811         rather than rlwimi.
62812         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62813         in loop and entry code to keep "and." results.
62814         (strchr): Add little-endian support.  Comment.  Move cntlzd
62815         earlier in tail.
62816         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62818 2013-10-04  Alan Modra  <amodra@gmail.com>
62820         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62821         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62822         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62823         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62825 2013-10-04  Alan Modra  <amodra@gmail.com>
62827         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62828         (rTMP): Define as r11.
62829         (strcmp): Add little-endian support.  Optimise tail.
62830         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62831         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62832         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62833         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62834         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62838 2013-10-04  Alan Modra  <amodra@gmail.com>
62840         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62841         little-endian support.  Remove unnecessary "are we done" tests.
62842         Handle "s" wrapping around zero and extremely large "size".
62843         Correct main loop count.  Handle single left-over word from main
62844         loop inline rather than by using small_loop.  Correct comments.
62845         Delete "zero" tail, use "end_max" instead.
62846         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62848 2013-10-04  Alan Modra  <amodra@gmail.com>
62850         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62851         support.  Don't branch over align.
62852         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62853         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62854         support.  Rearrange tmp reg use to suit.  Comment.
62855         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62857 2013-10-04  Alan Modra  <amodra@gmail.com>
62859         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62861 2013-10-04  Alan Modra  <amodra@gmail.com>
62863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62864         conditional form of branch and link when obtaining pc.
62865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62867 2013-10-04  Alan Modra  <amodra@gmail.com>
62869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62870         HIWORD/LOWORD.
62871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62874 2013-10-04  Alan Modra  <amodra@gmail.com>
62876         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62877         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62878         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62879         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62880         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62881         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62882         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62883         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62884         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62885         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62887 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62888             Alistair Popple <alistair@ozlabs.au.ibm.com>
62889             Alan Modra <amodra@gmail.com>
62891         [BZ #15723]
62892         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62893         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62894         _dl_hwcap access for little-endian.
62895         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62896         destroy vmx regs when saving unaligned.
62897         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62898         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62899         destroy vmx regs when saving unaligned.
62901 2013-10-04  Alan Modra  <amodra@gmail.com>
62903         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62904         Don't use a union to pack hi/low value.
62906 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62908         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62909         for little-endian.
62910         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62911         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62912         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62913         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62914         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62916 2013-10-04  Alan Modra  <amodra@gmail.com>
62918         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62919         constants to usual value for .cst8 section, and remove redundant
62920         high address load.
62921         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62922         constant for 0x1p52.  Load little-endian words of double from
62923         correct stack offsets.
62925 2013-10-04  Alan Modra  <amodra@gmail.com>
62927         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62928         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62929         words of double from correct stack offsets.
62930         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62931         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62932         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62933         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62934         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62935         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62936         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62937         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62938         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62940         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62941         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62942         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62943         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62944         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62945         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62946         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62948 2013-10-04  Alan Modra  <amodra@gmail.com>
62950         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62951         64-bit int/double union.
62952         (_FPU_SETCW): Likewise.
62953         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62954         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62956 2013-10-04  Alan Modra  <amodra@gmail.com>
62958         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62959         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62961 2013-10-04  Alan Modra  <amodra@gmail.com>
62963         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62964         use vector int constants.
62965         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62967 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62969         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62970         array with long long.
62971         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62972         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62973         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62974         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62975         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62976         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62977         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62978         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62979         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62980         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62981         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62982         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62983         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62985 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62987         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62988         (__signbit): Likewise.  Correct for little-endian.
62989         (__signbitl): Call __signbit.
62990         (lrint): Correct for little-endian.
62991         (lrintf): Call lrint.
62993 2013-10-04  Alan Modra  <amodra@gmail.com>
62995         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62996         union 32-bit int array member with 64-bit int array.
62997         (t515, tm256): Double rather than long double.
62998         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63000 2013-10-04  Alan Modra  <amodra@gmail.com>
63002         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63003         Delete.
63004         (IEEE854_LONG_DOUBLE_BIAS): Delete.
63005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63006         version of math_ldbl.h.
63008 2013-10-04  Alan Modra  <amodra@gmail.com>
63010         [BZ #15734], [BZ #15735]
63011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63012         all uses of ieee875 long double macros and unions.  Simplify test
63013         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
63014         ldbl_extract_mantissa value for ix,iy exponents.  Properly
63015         normalize after ldbl_extract_mantissa, and don't add hidden bit
63016         already handled.  Don't treat low word of ieee854 mantissa like
63017         low word of IBM long double and mask off bit when testing for
63018         zero.
63019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63020         all uses of ieee875 long double macros and unions.  Simplify tests
63021         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
63022         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
63023         two1022, instead use their values.  Recognise that tests for large
63024         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
63025         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63026         Rewrite all uses of ieee875 long double macros and unions.  Simplify
63027         test for 0.0L and nan.  Correct negation.
63028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63029         ieee875 long double macros and unions.  Correct output for large
63030         magnitude x.  Correct absolute value calculation.
63031         (__erfcl): Likewise.
63032         * math/libm-test.inc: Add tests for errors discovered in IBM long
63033         double versions of fmodl, remainderl, erfl and erfcl.
63035 2013-10-04  Alan Modra  <amodra@gmail.com>
63037         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63038         all uses of ieee854 long double macros and unions.  Simplify tests
63039         for long doubles that are fully specified by the high double.
63040         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63041         Likewise.
63042         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63043         Remove dead code too.
63044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63045         (__ieee754_ynl): Likewise.
63046         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63048         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63049         Remove dead code too.
63050         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63053         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63054         Simplify.
63055         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63056         Simplify.
63057         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63058         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63059         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63060         Comment on variable precision.
63061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63062         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63063         Likewise.
63064         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63065         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63066         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63068         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63070 2013-10-04  Alan Modra  <amodra@gmail.com>
63072         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63073         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63074         all uses of ieee854 long double macros and unions.
63075         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63076         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63077         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63079         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63080         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63081         Likewise.
63082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63083         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63084         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63085         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63086         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63087         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63088         Simplify sign and nan test too.
63089         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63090         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63091         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63092         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63093         Likewise.
63094         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63095         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63096         Likewise.
63097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63098         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63099         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63100         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63101         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63102         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63104 2013-10-04  Alan Modra  <amodra@gmail.com>
63106         * stdio-common/printf_size.c (__printf_size): Don't use
63107         union ieee854_long_double in fpnum union.
63108         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63109         signbit macro to retrieve sign from long double.
63110         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63111         retrieve sign from long double.
63112         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63113         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63114         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63115         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63116         * math/test-misc.c (main): Don't use union ieee854_long_double.
63118 2013-10-04  Alan Modra  <amodra@gmail.com>
63120         [BZ #15680]
63121         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63122         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63123         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63124         calculation.  Remove unnecessary test for denormal exponent.
63125         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63126         Correct handling of denormals.  Avoid undefined shift behaviour.
63127         Correct normalisation of low mantissa when low double is denormal.
63128         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63129         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63130         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63131         Correct normalisation of low mantissa.  Test for overflow of high
63132         mantissa and normalise.
63133         (ldbl_nearbyint): Use more readable constant for two52.
63134         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63135         (__mpn_construct_long_double): Fix test for overflow of high
63136         mantissa and correct normalisation.  Avoid undefined shift.
63138 2013-10-04  Alan Modra  <amodra@gmail.com>
63140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63141         (union ibm_extended_long_double): Define as an array of ieee754_double.
63142         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63143         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63144         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63145         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63147         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63148         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63149         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63150         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63151         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63152         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63154 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63156         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63157         page size instead of calling getpagesize.
63159         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63160         (LOCFILE_ALIGN_MASK): Likewise.
63161         (LOCFILE_ALIGN_UP): Likewise.
63162         (LOCFILE_ALIGNED_P): Likewise.
63163         * locale/programs/ld-collate.c (collate_output): Use the new
63164         macros instead of __alignof__ (int32_t).
63165         * locale/weight.h (findidx): Likewise.
63167 2013-10-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
63169         [BZ #431]
63170         * manual/string.texi: Fix strncat and wcsncat.
63172 2013-10-03  Brooks Moses  <bmoses@google.com>
63174         [BZ #15915]
63175         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63176         * Makerules: ...here, and adjust associated comments.
63178 2013-10-02  Will Newton  <will.newton@linaro.org>
63180         * malloc/Makefile: Add tst-pvalloc.
63181         * malloc/tst-pvalloc.c: New file.
63183 2013-10-02  Will Newton  <will.newton@linaro.org>
63185         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63186         improve test coverage.
63188 2013-10-02  Will Newton  <will.newton@linaro.org>
63190         * malloc/Makefile: Add tst-posix_memalign.
63191         * malloc/tst-posix_memalign.c: New file.
63193 2013-10-01  Eric Blake  <eblake@redhat.com>
63195         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63196         Use __THROWNL rather than __THROW on static functions.
63198 2013-09-30  Petr Machata  <pmachata@redhat.com>
63200         * elf/elf.h (R_AARCH64_ABS16): New macro.
63201         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63202         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63203         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63204         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63205         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63206         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63207         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63208         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63209         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63210         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63211         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63212         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63213         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63214         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63215         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63216         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63217         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63218         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63219         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63220         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63221         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63222         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63223         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63224         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63225         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63226         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63227         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63228         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63229         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63230         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63231         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63232         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63233         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63234         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63235         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63236         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63237         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63238         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63239         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63240         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63241         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63242         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63243         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63244         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63245         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63246         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63247         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63248         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63249         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63250         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63251         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63252         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63253         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63254         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63255         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63256         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63257         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63258         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63259         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63260         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63261         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63262         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63263         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63264         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63265         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63266         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63267         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63268         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63269         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63270         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63271         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63272         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63273         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63274         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63275         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63276         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63277         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63278         (R_AARCH64_TLSDESC_LDR): Likewise.
63279         (R_AARCH64_TLSDESC_ADD): Likewise.
63280         (R_AARCH64_TLSDESC_CALL): Likewise.
63282 2013-09-30  Andreas Schwab  <schwab@suse.de>
63284         [BZ #15048]
63285         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63286         the nss database lookup.
63287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63288         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63290 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63292         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63294 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63296         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63297         ${Bash-specific parameter/pattern/string} parameter expansion.
63298         * sysdeps/unix/make-syscalls.sh: Likewise.
63300 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63302         * sysdeps/sh/stackguard-macros.h: New file.
63304 2013-09-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
63306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63307         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63308         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63309         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63310         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63311         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63313 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63315         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63316         Fix thread ID register.
63318 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63320         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63321         [POSIX || UNIX98]: Require rather than permitting all symbols from
63322         <time.h>.
63323         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63324         element of struct sched_param.
63325         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63326         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63327         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63328         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63329         constant.
63331 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63333         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63334         argument calculation.
63336 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63338         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63339         Expect macro.
63340         [POSIX] (pthread_attr_t): Do not require type.
63341         [POSIX] (pthread_cond_t): Likewise.
63342         [POSIX] (pthread_condattr_t): Likewise.
63343         [POSIX] (pthread_key_t): Likewise.
63344         [POSIX] (pthread_mutex_t): Likewise.
63345         [POSIX] (pthread_mutexattr_t): Likewise.
63346         [POSIX] (pthread_once_t): Likewise.
63347         [POSIX] (pthread_t): Likewise.
63348         [POSIX-based standards] (pthread_atfork): Expect function.
63350 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63351             Richard Sandiford  <richard@codesourcery.com>
63353         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63354         (swap_endianness_p): New extern variable.
63355         (set_big_endian): New inline function.
63356         (maybe_swap_uint32): Likewise.
63357         (maybe_swap_uint32_array): Likewise.
63358         (maybe_swap_uint32_obstack): Likewise.
63359         * locale/programs/locfile.c: Include <stdbool.h>.
63360         (swap_endianness_p): New variable.
63361         (add_locale_uint32): Call maybe_swap_uint32.
63362         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63363         (write_locale_data): Call maybe_swap_uint32_array.
63364         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63365         maybe_swap_uint32.
63366         (obstack_int32_grow_fast): Likewise.
63367         (output_weightwc): Call maybe_swap_uint32_obstack.
63368         (collate_output): Likewise.
63369         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63370         (OPT_LITTLE_ENDIAN): Likewise.
63371         (options): Add --little-endian and --big-endian options.
63372         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63373         * locale/programs/locarchive.c: Include "locfile.h".
63374         (GET): New macro.
63375         (SET): Likewise.
63376         (INC): Likewise.
63377         (create_archive): Use the new macros to access fields of
63378         structures directly mapped from or written to locale archives.
63379         (oldlocrecentcmp): Likewise.
63380         (enlarge_archive): Likewise.
63381         (insert_name): Likewise.
63382         (add_alias): Likewise.
63383         (add_locale): Likewise.
63384         (delete_locales_from_archive): Likewise.
63385         (show_archive_content): Likewise.
63386         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63387         locale data.
63389 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63391         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63392         http://www.gnu.org/doc/freemanuals.texi.
63393         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63395 2013-09-24  Will Newton  <will.newton@linaro.org>
63397         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63398         macro.
63400 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63402         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63403         unsigned char.
63405 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63407         * manual/threads.texi (POSIX Threads): Fix a typo.
63409 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63411         [BZ #14547]
63412         * string/tst-strcoll-overflow.c: New test case.
63413         * string/Makefile (xtests): Add tst-strcoll-overflow.
63414         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63415         cache if string sizes may cause integer overflow.
63417         [BZ #14547]
63418         * string/strcoll_l.c (coll_seq): New members rule, idx,
63419         save_idx and back_us.
63420         (get_next_seq_nocache): New function.
63421         (do_compare_nocache): New function.
63422         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63423         when malloc fails.
63425 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63427         [BZ #15754]
63428         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63429         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63430         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63432         [BZ #15754]
63433         * elf/Makefile (tests): Add tst-ptrguard1.
63434         (tests-static): Add tst-ptrguard1-static.
63435         (tst-ptrguard1-ARGS): Define.
63436         (tst-ptrguard1-static-ARGS): Define.
63437         * elf/tst-ptrguard1.c: New file.
63438         * elf/tst-ptrguard1-static.c: New file.
63439         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63440         * sysdeps/i386/stackguard-macros.h: Likewise.
63441         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63442         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63443         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63444         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63445         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63446         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63448 2013-09-23  Hector Marco  <hecmargi@upv.es>
63449             Ismael Ripoll  <iripoll@disca.upv.es>
63450             Carlos O'Donell  <carlos@redhat.com>
63452         [BZ #15754]
63453         * sysdeps/generic/stackguard-macros.h: Define
63454         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63455         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63456         Define __pointer_chk_guard_local.
63457         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63458         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63460 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63462         [BZ #15859]
63463         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63465 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63467         * include/string.h (__ffs): Declare as hidden.
63468         * string/ffs.c (__ffs): Define as hidden.
63469         * sysdeps/i386/ffs.c (__ffs): Likewise.
63470         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63471         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63472         * sysdeps/s390/ffs.c (__ffs): Likewise.
63473         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63475 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63477         * NEWS: Mention malloc probes.
63479         * malloc/arena.c (new_heap): New memory_heap_new probe.
63480         (grow_heap): New memory_heap_more probe.
63481         (shrink_heap): New memory_heap_less probe.
63482         (heap_trim): New memory_heap_free probe.
63483         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63484         (systrim): New memory_sbrk_less probe.
63485         * manual/probes.texi: Document them.
63487         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63488         * manual/probes.texi: Document it.
63490         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63491         (__libc_realloc): Add memory_realloc_retry probe.
63492         (__libc_memalign): Add memory_memalign_retry probe.
63493         (__libc_valloc): Add memory_valloc_retry probe.
63494         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63495         (__libc_calloc): Add memory_calloc_retry probe.
63496         * manual/probes.texi: Document them.
63498         * malloc/arena.c (get_free_list): Add probe
63499         memory_arena_reuse_free_list.
63500         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63501         and memory_arena_reuse.
63502         (arena_get2) [!PER_THREAD]: Likewise.
63503         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63504         memory_arena_reuse_realloc.
63505         * manual/probes.texi: Document them.
63507         * malloc/malloc.c (__libc_free): Add
63508         memory_mallopt_free_dyn_thresholds probe.
63509         (__libc_mallopt): Add multiple memory_mallopt probes.
63510         * manual/probes.texi: Document them.
63512         * malloc/malloc.c: Include stap-probe.h.
63513         (__libc_mallopt): Add memory_mallopt probe.
63514         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63515         * manual/probes.texi: New.
63516         * manual/Makefile (chapters): Add probes.
63517         * manual/threads.texi: Set next node.
63519 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63521         [BZ #15963, #13985]
63522         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63523         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63524         Add `Chinese' to `nan' entry name.
63526 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63528         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63529         (POLYNOMIAL): Likewise.
63530         (TAYLOR_SINCOS): Likewise.
63531         (TAYLOR_SLOW): Likewise.
63532         (__sin): Use TAYLOR_SINCOS.
63533         (__cos): Likewise.
63534         (slow): Use TAYLOR_SLOW.
63535         (sloww): Likewise.
63536         (bsloww): Likewise.
63537         (csloww): Likewise.
63539 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63541         * stdlib/strtod_l.c: Fix buffer overrun.
63543 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63545         * benchtests/Makefile (bench): Add sincos.
63546         * benchtests/bench-sincos.c: New file.
63548         * math/libm-test.inc (cos_test_data): New test inputs.
63549         (sin_test_data): Likewise.
63551         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63552         macro.
63553         (__sin): Use it.
63554         (__cos): Likewise.
63555         (slow1): Likewise.
63556         (slow2): Likewise.
63557         (sloww1): Likewise.
63558         (sloww2): Likewise.
63559         (bsloww1): Likewise.
63560         (bsloww2): Likewise.
63561         (cslow2): Likewise.
63562         (csloww1): Likewise.
63563         (csloww2): Likewise.
63565         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63566         function.
63567         (__sin): Use it.
63568         (__cos): Likewise.
63570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63571         gotos.
63572         (__cos): Likewise.
63574 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63576         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63577         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63578         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63579         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63580         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63581         * elf/cache.c (print_entry): Handle the new cache flags.
63583 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63584             Aldy Hernandez  <aldyh@redhat.com>
63586         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63587         Change condition to [_SOFT_FLOAT].
63588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63600         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63603         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63604         declaration.
63606 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63608         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63609         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63610         (__longjmp): Use LOAD_GP to load saved GPRs.
63611         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63612         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63613         (__sigsetjmp): Use SAVE_GP to save GPRs.
63615         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63616         Do not append -msoft-float.
63617         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63619 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63621         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63623 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63625         [BZ #15966]
63626         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63627         (_FPU_GETCW): Use initial "__" on variable and field names but not
63628         on macro parameter name.
63629         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63630         parentheses around reference to macro parameter.
63632 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63634         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63635         prototype.
63636         (ctype_startup): Use uint32_t in cast and sizeof for
63637         ctype->charnames.
63639 2013-09-11  Jia Liu  <proljc@gmail.com>
63641         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63642         __daddr_t_defined.
63643         [__FreeBSD__]: Likewise.
63645 2013-09-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
63647         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63648         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63649         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63650         (strchr): Remove __strchr_sse42 ifunc selection.
63651         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63652         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63654 2013-09-11  Will Newton  <will.newton@linaro.org>
63656         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63657         parameter to RES. Remove hardcoded 1000 value.
63658         * benchtests/bench-skeleton.c (main): Pass RES parameter
63659         to TIMING_INIT and multiply result by 1000.
63661 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63665 2013-09-11  Andreas Schwab  <schwab@suse.de>
63667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63668         if not defined.
63669         (O_TMPFILE) [__USE_GNU]: Define.
63670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63671         Define.
63673 2013-09-11  Will Newton  <will.newton@linaro.org>
63675         [BZ #15857]
63676         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63677         does not overflow.
63679 2013-09-11  Will Newton  <will.newton@linaro.org>
63681         [BZ #15856]
63682         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63683         does not overflow.
63685 2013-09-11  Will Newton  <will.newton@linaro.org>
63687         [BZ #15855]
63688         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63689         does not overflow.
63691 2013-09-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
63693         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63694         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63699 2013-09-10  Allan McRae  <allan@archlinux.org>
63701         [BZ #15748]
63702         * manual/arith.texi (Parsing of Floats): Clarify
63703         cross-reference.
63705         [BZ #15849]
63706         * manual/install.texi (Running make install): Mention
63707         --enable-pt-chown.
63708         * INSTALL: Regenerated.
63710 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63712         * csu/init-first.c (_init): Remove the !SHARED condition around
63713         FPU control word initialization.
63714         * elf/dl-support.c (_dl_fpu_control): New variable.
63715         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63716         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63717         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63718         * math/test-fpucw-static.c: New file.
63719         * math/test-fpucw-ieee.c: New file.
63720         * math/test-fpucw-ieee-static.c: New file.
63721         * math/Makefile (tests): Add `test-fpucw-ieee' and
63722         `$(tests-static)'.
63723         (tests-static): New variable.
63724         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63725         dependency to...
63726         [($(build-shared),yes)]
63727         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63728         ... this.
63729         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63730         New dependency.
63732 2013-09-09  Allan McRae  <allan@archlinux.org>
63734         [BZ #15939]
63735         * manual/string.texi (Collation Functions): Fix typo in
63736         strcoll example.
63737         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63739         [BZ #15893]
63740         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63742         [BZ #15892]
63743         * libio/memstream.c (open_memstream): Fix memory leak.
63744         * libio/wmemstream.c (open_wmemstream): Likewise.
63746         [BZ #15895]
63747         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63749 2013-09-09  Will Newton  <will.newton@linaro.org>
63751         * malloc/Makefile: Add tst-realloc to tests.
63752         * malloc/tst-realloc.c: New file.
63754 2013-09-09  Allan McRae  <allan@archlinux.org>
63756         [BZ #15844]
63757         * COPYING: Update from GNU website to fix FSF address.
63758         * COPYING.LIB: Likewise.
63760 2013-09-06  David S. Miller  <davem@davemloft.net>
63762         * po/zh_TW.po: Update Chinese (traditional) translation from
63763         translation project.
63765 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63766             Joseph Myers  <joseph@codesourcery.com>
63768         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63769         "localeinfo.h".
63770         (obstack_chunk_alloc): New macro.
63771         (obstack_chunk_free): Likewise.
63772         (record_offset): New function.
63773         (init_locale_data): Likewise.
63774         (align_locale_data): Likewise.
63775         (add_locale_empty): Likewise.
63776         (add_locale_raw_data): Likewise.
63777         (add_locale_raw_obstack): Likewise.
63778         (add_locale_string): Likewise.
63779         (add_locale_wstring): Likewise.
63780         (add_locale_uint32): Likewise.
63781         (add_locale_uint32_array): Likewise.
63782         (add_locale_char): Likewise.
63783         (start_locale_structure): Likewise.
63784         (end_locale_structure): Likewise.
63785         (start_locale_prelude): Likewise.
63786         (end_locale_prelude): Likewise.
63787         (write_locale_data): Take locale_file structure rather than an
63788         iovec.
63789         * locale/programs/locfile.h: Include "obstack.h".
63790         (struct locale_file): Change to store locale file contents instead
63791         of header.
63792         (init_locale_data): New prototype.
63793         (align_locale_data): Likewise.
63794         (add_locale_empty): Likewise.
63795         (add_locale_raw_data): Likewise.
63796         (add_locale_raw_obstack): Likewise.
63797         (add_locale_string): Likewise.
63798         (add_locale_wstring): Likewise.
63799         (add_locale_uint32): Likewise.
63800         (add_locale_uint32_array): Likewise.
63801         (add_locale_char): Likewise.
63802         (start_locale_structure): Likewise.
63803         (end_locale_structure): Likewise.
63804         (start_locale_prelude): Likewise.
63805         (end_locale_prelude): Likewise.
63806         (write_locale_data): Update prototype.
63807         * locale/programs/3level.h (struct TABLE): Remove result field.
63808         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63809         Use new locale_file interface.
63810         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63811         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63812         * locale/programs/ld-address.c (address_output): Use new
63813         locale_file interface.
63814         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63815         NO_ADD_LOCALE.
63816         (collate_finish): Don't call collseq_table_finalize.
63817         (collate_output): Use new locale_file interface.
63818         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63819         in file.
63820         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63821         (TABLE): Move defines earlier in file.
63822         (ELEMENT): Likewise.
63823         (DEFAULT): Likewise.
63824         (wctrans_table_add): Move macro and inline function earlier in
63825         file.
63826         (struct wctype_table): Move type earlier in file.
63827         (add_locale_wctype_table): New static prototype.
63828         (struct locale_ctype_t): Use logical types instead of struct iovec
63829         pointers for members.
63830         (ctype_output): Use new locale_file interface.
63831         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63832         new locale_file interface.
63833         (allocate_arrays): Update for use of new locale_file interface.
63834         * locale/programs/ld-identification.c (identification_output): Use
63835         new locale_file interface.
63836         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63837         * locale/programs/ld-messages.c (messages_output): Likewise.
63838         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63839         * locale/programs/ld-name.c (name_output): Likewise.
63840         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63841         * locale/programs/ld-paper.c (paper_output): Likewise.
63842         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63843         * locale/programs/ld-time.c (time_output): Likewise.
63845 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63847         * benchtests/Makefile: Add memrchr benchmark.
63848         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63849         benchmark as memrchr.
63850         * benchtests/bench-memrchr-ifunc.c: New file.
63851         * benchtests/bench-memrchr.c: New file.
63853 2013-09-06   Will Newton  <will.newton@linaro.org>
63855         * benchtests/Makefile (string-bench): Add memcpy.
63857 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63858             Cong Wang  <amwang@redhat.com>
63860         [BZ #15850]
63861         * sysdeps/unix/sysv/linux/bits/in.h
63862         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63863         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63864         before __USE_KERNEL_IPV6_DEFS uses.
63865         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63866         IPPROTO_BEETPH.
63867         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63868         sockaddr_in6, or ipv6_mreq.
63870 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63872         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63873         memory access for final bytes in some large inputs.
63874         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63876 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63878         * string/test-memrchr.c: New file.
63879         * string/test-memrchr-ifunc.c: New file.
63880         * string/Makefile: Add new memrchr testcase.
63882 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63884         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63885         fanotify_init returns EPERM.
63887 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63889         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63890         errors.
63891         (top level): Treat second token from macro or constant entries for
63892         allowed headers as allowed.
63893         * include/complex.h: Condition internal declarations on
63894         [!_ISOMAC].
63895         * include/fenv.h: Condition include of <stdbool.h> and internal
63896         declarations on [!_ISOMAC].
63898 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63900         [BZ #15923]
63901         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63903 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63905         * configure.in (--enable-versioning): Remove configure option.
63906         (libc_cv_asm_symver_directive): Remove configure test.
63907         (libc_cv_ld_version_script_option): Likewise.
63908         (VERSIONING): Remove variable and AC_SUBST.
63909         (DO_VERSIONING): Remove AC_DEFINE.
63910         * configure: Regenerated.
63911         * config.h.in (DO_VERSIONING): Remove macro.
63912         * Makerules [$(versioning) = yes]: Change conditionals to
63913         [$(build-shared) = yes].
63914         * config.make.in (versioning): Remove variable.
63915         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63916         [$(build-shared) = yes].
63917         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63918         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63919         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63920         [$(build-shared) = yes].
63921         * extra-lib.mk [$(versioning) = yes]: Likewise.
63922         * hurd/Makefile [$(versioning) = yes]: Likewise.
63923         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63924         [SHARED].
63925         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63926         [SHARED].
63927         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63928         [SHARED && !NO_HIDDEN].
63929         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63930         [SHARED].
63931         [SHARED && DO_VERSIONING]: Likewise..
63932         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63933         [$(build-shared) = yes].
63934         * manual/install.texi (--disable-versioning): Remove
63935         documentation.
63936         * INSTALL: Regenerated.
63937         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63938         to [SHARED].
63939         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63940         [$(build-shared) = yes].
63941         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63942         * sysdeps/i386/i686/multiarch/strstr-c.c
63943         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63944         [SHARED && !NO_HIDDEN].
63945         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63946         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63947         * sysdeps/powerpc/powerpc32/dl-machine.c
63948         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63949         * sysdeps/powerpc/powerpc32/sysdep.h
63950         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63951         to [SHARED && PIC && !NO_HIDDEN].
63952         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63953         conditional to [SHARED].
63955 2013-09-04   Will Newton  <will.newton@linaro.org>
63957         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63958         * benchtests/bench-string.h: Include bench-timing.h instead
63959         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63960         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63961         call to HP_TIMING_DIFF_INIT.
63962         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63963         instead of hp-timing.h macros.
63964         * benchtests/bench-memchr.c: Likewise.
63965         * benchtests/bench-memcmp.c: Likewise.
63966         * benchtests/bench-memcpy.c: Likewise.
63967         * benchtests/bench-memmem.c: Likewise.
63968         * benchtests/bench-memmove.c: Likewise.
63969         * benchtests/bench-memset.c: Likewise.
63970         * benchtests/bench-rawmemchr.c: Likewise.
63971         * benchtests/bench-strcasecmp.c: Likewise.
63972         * benchtests/bench-strcasestr.c: Likewise.
63973         * benchtests/bench-strcat.c: Likewise.
63974         * benchtests/bench-strchr.c: Likewise.
63975         * benchtests/bench-strcmp.c: Likewise.
63976         * benchtests/bench-strcpy.c: Likewise.
63977         * benchtests/bench-strcpy_chk.c: Likewise.
63978         * benchtests/bench-strlen.c: Likewise.
63979         * benchtests/bench-strncasecmp.c: Likewise.
63980         * benchtests/bench-strncat.c: Likewise.
63981         * benchtests/bench-strncmp.c: Likewise.
63982         * benchtests/bench-strncpy.c: Likewise.
63983         * benchtests/bench-strnlen.c: Likewise.
63984         * benchtests/bench-strpbrk.c: Likewise.
63985         * benchtests/bench-strrchr.c: Likewise.
63986         * benchtests/bench-strspn.c: Likewise.
63987         * benchtests/bench-strstr.c: Likewise.
63989 2013-09-04  Will Newton  <will.newton@linaro.org>
63991         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63993 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63995         [BZ #15427]
63996         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63997         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63998         * math/libm-test.inc (lgamma_test_data): Add more tests.
63999         * sysdeps/i386/fpu/libm-test-ulps: Update.
64000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64002 2013-09-03   Ondƙej BĂ­lka  <neleai@seznam.cz>
64004         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64005         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64006         Add ifunc.
64007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64008         Add strcmp-sse2-unaligned
64009         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64011 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64013         * Versions.def (libc): Add GLIBC_2.19.
64015 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64017         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64018         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64020 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
64022         [BZ #14155]
64023         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64024         intermediate calculations in recurrence.
64025         (__ieee754_ynf): Likewise.
64026         * math/libm-test.inc (jn_test_data): Do not allow spurious
64027         underflow exception.  Add more tests.
64028         (yn_test_data): Add more tests.
64029         * sysdeps/i386/fpu/libm-test-ulps: Update.
64030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64032 2013-09-02   Ondƙej BĂ­lka  <neleai@seznam.cz>
64034         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64036 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64038         * csu/init-first.c: Fix then/than typos.
64039         * locale/programs/ld-collate.c: Likewise.
64040         * locale/programs/linereader.h: Likewise.
64041         * manual/charset.texi: Likewise.
64042         * manual/filesys.texi: Likewise.
64043         * manual/stdio.texi: Likewise.
64044         * manual/string.texi: Likewise.
64045         * stdlib/fmtmsg.c: Likewise.
64046         * sysdeps/i386/stpncpy.S: Likewise.
64047         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64048         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64049         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64050         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64052 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64054         * elf/dl-open.c: Fix typos.
64055         * iconvdata/gbbig5.c: Likewise.
64056         * iconvdata/iso-2022-jp.c: Likewise.
64057         * iconv/gconv_int.h: Likewise.
64058         * iconv/loop.c: Likewise.
64059         * nis/rpcsvc/nis.h: Likewise.
64060         * resolv/ns_name.c: Likewise.
64061         * stdio-common/vfscanf.c: Likewise.
64062         * streams/stropts.h: Likewise.
64063         * sunrpc/rpc_thread.c: Likewise.
64064         * sysdeps/i386/strpbrk.S: Likewise.
64065         * sysdeps/ieee754/k_standard.c: Likewise.
64066         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64067         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64068         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64069         * sysdeps/mach/hurd/profil.c: Likewise.
64070         * sysdeps/s390/dl-procinfo.h: Likewise.
64071         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64072         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64073         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64074         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64075         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64077 2013-08-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
64079         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64080         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64082 2013-08-29  Ondƙej BĂ­lka  <neleai@seznam.cz>
64084         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64085         aix specific files.
64086         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64087         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64088         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64089         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64090         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64091         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64092         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64093         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64095 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64096             Roland McGrath  <roland@hack.frob.com>
64098         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64099         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64101 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64103         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64104         __executable_start symbol instead of _start.
64106 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64108         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64109         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64110         Move macros to...
64111         * sysdeps/gnu/ldsodefs.h: ... this new file.
64113         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64114         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64115         instead of ELFOSABI_LINUX.
64117         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64118         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64119         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64120         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64121         Likewise.
64122         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64123         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64124         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64125         Likewise.
64126         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64127         (ibm_extended_long_double): Add ieee_nan member.
64128         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64129         (do_test): New function.
64131         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64132         TEST_TRUNC.
64133         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64134         functions, renamed from truncdfsf_test, trunctfsf_test,
64135         trunctfdf_test.
64136         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64137         functions.
64138         (do_test): Run all these.
64140 2013-08-29   Ondƙej BĂ­lka  <neleai@seznam.cz>
64142         * argp/argp-help.c: Fix typos.
64143         * argp/argp-parse.c: Likewise.
64144         * debug/backtracesyms.c: Likewise.
64145         * elf/elf.h: Likewise.
64146         * malloc/malloc.c: Likewise.
64147         * nis/nis_print.c: Likewise.
64148         * resolv/res_comp.c: Likewise.
64149         * stdlib/stdlib.h: Likewise.
64150         * sunrpc/clnt_tcp.c: Likewise.
64151         * sunrpc/clnt_udp.c: Likewise.
64152         * sunrpc/clnt_unix.c: Likewise.
64153         * sysdeps/unix/bsd/ptsname.c: Likewise.
64154         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64155         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64157         Likewise.
64158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64159         Likewise.
64160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64161         Likewise.
64162         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64164 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64166         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64169 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64171         [BZ #15897]
64172         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64173         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64174         ($(objpfx)bug-dl-leaf): New rule.
64175         ($(objpfx)bug-dl-leaf.so): Likewise.
64176         ($(objpfx)bug-dl-leaf.out): Likewise.
64177         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64178         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64179         * dlfcn/bug-dl-leaf.c: New test.
64180         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64181         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64182         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64183         (dlclose): Likewise.
64184         (dlmopen): Likewise.
64186 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64188         * include/netdb.h [!_ISOMAC]:
64189         Don't include <tls.h>.
64190         (h_errno, __libc_h_errno): Move declaration and macros out of
64191         [_LIBC_REENTRANT].
64193         * include/resolv.h [_RESOLV_H_]:
64194         Don't include <tls.h>.
64195         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64196         * resolv/res_libc.c: Don't include <tls.h>.
64197         (_res): Use __attribute__ ((nocommon)) in place of
64198         __attribute__ ((section (".bss"))).
64200         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64201         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64203         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64205         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64206         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64208         * resolv/res_mkquery.c: Include <sys/time.h>.
64210         * inet/ifreq.c: Moved to ...
64211         * sysdeps/unix/ifreq.c: ... here.
64212         * inet/ifreq.c: New file, true stub version.
64214         * socket/sa_len.c: New file.
64215         * socket/Makefile (aux): Add it.
64216         * sysdeps/unix/sysv/linux/Makefile
64217         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64218         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64219         and #include <socket/sa_len.c>.
64220         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64221         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64223         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64224         * bits/socket.h: ... here.
64226         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64227         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64228         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64230 2013-08-27  Andreas Schwab  <schwab@suse.de>
64232         [BZ #15736]
64233         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64234         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64235         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64236         * string/test-strcasecmp.c (test_main): Run tests in several
64237         locales.
64238         * string/test-strncasecmp.c (test_main): Likewise.
64240         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64241         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64242         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64244         (__strncasecmp_ssse3) [PIC]: Likewise.
64246 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64248         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64250         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64251         instead of explicitly declaring xdecrypt.
64252         * nis/nss_nis/nis-publickey.c: Likewise.
64254 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64256         [BZ #15890]
64257         * nscd/aicache.c: Include res_hconf.h.
64258         (addhstaiX): Initialize res_hconf.
64260 2013-08-26  Andreas Schwab  <schwab@suse.de>
64262         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64263         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64265 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64267         * nscd/aicache.c (addhstaiX): Fix indentation.
64269 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64271         * configure.ac: Quote $build_pt_chown test.
64272         * configure: Regenerated.
64274 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64276         [BZ #15532]
64277         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64278         * math/s_cexpf.c (__cexpf): Likewise.
64279         * math/s_cexpl.c (__cexpl): Likewise.
64280         * math/libm-test.inc (cexp_test_data): Correct expected return
64281         value for NaN + i0.  Add another test.
64283 2013-08-22  David S. Miller  <davem@davemloft.net>
64285         * po/ca.po: Update Catalan translation from translation project.
64286         * po/uk.po: Add Ukrainian translations from translation project.
64288 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64290         [BZ #15797]
64291         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64292         is infinite, not alongside NaN test.
64293         * math/s_fdimf.c (__fdimf): Likewise.
64294         * math/s_fdiml.c (__fdiml): Likewise.
64295         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64296         errno is unchanged.
64298 2013-08-21   Ondƙej BĂ­lka  <neleai@seznam.cz>
64300         * argp/argp-help.c: Fix typos.
64301         * crypt/speeds.c: Likewise.
64302         * csu/check_fds.c: Likewise.
64303         * elf/dl-load.c: Likewise.
64304         * elf/dl-open.c: Likewise.
64305         * elf/reldep3.c: Likewise.
64306         * elf/reldep.c: Likewise.
64307         * elf/sprof.c: Likewise.
64308         * iconv/iconv_charmap.c: Likewise.
64309         * iconv/skeleton.c: Likewise.
64310         * iconv/strtab.c: Likewise.
64311         * io/lockf64.c: Likewise.
64312         * libio/libioP.h: Likewise.
64313         * resolv/gai_notify.c: Likewise.
64314         * resolv/ns_name.c: Likewise.
64315         * resolv/ns_samedomain.c: Likewise.
64316         * resolv/res_send.c: Likewise.
64317         * stdlib/random.c: Likewise.
64318         * sunrpc/rpc/xdr.h: Likewise.
64319         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64320         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64321         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64322         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64323         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64324         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64325         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64326         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64327         * sysdeps/mach/hurd/check_fds.c: Likewise.
64328         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64329         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64330         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64331         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64332         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64333         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64334         * sysdeps/pthread/aio_notify.c: Likewise.
64335         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64336         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64337         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64338         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64339         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64341 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64343         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64344         version if bit_Slow_SSE4_2 is set.
64345         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64346         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64348 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64350         [BZ #15867]
64351         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64352         trampoline stack frame information.
64353         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64355         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64356         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64357         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64358         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64359         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64360         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64361         sa_flags value.
64362         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64363         interrupting a syscall and set with option SA_SIGINFO.
64365 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64367         [BZ #15531]
64368         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64369         argument is infinite.
64370         * math/s_cprojf.c (__cprojf): Likewise.
64371         * math/s_cprojl.c (__cprojl): Likewise.
64372         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64373         * math/libm-test.inc (cproj_test_data): Add more tests.
64375         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64377         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64378         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64379         size.  Use __ffs to determine corresponding shift.
64381 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64382             Roland McGrath  <roland@hack.frob.com>
64384         * Makefile (INSTALL): Remove trailing blank lines from output of
64385         makeinfo.
64387 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64389         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64390         Align 32 bit compat elf_greg to 8 bytes.
64392 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64394         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64396 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64398         * string/strcoll_l.c (coll_seq): New structure.
64399         (get_next_seq_cached): New function.
64400         (get_next_seq): New function.
64401         (do_compare): New function.
64402         (STRCOLL): Use GNU style definition.  Simplify implementation
64403         by using get_next_seq, get_next_seq_cached and do_compare.
64405 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64407         [BZ #14699]
64408         CVE-2013-4237
64409         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64410         member.
64411         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64412         member.
64413         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64414         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64415         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64416         conditional.
64417         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64418         GETDENTS_64BIT_ALIGNED.
64419         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64420         * manual/filesys.texi (Reading/Closing Directory): Document
64421         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64422         strongly.
64423         * manual/conf.texi (Limits for Files): Add portability note to
64424         NAME_MAX, PATH_MAX.
64425         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64427 2013-08-13  Andreas Schwab  <schwab@suse.de>
64429         [BZ #15749]
64430         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64431         of fabs.
64432         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64433         LDBL_MAX_EXP >= 16384]: Add tests for it.
64435 2013-08-12  David S. Miller  <davem@davemloft.net>
64437         * version.h (RELEASE): Set to "development".
64438         (VERSION): Set to "2.18.90".
64439         * NEWS: Add 2.19 section.
64441 2013-08-03  David S. Miller  <davem@davemloft.net>
64443         * po/ko.po: Update Korean translation from translation project.
64445 2013-08-01  David S. Miller  <davem@davemloft.net>
64447         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64448         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64449         Bilka.
64451 2013-07-30  David S. Miller  <davem@davemloft.net>
64453         * po/fr.po: Update French translation from translation project.
64455 2013-07-28  David S. Miller  <davem@davemloft.net>
64457         * po/cs.po: Update Czech translation from translation project.
64459         * po/sv.po: Update Swedish translation from translation project.
64461 2013-07-27  David S. Miller  <davem@davemloft.net>
64463         * po/eo.po: Update Esperanto translation from translation project.
64465         * po/vi.po: Update Vietnamese translation from translation project.
64467         * po/de.po: Update German translation from translation project.
64469 2013-07-26  David S. Miller  <davem@davemloft.net>
64471         * po/bg.po: Update Bulgarian translation from translation project.
64473         * po/nl.po: Update Dutch translation from translation project.
64474         * po/pl.po: Update Polish translation from translation project.
64475         * po/ru.po: Update Russian translation from translation project.
64477 2013-07-24  David S. Miller  <davem@davemloft.net>
64479         * po/libc.pot: Update.
64481 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64483         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64484         variable page size.
64485         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64486         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64487         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64489 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64491         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64493 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64494             Andreas Schwab  <schwab@suse.de>
64495             Roland McGrath  <roland@hack.frob.com>
64496             Joseph Myers  <joseph@codesourcery.com>
64497             Carlos O'Donell  <carlos@redhat.com>
64499         [BZ #15755]
64500         * config.h.in: Define HAVE_PT_CHOWN.
64501         * config.make.in (build-pt-chown): New variable.
64502         * configure.in (--enable-pt_chown): New configure option.
64503         * configure: Regenerate.
64504         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64505         build-pt-chown is enabled.
64506         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64507         pt_chown to fix pty ownership.
64508         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64509         CLOSE_ALL_FDS.
64510         * manual/install.texi (Configuring and compiling): Mention
64511         --enable-pt_chown. Add @findex for grantpt.
64512         * INSTALL: Regenerate.
64514 2013-07-20  David S. Miller  <davem@davemloft.net>
64516         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64517         difference between 32-bit and 64-bit.
64519 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64521         [BZ #15711]
64522         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64523         Avoid system header dependency with -ffreestanding.
64524         ($(objpfx)bits/syscall%d): Likewise.
64526 2013-07-13  David S. Miller  <davem@davemloft.net>
64528         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64529         underflows from atanl/atan2l due to bug 15319.
64530         (casinh_test_data): Likewise.
64532 2013-07-07  David S. Miller  <davem@davemloft.net>
64534         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64536 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64538         * sysdeps/i386/fpu/libm-test-ulps: Update.
64539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64541 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64543         * configure.in (--enable-lock-elision): Fix message text.
64544         * INSTALL: Regenerate.
64545         * configure: Regenerate.
64547 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64551 2013-07-03  Andreas Jaeger  <aj@suse.de>
64553         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64554         define.
64555         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64556         (ptrace_peeksiginfo_args): Add.
64557         (__ptrace_peeksiginfo_flags): Add.
64558         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64559         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64560         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64562 2013-07-03  Allan McRae  <allan@archlinux.org>
64564         * sysdeps/i386/fpu/libm-test-ulps: Update.
64566 2013-07-02  David S. Miller  <davem@davemloft.net>
64568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64570 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64574 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64576         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64579 2013-07-02  Andi Kleen <ak@linux.intel.com>
64581         * config.h.in (ENABLE_LOCK_ELISION): Add.
64582         * configure.in (--enable-lock-elision): Add option.
64583         * manual/install.texi: Document --enable lock elision.
64584         * configure: Regenerate
64585         * INSTALL: Regenerate.
64587 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64589         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64590         SSE4.2 strcasecmp for libc.a.
64591         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64593 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64595         [BZ #13304]
64596         * soft-fp/op-common.h (_FP_FMA): New macro.
64597         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64598         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64599         (_FP_MUL_MEAT_1_imm): ... here.
64600         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64601         (_FP_MUL_MEAT_1_wide): ... here.
64602         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64603         (_FP_MUL_MEAT_1_hard): ... here.
64604         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64605         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64606         (_FP_MUL_MEAT_2_wide): ... here.
64607         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64608         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64609         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64610         (_FP_MUL_MEAT_2_gmp): ... here.
64611         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64612         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64613         (_FP_MUL_MEAT_4_wide): ... here.
64614         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64615         (_FP_MUL_MEAT_4_gmp): ... here.
64616         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64617         (_FP_WFRACBITS_DW_S): Likewise.
64618         (_FP_WFRACXBITS_DW_S): Likewise.
64619         (_FP_HIGHBIT_DW_S): Likewise.
64620         (FP_FMA_S): Likewise.
64621         (_FP_FRAC_HIGH_DW_S): Likewise.
64622         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64623         (_FP_WFRACBITS_DW_D): Likewise.
64624         (_FP_WFRACXBITS_DW_D): Likewise.
64625         (_FP_HIGHBIT_DW_D): Likewise.
64626         (FP_FMA_D): Likewise.
64627         (_FP_FRAC_HIGH_DW_D): Likewise.
64628         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64629         (_FP_WFRACBITS_DW_E): Likewise.
64630         (_FP_WFRACXBITS_DW_E): Likewise.
64631         (_FP_HIGHBIT_DW_E): Likewise.
64632         (FP_FMA_E): Likewise.
64633         (_FP_FRAC_HIGH_DW_E): Likewise.
64634         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64635         (_FP_WFRACBITS_DW_Q): Likewise.
64636         (_FP_WFRACXBITS_DW_Q): Likewise.
64637         (_FP_HIGHBIT_DW_Q): Likewise.
64638         (FP_FMA_Q): Likewise.
64639         (_FP_FRAC_HIGH_DW_Q): Likewise.
64640         * soft-fp/fmasf4.c: New file.
64641         * soft-fp/fmadf4.c: Likewise.
64642         * soft-fp/fmatf4.c: Likewise.
64644 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64647         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64648         Silvermont.
64649         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64650         macro.
64651         (index_Slow_SSE4_2): Likewise.
64652         (index_Prefer_PMINUB_for_stringop): Likewise.
64653         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64654         bit_Slow_SSE4_2 is set.
64655         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64656         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64658 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64660         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64661         rtld_global._dl_hwcap2.
64662         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64663         POWER8.
64664         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64665         POWER8 feature descriptions defined in _dl_hwcap2.
64666         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64667         string handling for POWER8 feature bits.
64668         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64669         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64670         _dl_powerpc_cap_flags.
64671         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64672         * sysdeps/powerpc/rtld-global-offsets.sym
64673         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64674         _dl_hwcap2 in the rtld_global_ro structure.
64676 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64678         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64679         hardware capabilities in support of AT_HWCAP2.
64680         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64681         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64682         GLRO(dl_hwcap2).
64683         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64684         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64685         explicitly the unknown a_type display mechanism is used.
64686         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64687         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64688         struct member.
64689         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64690         to macro prototype for AT_HWCAP2 support.
64691         * sysdeps/i386/dl-procinfo.h: Likewise.
64692         * sysdeps/s390/dl-procinfo.h: Likewise.
64693         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64694         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64695         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64696         return -1 for unknown a_type display fallback.
64697         * sysdeps/sparc/dl-procinfo.h: Likewise.
64698         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64699         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64701 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64703         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64704         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64706 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64708         [BZ #12492]
64709         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64710         mprotect making __stack_prot writable.
64712 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64713             Joseph Myers  <joseph@codesourcery.com>
64715         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64716         as being properly aligned.
64718 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64720         * dlfcn/modstatic5.c: New file.
64721         * dlfcn/tststatic5.c: New file.
64722         * dlfcn/Makefile (tests): Add tststatic5.
64723         (tests-static): Likewise.
64724         (modules-names): Add modstatic5.
64725         (tststatic5-ENV): New variable.
64726         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64728         [BZ #15022]
64729         * elf/dl-support.c (_dl_main_map): New variable.
64730         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64731         (_dl_nns, _dl_load_adds): Set to 1.
64732         (_dl_initial_searchlist): Refer to _dl_main_map.
64733         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64734         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64735         call to _dl_get_origin.
64736         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64737         around call_map.
64738         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64739         * dlfcn/modstatic3.c: New file.
64740         * dlfcn/tststatic3.c: New file.
64741         * dlfcn/tststatic4.c: New file.
64742         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64743         (tests-static): Likewise.
64744         (modules-names): Add modstatic3.
64745         (tststatic3-ENV, tststatic4-ENV): New variables.
64746         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64747         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64749 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64751         * configure.in (CC): Require GCC version 4.4 or later.
64752         * configure: Regenerated.
64753         * manual/install.texi (Tools for Compilation): Update GCC version
64754         requirement.
64755         * INSTALL: Regenerated.
64757 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64759         [BZ #15674]
64760         * string/test-memcmp.c (check2): New.
64761         (main): Call check2.
64763         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64765 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64767         [BZ #15022]
64768         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64769         over to...
64770         (dl_open_worker) [!SHARED]: ... here.
64772 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64774         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64776 2013-06-25  Richard Henderson  <rth@redhat.com>
64778         * locale/programs/locarchive.c: Include <libc-internal.h>
64780 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64782         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64783         trailing whitespace removed.
64785 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64787         [BZ #10283]
64788         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64789         * locale/programs/locarchive.c: Include libc-mmap.h.
64790         (prepare_address_space): Take two new outputs (the mmap base and len).
64791         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64792         values.
64793         (create_archive): Declare new mmap base and len values for
64794         prepare_address_space, and store the result in ah.
64795         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64796         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64797         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64798         Declare new mmap base and len values for
64799         prepare_address_space, and store the result in new_ah.
64800         (open_archive): Declare new mmap base and len values for
64801         prepare_address_space, and store the result in ah.
64802         (close_archive): If ah->mmap_base is not NULL, use that and
64803         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64804         * sysdeps/generic/libc-mmap.h: New file.
64806 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64808         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64809         (ALIGN_UP): Likewise.
64810         (PTR_ALIGN_DOWN): Likewise.
64811         (PTR_ALIGN_UP): Likewise.
64813 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64815         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64816         entry mapped to PPC_PLATFORM_POWER8.
64817         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64818         POWER8.
64819         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64820         (_dl_string_platform): Add case for exporting platform position for
64821         POWER8.
64822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64823         search path to sysdeps/powerpc/powerpc32/power8 directory.
64824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64825         search path to sysdeps/powerpc/powerpc64/power8 directory.
64826         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64827         power7 directories.
64828         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64829         power7 directories.
64831 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64833         * INSTALL: Regenerate.
64835         * nscd/connections.c (nscd_init): Fix comment.
64837 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64839         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64841         [BZ #15667]
64842         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64843         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64845 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64847         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64848         DL_DST_REQ_STATIC.
64849         (DL_DST_REQ_STATIC): Remove macro.
64851 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64853         [BZ #7006]
64854         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64855         with a shift of 0 bits.
64857 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64859         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64860         $(tststatic-ENV).
64862 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64864         [BZ #15655]
64865         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64867 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64869         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64870         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64871         accepts -fno-tree-loop-distribute-patterns.
64872         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64873         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64874         recursive call.
64875         * string/memset.c (memset): Likewise.
64876         * string/test-memmove.c (simple_memmove): Disable loop transformation
64877         to library calls.
64878         * string/test-memset.c (simple_memset): Likewise.
64879         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64880         * benchtests/bench-memset.c (simple_memset): Likewise.
64881         * configure: Regenerated.
64883 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64885         * math/test-misc.c (main): Ignore fesetround failure when failures
64886         of subsequent rounding tests would be ignored.
64888         [BZ #15654]
64889         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64890         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64891         * math/fegetenv.c (__fegetenv): Return 0.
64892         * math/fegetexcept.c (fegetexcept): Return 0.
64893         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64894         FE_TONEAREST.
64895         * math/feholdexcpt.c (feholdexcept): Return 0.
64896         * math/fesetenv.c (__fesetenv): Return 0.
64897         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64898         argument FE_TONEAREST.
64899         * math/feupdateenv.c (__feupdateenv): Return 0.
64900         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64902 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64904         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64905         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64906         ($(objpfx)rtld-%.os rules): Use them.
64908 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64910         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64911         fields.
64913 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64915         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64916         length of target pattern, then descending length of dependency pattern.
64917         * configure.in (AWK): Require gawk 3.1.2 or newer.
64918         * manual/install.texi (Tools for Compilation): Say that we do.
64919         * configure: Regenerated.
64921         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64922         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64923         * scripts/sysd-rules.awk: ... this new script.
64924         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64925         than a glob-style pattern.
64927 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64929         * math/test-misc.c (main): Do not treat incorrectly rounded
64930         conversions as failure unless ROUNDING_TESTS passes.
64932 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64934         [BZ #15631]
64935         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64936         restore exception state around main square root computation, then
64937         check for inexactness explicitly.
64939         * math/libm-test.inc (fma_test_data): Add another test.
64941 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64943         * manual/threads.texi (Non-POSIX Extensions): New document
64944         node.  Document pthread_getattr_default_np and
64945         pthread_setattr_default_np.
64947         * Versions.def (libpthread): Add GLIBC_2.18.
64948         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64950         Likewise.
64951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64952         Likewise.
64953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64954         Likewise.
64955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64956         Likewise.
64957         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64958         Likewise.
64959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64960         Likewise.
64961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64962         Likewise.
64963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64964         Likewise.
64965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64966         Likewise.
64968 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64971         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64973 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64974             H.J. Lu  <hjl.tools@gmail.com>
64976         [BZ #15627]
64977         * sysdeps/x86_64/rtld-memset.c: Remove file.
64978         * sysdeps/x86_64/rtld-memset.S: New file.
64980 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64982         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64983         (test_in_one_mode): Take arguments for whether the rounding mode
64984         is supported for each floating-point type.
64985         (do_test): Pass new arguments to test_in_one_mode using
64986         ROUNDING_TESTS.
64988 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64990         * posix/tst-waitid.c (do_test): Distinguish different instances of
64991         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64992         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64993         before entering the kernel for waitpid.
64995 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64997         * NEWS: Fix note on clock function precision.  Text by Roland
64998         McGrath.
65000 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65002         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65003         it into place only when and if the sanity check passes.
65005 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
65007         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65008         output for whether conversion result is exact.  Take argument
65009         indicating whether type is IBM long double.
65010         (round_for_all): Change need_exact field to ibm_ld.
65011         * stdlib/tst-strtod-round.c (struct exactness): New type.
65012         (struct test): Change bool ld_ok field to struct exactness exact.
65013         (TEST): Update all definitions for change to field.
65014         (tests): Regenerate array contents.
65015         (test_in_one_mode): Take pointer to new field instead of old ld_ok
65016         field value.  Check for IBM long double here.
65017         (do_test): Update calls to test_in_one_mode.
65019 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65021         [BZ #12515]
65022         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65023         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65025 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65027         [BZ #15605]
65028         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65029         generated by the compiler on loop optimizations.
65030         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65031         general definitions.
65033 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65035         * math/bug-nextafter.c: Include <math-tests.h>.
65036         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65037         the relevant type.
65038         * math/bug-nexttoward.c: Include <math-tests.h>.
65039         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65040         the relevant type.
65041         * math/test-misc.c: Include <math-tests.h>.
65042         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65043         the relevant type.
65045 2013-06-12  Andreas Jaeger  <aj@suse.de>
65047         * po/ia.po: Update Interlingua translation from translation
65048         project.
65050 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65052         * include/fenv.h: Include stdbool.h.
65053         (struct rm_ctx): New structure.
65054         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65055         Define macro.
65056         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65057         (SET_RESTORE_ROUNDF): Likewise.
65058         (SET_RESTORE_ROUNDL): Likewise.
65059         (SET_RESTORE_ROUND_NOEX): Likewise.
65060         (SET_RESTORE_ROUND_NOEXF): Likewise.
65061         (SET_RESTORE_ROUND_NOEXL): Likewise.
65062         (SET_RESTORE_ROUND_53BIT): Likewise.
65063         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65064         (libc_feresetround_noexf_ctx): Likewise.
65065         (libc_feresetround_noexl_ctx): Likewise.
65066         (libc_feholdsetround_53bit_ctx): Likewise.
65067         (libc_feresetround_53bit_ctx): Likewise.
65068         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65069         (libc_feholdexcept_setround_sse_ctx): New function.
65070         (libc_fesetenv_sse_ctx): Likewise.
65071         (libc_feupdateenv_sse_ctx): Likewise.
65072         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65073         (libc_feholdexcept_setround_387_ctx): Likewise.
65074         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65075         (libc_feholdsetround_387_prec_ctx): Likewise.
65076         (libc_feholdsetround_387_ctx): Likewise.
65077         (libc_feholdsetround_387_53bit_ctx): Likewise.
65078         (libc_feholdsetround_sse_ctx): Likewise.
65079         (libc_feresetround_sse_ctx): Likewise.
65080         (libc_feresetround_387_ctx): Likewise.
65081         (libc_feupdateenv_387_ctx): Likewise.
65082         (libc_feholdexcept_setroundf_ctx): Define macro.
65083         (libc_fesetenvf_ctx): Likewise.
65084         (libc_feupdateenvf_ctx): Likewise.
65085         (libc_feholdsetroundf_ctx): Likewise.
65086         (libc_feresetroundf_ctx): Likewise.
65087         (libc_feholdexcept_setround_ctx): Likewise.
65088         (libc_fesetenv_ctx): Likewise.
65089         (libc_feupdateenv_ctx): Likewise.
65090         (libc_feholdsetround_ctx): Likewise.
65091         (libc_feresetround_ctx): Likewise.
65092         (libc_feholdexcept_setroundl_ctx): Likewise.
65093         (libc_feupdateenvl_ctx): Likewise.
65094         (libc_feholdsetroundl_ctx): Likewise.
65095         (libc_feresetroundl_ctx): Likewise.
65096         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65097         (libc_feresetround_53bit_ctx): Likewise.
65099 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65101         * locale/iso-639.def: Convert to UTF-8.
65103 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65105         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65106         (EXCEPTION_TESTS_double): Likewise.
65107         (EXCEPTION_TESTS_long_double): Likewise.
65108         (EXCEPTION_TESTS): Likewise.
65109         * math/libm-test.inc (test_exceptions): Only test exceptions if
65110         EXCEPTION_TESTS (FLOAT).
65112 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65114         * benchtests/Makefile (string-bench): Add strcpy_chk and
65115         stpcpy_chk.
65116         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65117         * benchtests/bench-stpcpy_chk.c: New file.
65118         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65119         * benchtests/bench-strcpy_chk.c: New file.
65120         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65121         code.
65122         (do_test): Likewise.
65124 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65126         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65127         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65128         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65129         with tabs where appropriate.
65130         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65131         dl-procinfo.h.
65132         [PPC_PLATFORM_PPC440]: Likewise.
65133         [PPC_PLATFORM_PPC464]: Likewise.
65134         [PPC_PLATFORM_PPC476]: Likewise.
65135         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65136         ppc464, and ppc476 platform strings merging from ports/
65137         dl-procinfo.h.
65139 2013-06-11  Andreas Schwab  <schwab@suse.de>
65141         [BZ #14991]
65142         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65143         (from_ucs4_idx): Regenerate.
65144         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65145         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65146         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65147         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65148         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65149         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65150         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65151         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65152         from FROM_LOOP and TO_LOOP specific macros.
65153         (BODY): Handle combining characters.
65154         * iconvdata/BIG5HKSCS.irreversible: Update.
65155         * iconvdata/BIG5HKSCS.precomposed: New file.
65156         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65157         characters.
65158         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65160 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65162         * include/sys/time.h: Fix indentation and add copyright header.
65164         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65165         (do_test): Likewise.
65166         * string/test-memchr.c (do_one_test): Likewise.
65167         (do_test): Likewise.
65168         * string/test-memcmp.c (do_one_test): Likewise.
65169         (do_test): Likewise.
65170         * string/test-memcpy.c (do_one_test): Likewise.
65171         (do_test): Likewise.
65172         * string/test-memmem.c (do_one_test): Likewise.
65173         (do_test): Likewise.
65174         (do_random_tests): Likewise.
65175         * string/test-memmove.c (do_one_test): Likewise.
65176         (do_test): Likewise.
65177         * string/test-memset.c (do_one_test): Likewise.
65178         (do_test): Likewise.
65179         * string/test-rawmemchr.c (do_one_test): Likewise.
65180         (do_test): Likewise.
65181         * string/test-strcasecmp.c (do_one_test): Likewise.
65182         (do_test): Likewise.
65183         * string/test-strcasestr.c (do_one_test): Likewise.
65184         (do_test): Likewise.
65185         * string/test-strcat.c (do_one_test): Likewise.
65186         (do_test): Likewise.
65187         * string/test-strchr.c (do_one_test): Likewise.
65188         (do_test): Likewise.
65189         * string/test-strcmp.c (do_one_test): Likewise.
65190         (do_test): Likewise.
65191         * string/test-strcpy.c (do_one_test): Likewise.
65192         (do_test): Likewise.
65193         * string/test-string.h: Likewise.
65194         (test_init): Likewise.
65195         * string/test-strlen.c (do_one_test): Likewise.
65196         (do_test): Likewise.
65197         * string/test-strncasecmp.c (do_one_test): Likewise.
65198         (do_test): Likewise.
65199         * string/test-strncat.c (do_one_test): Likewise.
65200         (do_test): Likewise.
65201         * string/test-strncmp.c (do_one_test): Likewise.
65202         (do_test_limit): Likewise.
65203         (do_test): Likewise.
65204         * string/test-strncpy.c (do_one_test): Likewise.
65205         (do_test): Likewise.
65206         * string/test-strnlen.c (do_one_test): Likewise.
65207         (do_test): Likewise.
65208         * string/test-strpbrk.c (do_one_test): Likewise.
65209         (do_test): Likewise.
65210         * string/test-strrchr.c (do_one_test): Likewise.
65211         (do_test): Likewise.
65212         * string/test-strspn.c (do_one_test): Likewise.
65213         (do_test): Likewise.
65214         * string/test-strstr.c (do_one_test): Likewise.
65215         (do_test): Likewise.
65217         * benchtests/Makefile (string-bench): Add string benchmarks.
65218         * benchtests/bench-bcopy-ifunc.c: New file.
65219         * benchtests/bench-bcopy.c: New file.
65220         * benchtests/bench-bzero-ifunc.c: New file.
65221         * benchtests/bench-bzero.c: New file.
65222         * benchtests/bench-memccpy-ifunc.c: New file.
65223         * benchtests/bench-memccpy.c: New file.
65224         * benchtests/bench-memchr-ifunc.c: New file.
65225         * benchtests/bench-memchr.c: New file.
65226         * benchtests/bench-memcmp-ifunc.c: New file.
65227         * benchtests/bench-memcmp.c: New file.
65228         * benchtests/bench-memmem-ifunc.c: New file.
65229         * benchtests/bench-memmem.c: New file.
65230         * benchtests/bench-memmove-ifunc.c: New file.
65231         * benchtests/bench-memmove.c: New file.
65232         * benchtests/bench-mempcpy-ifunc.c: New file.
65233         * benchtests/bench-mempcpy.c: New file.
65234         * benchtests/bench-memset-ifunc.c: New file.
65235         * benchtests/bench-memset.c: New file.
65236         * benchtests/bench-rawmemchr-ifunc.c: New file.
65237         * benchtests/bench-rawmemchr.c: New file.
65238         * benchtests/bench-stpcpy-ifunc.c: New file.
65239         * benchtests/bench-stpcpy.c: New file.
65240         * benchtests/bench-stpncpy-ifunc.c: New file.
65241         * benchtests/bench-stpncpy.c: New file.
65242         * benchtests/bench-strcasecmp-ifunc.c: New file.
65243         * benchtests/bench-strcasecmp.c: New file.
65244         * benchtests/bench-strcasestr-ifunc.c: New file.
65245         * benchtests/bench-strcasestr.c: New file.
65246         * benchtests/bench-strcat-ifunc.c: New file.
65247         * benchtests/bench-strcat.c: New file.
65248         * benchtests/bench-strchr-ifunc.c: New file.
65249         * benchtests/bench-strchr.c: New file.
65250         * benchtests/bench-strchrnul-ifunc.c: New file.
65251         * benchtests/bench-strchrnul.c: New file.
65252         * benchtests/bench-strcmp-ifunc.c: New file.
65253         * benchtests/bench-strcmp.c: New file.
65254         * benchtests/bench-strcpy-ifunc.c: New file.
65255         * benchtests/bench-strcpy.c: New file.
65256         * benchtests/bench-strcspn-ifunc.c: New file.
65257         * benchtests/bench-strcspn.c: New file.
65258         * benchtests/bench-strlen-ifunc.c: New file.
65259         * benchtests/bench-strlen.c: New file.
65260         * benchtests/bench-strncasecmp-ifunc.c: New file.
65261         * benchtests/bench-strncasecmp.c: New file.
65262         * benchtests/bench-strncat-ifunc.c: New file.
65263         * benchtests/bench-strncat.c: New file.
65264         * benchtests/bench-strncmp-ifunc.c: New file.
65265         * benchtests/bench-strncmp.c: New file.
65266         * benchtests/bench-strncpy-ifunc.c: New file.
65267         * benchtests/bench-strncpy.c: New file.
65268         * benchtests/bench-strnlen-ifunc.c: New file.
65269         * benchtests/bench-strnlen.c: New file.
65270         * benchtests/bench-strpbrk-ifunc.c: New file.
65271         * benchtests/bench-strpbrk.c: New file.
65272         * benchtests/bench-strrchr-ifunc.c: New file.
65273         * benchtests/bench-strrchr.c: New file.
65274         * benchtests/bench-strspn-ifunc.c: New file.
65275         * benchtests/bench-strspn.c: New file.
65276         * benchtests/bench-strstr-ifunc.c: New file.
65277         * benchtests/bench-strstr.c: New file.
65279         * benchtests/Makefile: Disable parallel execution of targets.
65280         (string-bench): Add memcpy.
65281         (benchset): New variable to store a list of benchmark sets.
65282         (bench-func): Renamed from bench.
65283         (bench-set): New target.
65284         (bench): Depend on bench-func and bench-set.
65285         * benchtests/README: Add section on benchmark sets.
65286         * benchtests/bench-memcpy-ifunc.c: New file.
65287         * benchtests/bench-memcpy.c: New file.
65288         * benchtests/bench-string.h: New file.
65290 2013-06-11  Andreas Schwab  <schwab@suse.de>
65292         [BZ #15577]
65293         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65294         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65295         values in the triple.
65296         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65297         terminator in the group key.
65299 2013-06-11  Andreas Jaeger  <aj@suse.de>
65301         * po/zh_TW.po: Update Chinese (traditional) translation from
65302         translation project.
65304 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65306         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65307         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65308         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65309         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65310         (clock_getcpuclockid): Likewise.
65311         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65312         Add weak_alias and libc_hidden_def.
65313         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65314         * rt/clock_gettime.c (clock_gettime): Rename to
65315         __clock_gettime.  Add weak_alias and libc_hidden_def.
65316         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65317         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65318         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65319         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65320         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65321         Likewise.
65322         * rt/clock_settime.c (clock_settime): Rename to
65323         __clock_settime.  Add weak_alias and libc_hidden_def.
65324         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65326 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65328         * mach/err_boot.sub: Remove trailing whitespace.
65329         * mach/err_ipc.sub: Likewise.
65330         * mach/err_mach.sub: Likewise.
65332         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65333         (ROUNDING_TESTS_double): Likewise.
65334         (ROUNDING_TESTS_long_double): Likewise.
65335         (ROUNDING_TESTS): Likewise.
65336         * math/libm-test.inc: Include <math-tests.h>.
65337         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65338         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65339         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65340         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65342 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65344         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65345         of assigning.
65347 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65349         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65350         otherwise empty TRANS lines.
65351         * sysdeps/gnu/errlist.c: Regenerated.
65353         * catgets/gencat.c (error_print): Use (void) in function
65354         definition.
65355         * crypt/crypt_util.c (__init_des): Likewise.
65356         * crypt/speeds.c (Stop): Likewise.
65357         (main): Likewise.
65358         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65359         * inet/ruserpass.c (token): Likewise.
65360         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65361         * intl/localealias.c (extend_alias_table): Likewise.
65362         * intl/plural-exp.c (init_germanic_plural): Likewise.
65363         * libio/fcloseall.c (__fcloseall): Likewise.
65364         * libio/genops.c (_IO_flush_all): Likewise.
65365         (_IO_flush_all_linebuffered): Likewise.
65366         (_IO_cleanup): Likewise.
65367         (_IO_iter_begin): Likewise.
65368         (_IO_iter_end): Likewise.
65369         (_IO_list_lock): Likewise.
65370         (_IO_list_unlock): Likewise.
65371         (_IO_list_resetlock): Likewise.
65372         * libio/getchar.c (getchar): Likewise.
65373         * libio/getchar_u.c (getchar_unlocked): Likewise.
65374         * libio/getwchar.c (getwchar): Likewise.
65375         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65376         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65377         * login/getpt.c (__getpt): Likewise.
65378         * login/tst-utmp.c (main): Likewise.
65379         * malloc/hooks.c (__malloc_check_init): Likewise.
65380         * malloc/malloc.c (__malloc_stats): Likewise.
65381         * malloc/mtrace.c (tr_break): Likewise.
65382         (mtrace): Likewise.
65383         (muntrace): Likewise.
65384         * misc/fstab.c (endfsent): Likewise.
65385         * misc/getclktck.c (__getclktck): Likewise.
65386         * misc/getdtsz.c (__getdtablesize): Likewise.
65387         * misc/gethostid.c (gethostid): Likewise.
65388         * misc/getpagesize.c (__getpagesize): Likewise.
65389         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65390         (__get_nprocs): Likewise.
65391         (__get_phys_pages): Likewise.
65392         (__get_avphys_pages): Likewise.
65393         * misc/getttyent.c (getttyent): Likewise.
65394         (setttyent): Likewise.
65395         (endttyent): Likewise.
65396         * misc/getusershell.c (getusershell): Likewise.
65397         (endusershell): Likewise.
65398         (setusershell): Likewise.
65399         (initshells): Likewise.
65400         * misc/hsearch.c (__hdestroy): Likewise.
65401         * misc/sync.c (sync): Likewise.
65402         * misc/syslog.c (closelog_internal): Likewise.
65403         (closelog): Likewise.
65404         * misc/ttyslot.c (ttyslot): Likewise.
65405         * misc/vhangup.c (vhangup): Likewise.
65406         * posix/fork.c (__fork): Likewise.
65407         * posix/getegid.c (__getegid): Likewise.
65408         * posix/geteuid.c (__geteuid): Likewise.
65409         * posix/getgid.c (__getgid): Likewise.
65410         * posix/getpid.c (__getpid): Likewise.
65411         * posix/getppid.c (__getppid): Likewise.
65412         * posix/getuid.c (__getuid): Likewise.
65413         * posix/pause.c (pause): Likewise.
65414         * posix/setpgrp.c (setpgrp): Likewise.
65415         * posix/setsid.c (__setsid): Likewise.
65416         * posix/test-vfork.c (noop): Likewise.
65417         * resolv/gethnamaddr.c (_endhtent): Likewise.
65418         (_gethtent): Likewise.
65419         (ht_endhostent): Likewise.
65420         (gethostent): Likewise.
65421         (dns_service): Likewise.
65422         * stdlib/drand48.c (drand48): Likewise.
65423         * stdlib/lrand48.c (lrand48): Likewise.
65424         * stdlib/mrand48.c (mrand48): Likewise.
65425         * stdlib/rand.c (rand): Likewise.
65426         * stdlib/random.c (__random): Likewise.
65427         * stdlib/setenv.c (clearenv): Likewise.
65428         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65429         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65430         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65431         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65432         (__get_nprocs): Likewise.
65433         (__get_phys_pages): Likewise.
65434         (__get_avphys_pages): Likewise.
65435         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65436         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65437         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65438         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65439         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65440         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65441         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65442         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65443         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65444         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65445         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65446         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65447         * sysdeps/posix/clock.c (clock): Likewise.
65448         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65449         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65450         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65451         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65452         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65453         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65454         (__get_nprocs_conf): Likewise.
65455         (__get_phys_pages): Likewise.
65456         (__get_avphys_pages): Likewise.
65457         * time/clock.c (clock): Likewise.
65458         * time/tzset.c (__tzname_max): Likewise.
65460 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65462         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65463         (__bswap_32): Do not use "register".
65464         * crypt/crypt.c (_ufc_doit_r): Likewise.
65465         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65466         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65467         * gmon/gmon.c (__monstartup): Likewise.
65468         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65469         * hurd/hurdmalloc.c (more_memory): Likewise.
65470         (malloc): Likewise.
65471         (free): Likewise.
65472         (realloc): Likewise.
65473         (malloc_fork_prepare): Likewise.
65474         (malloc_fork_parent): Likewise.
65475         (malloc_fork_child): Likewise.
65476         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65477         (_svcauth_des): Likewise.
65478         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65479         * inet/inet_net.c (inet_network): Likewise.
65480         * inet/inet_netof.c (inet_netof): Likewise.
65481         * inet/rcmd.c (__validuser2_sa): Likewise.
65482         * io/fts.c (fts_open): Likewise.
65483         (fts_load): Likewise.
65484         (fts_close): Likewise.
65485         (fts_read): Likewise.
65486         (fts_children): Likewise.
65487         (fts_build): Likewise.
65488         (fts_stat): Likewise.
65489         (fts_sort): Likewise.
65490         (fts_alloc): Likewise.
65491         (fts_lfree): Likewise.
65492         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65493         (_IO_file_xsgetn): Likewise.
65494         (_IO_file_xsgetn_mmap): Likewise.
65495         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65496         (_IO_cookie_write): Likewise.
65497         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65498         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65499         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65500         * malloc/obstack.c (_obstack_begin): Likewise.
65501         (_obstack_begin_1): Likewise.
65502         (_obstack_newchunk): Likewise.
65503         (_obstack_allocated_p): Likewise.
65504         (obstack_free): Likewise.
65505         (_obstack_memory_used): Likewise.
65506         * misc/getttyent.c (getttynam): Likewise.
65507         (getttyent): Likewise.
65508         (skip): Likewise.
65509         (value): Likewise.
65510         * misc/getusershell.c (initshells): Likewise.
65511         * misc/syslog.c (__vsyslog_chk): Likewise.
65512         * misc/ttyslot.c (ttyslot): Likewise.
65513         * nis/nis_hash.c (__nis_hash): Likewise.
65514         * posix/fnmatch_loop.c (FCT): Likewise.
65515         * posix/getconf.c (print_all): Likewise.
65516         (main): Likewise.
65517         * posix/getopt.c (exchange): Likewise.
65518         * posix/glob.c (globfree): Likewise.
65519         (prefix_array): Likewise.
65520         (__glob_pattern_type): Likewise.
65521         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65522         (NS_GET32): Likewise.
65523         (NS_PUT16): Likewise.
65524         (NS_PUT32): Likewise.
65525         * resolv/gethnamaddr.c (getanswer): Likewise.
65526         (gethostbyname2): Likewise.
65527         (gethostbyaddr): Likewise.
65528         (_gethtent): Likewise.
65529         (_gethtbyname2): Likewise.
65530         (_gethtbyaddr): Likewise.
65531         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65532         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65533         * resolv/res_init.c (__res_vinit): Likewise.
65534         (net_mask): Likewise.
65535         * resolv/res_mkquery.c (outchar): Likewise.
65536         (PRINT): Likewise.
65537         * stdio-common/printf_fp.c (outchar): Likewise.
65538         (PRINT): Likewise.
65539         * stdio-common/printf_fphex.c (outchar): Likewise.
65540         (PRINT): Likewise.
65541         * stdio-common/printf_size.c (outchar): Likewise.
65542         (PRINT): Likewise.
65543         * stdio-common/test_rdwr.c (main): Likewise.
65544         * stdio-common/tfformat.c (matches): Likewise.
65545         * stdio-common/vfprintf.c (outchar): Likewise.
65546         (printf_unknown): Likewise.
65547         (buffered_vfprintf): Likewise.
65548         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65549         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65550         (ReadFile): Likewise.
65551         * stdlib/qsort.c (SWAP): Likewise.
65552         (_quicksort): Likewise.
65553         * stdlib/setenv.c (__add_to_environ): Likewise.
65554         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65555         * stdlib/strtol_l.c (__strtol_l): Likewise.
65556         * stdlib/tst-strtod.c (main): Likewise.
65557         * stdlib/tst-strtol.c (main): Likewise.
65558         * stdlib/tst-strtoll.c (main): Likewise.
65559         * string/bits/string2.h (__strcmp_cc): Likewise.
65560         (__strcmp_cg): Likewise.
65561         (__strcspn_c1): Likewise.
65562         (__strcspn_c2): Likewise.
65563         (__strcspn_c3): Likewise.
65564         (__strspn_c1): Likewise.
65565         (__strspn_c2): Likewise.
65566         (__strspn_c3): Likewise.
65567         (__strsep_1c): Likewise.
65568         (__strsep_2c): Likewise.
65569         (__strsep_3c): Likewise.
65570         * string/memccpy.c (__memccpy): Likewise.
65571         * string/stpcpy.c (__stpcpy): Likewise.
65572         * string/strcmp.c (strcmp): Likewise.
65573         * string/strrchr.c (strrchr): Likewise.
65574         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65575         Likewise.
65576         * sysdeps/mach/hurd/getcwd.c
65577         (_hurd_canonicalize_directory_name_internal): Likewise.
65578         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65579         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65580         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65581         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65582         Likewise, in both definitions.
65583         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65584         definitions.
65585         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65586         64] (__bswap_64): Likewise.
65587         * time/test_time.c (main): Likewise.
65588         * time/tzfile.c (__tzfile_read): Likewise.
65589         (__tzfile_compute): Likewise.
65590         * time/tzset.c (__tzset_parse_tz): Likewise.
65591         (tzset_internal): Likewise.
65592         (compute_change): Likewise.
65593         * wcsmbs/wcscat.c (__wcscat): Likewise.
65594         * wcsmbs/wcschr.c (wcschr): Likewise.
65595         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65596         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65597         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65598         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65599         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65600         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65601         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65602         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65603         * wcsmbs/wmemset.c (wmemset): Likewise.
65605 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65607         * scripts/config.guess: Update to version 2013-05-16.
65608         * scripts/config.sub: Update to version 2013-04-24.
65609         * scripts/install-sh: Update to version 2011-11-20.07.
65610         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65611         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65613 2013-06-06   Ondƙej BĂ­lka  <neleai@seznam.cz>
65615         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65616         * elf/sln.c: Likewise.
65617         * hurd/hurd/ioctl.h: Likewise.
65618         * hurd/hurdmalloc.c: Likewise.
65619         * hurd/xattr.c: Likewise.
65620         * include/shlib-compat.h: Likewise.
65621         * inet/ruserpass.c: Likewise.
65622         * libio/iofgets_u.c: Likewise.
65623         * libio/iofgetws_u.c: Likewise.
65624         * locale/programs/ld-identification.c: Likewise.
65625         * locale/programs/ld-time.c: Likewise.
65626         * mach/msg-destroy.c: Likewise.
65627         * nss/nss_files/files-netgrp.c: Likewise.
65628         * resolv/res_data.c: Likewise.
65629         * soft-fp/op-1.h: Likewise.
65630         * soft-fp/op-2.h: Likewise.
65631         * soft-fp/op-4.h: Likewise.
65632         * soft-fp/op-common.h: Likewise.
65633         * stdio-common/printf_fphex.c: Likewise.
65634         * stdlib/strtod_l.c: Likewise.
65635         * sunrpc/rpc/clnt.h: Likewise.
65636         * sysdeps/generic/framestate.c: Likewise.
65637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65638         * sysdeps/i386/bsd-setjmp.S: Likewise.
65639         * sysdeps/i386/__longjmp.S: Likewise.
65640         * sysdeps/i386/setjmp.S: Likewise.
65641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65642         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65643         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65659         * sysdeps/ieee754/support.c: Likewise.
65660         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65661         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65662         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65663         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65664         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65665         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65666         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65667         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65668         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65669         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65670         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65671         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65672         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65673         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65674         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65675         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65676         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65679 2013-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
65681         * posix/transbug.c: Remove executable mode.
65683 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65685         * crypt/speeds.c: Remove trailing whitespace.
65686         * dlfcn/default.c: Likewise.
65687         * elf/ifuncdep2.c: Likewise.
65688         * elf/ifuncmain1.c: Likewise.
65689         * elf/ifuncmain1vis.c: Likewise.
65690         * elf/testobj.h: Likewise.
65691         * elf/tst-stackguard1.c: Likewise.
65692         * gmon/sys/gmon.h: Likewise.
65693         * hurd/hurdmsg.c: Likewise.
65694         * hurd/new-fd.c: Likewise.
65695         * hurd/ports-get.c: Likewise.
65696         * iconvdata/ibm1008_420.c: Likewise.
65697         * inet/tst-getni1.c: Likewise.
65698         * inet/tst-getni2.c: Likewise.
65699         * libio/ioungetc.c: Likewise.
65700         * libio/wfiledoalloc.c: Likewise.
65701         * manual/libm-err-tab.pl: Likewise.
65702         * math/w_dremf.c: Likewise.
65703         * misc/ftruncate.c: Likewise.
65704         * posix/bug-glob2.c: Likewise.
65705         * posix/tst-pcre.c: Likewise.
65706         * posix/wait4.c: Likewise.
65707         * resolv/README: Likewise.
65708         * resolv/res_debug.h: Likewise.
65709         * resolv/tst-inet_ntop.c: Likewise.
65710         * setjmp/bug269-setjmp.c: Likewise.
65711         * soft-fp/extended.h: Likewise.
65712         * soft-fp/op-1.h: Likewise.
65713         * soft-fp/op-2.h: Likewise.
65714         * soft-fp/op-4.h: Likewise.
65715         * soft-fp/op-8.h: Likewise.
65716         * soft-fp/testit.c: Likewise.
65717         * stdio-common/bug16.c: Likewise.
65718         * stdlib/random.c: Likewise.
65719         * sunrpc/rpcsvc/rquota.x: Likewise.
65720         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65721         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65722         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65723         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65724         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65725         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65726         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65727         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65728         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65729         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65730         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65731         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65732         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65733         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65735         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65736         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65737         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65738         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65741         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65743         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65747         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65748         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65749         * sysdeps/ieee754/s_lib_version.c: Likewise.
65750         * sysdeps/mach/hurd/check_fds.c: Likewise.
65751         * sysdeps/mach/hurd/getsockname.c: Likewise.
65752         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65753         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65754         * sysdeps/powerpc/bits/link.h: Likewise.
65755         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65756         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65757         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65758         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65759         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65760         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65761         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65762         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65763         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65764         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65766         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65767         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65768         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65769         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65770         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65772         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65773         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65774         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65775         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65776         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65777         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65778         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65779         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65780         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65781         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65784         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65785         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65786         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65787         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65788         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65789         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65790         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65791         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65792         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65793         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65794         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65795         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65796         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65797         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65798         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65799         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65800         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65801         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65802         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65803         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65804         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65805         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65807         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65808         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65809         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65810         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65811         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65812         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65813         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65814         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65815         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65816         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65817         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65818         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65819         * sysdeps/powerpc/sysdep.h: Likewise.
65820         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65821         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65822         * sysdeps/sh/dl-trampoline.S: Likewise.
65823         * sysdeps/sh/memset.S: Likewise.
65824         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65825         * sysdeps/sh/strlen.S: Likewise.
65826         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65827         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65828         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65829         * sysdeps/sparc/sparc32/rem.S: Likewise.
65830         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65831         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65832         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65833         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65834         * sysdeps/sparc/sparc32/urem.S: Likewise.
65835         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65836         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65837         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65838         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65839         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65840         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65841         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65842         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65843         * sysdeps/unix/bsd/times.c: Likewise.
65844         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65845         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65849         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65850         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65851         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65852         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65853         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65854         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65855         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65856         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65857         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65858         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65859         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65860         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65861         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65862         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65863         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65864         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65865         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65866         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65867         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65868         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65869         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65870         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65871         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65872         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65873         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65874         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65875         * sysdeps/x86_64/strcspn.S: Likewise.
65877 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65879         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65880         generated file.  Regenerate properly from gen-translit.pl.
65881         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65882         locale/C-translit.h.
65884 2013-06-05  Andreas Schwab  <schwab@suse.de>
65886         [BZ #15100]
65887         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65888         week as 6 instead of -1.
65889         * time/tst-strptime.c (day_tests): Add test case.
65891 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65893         * sysdeps/generic/math_private.h
65894         (libc_feholdexcept_setround_53bit): Replace with
65895         libc_feholdsetround_53bit.
65896         (libc_feupdateenv_53bit): Replace with
65897         libc_feresetround_53bit.
65898         (SET_RESTORE_ROUND_53BIT): Adjust.
65900 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65902         * string/test-strchrnul.c: Add copyright header.
65904         * posix/tst-getaddrinfo4.c: Increase test timeout.
65906 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65908         [BZ #15536]
65909         * math/libm-test.inc (MAX_EXP): Remove
65910         (MIN_EXP): Define.
65911         (ulp): Use MIN_EXP - MANT_DIG.
65912         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65914 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65916         * po/be.po: Revert last change.
65917         * po/zh_CN.po: Likewise.
65918         * po/header.pot: Likewise.
65920 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65922         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65923         link-libc-deps to empty as target-specific variable.
65924         * Makerules (link-libc-args): New variable.
65925         (libc-for-link): Likewise.
65926         (link-libc-deps): Likewise.
65927         (lib%.so): Depend on $(link-libc-deps).  Link with
65928         $(link-libc-args).
65929         (build-module): Link with $(link-libc-args).
65930         (build-module-asneeded): Likewise.
65931         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65932         list of objects.
65933         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65934         target-specific variable.
65935         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65936         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65937         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65938         libc.
65939         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65940         libc and ld.so.
65941         ($(objpfx)libpcprofile.so): Likewise.
65942         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65943         libc_nonshared.a.
65944         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65945         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65946         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65947         $(link-libc-deps).
65948         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65949         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65950         * login/Makefile ($(objpfx)libutil.so): Likewise.
65951         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65952         * math/Makefile ($(objpfx)libm.so): Likewise.
65953         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65954         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65955         variable instead of depending directly on libc.
65956         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65957         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65958         $(link-libc-deps).
65959         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65960         libc.
65961         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65962         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65963         ($(objpfx)libanl.so): Likewise.
65964         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65965         ld.so.
65966         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65967         $(link-libc-deps).
65968         * sysdeps/i386/fpu/Makefile: Remove file.
65969         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65970         ($(objpfx)libm.so): Remove dependency on ld.so.
65972 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65974         [BZ # 15553]
65975         * nis/yp_xdr.c (XDRMAXNAME): Define.
65976         (XDRMAXRECORD): Define.
65977         (xdr_domainname): Use XDRMAXNAME.
65978         (xdr_mapname): Likewise.
65979         (xdr_peername): Likewise.
65980         (xdr_keydat): Use XDRMAXRECORD.
65981         (xdr_valdat): Likewise.
65983 2013-05-30  Jeff Law  <law@redhat.com>
65985         [BZ #14256]
65986         * manual/errno.texi (ESTALE): Update to account for more than
65987         just NFS file systems.
65988         * sysdeps/gnu/errlist.c: Regenerated.
65990 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65992         [BZ #15465]
65993         * elf/Makefile (tests): Add tst-null-argv.
65994         (modules-names):  Add tst-null-argv-lib.
65995         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65996         (tst-null-argv-ENV): Set environment for tst-null-argv.
65997         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65998         (RTLD_PROGNAME): New macro.
65999         * elf/tst-null-argv.c: New test case.
66000         * elf/tst-null-argv-lib.c: Library for test case.
66001         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66002         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66003         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66004         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66005         * elf/dl-init.c (call_init): Likewise.
66006         (_dl_init): Likewise.
66007         * elf/dl-load.c (print_search_path): Likewise.
66008         (_dl_map_object): Likewise.
66009         * elf/dl-lookup.c (do_lookup_x): Likewise.
66010         (add_dependency): Likewise.
66011         (_dl_lookup_symbol_x): Likewise.
66012         (_dl_debug_bindings): Likewise.
66013         * elf/dl-open.c (_dl_show_scope): Likewise.
66014         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66015         * elf/dl-version.c (match_symbol): Likewise.
66016         (_dl_check_map_versions): Likewise.
66017         * elf/rtld.c (dl_main): Likewise.
66018         (print_unresolved): Use RTLD_PROGNAME.
66019         (print_missing_version): Likewise.
66020         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66021         (elf_machine_rela): Likewise.
66022         * sysdeps/powerpc/powerpc32/dl-machine.c
66023         (__process_machine_rela): Likewise.
66024         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66025         Likewise.
66026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66027         Likewise.
66028         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66029         Likewise.
66030         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66031         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66032         Likewise.
66033         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66034         Likewise.
66035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66037 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66039         * po/be.po: Add descriptive title.
66040         * po/zh_CN.po: Likewise.
66041         * po/header.pot: Likewise.
66043 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66045         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66046         error message.
66047         (enlarge_archive): Likewise.
66049 2013-05-28  Ben North  <ben@redfrontdoor.org>
66051         * manual/arith.texi (frexp): It is the magnitude of the return
66052         value which lies in [0.5, 1), not the return value itself.
66054 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66058 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66060         * stdio-common/bug26.c (main): Correct fscanf template.
66062         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66063         declare _dl_skip_args.
66065         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66066         Don't declare.
66068         * manual/platform.texi: Add missing @end deftypefun.
66070 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66072         [BZ #15529]
66073         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66074         bit of mantissa of 2^16382.
66075         * math/libm-test.inc (hypot_test_data): Add more tests.
66077         * math/libm-test.inc: Add drem and pow10 to list of tested
66078         functions.
66079         (pow10_test): New function.
66080         (drem_test): Likewise.
66081         (drem_test_tonearest): Likewise.
66082         (drem_test_towardzero): Likewise.
66083         (drem_test_downward): Likewise.
66084         (drem_test_upward): Likewise.
66085         (main): Call the new functions.
66087         * math/libm-test.inc (finite_test_data): Remove.
66088         (finite_test): Run tests from isfinite_test_data.
66089         (gamma_test_data): Remove.
66090         (gamma_test): Run tests from lgamma_test_data.
66091         * sysdeps/i386/fpu/libm-test-ulps: Update.
66092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66094 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66096         * manual/platform.texi: Add PowerPC PPR function set documentation.
66097         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66098         implementation.
66100 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66102         * math/libm-test.inc (MAX_EXP): Define.
66103         (ULPDIFF): Define.
66104         (ulp): New function.
66105         (check_float_internal): Use ULPDIFF.
66106         (cpow_test): Disable failing test.
66107         (check_ulp): Test ulp() implementation.
66108         (main): Call check_ulp before starting tests.
66110 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66112         * math/gen-libm-test.pl (generate_testfile): Do not handle
66113         START_DATA and END_DATA.
66114         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66115         END_DATA.
66116         (acos_tonearest_test_data): Likewise.
66117         (acos_towardzero_test_data): Likewise.
66118         (acos_downward_test_data): Likewise.
66119         (acos_upward_test_data): Likewise.
66120         (acosh_test_data): Likewise.
66121         (asin_test_data): Likewise.
66122         (asin_tonearest_test_data): Likewise.
66123         (asin_towardzero_test_data): Likewise.
66124         (asin_downward_test_data): Likewise.
66125         (asin_upward_test_data): Likewise.
66126         (asinh_test_data): Likewise.
66127         (atan_test_data): Likewise.
66128         (atanh_test_data): Likewise.
66129         (atan2_test_data): Likewise.
66130         (cabs_test_data): Likewise.
66131         (cacos_test_data): Likewise.
66132         (cacosh_test_data): Likewise.
66133         (carg_test_data): Likewise.
66134         (casin_test_data): Likewise.
66135         (casinh_test_data): Likewise.
66136         (catan_test_data): Likewise.
66137         (catanh_test_data): Likewise.
66138         (cbrt_test_data): Likewise.
66139         (ccos_test_data): Likewise.
66140         (ccosh_test_data): Likewise.
66141         (ceil_test_data): Likewise.
66142         (cexp_test_data): Likewise.
66143         (cimag_test_data): Likewise.
66144         (clog_test_data): Likewise.
66145         (clog10_test_data): Likewise.
66146         (conj_test_data): Likewise.
66147         (copysign_test_data): Likewise.
66148         (cos_test_data): Likewise.
66149         (cos_tonearest_test_data): Likewise.
66150         (cos_towardzero_test_data): Likewise.
66151         (cos_downward_test_data): Likewise.
66152         (cos_upward_test_data): Likewise.
66153         (cosh_test_data): Likewise.
66154         (cosh_tonearest_test_data): Likewise.
66155         (cosh_towardzero_test_data): Likewise.
66156         (cosh_downward_test_data): Likewise.
66157         (cosh_upward_test_data): Likewise.
66158         (cpow_test_data): Likewise.
66159         (cproj_test_data): Likewise.
66160         (creal_test_data): Likewise.
66161         (csin_test_data): Likewise.
66162         (csinh_test_data): Likewise.
66163         (csqrt_test_data): Likewise.
66164         (ctan_test_data): Likewise.
66165         (ctan_tonearest_test_data): Likewise.
66166         (ctan_towardzero_test_data): Likewise.
66167         (ctan_downward_test_data): Likewise.
66168         (ctan_upward_test_data): Likewise.
66169         (ctanh_test_data): Likewise.
66170         (ctanh_tonearest_test_data): Likewise.
66171         (ctanh_towardzero_test_data): Likewise.
66172         (ctanh_downward_test_data): Likewise.
66173         (ctanh_upward_test_data): Likewise.
66174         (erf_test_data): Likewise.
66175         (erfc_test_data): Likewise.
66176         (exp_test_data): Likewise.
66177         (exp_tonearest_test_data): Likewise.
66178         (exp_towardzero_test_data): Likewise.
66179         (exp_downward_test_data): Likewise.
66180         (exp_upward_test_data): Likewise.
66181         (exp10_test_data): Likewise.
66182         (exp2_test_data): Likewise.
66183         (expm1_test_data): Likewise.
66184         (fabs_test_data): Likewise.
66185         (fdim_test_data): Likewise.
66186         (finite_test_data): Likewise.
66187         (floor_test_data): Likewise.
66188         (fma_test_data): Likewise.
66189         (fma_towardzero_test_data): Likewise.
66190         (fma_downward_test_data): Likewise.
66191         (fma_upward_test_data): Likewise.
66192         (fmax_test_data): Likewise.
66193         (fmin_test_data): Likewise.
66194         (fmod_test_data): Likewise.
66195         (fpclassify_test_data): Likewise.
66196         (frexp_test_data): Likewise.
66197         (gamma_test_data): Likewise.
66198         (hypot_test_data): Likewise.
66199         (ilogb_test_data): Likewise.
66200         (isfinite_test_data): Likewise.
66201         (isgreater_test_data): Likewise.
66202         (isgreaterequal_test_data): Likewise.
66203         (isinf_test_data): Likewise.
66204         (isless_test_data): Likewise.
66205         (islessequal_test_data): Likewise.
66206         (islessgreater_test_data): Likewise.
66207         (isnan_test_data): Likewise.
66208         (isnormal_test_data): Likewise.
66209         (issignaling_test_data): Likewise.
66210         (isunordered_test_data): Likewise.
66211         (j0_test_data): Likewise.
66212         (j1_test_data): Likewise.
66213         (jn_test_data): Likewise.
66214         (ldexp_test_data): Likewise.
66215         (lgamma_test_data): Likewise.
66216         (lrint_test_data): Likewise.
66217         (lrint_tonearest_test_data): Likewise.
66218         (lrint_towardzero_test_data): Likewise.
66219         (lrint_downward_test_data): Likewise.
66220         (lrint_upward_test_data): Likewise.
66221         (llrint_test_data): Likewise.
66222         (llrint_tonearest_test_data): Likewise.
66223         (llrint_towardzero_test_data): Likewise.
66224         (llrint_downward_test_data): Likewise.
66225         (llrint_upward_test_data): Likewise.
66226         (log_test_data): Likewise.
66227         (log10_test_data): Likewise.
66228         (log1p_test_data): Likewise.
66229         (log2_test_data): Likewise.
66230         (logb_test_data): Likewise.
66231         (logb_downward_test_data): Likewise.
66232         (lround_test_data): Likewise.
66233         (llround_test_data): Likewise.
66234         (modf_test_data): Likewise.
66235         (nearbyint_test_data): Likewise.
66236         (nextafter_test_data): Likewise.
66237         (nexttoward_test_data): Likewise.
66238         (pow_test_data): Likewise.
66239         (pow_tonearest_test_data): Likewise.
66240         (pow_towardzero_test_data): Likewise.
66241         (pow_downward_test_data): Likewise.
66242         (pow_upward_test_data): Likewise.
66243         (remainder_test_data): Likewise.
66244         (remainder_tonearest_test_data): Likewise.
66245         (remainder_towardzero_test_data): Likewise.
66246         (remainder_downward_test_data): Likewise.
66247         (remainder_upward_test_data): Likewise.
66248         (remquo_test_data): Likewise.
66249         (rint_test_data): Likewise.
66250         (rint_tonearest_test_data): Likewise.
66251         (rint_towardzero_test_data): Likewise.
66252         (rint_downward_test_data): Likewise.
66253         (rint_upward_test_data): Likewise.
66254         (round_test_data): Likewise.
66255         (scalb_test_data): Likewise.
66256         (scalbn_test_data): Likewise.
66257         (scalbln_test_data): Likewise.
66258         (signbit_test_data): Likewise.
66259         (sin_test_data): Likewise.
66260         (sin_tonearest_test_data): Likewise.
66261         (sin_towardzero_test_data): Likewise.
66262         (sin_downward_test_data): Likewise.
66263         (sin_upward_test_data): Likewise.
66264         (sincos_test_data): Likewise.
66265         (sinh_test_data): Likewise.
66266         (sinh_tonearest_test_data): Likewise.
66267         (sinh_towardzero_test_data): Likewise.
66268         (sinh_downward_test_data): Likewise.
66269         (sinh_upward_test_data): Likewise.
66270         (sqrt_test_data): Likewise.
66271         (tan_test_data): Likewise.
66272         (tan_tonearest_test_data): Likewise.
66273         (tan_towardzero_test_data): Likewise.
66274         (tan_downward_test_data): Likewise.
66275         (tan_upward_test_data): Likewise.
66276         (tanh_test_data): Likewise.
66277         (tgamma_test_data): Likewise.
66278         (trunc_test_data): Likewise.
66279         (y0_test_data): Likewise.
66280         (y1_test_data): Likewise.
66281         (yn_test_data): Likewise.
66282         (significand_test_data): Likewise.
66284         * math/gen-libm-test.pl (@functions): Remove variable.
66285         (generate_testfile): Don't handle START and END lines.
66286         * math/libm-test.inc (START): New macro.
66287         (END): Likewise.
66288         (END_COMPLEX): Likewise.
66289         (acos_test): Use END macro without arguments.
66290         (acos_test_tonearest): Likewise.
66291         (acos_test_towardzero): Likewise.
66292         (acos_test_downward): Likewise.
66293         (acos_test_upward): Likewise.
66294         (acosh_test): Likewise.
66295         (asin_test): Likewise.
66296         (asin_test_tonearest): Likewise.
66297         (asin_test_towardzero): Likewise.
66298         (asin_test_downward): Likewise.
66299         (asin_test_upward): Likewise.
66300         (asinh_test): Likewise.
66301         (atan_test): Likewise.
66302         (atanh_test): Likewise.
66303         (atan2_test): Likewise.
66304         (cabs_test): Likewise.
66305         (cacos_test): Use END_COMPLEX macro without arguments.
66306         (cacosh_test): Likewise.
66307         (carg_test): Use END macro without arguments.
66308         (casin_test): Use END_COMPLEX macro without arguments.
66309         (casinh_test): Likewise.
66310         (catan_test): Likewise.
66311         (catanh_test): Likewise.
66312         (cbrt_test): Use END macro without arguments.
66313         (ccos_test): Use END_COMPLEX macro without arguments.
66314         (ccosh_test): Likewise.
66315         (ceil_test): Use END macro without arguments.
66316         (cexp_test): Use END_COMPLEX macro without arguments.
66317         (cimag_test): Use END macro without arguments.
66318         (clog_test): Use END_COMPLEX macro without arguments.
66319         (clog10_test): Likewise.
66320         (conj_test): Likewise.
66321         (copysign_test): Use END macro without arguments.
66322         (cos_test): Likewise.
66323         (cos_test_tonearest): Likewise.
66324         (cos_test_towardzero): Likewise.
66325         (cos_test_downward): Likewise.
66326         (cos_test_upward): Likewise.
66327         (cosh_test): Likewise.
66328         (cosh_test_tonearest): Likewise.
66329         (cosh_test_towardzero): Likewise.
66330         (cosh_test_downward): Likewise.
66331         (cosh_test_upward): Likewise.
66332         (cpow_test): Use END_COMPLEX macro without arguments.
66333         (cproj_test): Likewise.
66334         (creal_test): Use END macro without arguments.
66335         (csin_test): Use END_COMPLEX macro without arguments.
66336         (csinh_test): Likewise.
66337         (csqrt_test): Likewise.
66338         (ctan_test): Likewise.
66339         (ctan_test_tonearest): Likewise.
66340         (ctan_test_towardzero): Likewise.
66341         (ctan_test_downward): Likewise.
66342         (ctan_test_upward): Likewise.
66343         (ctanh_test): Likewise.
66344         (ctanh_test_tonearest): Likewise.
66345         (ctanh_test_towardzero): Likewise.
66346         (ctanh_test_downward): Likewise.
66347         (ctanh_test_upward): Likewise.
66348         (erf_test): Use END macro without arguments.
66349         (erfc_test): Likewise.
66350         (exp_test): Likewise.
66351         (exp_test_tonearest): Likewise.
66352         (exp_test_towardzero): Likewise.
66353         (exp_test_downward): Likewise.
66354         (exp_test_upward): Likewise.
66355         (exp10_test): Likewise.
66356         (exp2_test): Likewise.
66357         (expm1_test): Likewise.
66358         (fabs_test): Likewise.
66359         (fdim_test): Likewise.
66360         (finite_test): Likewise.
66361         (floor_test): Likewise.
66362         (fma_test): Likewise.
66363         (fma_test_towardzero): Likewise.
66364         (fma_test_downward): Likewise.
66365         (fma_test_upward): Likewise.
66366         (fmax_test): Likewise.
66367         (fmin_test): Likewise.
66368         (fmod_test): Likewise.
66369         (fpclassify_test): Likewise.
66370         (frexp_test): Likewise.
66371         (gamma_test): Likewise.
66372         (hypot_test): Likewise.
66373         (ilogb_test): Likewise.
66374         (isfinite_test): Likewise.
66375         (isgreater_test): Likewise.
66376         (isgreaterequal_test): Likewise.
66377         (isinf_test): Likewise.
66378         (isless_test): Likewise.
66379         (islessequal_test): Likewise.
66380         (islessgreater_test): Likewise.
66381         (isnan_test): Likewise.
66382         (isnormal_test): Likewise.
66383         (issignaling_test): Likewise.
66384         (isunordered_test): Likewise.
66385         (j0_test): Likewise.
66386         (j1_test): Likewise.
66387         (jn_test): Likewise.
66388         (ldexp_test): Likewise.
66389         (lgamma_test): Likewise.
66390         (lrint_test): Likewise.
66391         (lrint_test_tonearest): Likewise.
66392         (lrint_test_towardzero): Likewise.
66393         (lrint_test_downward): Likewise.
66394         (lrint_test_upward): Likewise.
66395         (llrint_test): Likewise.
66396         (llrint_test_tonearest): Likewise.
66397         (llrint_test_towardzero): Likewise.
66398         (llrint_test_downward): Likewise.
66399         (llrint_test_upward): Likewise.
66400         (log_test): Likewise.
66401         (log10_test): Likewise.
66402         (log1p_test): Likewise.
66403         (log2_test): Likewise.
66404         (logb_test): Likewise.
66405         (logb_test_downward): Likewise.
66406         (lround_test): Likewise.
66407         (llround_test): Likewise.
66408         (modf_test): Likewise.
66409         (nearbyint_test): Likewise.
66410         (nextafter_test): Likewise.
66411         (nexttoward_test): Likewise.
66412         (pow_test): Likewise.
66413         (pow_test_tonearest): Likewise.
66414         (pow_test_towardzero): Likewise.
66415         (pow_test_downward): Likewise.
66416         (pow_test_upward): Likewise.
66417         (remainder_test): Likewise.
66418         (remainder_test_tonearest): Likewise.
66419         (remainder_test_towardzero): Likewise.
66420         (remainder_test_downward): Likewise.
66421         (remainder_test_upward): Likewise.
66422         (remquo_test): Likewise.
66423         (rint_test): Likewise.
66424         (rint_test_tonearest): Likewise.
66425         (rint_test_towardzero): Likewise.
66426         (rint_test_downward): Likewise.
66427         (rint_test_upward): Likewise.
66428         (round_test): Likewise.
66429         (scalb_test): Likewise.
66430         (scalbn_test): Likewise.
66431         (scalbln_test): Likewise.
66432         (signbit_test): Likewise.
66433         (sin_test): Likewise.
66434         (sin_test_tonearest): Likewise.
66435         (sin_test_towardzero): Likewise.
66436         (sin_test_downward): Likewise.
66437         (sin_test_upward): Likewise.
66438         (sincos_test): Likewise.
66439         (sinh_test): Likewise.
66440         (sinh_test_tonearest): Likewise.
66441         (sinh_test_towardzero): Likewise.
66442         (sinh_test_downward): Likewise.
66443         (sinh_test_upward): Likewise.
66444         (sqrt_test): Likewise.
66445         (tan_test): Likewise.
66446         (tan_test_tonearest): Likewise.
66447         (tan_test_towardzero): Likewise.
66448         (tan_test_downward): Likewise.
66449         (tan_test_upward): Likewise.
66450         (tanh_test): Likewise.
66451         (tgamma_test): Likewise.
66452         (trunc_test): Likewise.
66453         (y0_test): Likewise.
66454         (y1_test): Likewise.
66455         (yn_test): Likewise.
66456         (significand_test): Likewise.
66458 2013-05-24  Ondƙej BĂ­lka  <neleai@seznam.cz>
66460         [BZ #15381]
66461         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66463 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66465         [BZ #14894]
66466         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66467         __ppc_mdoio and __ppc_mdoom.
66468         * manual/platform.texi: Document new functions __ppc_yield,
66469         __ppc_mdoio and __ppc_mdoom.
66471 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66473         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66474         (main): Mention "tls" pseudo-hwcap is legacy.
66475         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66477 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66479         * math/gen-libm-test.pl (parse_args): Output only string of
66480         arguments as text for test name, not full call or descriptions of
66481         tests for extra outputs.
66482         (generate_testfile): Do not pass function name to parse_args.
66483         Generate this_func variable from START.
66484         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66485         field to arg_str.
66486         (struct test_ff_f_data): Likewise.
66487         (test_ff_f_data_nexttoward): Likewise.
66488         (struct test_fi_f_data): Likewise.
66489         (struct test_fl_f_data): Likewise.
66490         (struct test_if_f_data): Likewise.
66491         (struct test_fff_f_data): Likewise.
66492         (struct test_c_f_data): Likewise.
66493         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66494         (struct test_fF_f1_data): Likewise.
66495         (struct test_ffI_f1_data): Likewise.
66496         (struct test_c_c_data): Rename test_name field to arg_str.
66497         (struct test_cc_c_data): Likewise.
66498         (struct test_f_i_data): Likewise.
66499         (struct test_ff_i_data): Likewise.
66500         (struct test_f_l_data): Likewise.
66501         (struct test_f_L_data): Likewise.
66502         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66503         and extra2_name.
66504         (COMMON_TEST_SETUP): New macro.
66505         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66506         (COMMON_TEST_CLEANUP): Likewise.
66507         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66508         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66509         macros.
66510         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66511         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66512         macros.
66513         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66514         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66515         cleanup macros.
66516         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66517         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66518         macros.
66519         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66520         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66521         macros.
66522         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66523         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66524         cleanup macros.
66525         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66526         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66527         cleanup macros.
66528         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66529         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66530         cleanup macros.
66531         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66532         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66533         macros.
66534         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66535         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66536         macros.
66537         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66538         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66539         macros.
66540         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66541         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66542         cleanup macros.
66543         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66544         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66545         cleanup macros.
66546         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66547         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66548         macros.
66549         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66550         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66551         cleanup macros.
66552         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66553         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66554         macros.
66555         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66556         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66557         macros.
66558         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66559         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66560         cleanup macros.
66561         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66563 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66565         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66566         to _sifields.sigfault.
66567         (si_addr_lsb): Define new macro.
66568         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66570         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66572 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66574         [BZ #15441]
66575         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66576         returns -1.
66577         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66578         null return -1.
66579         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66580         loading the domain.
66582 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66584         * math/gen-libm-test.pl (parse_args): Do not include expected
66585         result in test name.
66586         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66587         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66588         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66589         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66590         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66593 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66595         * benchtests/Makefile: Sort function entries.
66597         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66598         tanh, asinh, acosh, atanh.
66599         * benchtests/acos-inputs: New file.
66600         * benchtests/acosh-inputs: New file.
66601         * benchtests/asin-inputs: New file.
66602         * benchtests/asinh-inputs: New file.
66603         * benchtests/atanh-inputs: New file.
66604         * benchtests/cosh-inputs: New file.
66605         * benchtests/log-inputs: New file.
66606         * benchtests/sinh-inputs: New file.
66607         * benchtests/tanh-inputs: New file.
66609 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66611         [BZ #15339]
66612         * posix/tst-getaddrinfo4.c: New test.
66613         * posix/Makefile (tests): Add it.
66615 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66617         [BZ #15339]
66618         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66619         when no services were used.
66620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66621         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66623 2013-05-21  Andreas Schwab  <schwab@suse.de>
66625         [BZ #15014]
66626         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66627         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66628         successful.
66629         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66630         redundant variable declarations and reallocation of buffer when
66631         parsing as IPv6 address.  Always set NSS status when called from
66632         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66633         buffer too small.  Correct computation of needed size.
66634         * nss/Makefile (tests): Add test-digits-dots.
66635         * nss/test-digits-dots.c: New test.
66637 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66639         * benchtests/Makefile: Remove instructions for adding
66640         benchmark tests.
66641         * benchtests/README: New file to explain how to execute and
66642         enhance the benchmark tests.
66644 2013-05-21  Andreas Schwab  <schwab@suse.de>
66646         [BZ #15493]
66647         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66648         * setjmp/tst-sigsetjmp.c: New test.
66650 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66652         * sysdeps/x86_64/memset.S (memset): New implementation.
66653         (__bzero): Likewise.
66654         (__memset_tail): New function.
66656 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66658         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66659         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66660         __memcpy_sse2_unaligned ifunc selection.
66661         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66662         Add memcpy-sse2-unaligned.S.
66663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66664         Add: __memcpy_sse2_unaligned.
66666 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66668         [BZ #15490]
66669         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66670         math_force_eval before restoring floating-point envrionment.
66671         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66672         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66673         Likewise.
66674         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66675         <math_private.h>.
66676         (__nearbyintl): Use math_force_eval before restoring
66677         floating-point environment.
66678         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66680         * math/gen-libm-test.pl (special_functions): Remove.
66681         (parse_args): Don't handle TEST_extra.  Handle functions with no
66682         return value.
66683         * math/libm-test.inc (struct test_sincos_data): Replace with
66684         struct test_fFF_11_data.
66685         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66686         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66687         (sincos_test_data): Change element type to struct
66688         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66689         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66690         RUN_TEST_LOOP_sincos.
66691         * math/README.libm-test: Don't mention special handling of
66692         individual functions.
66693         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66695         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66696         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66697         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66700         * math/gen-libm-test.pl (get_variable): Remove function.
66701         (parse_args): Don't show pointer parameters to call in test
66702         names.  Use "extra output N" in test names for extra outputs
66703         rather than naming variables.
66705 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66707         [BZ #15488]
66708         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66709         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66710         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66711         double tests.
66712         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66713         disable.
66714         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66715         check_long_double.
66717         * math/gen-libm-test.pl (@tests): Remove variable.
66718         ($count): Likewise.
66719         (new_test): Remove function.
66720         (show_exceptions): New function.
66721         (special_functions): Use show_exceptions instead of new_test.
66722         (parse_args): Likewise.
66723         (generate_testfile): Pass only function name in generated call to
66724         print_max_error or print_complex_max_error.
66725         (get_ulps): Do not handle complex tests specially.
66726         (output_test): Rename to ...
66727         (get_all_ulps_for_test): ... this.  Return a string rather than
66728         printing to a file.  Require ulps to be present.
66729         (output_ulps): Generate arrays rather than #defines.
66730         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66731         (struct ulp_data): New type.
66732         (BUILD_COMPLEX_ULP): Remove macro.
66733         (compare_ulp_data): New function.
66734         (find_ulps): Likewise.
66735         (find_test_ulps): Likewise.
66736         (find_function_ulps): Likewise.
66737         (find_complex_function_ulps): Likewise.
66738         (print_max_error): Determine allowed ulps using
66739         find_function_ulps.
66740         (print_complex_max_error): Determine allowed ulps using
66741         find_complex_function_ulps.
66742         (check_float_internal): Determine max ulps using find_test_ulps.
66743         (check_float): Do not take max_ulp parameter.  Update call to
66744         check_float_internal.
66745         (check_complex): Likewise.
66746         (check_int): Do not take max_ulp parameter.
66747         (check_long): Likewise.
66748         (check_bool): Likewise.
66749         (check_longlong): Likewise.
66750         (struct test_f_f_data): Remove max_ulp field.
66751         (struct test_ff_f_data): Likewise.
66752         (struct test_ff_f_data_nexttoward): Likewise.
66753         (struct test_fi_f_data): Likewise.
66754         (struct test_fl_f_data): Likewise.
66755         (struct test_if_f_data): Likewise.
66756         (struct test_fff_f_data): Likewise.
66757         (struct test_c_f_data): Likewise.
66758         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66759         (struct test_fF_f1_data): Likewise.
66760         (struct test_ffI_f1_data): Likewise.
66761         (struct test_c_c_data): Remove max_ulp field.
66762         (struct test_cc_c_data): Likewise.
66763         (struct test_f_i_data): Likewise.
66764         (struct test_ff_i_data): Likewise.
66765         (struct test_f_l_data): Likewise.
66766         (struct test_f_L_data): Likewise.
66767         (struct test_sincos_data): Likewise.
66768         (RUN_TEST_f_f): Do not handle ulps.
66769         (RUN_TEST_LOOP_f_f): Likewise.
66770         (RUN_TEST_2_f): Likewise.
66771         (RUN_TEST_LOOP_2_f): Likewise.
66772         (RUN_TEST_fff_f): Likewise.
66773         (RUN_TEST_LOOP_fff_f): Likewise.
66774         (RUN_TEST_c_f): Likewise.
66775         (RUN_TEST_LOOP_c_f): Likewise.
66776         (RUN_TEST_f_f1): Likewise.
66777         (RUN_TEST_LOOP_f_f1): Likewise.
66778         (RUN_TEST_fF_f1): Likewise.
66779         (RUN_TEST_LOOP_fF_f1): Likewise.
66780         (RUN_TEST_fI_f1): Likewise.
66781         (RUN_TEST_LOOP_fI_f1): Likewise.
66782         (RUN_TEST_ffI_f1): Likewise.
66783         (RUN_TEST_LOOP_ffI_f1): Likewise.
66784         (RUN_TEST_c_c): Likewise.
66785         (RUN_TEST_LOOP_c_c): Likewise.
66786         (RUN_TEST_cc_c): Likewise.
66787         (RUN_TEST_LOOP_cc_c): Likewise.
66788         (RUN_TEST_f_i): Likewise.
66789         (RUN_TEST_LOOP_f_i): Likewise.
66790         (RUN_TEST_f_i_tg): Likewise.
66791         (RUN_TEST_LOOP_f_i_tg): Likewise.
66792         (RUN_TEST_ff_i_tg): Likewise.
66793         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66794         (RUN_TEST_f_b): Likewise.
66795         (RUN_TEST_LOOP_f_b): Likewise.
66796         (RUN_TEST_f_b_tg): Likewise.
66797         (RUN_TEST_LOOP_f_b_tg): Likewise.
66798         (RUN_TEST_f_l): Likewise.
66799         (RUN_TEST_LOOP_f_l): Likewise.
66800         (RUN_TEST_f_L): Likewise.
66801         (RUN_TEST_LOOP_f_L): Likewise.
66802         (RUN_TEST_sincos): Likewise.
66803         (RUN_TEST_LOOP_sincos): Likewise.
66805 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66807         [BZ #15480]
66808         [BZ #15485]
66809         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66810         main case of finite arguments, set rounding mode to FE_TONEAREST
66811         and discard exceptions.
66812         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66813         exceptions.
66814         (remainder_tonearest_test_data): New variable.
66815         (remainder_test_tonearest): New function.
66816         (remainder_towardzero_test_data): New variable.
66817         (remainder_test_towardzero): New function.
66818         (remainder_downward_test_data): New variable.
66819         (remainder_test_downward): New function.
66820         (remainder_upward_test_data): New variable.
66821         (remainder_test_upward): New function.
66822         (main): Call the new test functions.
66824         * math/libm-test.inc (struct test_f_f1_data): Remove field
66825         extra_init.
66826         (struct test_fF_f1_data): Likewise.
66827         (struct test_ffI_f1_data): Likewise.
66828         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66829         based on value of EXTRA_EXPECTED.
66830         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66831         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66832         EXTRA_VAR based on value of EXTRA_EXPECTED.
66833         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66834         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66835         EXTRA_VAR based on value of EXTRA_EXPECTED.
66836         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66837         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66838         EXTRA_VAR based on value of EXTRA_EXPECTED.
66839         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66840         * math/gen-libm-test.pl (parse_args): Don't output initializers
66841         for extra output values.
66843         * math/libm-test.inc (check_int): Expect result to be exactly
66844         equal to expected value and do not handle ulps.
66845         (check_long): Likewise.
66846         (check_longlong): Likewise.
66848         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66849         exceptions.
66850         (cimag_test_data): Likewise.
66851         (conj_test_data): Likewise.
66852         (copysign_test_data): Likewise.
66853         (cproj_test_data): Likewise.
66854         (creal_test_data): Likewise.
66855         (fabs_test_data): Likewise.
66856         (fdim_test_data): Likewise.
66857         (finite_test_data): Likewise.
66858         (floor_test_data): Likewise.
66859         (fmax_test_data): Likewise.
66860         (fmin_test_data): Likewise.
66861         (fmod_test_data): Likewise.
66862         (fpclassify_test_data): Likewise.
66863         (frexp_test_data): Likewise.
66864         (ilogb_test_data): Likewise.
66865         (isfinite_test_data): Likewise.
66866         (isgreater_test_data): Likewise.
66867         (isgreaterequal_test_data): Likewise.
66868         (isinf_test_data): Likewise.
66869         (isless_test_data): Likewise.
66870         (islessequal_test_data): Likewise.
66871         (islessgreater_test_data): Likewise.
66872         (isnan_test_data): Likewise.
66873         (isnormal_test_data): Likewise.
66874         (issignaling_test_data): Likewise.
66875         (isunordered_test_data): Likewise.
66876         (ldexp_test_data): Likewise.
66877         (lrint_test_data): Likewise.
66878         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66879         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66880         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66881         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66882         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66883         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66884         test input.
66885         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66886         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66887         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66888         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66889         that test input.
66890         (lrint_downward_test_data): Test for "inexact" exceptions.
66891         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66892         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66893         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66894         test input.
66895         (lrint_upward_test_data): Test for "inexact" exceptions.
66896         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66897         test input.
66898         (llrint_test_data): Test for "inexact" exceptions.
66899         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66900         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66901         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66902         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66903         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66904         (llrint_downward_test_data): Test for "inexact" exceptions.
66905         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66906         (llrint_upward_test_data): Test for "inexact" exceptions.
66907         (logb_test_data): Likewise.
66908         (logb_downward_test_data): Likewise.
66909         (nextafter_test_data): Likewise.
66910         (nexttoward_test_data): Likewise.
66911         (remainder_test_data): Likewise.
66912         (remquo_test_data): Likewise.
66913         (scalbn_test_data): Likewise.
66914         (scalbln_test_data): Likewise.
66915         (signbit_test_data): Likewise.
66916         (sqrt_test_data): Likewise.
66917         (significand_test_data): Likewise.
66919 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66921         [BZ #15424]
66922         * benchtests/bench-modf.c (struct args): Mark arg0 as
66923         volatile.
66924         * scripts/bench.pl: Mark members of struct args as volatile.
66926 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66928         [BZ # 15497]
66929         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66930         negative infinity on POWER6 or lower.
66931         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66933 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66935         [BZ #15442]
66936         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66937         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66938         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66939         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66940         (_FP_SETQNAN): New macro.
66941         (_FP_SETQNAN_SEMIRAW): Likewise.
66942         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66943         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66944         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66945         (FP_EXTEND): Use _FP_FRAC_SNANP.
66946         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66947         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66948         into account.
66949         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66950         New macro.
66951         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66952         Likewise.
66954 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66956         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66957         with DIVIDE_BY_ZERO_EXCEPTION.
66958         (gamma_test_data): Likewise.
66959         (lgamma_test_data): Likewise.
66960         (log_test_data): Likewise.
66961         (log10_test_data): Likewise.
66962         (log2_test_data): Likewise.
66963         (tgamma_test_data): Likewise.
66965         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66966         (acos_test_tonearest): Likewise.
66967         (acos_test_towardzero): Likewise.
66968         (acos_test_downward): Likewise.
66969         (acos_test_upward): Likewise.
66970         (acosh_test): Likewise.
66971         (asin_test): Likewise.
66972         (asin_test_tonearest): Likewise.
66973         (asin_test_towardzero): Likewise.
66974         (asin_test_downward): Likewise.
66975         (asin_test_upward): Likewise.
66976         (asinh_test): Likewise.
66977         (atan_test): Likewise.
66978         (atanh_test): Likewise.
66979         (atan2_test): Likewise.
66980         (cabs_test): Likewise.
66981         (cacos_test): Likewise.
66982         (cacosh_test): Likewise.
66983         (casin_test): Likewise.
66984         (casinh_test): Likewise.
66985         (catan_test): Likewise.
66986         (catanh_test): Likewise.
66987         (cbrt_test): Likewise.
66988         (ccos_test): Likewise.
66989         (ccosh_test): Likewise.
66990         (cexp_test): Likewise.
66991         (clog_test): Likewise.
66992         (clog10_test): Likewise.
66993         (cos_test): Likewise.
66994         (cos_test_tonearest): Likewise.
66995         (cos_test_towardzero): Likewise.
66996         (cos_test_downward): Likewise.
66997         (cos_test_upward): Likewise.
66998         (cosh_test): Likewise.
66999         (cosh_test_tonearest): Likewise.
67000         (cosh_test_towardzero): Likewise.
67001         (cosh_test_downward): Likewise.
67002         (cosh_test_upward): Likewise.
67003         (cpow_test): Likewise.
67004         (csin_test): Likewise.
67005         (csinh_test): Likewise.
67006         (csqrt_test): Likewise.
67007         (ctan_test): Likewise.
67008         (ctan_test_tonearest): Likewise.
67009         (ctan_test_towardzero): Likewise.
67010         (ctan_test_downward): Likewise.
67011         (ctan_test_upward): Likewise.
67012         (ctanh_test): Likewise.
67013         (ctanh_test_tonearest): Likewise.
67014         (ctanh_test_towardzero): Likewise.
67015         (ctanh_test_downward): Likewise.
67016         (ctanh_test_upward): Likewise.
67017         (erf_test): Likewise.
67018         (erfc_test): Likewise.
67019         (exp_test): Likewise.
67020         (exp_test_tonearest): Likewise.
67021         (exp_test_towardzero): Likewise.
67022         (exp_test_downward): Likewise.
67023         (exp_test_upward): Likewise.
67024         (exp10_test): Likewise.
67025         (exp2_test): Likewise.
67026         (expm1_test): Likewise.
67027         (fmod_test): Likewise.
67028         (gamma_test): Likewise.
67029         (hypot_test): Likewise.
67030         (j0_test): Likewise.
67031         (j1_test): Likewise.
67032         (jn_test): Likewise.
67033         (lgamma_test): Likewise.
67034         (log_test): Likewise.
67035         (log10_test): Likewise.
67036         (log1p_test): Likewise.
67037         (log2_test): Likewise.
67038         (logb_test_downward): Likewise.
67039         (pow_test): Likewise.
67040         (pow_test_tonearest): Likewise.
67041         (pow_test_towardzero): Likewise.
67042         (pow_test_downward): Likewise.
67043         (pow_test_upward): Likewise.
67044         (remainder_test): Likewise.
67045         (remquo_test): Likewise.
67046         (sin_test): Likewise.
67047         (sin_test_tonearest): Likewise.
67048         (sin_test_towardzero): Likewise.
67049         (sin_test_downward): Likewise.
67050         (sin_test_upward): Likewise.
67051         (sincos_test): Likewise.
67052         (sinh_test): Likewise.
67053         (sinh_test_tonearest): Likewise.
67054         (sinh_test_towardzero): Likewise.
67055         (sinh_test_downward): Likewise.
67056         (sinh_test_upward): Likewise.
67057         (sqrt_test): Likewise.
67058         (tan_test): Likewise.
67059         (tan_test_tonearest): Likewise.
67060         (tan_test_towardzero): Likewise.
67061         (tan_test_downward): Likewise.
67062         (tan_test_upward): Likewise.
67063         (tanh_test): Likewise.
67064         (tgamma_test): Likewise.
67065         (y0_test): Likewise.
67066         (y1_test): Likewise.
67067         (yn_test): Likewise.
67069         * math/gen-libm-test.pl (adjust_arg): Remove function.
67070         (special_function): Remove argument $in_func.  Only handle
67071         generating output for tables of tests, not inside functions.
67072         (parse_args): Likewise.
67073         (generate_testfile): Remove variable $in_func.  Update call to
67074         parse_args.
67075         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67076         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67077         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67078         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67079         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67080         (MAX_VALUE_INIT): Rename macro to max_value.
67081         (MIN_VALUE_INIT): Rename macro to min_value.
67082         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67083         (plus_zero): Remove variable.
67084         (minus_zero): Likewise.
67085         (plus_infty): Likewise.
67086         (minus_infty): Likewise.
67087         (qnan_value): Likewise.
67088         (max_value): Likewise.
67089         (min_value): Likewise.
67090         (min_subnorm_value): Likewise.
67092 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67094         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67095         uint64_t or uint32_t usage.
67096         * crypt/sha256-block.c: Likewise.
67097         * crypt/sha256-crypt.c: Likewise.
67098         * crypt/sha256.c: Likewise.
67099         * crypt/sha512-block.c: Likewise.
67100         * crypt/sha512-crypt.c: Likewise.
67101         * crypt/sha512.c: Likewise.
67102         * debug/backtrace-tst.c: Likewise.
67103         * debug/pcprofiledump.c: Likewise.
67104         * elf/cache.c: Likewise.
67105         * elf/dl-cache.c: Likewise.
67106         * elf/dl-misc.c: Likewise.
67107         * elf/dl-profile.c: Likewise.
67108         * elf/dl-support.c: Likewise.
67109         * elf/ldconfig.c: Likewise.
67110         * elf/sprof.c: Likewise.
67111         * iconv/dummy-repertoire.c: Likewise.
67112         * iconv/iconv_charmap.c: Likewise.
67113         * iconv/skeleton.c: Likewise.
67114         * iconvdata/8bit-generic.c: Likewise.
67115         * iconvdata/cp737.h: Likewise.
67116         * iconvdata/cp775.h: Likewise.
67117         * iconvdata/ibm1008.h: Likewise.
67118         * iconvdata/ibm1025.h: Likewise.
67119         * iconvdata/ibm1046.h: Likewise.
67120         * iconvdata/ibm1097.h: Likewise.
67121         * iconvdata/ibm1112.h: Likewise.
67122         * iconvdata/ibm1122.h: Likewise.
67123         * iconvdata/ibm1123.h: Likewise.
67124         * iconvdata/ibm1124.h: Likewise.
67125         * iconvdata/ibm1129.h: Likewise.
67126         * iconvdata/ibm1130.h: Likewise.
67127         * iconvdata/ibm1132.h: Likewise.
67128         * iconvdata/ibm1133.h: Likewise.
67129         * iconvdata/ibm1137.h: Likewise.
67130         * iconvdata/ibm1140.h: Likewise.
67131         * iconvdata/ibm1141.h: Likewise.
67132         * iconvdata/ibm1142.h: Likewise.
67133         * iconvdata/ibm1143.h: Likewise.
67134         * iconvdata/ibm1144.h: Likewise.
67135         * iconvdata/ibm1145.h: Likewise.
67136         * iconvdata/ibm1146.h: Likewise.
67137         * iconvdata/ibm1147.h: Likewise.
67138         * iconvdata/ibm1148.h: Likewise.
67139         * iconvdata/ibm1149.h: Likewise.
67140         * iconvdata/ibm1153.h: Likewise.
67141         * iconvdata/ibm1154.h: Likewise.
67142         * iconvdata/ibm1155.h: Likewise.
67143         * iconvdata/ibm1156.h: Likewise.
67144         * iconvdata/ibm1157.h: Likewise.
67145         * iconvdata/ibm1158.h: Likewise.
67146         * iconvdata/ibm1160.h: Likewise.
67147         * iconvdata/ibm1161.h: Likewise.
67148         * iconvdata/ibm1162.h: Likewise.
67149         * iconvdata/ibm1163.h: Likewise.
67150         * iconvdata/ibm1164.h: Likewise.
67151         * iconvdata/ibm1166.h: Likewise.
67152         * iconvdata/ibm1167.h: Likewise.
67153         * iconvdata/ibm12712.h: Likewise.
67154         * iconvdata/ibm1390.h: Likewise.
67155         * iconvdata/ibm1399.h: Likewise.
67156         * iconvdata/ibm16804.h: Likewise.
67157         * iconvdata/ibm4517.h: Likewise.
67158         * iconvdata/ibm4899.h: Likewise.
67159         * iconvdata/ibm4909.h: Likewise.
67160         * iconvdata/ibm4971.h: Likewise.
67161         * iconvdata/ibm5347.h: Likewise.
67162         * iconvdata/ibm803.h: Likewise.
67163         * iconvdata/ibm856.h: Likewise.
67164         * iconvdata/ibm901.h: Likewise.
67165         * iconvdata/ibm902.h: Likewise.
67166         * iconvdata/ibm9030.h: Likewise.
67167         * iconvdata/ibm9066.h: Likewise.
67168         * iconvdata/ibm921.h: Likewise.
67169         * iconvdata/ibm922.h: Likewise.
67170         * iconvdata/ibm9448.h: Likewise.
67171         * iconvdata/isiri-3342.h: Likewise.
67172         * iconvdata/jis0201.h: Likewise.
67173         * include/link.h: Likewise.
67174         * include/netdb.h: Likewise.
67175         * inet/check_native.c: Likewise.
67176         * inet/check_pf.c: Likewise.
67177         * inet/getipv4sourcefilter.c: Likewise.
67178         * inet/getnameinfo.c: Likewise.
67179         * inet/getsourcefilter.c: Likewise.
67180         * inet/htonl.c: Likewise.
67181         * inet/setipv4sourcefilter.c: Likewise.
67182         * inet/setsourcefilter.c: Likewise.
67183         * inet/test-inet6_opt.c: Likewise.
67184         * inet/tst-network.c: Likewise.
67185         * locale/C-collate.c: Likewise.
67186         * locale/C-ctype.c: Likewise.
67187         * locale/C-time.c: Likewise.
67188         * locale/C-translit.h: Likewise.
67189         * locale/loadarchive.c: Likewise.
67190         * locale/programs/3level.h: Likewise.
67191         * locale/programs/charmap.c: Likewise.
67192         * locale/programs/charmap.h: Likewise.
67193         * locale/programs/ld-address.c: Likewise.
67194         * locale/programs/ld-collate.c: Likewise.
67195         * locale/programs/ld-ctype.c: Likewise.
67196         * locale/programs/ld-identification.c: Likewise.
67197         * locale/programs/ld-measurement.c: Likewise.
67198         * locale/programs/ld-messages.c: Likewise.
67199         * locale/programs/ld-monetary.c: Likewise.
67200         * locale/programs/ld-name.c: Likewise.
67201         * locale/programs/ld-numeric.c: Likewise.
67202         * locale/programs/ld-paper.c: Likewise.
67203         * locale/programs/ld-telephone.c: Likewise.
67204         * locale/programs/ld-time.c: Likewise.
67205         * locale/programs/linereader.c: Likewise.
67206         * locale/programs/locale.c: Likewise.
67207         * locale/programs/locarchive.c: Likewise.
67208         * locale/programs/locfile.h: Likewise.
67209         * locale/programs/repertoire.c: Likewise.
67210         * locale/programs/simple-hash.c: Likewise.
67211         * locale/programs/simple-hash.h: Likewise.
67212         * malloc/memusage.c: Likewise.
67213         * malloc/memusagestat.c: Likewise.
67214         * nis/nis_defaults.c: Likewise.
67215         * nis/nis_hash.c: Likewise.
67216         * nis/nis_print.c: Likewise.
67217         * nis/nis_xdr.c: Likewise.
67218         * nscd/connections.c: Likewise.
67219         * nscd/hstcache.c: Likewise.
67220         * nscd/nscd_gethst_r.c: Likewise.
67221         * nscd/nscd_getserv_r.c: Likewise.
67222         * nscd/nscd_helper.c: Likewise.
67223         * nscd/servicescache.c: Likewise.
67224         * nss/makedb.c: Likewise.
67225         * nss/nss_db/db-XXX.c: Likewise.
67226         * nss/nss_db/db-initgroups.c: Likewise.
67227         * nss/nss_db/db-netgrp.c: Likewise.
67228         * nss/nss_files/files-network.c: Likewise.
67229         * nss/nss_files/files-parse.c: Likewise.
67230         * posix/bug-regex5.c: Likewise.
67231         * posix/fnmatch_loop.c: Likewise.
67232         * posix/regcomp.c: Likewise.
67233         * posix/regexec.c: Likewise.
67234         * posix/tst-rfc3484-2.c: Likewise.
67235         * posix/tst-rfc3484-3.c: Likewise.
67236         * posix/tst-rfc3484.c: Likewise.
67237         * resolv/nss_dns/dns-canon.c: Likewise.
67238         * resolv/nss_dns/dns-network.c: Likewise.
67239         * resolv/res_init.c: Likewise.
67240         * resolv/res_mkquery.c: Likewise.
67241         * resolv/tst-aton.c: Likewise.
67242         * stdlib/cxa_atexit.c: Likewise.
67243         * stdlib/cxa_finalize.c: Likewise.
67244         * stdlib/gen-fpioconst.c: Likewise.
67245         * stdlib/strtol_l.c: Likewise.
67246         * string/tst-endian.c: Likewise.
67247         * sunrpc/auth_des.c: Likewise.
67248         * sunrpc/clnt_udp.c: Likewise.
67249         * sunrpc/rtime.c: Likewise.
67250         * sunrpc/svcauth_des.c: Likewise.
67251         * sunrpc/xdr.c: Likewise.
67252         * sunrpc/xdr_intXX_t.c: Likewise.
67253         * sunrpc/xdr_rec.c: Likewise.
67254         * sysdeps/generic/ldconfig.h: Likewise.
67255         * sysdeps/generic/ldsodefs.h: Likewise.
67256         * sysdeps/generic/memusage.h: Likewise.
67257         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67258         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67259         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67260         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67261         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67262         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67263         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67264         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67265         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67267         * sysdeps/posix/getaddrinfo.c: Likewise.
67268         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67270         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67271         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67272         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67273         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67274         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67275         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67276         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67277         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67278         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67279         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67280         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67281         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67282         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67283         * sysdeps/x86_64/dl-tls.h: Likewise.
67284         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67285         * time/alt_digit.c: Likewise.
67286         * time/era.c: Likewise.
67287         * wcsmbs/tst-c16c32-1.c: Likewise.
67289 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67291         * math/libm-test.inc (struct test_sincos_data): New type.
67292         (RUN_TEST_LOOP_sincos): New macro.
67293         (sincos_test_data): New variable.
67294         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67296 2013-05-16  Richard Henderson  <rth@redhat.com>
67298         * math/atest-exp2.c (LIMB64): New macro.
67299         (CONSTSZ): New macro.
67300         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67301         (hexdig): Move ...
67302         (print_mpn_fp): ... to function scope.
67303         (read_mpn_hex): Remove.
67304         (get_log2): Remove.
67305         (exp2_mpn): Use mp_log2.
67306         (main): Use mp_exp1.
67308 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67310         * math/libm-test.inc: Remove comment about not testing "inexact"
67311         exceptions.
67312         (INEXACT_EXCEPTION): New macro.
67313         (NO_INEXACT_EXCEPTION): Likewise.
67314         (INVALID_EXCEPTION_OK): Update value.
67315         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67316         (OVERFLOW_EXCEPTION_OK): Likewise.
67317         (UNDERFLOW_EXCEPTION_OK): Likewise.
67318         (IGNORE_ZERO_INF_SIGN): Likewise.
67319         (ERRNO_UNCHANGED): Likewise.
67320         (ERRNO_EDOM): Likewise.
67321         (ERRNO_ERANGE): Likewise.
67322         (test_exceptions): Handle testing "inexact" exceptions.
67323         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67324         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67325         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67326         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67327         INEXACT_EXCEPTION.
67328         (rint_towardzero_test_data): Likewise.
67329         (rint_downward_test_data): Likewise.
67330         (rint_upward_test_data): Likewise.
67332         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67333         with OVERFLOW_EXCEPTION.
67334         (exp10_test_data): Likewise.
67335         (exp2_test_data): Likewise.
67336         (expm1_test_data): Likewise.
67337         (lgamma_test_data): Likewise.
67338         (pow_test_data): Likewise.
67339         (tgamma_test_data): Likewise.
67340         (yn_test_data): Remove duplicate test of overflow.
67342         * math/libm-test.inc (struct test_cc_c_data): New type.
67343         (RUN_TEST_LOOP_cc_c): New macro.
67344         (cpow_test_data): New variable.
67345         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67347         * math/libm-test.inc (struct test_f_L_data): New type.
67348         (RUN_TEST_LOOP_f_L): New macro.
67349         (llrint_test_data): New variable.
67350         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67351         (llrint_tonearest_test_data): New variable.
67352         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67353         (llrint_towardzero_test_data): New variable.
67354         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67355         (llrint_downward_test_data): New variable.
67356         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67357         (llrint_upward_test_data): New variable.
67358         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67359         (llround_test_data): New variable.
67360         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67362 2013-05-13  Peter Collingbourne  <pcc@google.com>
67364         * math/atest-exp2.c (get_log2): Remove const attribute.
67366 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67368         * math/libm-test.inc (struct test_f_l_data): New type.
67369         (RUN_TEST_LOOP_f_l): New macro.
67370         (lrint_test_data): New variable.
67371         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67372         (lrint_tonearest_test_data): New variable.
67373         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67374         (lrint_towardzero_test_data): New variable.
67375         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67376         (lrint_downward_test_data): New variable.
67377         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67378         (lrint_upward_test_data): New variable.
67379         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67380         (lround_test_data): New variable.
67381         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67383 2013-05-15  Peter Collingbourne  <pcc@google.com>
67385         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67386         (EXTRACT_WORDS64) Use where appropriate.
67387         (INSERT_WORDS64) Likewise.
67389         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67390         constraints with x constraints.
67391         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67393         * malloc/obstack.c (_obstack_compat): Add initializer.
67395 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67397         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67398         si_trapno and add si_addr_lsb to _sifields.sigfault.
67399         (si_trapno): Remove macro.
67400         (si_addr_lsb): Define new macro.
67401         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67403 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67405         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67406         instead of TEST_f_l.
67407         (llrint_test_tonearest): Likewise.
67408         (llrint_test_towardzero): Likewise.
67409         (llrint_test_downward): Likewise.
67410         (llrint_test_upward): Likewise.
67411         (llround_test): Likewise.
67413         * math/libm-test.inc (struct test_f_i_data): Add comment.
67414         (RUN_TEST_LOOP_f_b): New macro.
67415         (RUN_TEST_LOOP_f_b_tg): Likewise.
67416         (finite_test_data): New variable.
67417         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67418         (isfinite_test_data): New variable.
67419         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67420         (isinf_test_data): New variable.
67421         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67422         (isnan_test_data): New variable.
67423         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67424         (isnormal_test_data): New variable.
67425         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67426         (issignaling_test_data): New variable.
67427         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67428         (signbit_test_data): New variable.
67429         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67431         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67432         with INVALID_EXCEPTION.
67433         (acosh_test_data): Likewise.
67434         (asin_test_data): Likewise.
67435         (atanh_test_data): Likewise.
67436         (fmod_test_data): Likewise.
67437         (log_test_data): Likewise.
67438         (log10_test_data): Likewise.
67439         (log2_test_data): Likewise.
67440         (pow_test_data): Likewise.
67441         (sqrt_test_data): Likewise.
67442         (y0_test_data): Likewise.
67443         (y1_test_data): Likewise.
67444         (yn_test_data): Likewise.
67446         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67447         function contents.
67449         * math/libm-test.inc (struct test_ff_i_data): New type.
67450         (RUN_TEST_LOOP_ff_i_tg): New macro.
67451         (isgreater_test_data): New variable.
67452         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67453         (isgreaterequal_test_data): New variable.
67454         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67455         (isless_test_data): New variable.
67456         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67457         (islessequal_test_data): New variable.
67458         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67459         (islessgreater_test_data): New variable.
67460         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67461         (isunordered_test_data): New variable.
67462         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67464 2013-05-14  David S. Miller  <davem@davemloft.net>
67466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67468 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67470         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67472         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67473         extra_test to int.
67474         (struct test_f_i_data): Change type of max_ulp to int.
67476         * math/libm-test.inc (test_ffI_f1_data): New type.
67477         (RUN_TEST_LOOP_ffI_f1): New macro.
67478         (remquo_test_data): New variable.
67479         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67481         * setjmp/tst-setjmp-fp.c: New file.
67482         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67483         (link-libm): New variable.
67484         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67486         * math/libm-test.inc (struct test_f_i_data): New type.
67487         (RUN_TEST_LOOP_f_i): New macro.
67488         (RUN_TEST_LOOP_f_i_tg): Likewise.
67489         (fpclassify_test_data): New variable.
67490         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67491         (ilogb_test_data): New variable.
67492         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67494         * math/libm-test.inc (scalbln_test): Correct function name in END
67495         call.
67497         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67498         (RUN_TEST_LOOP_fI_f1): New macro.
67499         (frexp_test_data): New variable.
67500         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67502         * math/libm-test.inc (struct test_fF_f1_data): New type.
67503         (RUN_TEST_LOOP_fF_f1): New macro.
67504         (modf_test_data): New variable.
67505         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67507         * math/libm-test.inc (struct test_f_f1_data): New type.
67508         (RUN_TEST_LOOP_f_f1): New macro.
67509         (gamma_test_data): New variable.
67510         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67511         (lgamma_test_data): New variable.
67512         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67514 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67516         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67517         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67518         (main): Comment "tls" pseudo-hwcap.
67520 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67522         * math/libm-test.inc (struct test_fl_f_data): New type.
67523         (RUN_TEST_LOOP_fl_f): New variable.
67524         (scalbln_test_data): New variable.
67525         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67527         * math/libm-test.inc (struct test_fi_f_data): New type.
67528         (RUN_TEST_LOOP_fi_f): New macro.
67529         (ldexp_test_data): New variable.
67530         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67531         (scalbn_test_data): New variable.
67532         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67534         * math/libm-test.inc (struct test_c_f_data): New type.
67535         (RUN_TEST_LOOP_c_f): New macro.
67536         (cabs_test_data): New variable.
67537         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67538         (carg_test_data): New variable.
67539         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67540         (cimag_test_data): New variable.
67541         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67542         (creal_test_data): New variable.
67543         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67545         * math/libm-test.inc (struct test_if_f_data): New type.
67546         (RUN_TEST_LOOP_if_f): New macro.
67547         (jn_test_data): New variable.
67548         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67549         (yn_test_data): New variable.
67550         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67552         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67554 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67556         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67557         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67559 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67561         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67562         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67563         (bench-deps): Add bench-timing.h.
67564         * benchtests-bench-skeleton.c: Include bench-timing.h.
67565         (main): Use TIMING_* macros instead of clock_gettime.
67566         * benchtests/bench-timing.h: New file.
67568         [BZ #14582]
67569         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67570         Renamed from _LIB_VERSION.
67571         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67573 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67575         * math/libm-test.inc (struct test_fff_f_data): New type.
67576         (RUN_TEST_LOOP_fff_f): New macro.
67577         (fma_test_data): New variable.
67578         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67579         (fma_towardzero_test_data): New variable.
67580         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67581         (fma_downward_test_data): New variable.
67582         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67583         (fma_upward_test_data): New variable.
67584         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67586         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67587         (struct test_c_c_data): New type.
67588         (RUN_TEST_LOOP_c_c): New macro.
67589         (cacos_test_data): New variable.
67590         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67591         (cacosh_test_data): New variable.
67592         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67593         (casin_test_data): New variable.
67594         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67595         (casinh_test_data): New variable.
67596         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67597         (catan_test_data): New variable.
67598         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67599         (catanh_test_data): New variable.
67600         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67601         (ccos_test_data): New variable.
67602         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67603         (ccosh_test_data): New variable.
67604         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67605         (cexp_test_data): New variable.
67606         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67607         (clog_test_data): New variable.
67608         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67609         (clog10_test_data): New variable.
67610         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67611         (conj_test_data): New variable.
67612         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67613         (cproj_test_data): New variable.
67614         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67615         (csin_test_data): New variable.
67616         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67617         (csinh_test_data): New variable.
67618         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67619         (csqrt_test_data): New variable.
67620         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67621         (ctan_test_data): New variable.
67622         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67623         (ctan_tonearest_test_data): New variable.
67624         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67625         (ctan_towardzero_test_data): New variable.
67626         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67627         (ctan_downward_test_data): New variable.
67628         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67629         (ctan_upward_test_data): New variable.
67630         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67631         (ctanh_test_data): New variable.
67632         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67633         (ctanh_tonearest_test_data): New variable.
67634         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67635         (ctanh_towardzero_test_data): New variable.
67636         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67637         (ctanh_downward_test_data): New variable.
67638         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67639         (ctanh_upward_test_data): New variable.
67640         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67641         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67642         of BUILD_COMPLEX.
67644         * math/libm-test.inc (struct test_ff_f_data): New type.
67645         (struct test_ff_f_data_nexttoward): Likewise.
67646         (RUN_TEST_LOOP_2_f): New macro.
67647         (RUN_TEST_LOOP_ff_f): Likewise.
67648         (atan2_test_data): New variable.
67649         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67650         (copysign_test_data): New variable.
67651         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67652         (fdim_test_data): New variable.
67653         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67654         (fmax_test_data): New variable.
67655         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67656         (fmin_test_data): New variable.
67657         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67658         (fmod_test_data): New variable.
67659         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67660         (hypot_test_data): New variable.
67661         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67662         (nextafter_test_data): New variable.
67663         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67664         (nexttoward_test_data): New variable.
67665         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67666         (pow_test_data): New variable.
67667         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67668         (pow_tonearest_test_data): New variable.
67669         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67670         (pow_towardzero_test_data): New variable.
67671         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67672         (pow_downward_test_data): New variable.
67673         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67674         (pow_upward_test_data): New variable.
67675         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67676         (remainder_test_data): New variable.
67677         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67678         (scalb_test_data): New variable.
67679         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67680         * sysdeps/i386/fpu/libm-test-ulps: Update.
67682 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67684         * math/libm-test.inc (fma_test): Use max_value instead of local
67685         variable fltmax.
67686         (nextafter_test): Likewise.
67688         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67689         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67690         (acos_downward_test_data): New variable.
67691         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67692         (acos_upward_test_data): New variable.
67693         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67694         (acosh_test_data): New variable.
67695         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67696         (asin_test_data): New variable.
67697         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67698         (asin_tonearest_test_data): New variable.
67699         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67700         (asin_towardzero_test_data): New variable.
67701         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67702         (asin_downward_test_data): New variable.
67703         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67704         (asin_upward_test_data): New variable.
67705         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67706         (asinh_test_data): New variable.
67707         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67708         (atan_test_data): New variable.
67709         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67710         (atanh_test_data): New variable.
67711         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67712         (cbrt_test_data): New variable.
67713         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67714         (ceil_test_data): New variable.
67715         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67716         (cos_test_data): New variable.
67717         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67718         (cos_tonearest_test_data): New variable.
67719         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67720         (cos_towardzero_test_data): New variable.
67721         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67722         (cos_downward_test_data): New variable.
67723         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67724         (cos_upward_test_data): New variable.
67725         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67726         (cosh_test_data): New variable.
67727         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67728         (cosh_tonearest_test_data): New variable.
67729         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67730         (cosh_towardzero_test_data): New variable.
67731         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67732         (cosh_downward_test_data): New variable.
67733         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67734         (cosh_upward_test_data): New variable.
67735         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67736         (erf_test_data): New variable.
67737         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67738         (erfc_test_data): New variable.
67739         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67740         (exp_test_data): New variable.
67741         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67742         (exp_tonearest_test_data): New variable.
67743         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67744         (exp_towardzero_test_data): New variable.
67745         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67746         (exp_downward_test_data): New variable.
67747         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67748         (exp_upward_test_data): New variable.
67749         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67750         (exp10_test_data): New variable.
67751         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67752         (exp2_test_data): New variable.
67753         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67754         (expm1_test_data): New variable.
67755         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67756         (fabs_test_data): New variable.
67757         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67758         (floor_test_data): New variable.
67759         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67760         (j0_test_data): New variable.
67761         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67762         (j1_test_data): New variable.
67763         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67764         (log_test_data): New variable.
67765         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67766         (log10_test_data): New variable.
67767         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67768         (log1p_test_data): New variable.
67769         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67770         (log2_test_data): New variable.
67771         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67772         (logb_test_data): New variable.
67773         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67774         (logb_downward_test_data): New variable.
67775         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67776         (nearbyint_test_data): New variable.
67777         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67778         (rint_test_data): New variable.
67779         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67780         (rint_tonearest_test_data): New variable.
67781         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67782         (rint_towardzero_test_data): New variable.
67783         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67784         (rint_downward_test_data): New variable.
67785         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67786         (rint_upward_test_data): New variable.
67787         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67788         (round_test_data): New variable.
67789         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67790         (sin_test_data): New variable.
67791         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67792         (sin_tonearest_test_data): New variable.
67793         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67794         (sin_towardzero_test_data): New variable.
67795         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67796         (sin_downward_test_data): New variable.
67797         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67798         (sin_upward_test_data): New variable.
67799         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67800         (sinh_test_data): New variable.
67801         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67802         (sinh_tonearest_test_data): New variable.
67803         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67804         (sinh_towardzero_test_data): New variable.
67805         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67806         (sinh_downward_test_data): New variable.
67807         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67808         (sinh_upward_test_data): New variable.
67809         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67810         (sqrt_test_data): New variable.
67811         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67812         (tan_test_data): New variable.
67813         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67814         (tan_tonearest_test_data): New variable.
67815         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67816         (tan_towardzero_test_data): New variable.
67817         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67818         (tan_downward_test_data): New variable.
67819         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67820         (tan_upward_test_data): New variable.
67821         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67822         (tanh_test_data): New variable.
67823         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67824         (tgamma_test_data): New variable.
67825         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67826         (trunc_test_data): New variable.
67827         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67828         (y0_test_data): New variable.
67829         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67830         (y1_test_data): New variable.
67831         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67832         (significand_test_data): New variable.
67833         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67835 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67837         [BZ #12387]
67838         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67840 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67842         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67844 2013-05-10  Andreas Jaeger  <aj@suse.de>
67846         [BZ #15448]
67847         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67848         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67850 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67852         * math/gen-libm-test.pl (adjust_arg): New function.
67853         (special_functions): Handle generating output in both functions
67854         and arrays.
67855         (parse_args): Likewise.
67856         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67857         $in_func argument to parse_args.
67858         * math/libm-test.inc (struct test_f_f_data): New type.
67859         (IF_ROUND_INIT_): New macro.
67860         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67861         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67862         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67863         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67864         (ROUND_RESTORE_): Likewise.
67865         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67866         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67867         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67868         (ROUND_RESTORE_FE_UPWARD): Likewise.
67869         (RUN_TEST_LOOP_f_f): New macro.
67870         (acos_test_data): New variable.
67871         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67872         (acos_tonearest_test_data): New variable.
67873         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67875 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67877         * benchtests/bench-skeleton.c (startup): Fix coding style.
67879 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67881         [BZ #6809]
67882         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67883         negative infinity argument.
67884         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67885         negative infinity argument.
67886         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67887         negative infinity argument.
67888         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67889         domain errors.
67891 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67893         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67894         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67895         * iconv/iconv_prog.c (main): Likewise.
67896         * locale/programs/charmap-dir.c (charmap_readdir)
67897         (fopen_uncompressed): Likewise.
67898         * locale/programs/locfile.c (siblings_uncached)
67899         (write_locale_data): Use lstat64 instead of lstat.
67900         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67901         stat.
67903 2013-05-10  Andreas Jaeger  <aj@suse.de>
67905         [BZ #15395]
67906         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67907         localization.
67908         Include <locale.h>.
67910 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67912         * elf/dl-close.c (_dl_close_worker): Add comments.
67914 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67916         [BZ #15359]
67917         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67918         high part of pi/2.
67919         (__ieee754_rem_pio2l): Update comments.
67921         [BZ #15429]
67922         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67923         high part of pi/2.
67924         (__ieee754_rem_pio2l): Update comments.
67926         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67927         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67929         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67930         M_PI_4l.
67932         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67933         (M_PI_34_LOG10El): Likewise.
67934         (M_PI2_LOG10El): Likewise.
67935         (M_PI4_LOG10El): Likewise.
67936         (M_PI_LOG10El): Likewise.
67938 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67942 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67944         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67945         (MINUS_ZERO_INIT): Likewise.
67946         (PLUS_INFTY_INIT): Likewise.
67947         (MINUS_INFTY_INIT): Likewise.
67948         (QNAN_VALUE_INIT): Likewise.
67949         (MAX_VALUE_INIT): Likewise.
67950         (MIN_VALUE_INIT): Likewise.
67951         (MIN_SUBNORM_VALUE_INIT): Likewise.
67952         (plus_zero): Initialize with PLUS_ZERO_INIT.
67953         (minus_zero): Initialize with MINUS_ZERO_INIT.
67954         (plus_infty): Initialize with PLUS_INFTY_INIT.
67955         (minus_infty): Initialize with MINUS_INFTY_INIT.
67956         (qnan_value): Initialize with QNAN_VALUE_INIT.
67957         (max_value): Initialize with MAX_VALUE_INIT.
67958         (min_value): Initialize with MIN_VALUE_INIT.
67959         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67961         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67962         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67963         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67964         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67966         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67967         (RUN_TEST_2_f): Likewise.
67968         (RUN_TEST_ff_f): Likewise.
67969         (RUN_TEST_fi_f): Likewise.
67970         (RUN_TEST_fl_f): Likewise.
67971         (RUN_TEST_fff_f): Likewise.
67972         (RUN_TEST_c_f): Likewise.
67973         (RUN_TEST_f_f1): Likewise.
67974         (RUN_TEST_fF_f1): Likewise.
67975         (RUN_TEST_fI_f1): Likewise.
67976         (RUN_TEST_ffI_f1): Likewise.
67977         (RUN_TEST_c_c): Likewise.
67978         (RUN_TEST_cc_c): Likewise.
67979         (RUN_TEST_f_i): Likewise.
67980         (RUN_TEST_f_i_tg): Likewise.
67981         (RUN_TEST_ff_i_tg): Likewise.
67982         (RUN_TEST_f_b): Likewise.
67983         (RUN_TEST_f_b_tg): Likewise.
67984         (RUN_TEST_f_l): Likewise.
67985         (RUN_TEST_f_L): Likewise.
67986         (RUN_TEST_sincos): Likewise.
67987         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67988         whether to show exceptions.  Do not include ");\n" in return
67989         value.
67990         (special_functions): Output call to RUN_TEST_sincos instead of
67991         check_float calls.  Update calls to new_test.
67992         (parse_args): Output call to single RUN_TEST_* macro instead of
67993         check_* calls and other assignments.  Update calls to new_test.
67995         [BZ #2546]
67996         [BZ #2560]
67997         [BZ #5159]
67998         [BZ #15426]
67999         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68000         input to result for tgamma overflow.
68001         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68002         (gamma_coeff): New variable.
68003         (NCOEFF): New macro.
68004         (gamma_positive): New function.
68005         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68006         underflow here.  Use gamma_positive instead of exp (lgamma) for
68007         other arguments.
68008         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68009         (gamma_coeff): New variable.
68010         (NCOEFF): New macro.
68011         (gammaf_positive): New function.
68012         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68013         underflow here.  Use gamma_positive instead of exp (lgamma) for
68014         other arguments.
68015         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68016         (gamma_coeff): New variable.
68017         (NCOEFF): New macro.
68018         (gammal_positive): New function.
68019         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68020         underflow here.  Use gamma_positive instead of exp (lgamma) for
68021         other arguments.
68022         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68023         (gamma_coeff): New variable.
68024         (NCOEFF): New macro.
68025         (gammal_positive): New function.
68026         (__ieee754_gammal_r): Handle positive infinity, overflow and
68027         underflow here.  Handle NaN the same as positive infinity.  Remove
68028         check x < 0xffffffff for negative integers.  Use gamma_positive
68029         instead of exp (lgamma) for other arguments.
68030         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68031         (gamma_coeff): New variable.
68032         (NCOEFF): New macro.
68033         (gammal_positive): New function.
68034         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68035         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68036         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68037         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68038         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68039         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68040         * sysdeps/generic/math_private.h (__gamma_productf): New
68041         prototype.
68042         (__gamma_product): Likewise.
68043         (__gamma_productl): Likewise.
68044         * math/Makefile (libm-calls): Add gamma_product.
68045         * math/libm-test.inc (tgamma_test): Add more tests.
68046         * sysdeps/i386/fpu/libm-test-ulps: Update.
68047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68049 2013-05-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
68051         * benchtests/bench-skeleton.c (main): Preheat CPU.
68053 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68055         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68057 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68059         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68060         and _dl_skip_args_internal.
68062 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68064         * manual/message.texi (Message Translation): Talk about users.
68065         Message to key mapping impacts design.
68067 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68069         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68071         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68073         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68074         * sysdeps/wordsize-64/glob64.c: ... here.
68076         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68077         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68078         New macros.
68080         * debug/getlogin_r_chk.c: Moved to ...
68081         * login/getlogin_r_chk.c: ... here.
68082         * debug/Makefile (routines): Move getlogin_r_chk to ...
68083         * login/Makefile (routines): ... here.
68084         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68085         * login/Versions (libc: GLIBC_2.4): ... here.
68087         * io/poll.c (__poll): Renamed from poll.
68088         Add libc_hidden_def.
68089         (poll): Define as weak alias.
68091         * debug/ptsname_r_chk.c: Moved to ...
68092         * login/ptsname_r_chk.c: ... here.
68093         * debug/Makefile (routines): Move ptsname_r_chk to ...
68094         * login/Makefile (routines): ... here.
68095         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68096         * login/Versions (libc: GLIBC_2.4): ... here.
68098         * posix/getlogin.c: Moved to ...
68099         * login/getlogin.c: ... here.
68100         * posix/getlogin_r.c: Moved to ...
68101         * login/getlogin_r.c: ... here.
68102         * posix/getlogin_r.c: Moved to ...
68103         * login/getlogin_r.c: ... here.
68104         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68105         * login/Makefile (routines): ... here.
68106         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68107         * login/Versions (libc: GLIBC_2.0): ... here.
68109         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68110         (setrlimit): Define as weak alias.
68112         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68113         Call __ names for open, ftruncate, and close.
68114         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68115         (truncate): Define as weak alias.
68117 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68119         * math/gen-libm-test.pl (parse_args): Initialize x before each
68120         test of frexp, modf and remquo.
68122         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68123         test signgam value.
68125 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68127         [BZ #15418]
68128         [BZ #15419]
68129         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68130         internal tests.
68131         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68133 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68135         * elf/dl-writev.h: New file.
68136         * elf/dl-misc.c: Include it.
68137         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68138         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68140 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68142         * math/libm-test.inc (noXFails): Remove variable.
68143         (noXPasses): Likewise.
68144         (BUILD_COMPLEX_INT): Remove macro.
68145         (print_screen): Remove xfail argument.
68146         (print_screen_max_error): Likewise.
68147         (update_stats): Likewise.
68148         (print_max_error): Likewise.  Update calls to other affected
68149         functions.
68150         (print_complex_max_error): Likewise.
68151         (test_single_exception): Update calls to print_screen.
68152         (test_single_errno): Likewise.
68153         (check_float_internal): Remove xfail argument.  Update calls to
68154         other affected functions.
68155         (check_float): Likewise.
68156         (check_complex): Likewise.
68157         (check_int): Likewise.
68158         (check_long): Likewise.
68159         (check_bool): Likewise.
68160         (check_longlong): Likewise.
68161         (main): Don't print noXFails and noXPasses.
68162         * math/gen-libm-test.pl (top level): Don't mention expected
68163         failure handling in comment.
68164         (new_test): Don't handle expected failures.
68165         (parse_args): Don't mention expected failure handling in comment.
68166         (generate_testfile): Don't handle expected failures.
68167         (parse_ulps): Likewise.
68168         (print_ulps_file): Likewise.
68169         (get_failure): Remove function.
68170         (output_test): Don't handle expected failures.
68171         * make/README.libm-test: Don't mention expected failure handling.
68173         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68174         (minus_zero): Likewise.
68175         (plus_infty): Likewise.
68176         (minus_infty): Likewise.
68177         (qnan_value): Likewise.
68178         (max_value): Likewise.
68179         (min_value): Likewise.
68180         (min_subnorm_value): Likewise.
68181         (initialize): Do not initialize those variables dynamically.
68183 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68185         * io/open.c (__open_2): Moved to ...
68186         * io/open_2.c: ... this new file.
68187         * io/open64.c (__open64_2): Moved to ...
68188         * io/open64_2.c: ... this new file.
68189         * io/openat.c (__openat_2): Moved to ...
68190         * io/openat_2.c: ... this new file.
68191         * io/openat64.c (__openat64_2): Moved to ...
68192         * io/openat64_2.c: ... this new file.
68193         * io/Makefile (routines): Add them.
68194         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68195         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68196         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68197         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68198         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68199         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68200         (__openat64): Add hidden_ver.
68201         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68202         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68204         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68205         Separately conditionalize setting of GLRO(dl_sysinfo) so
68206         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68207         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68209 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68211         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68213         definition.
68214         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68215         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68216         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68217         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68218         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68220 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68222         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68223         test signgam value.
68225         * math/libm-test.inc (hypot_test): Do not use
68226         IGNORE_ZERO_INF_SIGN.
68228 2013-05-03  Andreas Jaeger  <aj@suse.de>
68230         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68231         Linux 3.9.
68232         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68233         (PF_MAX): Adjust for VSOCK change.
68235 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68239 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68241         [BZ #15264]
68242         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68243         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68244         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68246 2013-05-02  David S. Miller  <davem@davemloft.net>
68248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68250 2013-05-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
68252         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68254 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68256         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68258 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68260         [BZ #14952]
68261         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68262         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68263         Use __attribute__ ((__gnu_inline__)).
68264         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68265         Don't use __attribute__ ((__gnu_inline__)).
68267 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68269         [BZ #15423]
68270         * math/s_catan.c (__catan): Handle small real or imaginary part of
68271         input specially to avoid spurious underflow.
68272         * math/s_catanf.c (__catanf): Likewise.
68273         * math/s_catanh.c (__catanh): Likewise.
68274         * math/s_catanhf.c (__catanhf): Likewise.
68275         * math/s_catanhl.c (__catanhl): Likewise.
68276         * math/s_catanl.c (__catanl): Likewise.
68277         * math/libm-test.inc (catan_test): Add more tests.
68278         (catanh_test): Likewise.
68279         * sysdeps/i386/fpu/libm-test-ulps: Update.
68280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68282 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68286 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68288         [BZ #15416]
68289         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68290         accurately for denominator in atan2.
68291         * math/s_catanf.c (__catanf): Likewise.
68292         * math/s_catanh.c (__catanh): Likewise.
68293         * math/s_catanhf.c (__catanhf): Likewise.
68294         * math/s_catanhl.c (__catanhl): Likewise.
68295         * math/s_catanl.c (__catanl): Likewise.
68296         * math/libm-test.inc (catan_test): Add more tests.
68297         (catanh_test): Likewise.
68298         * sysdeps/i386/fpu/libm-test-ulps: Update.
68299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68301 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68303         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68305         * benchtests/Makefile (bench): Remove slow benchmarks.
68306         * benchtests/atan-inputs: Add slow benchmark inputs.
68307         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68308         (BENCH_FUNC): Accept variant offset.
68309         (VARIANT): Define.
68310         * benchtests/bench-skeleton.c (main): Run benchmark for each
68311         variant.
68312         * benchtests/cos-inputs: Add slow benchmark inputs.
68313         * benchtests/exp-inputs: Likewise.
68314         * benchtests/pow-inputs: Likewise.
68315         * benchtests/sin-inputs: Likewise.
68316         * benchtests/slowatan-inputs: Remove.
68317         * benchtests/slowatan.c: Remove.
68318         * benchtests/slowcos-inputs: Remove.
68319         * benchtests/slowcos.c: Remove.
68320         * benchtests/slowexp-inputs: Remove.
68321         * benchtests/slowexp.c: Remove.
68322         * benchtests/slowpow-inputs: Remove.
68323         * benchtests/slowpow.c: Remove.
68324         * benchtests/slowsin-inputs: Remove.
68325         * benchtests/slowsin.c: Remove.
68326         * benchtests/slowtan-inputs: Remove.
68327         * benchtests/slowtan.c: Remove.
68328         * benchtests/tan-inputs: Add slow benchmark inputs.
68329         * scripts/bench.pl: Parse comments and directives.
68331         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68332         in CPPFLAGS.
68333         ($(objpfx)bench-%.c): Remove *-ITER.
68334         * benchtests/bench-modf.c: Remove definition of ITER.
68335         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68336         (main): Loop for DURATION seconds instead of fixed number of
68337         iterations.
68338         * scripts/bench.pl: Don't expect iterations in parameters.
68340 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68342         * io/fchdir.c (__fchdir): Renamed from fchdir.
68343         (fchdir): Define as weak alias.
68345 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68347         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68348         (ERRNO_EDOM): Likewise.
68349         (ERRNO_ERANGE): Likewise.
68350         (noErrnoTests): New variable.
68351         (init_max_error): Set errno to 0.
68352         (test_single_errno): New function.
68353         (test_errno): Likewise.
68354         (check_float_internal): Call test_errno.  Set errno to 0.
68355         (check_complex): Refer to errno tests in comment.
68356         (check_int): Call test_errno.  Set errno to 0.
68357         (check_long): Likewise.
68358         (check_bool): Likewise.
68359         (check_longlong): Likewise.
68360         (cos_test): Use ERRNO_* flags for errno tests instead of
68361         check_int.
68362         (expm1_test): Likewise.
68363         (fmod_test): Likewise.
68364         (ilogb_test): Likewise.
68365         (lgamma_test): Likewise.
68366         (pow_test): Likewise.
68367         (remainder_test): Likewise.
68368         (sin_test): Likewise.
68369         (tan_test): Likewise.
68370         (yn_test): Likewise.
68371         (initialize): Set errno to 0.
68372         (main): Print number of errno tests.
68373         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68375 2013-04-29  Andreas Jaeger  <aj@suse.de>
68377         [BZ #15084]
68378         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68379         and RES_USEVC.
68381         [BZ #15085]
68382         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68383         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68384         unimplemented.
68386         [BZ #15380]
68387         * stdlib/random.c (__initstate): Return NULL if
68388         __initstate fails.
68390         [BZ #15086]
68391         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68392         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68393         RES_SNGLKUPREOP.
68395 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68399 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68401         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68402         of individual tests.
68403         (casin_test): Likewise.
68404         (casinh_test): Likewise.
68406 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68408         [BZ #15409]
68409         * math/s_catan.c (__catan): Handle arguments with large real or
68410         imaginary part separately without squaring.
68411         * math/s_catanf.c (__catanf): Likewise.
68412         * math/s_catanh.c (__catanh): Likewise.
68413         * math/s_catanhf.c (__catanhf): Likewise.
68414         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68415         and redefine.
68416         (__catanhl): Handle arguments with large real or imaginary part
68417         separately without squaring.
68418         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68419         and redefine.
68420         (__catanl): Handle arguments with large real or imaginary part
68421         separately without squaring.
68422         * math/libm-test.inc (catan_test): Add more tests.
68423         (catanh_test): Likewise.
68424         * sysdeps/i386/fpu/libm-test-ulps: Update.
68425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68427 2013-04-27  Andreas Jaeger  <aj@suse.de>
68429         [BZ #15007]
68430         * stdlib/stdlib.h: Update guards for qecvt.
68431         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68432         <stdlib.h>.
68434 2013-04-27  Allan McRae  <allan@archlinux.org>
68436         * sysdeps/i386/fpu/libm-test-ulps: Update.
68438 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68440         [BZ #15406]
68441         * math/s_catan.c: Include <float.h>.
68442         (__catan): Ensure underflow exception occurs for underflowed
68443         result.
68444         * math/s_catanf.c: Include <float.h>.
68445         (__catanf): Ensure underflow exception occurs for underflowed
68446         result.
68447         * math/s_catanh.c: Include <float.h>.
68448         (__catanh): Ensure underflow exception occurs for underflowed
68449         result.
68450         * math/s_catanhf.c: Include <float.h>.
68451         (__catanhf): Ensure underflow exception occurs for underflowed
68452         result.
68453         * math/s_catanhl.c: Include <float.h>.
68454         (__catanhl): Ensure underflow exception occurs for underflowed
68455         result.
68456         * math/s_catanl.c: Include <float.h>.
68457         (__catanl): Ensure underflow exception occurs for underflowed
68458         result.
68459         * math/libm-test.inc (catan_test): Add more tests.
68460         (catanh_test): Likewise.
68462         [BZ #15405]
68463         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68464         underflowed result.
68465         * math/s_ccoshf.c (__ccoshf): Likewise.
68466         * math/s_ccoshl.c (__ccoshl): Likewise.
68467         * math/s_csin.c (__csin): Likewise.
68468         * math/s_csinf.c (__csinf): Likewise.
68469         * math/s_csinh.c (__csinh): Likewise.
68470         * math/s_csinhf.c (__csinhf): Likewise.
68471         * math/s_csinhl.c (__csinhl): Likewise.
68472         * math/s_csinl.c (__csinl): Likewise.
68473         * math/libm-test.inc (ccos_test): Add more tests.
68474         (ccosh_test): Likewise.
68475         (csin_test): Likewise.
68476         (csinh_test): Likewise.
68478 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68480         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68481         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68482         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68483         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68484         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68485         powerpc/power5+/fpu folders.
68486         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68489 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68493 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68495         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68496         additions to variable.
68497         [$(config-machine) = x86_64] (modules-names): Likewise.
68498         ($(objpfx)tst-audit3): Remove dependency.
68499         ($(objpfx)tst-audit3.out): Likewise.
68500         ($(objpfx)tst-audit4): Likewise.
68501         ($(objpfx)tst-audit4.out): Likewise.
68502         ($(objpfx)tst-audit5): Likewise.
68503         ($(objpfx)tst-audit5.out): Likewise.
68504         ($(objpfx)tst-audit6): Likewise.
68505         ($(objpfx)tst-audit6.out): Likewise.
68506         ($(objpfx)tst-audit7): Likewise.
68507         ($(objpfx)tst-audit7.out): Likewise.
68508         (tst-audit3-ENV): Remove variable.
68509         (tst-audit4-ENV): Likewise.
68510         (tst-audit5-ENV): Likewise.
68511         (tst-audit6-ENV): Likewise.
68512         (tst-audit7-ENV): Likewise.
68513         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68514         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68515         addition to variable.
68516         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68517         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68518         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68519         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68520         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68521         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68522         tst-audit3, tst-audit4 and tst-audit5.
68523         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68524         tst-audit6 and tst-audit7.
68525         [$(subdir) = elf] (modules-names): Add audit modules for those
68526         tests.
68527         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68528         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68529         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68530         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68531         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68532         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68533         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68534         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68535         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68536         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68537         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68538         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68539         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68540         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68541         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68542         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68543         Likewise.
68544         [$(subdir) = elf && $(config-cflags-avx) = yes]
68545         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68546         [$(subdir) = elf && $(config-cflags-avx) = yes]
68547         (CFLAGS-tst-auditmod4a.c): Likewise.
68548         [$(subdir) = elf && $(config-cflags-avx) = yes]
68549         (CFLAGS-tst-auditmod4b.c): Likewise.
68550         [$(subdir) = elf && $(config-cflags-avx) = yes]
68551         (CFLAGS-tst-auditmod6b.c): Likewise.
68552         [$(subdir) = elf && $(config-cflags-avx) = yes]
68553         (CFLAGS-tst-auditmod6c.c): Likewise.
68554         [$(subdir) = elf && $(config-cflags-avx) = yes]
68555         (CFLAGS-tst-auditmod7b.c): Likewise.
68556         * elf/tst-audit3.c: Move to ...
68557         * sysdeps/x86_64/tst-audit3.c: ... here.
68558         * elf/tst-audit4.c: Move to ...
68559         * sysdeps/x86_64/tst-audit4.c: ... here.
68560         * elf/tst-audit5.c: Move to ...
68561         * sysdeps/x86_64/tst-audit5.c: ... here.
68562         * elf/tst-audit6.c: Move to ...
68563         * sysdeps/x86_64/tst-audit6.c: ... here.
68564         * elf/tst-audit7.c: Move to ...
68565         * sysdeps/x86_64/tst-audit7.c: ... here.
68566         * elf/tst-auditmod3a.c: Move to ...
68567         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68568         * elf/tst-auditmod3b.c: Move to ...
68569         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68570         * elf/tst-auditmod4a.c: Move to ...
68571         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68572         * elf/tst-auditmod4b.c: Move to ...
68573         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68574         * elf/tst-auditmod5a.c: Move to ...
68575         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68576         * elf/tst-auditmod5b.c: Move to ...
68577         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68578         * elf/tst-auditmod6a.c: Move to ...
68579         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68580         * elf/tst-auditmod6b.c: Move to ...
68581         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68582         * elf/tst-auditmod6c.c: Move to ...
68583         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68584         * elf/tst-auditmod7a.c: Move to ...
68585         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68586         * elf/tst-auditmod7b.c: Move to ...
68587         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68589 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68591         [BZ #15366]
68592         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68593         define unconditionally.
68594         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68595         define unconditionally.
68596         (INT8_C, INT16_C, etc.): Likewise.
68598 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68600         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68601         __ehdr_start with hidden visibility.
68603         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68605 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68607         * math/libm-test.inc (cos_test): Use accurate hex constants.
68608         (sincost_test): Likewise.
68610 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68612         * math/libm-test.inc (catan_test): Add more tests.
68613         (catanh_test): Likewise.
68615         * math/s_catanf.c (__catanf): Use suffixed floating-point
68616         constants.
68617         * math/s_catanhf.c (__catanhf): Likewise.
68618         * math/s_catanhl.c (__catanhl): Likewise.
68619         * math/s_catanl.c (__catanl): Likewise.
68621         [BZ #15394]
68622         * math/s_catan.c (__catan): Calculate imaginary part of result
68623         with log1p not log unless computing log of number close to 0.
68624         * math/s_catanf.c (__catanf): Likewise.
68625         * math/s_catanl.c (__catanl): Likewise.
68626         * math/s_catanh.c (__catanh): Calculate real part of result with
68627         log1p not log unless computing log of number close to 0.
68628         * math/s_catanhf.c (__catanhf): Likewise.
68629         * math/s_catanhl.c (__catanhl): Likewise.
68630         * math/libm-test.inc (catan_test): Add more tests.
68631         (catanh_test): Likewise.
68632         * sysdeps/i386/fpu/libm-test-ulps: Update.
68633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68635 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68637         * benchtests/Makefile: Mention files in which fast and slow
68638         paths of math functions are implemented.
68640 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68642         * sysdeps/posix/timespec_get.c: New file.
68644 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68646         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68647         POWER.
68648         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68649         for POWER.
68650         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68651         powerpc/power5/fpu folders.
68652         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68653         * benchtests/Makefile: Add modf testcase.
68654         * benchtests/bench-modf.c: New file: Benchmark test for mo
68656 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68658         [BZ #14888]
68659         * time/Makefile (tests): Add tst-strptime-whitespace.
68660         * time/strptime_l.c (get_number): Use ISSPACE.
68661         (__strptime_internal): Likewise.
68662         * time/tst-strptime-whitespace.c: New test case.
68664 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68666         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68667         member.
68668         (_nss_files_init): Set it here.
68670 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68672         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68673         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68674         unsigned.
68676 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68678         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68680 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68682         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68683         size just once.
68685 2013-04-21  David S. Miller  <davem@davemloft.net>
68687         * po/ru.po: Update Russion translation from translation project.
68689 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68691         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68692         and setfsgid.
68694 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68696         * configure.in: Remove i386 configure warning. Remove i386 case.
68697         * configure: Regenerate.
68698         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68699         Add example to error message.
68700         * sysdeps/i386/configure: Regenerate.
68702 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68704         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68705         slowtan.
68706         * benchtests/cos-inputs: New file.
68707         * benchtests/slowcos-inputs: New file.
68708         * benchtests/slowcos.c: New file.
68709         * benchtests/slowtan-inputs: New file.
68710         * benchtests/slowtan.c: New file.
68711         * benchtests/tan-inputs: New file.
68713 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68715         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68716         considered kosher.
68718 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68720         * benchtests/Makefile: Include cppflags-iterator.mk to add
68721         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68723         * Makefile.in (bench-clean): New target.
68724         * benchtests/Makefile (bench-clean): Likewise.
68726 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68728         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68730 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68732         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68734 2013-04-15  Andreas Schwab  <schwab@suse.de>
68736         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68738         * nscd/pwdcache.c (cache_addpw): Likewise.
68739         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68740         more than recsize.
68742 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68744         * benchtests/Makefile (bench): Write all output to
68745         bench-out.tmp together.
68747 2013-04-15  Andreas Schwab  <schwab@suse.de>
68749         * nscd/nscd.c (main): Don't fork again after closing files.
68751 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68753         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68755         * benchtests/Rules (bench-deps): Collect dependencies into a
68756         single variable.  Add Makefile to dependencies.
68757         ($(objpfx)bench-%.c): Depend on bench-deps.
68759 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68760             Xavier Roche  <roche+kml2@exalead.com>
68762         [BZ #15361]
68763         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68764         just that it's a file descriptor.
68765         * manual/llio.texi (Synchronizing AIO Operations): Update description
68766         for EBADF error from aio_fsync.
68768 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68770         * Rules (bench): Move target definition...
68771         * benchtests/Makefile: ... here.
68773 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68775         * math/libm-test.inc (cos_test): Fix PI/2 test.
68776         (sincos_test): Likewise.
68777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68778         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68780 2013-04-11  Andreas Schwab  <schwab@suse.de>
68782         [BZ #13988]
68783         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68784         accept exponent character only when digits were seen.
68785         * stdio-common/Makefile (tests): Add bug26.
68786         * stdio-common/bug26.c: New file.
68788         [BZ #14293]
68789         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68790         non-freeable.
68792 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68794         * Makeconfig (rtld-prefix): Define built linker prefix.
68795         * Rules (run-bench): Use it.
68796         * math/Makefile (run-regen-ulps): Likewise.
68798         * Rules (bench): Remove eval.
68800 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68801             Roland McGrath  <roland@hack.frob.com>
68802             Ondrej Bilka  <neleai@seznam.cz>
68804         [BZ #15346]
68805         * time/getdate.c: Include ctype.h and alloca.h.
68806         (__getdate_r): Trim leading and trailing spaces of input.
68807         * time/tst-getdate.c (tests): Add tests with leading and
68808         trailing spaces.
68810 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68812         [BZ #14280]
68813         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68814         when computing value.
68816 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68818         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68819         Use testrun.sh to run libm tests.
68821         [BZ #15309]
68822         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68824 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68826         [BZ #15264]
68827         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68829 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68831         * Makefile.in (regen-ulps): New target.
68832         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68833         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68834         [ifneq (no,$(PERL)] (regen-ulps): New target.
68835         [ifeq (no,$(PERL)] (regen-ulps): New target.
68836         * math/libm-test.inc (ulps_file_name): Define.
68837         (output_dir): New variable.
68838         (options): Add "output-dir" option.
68839         (parse_opt): Handle 'o' case.
68840         (main): If output_dir is non-NULL use it as a prefix
68841         otherwise use "".
68842         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68844 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68846         [BZ #10060, #10062]
68847         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68848         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68849         fail configure if __sync_val_compare_and_swap is not inlined.
68850         * sysdeps/i386/configure: Regenerate.
68851         * configure.in: Build for i686 when configured for i386.
68852         * configure: Regenerate.
68853         * README: Remove i386 reference.
68855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68857         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68858         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68860 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68862         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68863         (lmsnanval): New variables.
68864         (F): Add conversion tests.
68865         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68866         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68868         * stdio-common/tstdiomisc.c (F): Properly collect individual
68869         tests' results.
68871         [BZ #14686, #15336]
68872         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68873         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68874         Instead, use input NaN values or generate a qNaN by arithmetic
68875         operation.  Also fix bugs to comply with the standard.
68876         * math/libm-test.inc (remainder_test): Add more tests.
68878         [BZ #15335, #15342]
68879         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68881         input NaN values or generate a qNaN by arithmetic operation.
68883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68884         unreachable code.
68886         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68887         definitions.
68889 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68891         [BZ #14478]
68892         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68893         underflowed result.
68894         * math/s_cexpf.c (__cexpf): Likewise.
68895         * math/s_cexpl.c (__cexpl): Likewise.
68896         * math/libm-test.inc (cexp_test): Add more tests.
68898 2013-04-03  Andreas Schwab  <schwab@suse.de>
68900         [BZ #15330]
68901         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68902         order arrays from heap if bigger than alloca cutoff.
68904 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68906         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68907         (SNAN_TESTS_double): Refer to GCC PR56831.
68908         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68909         GCC PR56828.
68911 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68913         * Rules (bench): Move bench.out after the run is complete.
68915         * Rules (bench): Echo currently running benchmark.
68917         * benchtests/Makefile (bench): Add atan and slowatan.
68918         * benchtests/atan-inputs: New file.
68919         * benchtests/slowatan-inputs: New file.
68920         * benchtests/slowatan.c: New file.
68922         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68924         its value.
68926         [BZ #15305]
68927         * sysdeps/unix/sysv/linux/kernel-features.h
68928         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68929         __ASSUME_XFS_RESTRICTED_CHOWN.
68930         * sysdeps/unix/sysv/linux/pathconf.c
68931         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68932         Save and restore errno.
68934 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68936         [BZ #15327]
68937         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68938         arguments using __kernel_casinh.
68939         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68940         arguments using __kernel_casinhf.
68941         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68942         arguments using __kernel_casinhl.
68943         * math/libm-test.inc (cacosh_test): Add more tests.
68944         * sysdeps/i386/fpu/libm-test-ulps: Update.
68945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68947 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68949         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68950         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68952         * bench/Makefile (bench): Add sin and slowsin.
68953         * benchtests/sin-inputs: New file.
68954         * benchtests/slowsin-inputs: New file.
68955         * benchtests/slowsin.c: New file.
68957         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68958         (bench): Add slowexp and slowpow.
68959         (exp-ITER): Increase iterations.
68960         (pow-ITER): Likewise.
68961         * benchtests/exp-inputs: Change input.
68962         * benchtests/pow-inputs: Likewise.
68963         * benchtests/slowexp-inputs: New file.
68964         * benchtests/slowexp.c: New file.
68965         * benchtests/slowpow-inputs: New file.
68966         * benchtests/slowpow.c: New file.
68968 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68970         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68971         instructions.
68972         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68973         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68974         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68975         * benchtests/Makefile: Add rint benchtest.
68976         * benchtests/rint-inputs: Input for rint benchtest.
68978 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68980         * Versions.def (libm): Add GLIBC_2.18.
68981         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68982         hidden libm prototypes.
68983         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68984         * math/Makefile (libm-calls): Add s_issignaling.
68985         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68986         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68987         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68988         declaration.
68989         * math/math.h [__USE_GNU] (issignaling): New macro.
68990         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68991         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68992         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68993         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68994         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68995         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68996         * manual/arith.texi (issignaling): New section.
68997         * manual/libm-err-tab.pl (@all_functions): Update comment.
68998         * math/gen-libm-test.pl (parse_args): Apply special handling for
68999         issignaling.
69000         * math/libm-test.inc (print_float, issignaling_test): New
69001         functions.
69002         (check_float_internal): Add issignaling checks.
69003         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69004         default definition.
69005         * sysdeps/powerpc/math-tests.h: New file.
69006         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69007         tests.
69008         * math/test-snan.c (TEST_FUNC): Likewise.
69010 2013-03-30  David S. Miller  <davem@davemloft.net>
69012         * po/de.po: Update from translation team.
69014 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
69016         [BZ #10357]
69017         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69018         imaginary part less than 1.0 and real part less than 0.5
69019         specially.
69020         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69021         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69022         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69023         (cacos_test): Add more tests.
69024         (casin_test): Likewise.
69025         (casinh_test): Likewise.
69026         * sysdeps/i386/fpu/libm-test-ulps: Update.
69027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69029 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69031         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69032         ONE with its value.
69034         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69035         (__pow_mp): Replace ONE and MONE with their values.
69036         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69037         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69038         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69039         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69040         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69041         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69043         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69045         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69046         (__pow_mp): Replace ZERO and MZERO with their values.
69047         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69048         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69049         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69050         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69051         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69052         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69053         (__sqr): Likewise.
69055         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69057         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69059 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69061         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69062         Declare with __attribute__ ((weak)).
69063         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69064         Call __call_tls_dtors only if it's not NULL.
69066 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69068         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69069         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69070         magic __ehdr_start linker symbol if it's defined.
69071         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69072         them up here if it was already done.
69074         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69075         (_dl_aux_init): Use const in cast when setting it.
69076         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69077         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69078         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69080         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69081         Declare them here.
69082         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69083         * csu/libc-tls.c: Nor here.
69084         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69086         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69087         (__libc_message): Never call vsyslog.
69089 2013-03-28  Alan Modra  <amodra@gmail.com>
69091         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69092         Define as empty.
69093         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69094         Likewise.
69096 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69098         [BZ #15214]
69099         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69100         underflow.
69101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69103 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69105         [BZ #15304]
69106         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69107         Don't add gid passed as argument.
69109         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69111 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69113         [BZ #15307]
69114         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69115         imaginary part between 1.0 and 1.5 and real part less than 0.5
69116         specially.
69117         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69118         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69119         * math/libm-test.inc (cacos_test): Add more tests.
69120         (casin_test): Likewise.
69121         (casinh_test): Likewise.
69122         * sysdeps/i386/fpu/libm-test-ulps: Update.
69123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69125 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69127         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69128         constants.
69129         (norm): Likewise.
69130         (denorm): Likewise.
69131         (__dbl_mp): Likewise.
69132         (add_magnitudes): Likewise.
69133         (sub_magnitudes): Likewise.
69134         (__add): Likewise.
69135         (__sub): Likewise.
69136         (__mul): Likewise.
69137         (__sqr): Likewise.
69138         (__inv): Likewise.
69139         (__dvd): Likewise.
69141         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69142         commented code.
69143         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69144         (__dubcos): Likewise.
69145         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69146         (__ieee754_acos): Likewise.
69147         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69148         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69149         (__exp1): Likewise.
69150         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69151         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69152         (log1): Likewise.
69153         (my_log2): Likewise.
69154         (checkint): Likewise.
69155         * sysdeps/ieee754/dbl-64/e_remainder.c
69156         (__ieee754_remainder): Likewise.
69157         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69159         (bsloww): Likewise.
69160         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69162         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69163         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69164         MANTISSA_STORE_T to store computations on mantissa.  Use
69165         macros for rounding and division.
69166         (denorm): Likewise.
69167         (__dbl_mp): Likewise.
69168         (add_magnitudes): Likewise.
69169         (sub_magnitudes): Likewise.
69170         (__mul): Likewise.
69171         (__sqr): Likewise.
69172         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69173         powers of two in terms of TWOPOW macro.
69174         (mp_no): Make type of mantissa as MANTISSA_T.
69175         [!RADIXI]: Define RADIXI.
69176         [!TWO52]: Define TWO52.
69177         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69179 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69181         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69182         llroundl symbol when building for PPC32.
69184 2013-03-24  Mark H Weaver  <mhw@netris.org>
69186         * manual/arith.texi (Normalization Functions): Fix prototypes for
69187         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69189 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69191         [BZ #13889]
69192         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69193         high value to check if expl overflow.
69194         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69195         to check for underflow and overflow.
69196         * math/libm-test.inc: Add exp test.
69198 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69200         [BZ #11120]
69201         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69202         with NOT_IN_libc.
69204 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69206         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69207         symbol.
69209 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69211         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69212         wrap blocks consisting of several statements.
69214         * sysdeps/generic/math-tests.h: New file.
69215         * sysdeps/i386/fpu/math-tests.h: Likewise.
69216         * math/test-snan.c: Include it.
69217         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69219 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69221         [BZ #15285]
69222         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69223         (__ieee754_j0l): Do not improve calculations using cos of twice
69224         input for inputs above LDBL_MAX / 2.0L.
69225         (__ieee754_y0l): Likewise.
69226         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69227         (__ieee754_j1l): Do not improve calculations using cos of twice
69228         input for inputs above LDBL_MAX / 2.0L.
69229         (__ieee754_y1l): Likewise.
69230         * math/libm-test.inc (j0_test): Add another test.
69231         (j1_test): Likewise.
69232         (y0_test): Likewise.
69233         (y1_test): Likewise.
69234         * sysdeps/i386/fpu/libm-test-ulps: Update.
69236 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69238         * Rules ($(objpfx)bench-%.c): Include code from a C source
69239         file.
69241 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69243         [BZ #15287]
69244         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69245         imaginary part 1.0 and real part less than 0.5 specially.
69246         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69247         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69248         * math/libm-test.inc (cacos_test): Add more tests.
69249         (casin_test): Likewise.
69250         (casinh_test): Likewise.
69251         * sysdeps/i386/fpu/libm-test-ulps: Update.
69252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69254 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69256         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69257         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69259 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69261         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69262         * config.make.in (config-cflags-sse4): Remove variable.
69263         (config-cflags-avx): Likewise.
69264         (config-cflags-sse2avx): Likewise.
69265         (config-cflags-novzeroupper): Likewise.
69266         (config-asflags-i686): Likewise.
69267         (have-mfma4): Likewise.
69268         (have-as-vis3): Likewise.
69269         (MIG): Likewise.
69270         * configure.in (MIG): Do not AC_SUBST.
69271         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69272         (libc_cv_cc_sse4): Do not AC_SUBST.
69273         (libc_cv_cc_avx): Likewise.
69274         (libc_cv_cc_sse2avx): Likewise.
69275         (libc_cv_cc_novzeroupper): Likewise.
69276         (libc_cv_cc_fma4): Likewise.
69277         (libc_cv_as_i686): Likewise.
69278         (libc_cv_sparc_as_vis3): Likewise.
69279         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69280         LIBC_CONFIG_VAR.
69281         (config-asflags-i686): Likewise.
69282         (config-cflags-avx): Likewise.
69283         (config-cflags-sse2avx): Likewise.
69284         (have-mfma4): Likewise.
69285         (config-cflags-novzeroupper): Likewise.
69286         * sysdeps/mach/configure.in (MIG): Likewise.
69287         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69288         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69289         LIBC_CONFIG_VAR.
69290         (config-cflags-avx): Likewise.
69291         (config-cflags-sse2avx): Likewise.
69292         (have-mfma4): Likewise.
69293         (config-cflags-novzeroupper): Likewise.
69294         * configure: Regenerated.
69295         * sysdeps/i386/configure: Likewise.
69296         * sysdeps/mach/configure: Likewise.
69297         * sysdeps/sparc/configure: Likewise.
69298         * sysdeps/x86_64/configure: Likewise.
69300 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69302         [BZ #14812]
69303         * locale/programs/localedef.c (options): Put N_ translation marker
69304         on argument names, not just descriptions.
69306 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69308         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69310 2013-03-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
69312         [BZ #14176]
69313         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69315 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69317         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69318         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69319         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69320         [!BEFORE_ABORT] (before_abort): New function.
69321         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69322         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69323         (writev_for_fatal): New function.
69324         (WRITEV_FOR_FATAL): New macro; call that.
69325         (backtrace_and_maps): New function.
69326         (BEFORE_ABORT): New macro; call that.
69327         (struct str_list): Type removed.
69328         (__libc_message, __libc_fatal): Functions removed.
69329         Include <sysdeps/posix/libc_fatal.c> instead.
69331 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69333         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69334         constants.
69335         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69336         double constants.
69338 2013-03-19  Andreas Schwab  <schwab@suse.de>
69340         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69341         * sysdeps/gnu/configure: Regenerate.
69343         * configure.in: Substitute libc_cv_rtlddir.
69344         * configure: Regenerate.
69345         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69346         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69347         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69348         * elf/Makefile (install-others, CFLAGS-interp.c)
69349         (ldso_install, common-ldd-rewrite): Likewise.
69350         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69351         $(inst_slibdir)/$(rtld-installed-name).
69352         * scripts/rellns-sh: Add -p option.
69353         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69354         for source.
69356 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69358         * manual/nptl.texi: Renamed to ...
69359         * manual/threads.texi: ... this.
69360         * manual/Makefile (chapters): Update.
69362 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69364         [BZ #14812]
69365         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69366         on argument names, not just descriptions.
69367         * malloc/memusagestat.c (options): Likewise.
69368         * nss/getent.c (options): Likewise.
69370 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69372         [BZ #14812]
69373         * iconv/iconv_prog.c (options): Put N_ translation marker
69374         on argument names, not just descriptions.
69375         * iconv/iconvconfig.c (options): Likewise.
69377 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69379         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69380         implementation which is faster on all x86_64 architectures.
69381         Tested on AMD, Intel Nehalem, SNB, IVB.
69382         * sysdeps/x86_64/strnlen.S: Likewise.
69384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69385         Remove all multiarch strlen and strnlen versions.
69386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69387         Remove strlen and strnlen related parts.
69389         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69390         Inline strlen part.
69391         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69393         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69394         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69395         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69396         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69397         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69398         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69400 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69402         * manual/memory.texi (Malloc Tunable Parameters):
69403         Sort parameters alphabetically. Add comments for missing entries.
69405 2013-03-17  David S. Miller  <davem@davemloft.net>
69407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69409 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69411         [BZ #15283]
69412         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69413         for arguments at most half maximum finite value.
69414         * math/libm-test.inc (j0_test): Add more tests.
69415         (j1_test): Likewise.
69416         (y0_test): Likewise.
69417         (y1_test): Likewise.
69418         * sysdeps/i386/fpu/libm-test-ulps: Update.
69419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69421         [BZ #14155]
69422         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69423         1 / x and functions P and Q for arguments above 0x1p256L.
69424         (__ieee754_y0l): Likewise.
69425         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69426         (__ieee754_y1l): Likewise.
69427         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69428         (j1_test): Likewise.
69429         (y0_test): Likewise.
69430         (y1_test): Likewise.
69432 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69434         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69435         variable.
69437 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69439         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69440         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69441         zero since it's initialized to EXEC_PAGESIZE.
69443         * sysdeps/unix/sysv/linux/ldsodefs.h
69444         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69445         * sysdeps/generic/ldsodefs.h: ... here.
69447 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69449         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69451         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69452         math/test-snan.c.
69453         * math/test-snan.c: Renamed from
69454         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69455         * math/Makefile (tests): Add test-snan.
69456         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69457         test-powerpc-snan.
69459         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69460         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69461         functions.
69462         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69463         __builtin_nan family of functions.
69464         * math/libm-test.inc (initialize): Initialize qnan_value with
69465         __builtin_nan family of functions.
69466         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69467         Remove variables.
69468         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69469         Remove functions.
69470         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69471         storage class.  Initialize qNaN_var and sNaN_var with
69472         __builtin_nan and __builtin_nans families of functions,
69473         respectively.
69475         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69476         (sqrt_test): Remove duplicate test with qNaN input.
69477         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69478         (round_test, signbit_test, significand_test): Note missing +/-Inf
69479         as well as qNaN tests.
69481         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69482         qNaN_var.  Fix a few strings, too.
69483         * math/libm-test.inc (nan_value): Rename to qnan_value.
69484         * math/gen-libm-test.pl (%beautify): Adjust to that.
69485         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69486         * math/test-misc.c (main): Likewise.
69487         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69488         to __qnan_bytes, and __qnan_union, respectively.
69489         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69490         Likewise.
69491         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69492         and lqnanval, respectively.
69493         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69494         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69495         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69496         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69498         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69499         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69500         doubles.
69502         * math/test-misc.c (main): Fix copy'n'pastos.
69503         * misc/tst-efgcvt.c (special): Likewise.
69505         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69506         Remove declarations.
69508 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69510         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69511         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69512         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69513         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69515 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69517         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69518         macro to return vdso values correctly in IFUNC implementations.
69519         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69520         Optimization by using IFUNC.
69522 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69523             Richard Henderson  <rth@redhat.com>
69524             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69526         * Makefile.in (bench): New target.
69527         * NEWS: Mention the benchmark framework.
69528         * Rules (bench): Likewise.
69529         (binaries-bench): Generate binaries for functions to
69530         benchmark.
69531         * benchtests/Makefile: New makefile for benchmark tests.
69532         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69533         programs.
69534         * benchtests/exp-inputs: New input file for EXP function.
69535         * benchtests/pow-inputs: New input file for POW function.
69536         * scripts/bench.pl: New script to generate source files for
69537         benchmark programs.
69539 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69541         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69542         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69543         computations on mantissa.  Use macros for rounding and
69544         division.
69545         (denorm): Likewise.
69546         (__dbl_mp): Likewise.
69547         (add_magnitudes): Likewise.
69548         (sub_magnitudes): Likewise.
69549         (__mul): Likewise.
69550         (__sqr): Likewise.
69551         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69552         powers of two in terms of TWOPOW macro.
69553         (mp_no): Make type of mantissa as MANTISSA_T.
69554         [!RADIXI]: Define RADIXI.
69555         [!TWO52]: Define TWO52.
69556         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69558         * manual/nptl.texi (cindex): Modify threads to pthreads.
69560 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69562         * sysdeps/x86_64/preconfigure: Regenerated.
69564 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69566         [BZ #14155]
69567         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69568         0x1p28 and above.
69569         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69570         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69571         0x1p28 and above.
69572         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69573         * math/libm-test.inc (j0_test): Do not allow one spurious
69574         underflow exception.
69575         (y1_test): Likewise.
69577 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69579         * manual/Makefile (chapters): Add nptl.
69580         * manual/debug.texi (Debugging Support): Add link to Threads
69581         chapter.
69582         * manual/nptl.texi: New file.
69584         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69586 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69588         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69589         for non-NULL pointer before the memory validity test. Pointed
69590         out by Holger Brunck <holger.brunck@keymile.com>.
69592 2013-03-13  Andreas Schwab  <schwab@suse.de>
69594         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69595         instead of .os.
69597 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69599         * timezone/zic.c: Update from tzcode 2013b.
69601 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69603         * manual/install.texi (Configuring and compiling):
69604         Mention i686 and i586.
69605         * INSTALL: Regenerate.
69607 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69609         * sysdeps/init_array/elf-init.c: New file.
69610         * csu/elf-init.c
69611         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69612         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69614         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69615         __gmon_start__ as global, but as static with a .preinit_array pointer.
69616         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69617         * sysdeps/init_array/crti.S: New file, empty except for comments.
69618         * sysdeps/init_array/crtn.S: Likewise.
69620 2013-03-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
69622         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69623         definining bcopy.
69624         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69625         Remove Prefer_SSE_for_memop.
69626         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69627         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69628         HAS_PREFER_SSE_FOR_MEMOP.
69629         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69630         memset-x86-64.
69631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69632         Remove bzero, memset ifunc support.
69633         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69634         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69635         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69636         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69638 2013-03-11  Andreas Schwab  <schwab@suse.de>
69640         [BZ #15234]
69641         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69642         by SHLIB_COMPAT.
69643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69644         (GLIBC_2.16): Remove pthread_atfork.
69646 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69648         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69649         (ptestcases.h): Likewise.
69651 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69653         * Makeconfig ($(common-objpfx)config.status): Depend on
69654         sysdeps/*/preconfigure{,.in} too.
69656 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69658         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69659         (__free_hook): Use void * instead of __malloc_ptr_t.
69660         (__malloc_hook): Likewise.
69661         (__realloc_hook): Likewise.
69662         (__memalign_hook): Likewise.
69663         (__after_morecore_hook): Likewise.
69664         * malloc/arena.c (save_malloc_hook): Likewise.
69665         (save_free_hook): Likewise.
69666         * malloc/hooks.c (malloc_hook_ini): Likewise.
69667         (realloc_hook_ini): Likewise.
69668         (memalign_hook_ini): Likewise.
69669         * malloc/malloc.c (malloc_hook_ini): Likewise.
69670         (realloc_hook_ini): Likewise.
69671         (memalign_hook_ini): Likewise.
69672         (__free_hook): Likewise.
69673         (__malloc_hook): Likewise.
69674         (__realloc_hook): Likewise.
69675         (__memalign_hook): Likewise.
69676         (__libc_malloc): Likewise.
69677         (__libc_free): Likewise.
69678         (__libc_realloc): Likewise.
69679         (__libc_memalign): Likewise.
69680         (__libc_valloc): Likewise.
69681         (__libc_pvalloc): Likewise.
69682         (__libc_calloc): Likewise.
69683         (__posix_memalign): Likewise.
69684         * malloc/morecore.c (__sbrk): Likewise.
69685         (__default_morecore): Likewise.
69687         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69689         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69690         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69691         __malloc_ptrdiff_t.
69693         * malloc/malloc.h (__malloc_size_t): Remove macro.
69694         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69695         __malloc_size_t.
69696         (old_memalign_hook): Likewise.
69697         (old_realloc_hook): Likewise.
69698         (struct hdr): Likewise.
69699         (flood): Likewise.
69700         (mallochook): Likewise.
69701         (memalignhook): Likewise.
69702         (reallochook): Likewise.
69703         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69704         (tr_old_realloc_hook): Likewise.
69705         (tr_old_memalign_hook): Likewise.
69706         (tr_mallochook): Likewise.
69707         (tr_reallochook): Likewise.
69708         (tr_memalignhook): Likewise.
69710 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69712         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69713         default_ldbl_pack and using as default implementation.
69714         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69715         implementation.
69716         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69717         redundant definition.
69718         (ldbl_insert_mantissa): Likewise.
69719         (ldbl_canonicalize): Likewise.
69720         (ldbl_nearbyint): Likewise.
69721         (ldbl_pack): Rename to ldbl_pack_ppc.
69722         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69723         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69724         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69726 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69729         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69730         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69731         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69732         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69733         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69734         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69735         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69737 2013-03-07  Andreas Jaeger  <aj@suse.de>
69739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69740         bits/mman-linux.h.
69742 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69744         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69745         Include mpa.h and declare __MPEXP.
69746         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69747         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69748         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69749         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69750         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69751         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69752         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69754         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69755         (__slowpow): Use long double EXPL and LOGL functions to
69756         compute POW.
69757         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69758         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69759         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69760         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69761         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69762         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69765         intermediate variable to calculate exponent.
69766         (__sqr): Likewise.
69767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69768         Likewise.
69769         (__sqr): Likewise.
69771         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69772         [!NO__SQR]: Define __sqr.
69773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69774         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69775         sysdeps/ieee754/dbl-64/mpa.c.
69776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69778         [BZ #12723]
69779         * posix/Makefile (tests): Add tst-pathconf.
69780         * posix/tst-pathconf.c: New test case.
69781         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69782         _PC_PIPE_BUF.
69783         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69785 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69787         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69789 2013-03-06  Andreas Jaeger  <aj@suse.de>
69791         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69792         definition via __MAP_ANONYMOUS.
69794         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69795         it's not part of Linux headers.
69797         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69798         (MAP_HUGE_MASK): Define.
69800         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69801         Define.
69802         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69803         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69804         Define.
69805         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69806         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69807         Define.
69808         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69809         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69810         Define.
69811         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69813         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69814         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69815         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69816         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69817         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69818         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69820         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69821         Handle f2fs.
69823         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69824         Handle f2fs and efivarfs.
69826         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69827         f2fs.
69829         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69830         (EFIVARFS_MAGIC): Add.
69831         (F2FS_LINK_MAX): Add.
69833 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69835         * stdio-common/vfprintf.c: Replace __builtin_expect with
69836         __glibc_unlikely.
69838 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69840         [BZ #13550]
69841         * sysdeps/generic/bp-sym.h: Remove file.
69842         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69843         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69844         <bp-sym.h> and <bp-asm.h>.
69845         (__longjmp): Don't use BP_SYM.
69846         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69847         and <bp-asm.h>.
69848         (memcpy): Don't use BP_SYM.
69849         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69850         <bp-sym.h> and <bp-asm.h>.
69851         (memcpy): Don't use BP_SYM.
69852         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69853         <bp-asm.h>.
69854         (memcpy): Don't use BP_SYM.
69855         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69856         <bp-asm.h>.
69857         (memset): Don't use BP_SYM.
69858         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69859         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69860         (__bzero): Don't use BP_SYM.
69861         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69862         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69863         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69864         <bp-sym.h> and <bp-asm.h>.
69865         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69866         pointers.
69867         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69868         <bp-sym.h> and <bp-asm.h>.
69869         (memcpy): Don't use BP_SYM.
69870         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69871         <bp-sym.h> and <bp-asm.h>.
69872         (memset): Don't use BP_SYM.
69873         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69874         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69875         (__bzero): Don't use BP_SYM.
69876         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69877         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69878         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69879         <bp-sym.h> and <bp-asm.h>.
69880         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69881         pointers.
69882         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69883         <bp-sym.h> and <bp-asm.h>.
69884         (memcpy): Don't use BP_SYM.
69885         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69886         <bp-sym.h> and <bp-asm.h>.
69887         (memset): Don't use BP_SYM.
69888         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69889         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69890         (__bzero): Don't use BP_SYM.
69891         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69892         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69893         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69894         <bp-sym.h> and <bp-asm.h>.
69895         (__memchr): Don't use BP_SYM.
69896         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69897         <bp-sym.h> and <bp-asm.h>.
69898         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69899         pointers.
69900         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69901         <bp-sym.h> and <bp-asm.h>.
69902         (memcpy): Don't use BP_SYM.
69903         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69904         <bp-sym.h> and <bp-asm.h>.
69905         (__mempcpy): Don't use BP_SYM.
69906         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69907         <bp-sym.h> and <bp-asm.h>.
69908         (__memrchr): Don't use BP_SYM.
69909         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69910         <bp-sym.h> and <bp-asm.h>.
69911         (memset): Don't use BP_SYM.
69912         (__bzero): Likewise.
69913         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69914         <bp-sym.h> and <bp-asm.h>.
69915         (__rawmemchr): Don't use BP_SYM.
69916         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69917         <bp-sym.h> and <bp-asm.h>.
69918         (__STRCMP): Don't use BP_SYM.
69919         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69920         <bp-sym.h> and <bp-asm.h>.
69921         (strchr): Don't use BP_SYM.
69922         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69923         <bp-sym.h> and <bp-asm.h>.
69924         (__strchrnul): Don't use BP_SYM.
69925         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69926         <bp-sym.h> and <bp-asm.h>.
69927         (strlen): Don't use BP_SYM.
69928         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69929         <bp-sym.h> and <bp-asm.h>.
69930         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69931         pointers.
69932         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69933         <bp-sym.h> and <bp-asm.h>.
69934         (__strnlen): Don't use BP_SYM.
69935         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69936         <bp-sym.h> and <bp-asm.h>.
69937         (__GI__setjmp): Don't use BP_SYM.
69938         (_setjmp): Likewise.
69939         (__sigsetjmp): Likewise.
69940         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69941         (L(start_addresses)): Don't use BP_SYM.
69942         (_start): Likewise.
69943         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69944         <bp-asm.h>.
69945         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69946         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69949         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69950         <bp-asm.h>.
69951         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69952         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69953         about bounded pointers.
69954         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69955         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69956         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69957         <bp-asm.h>.
69958         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69959         about bounded pointers.  Remove GKM FIXME comments.
69960         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69961         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69962         <bp-asm.h>.
69963         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69964         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69965         Remove GKM FIXME comments.
69966         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69967         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69968         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69969         <bp-asm.h>.
69970         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69971         about bounded pointers.  Remove GKM FIXME comment.
69972         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69973         and <bp-asm.h>.
69974         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69975         pointers.
69976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69977         <bp-sym.h> and <bp-asm.h>.
69978         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69980         <bp-sym.h> and <bp-asm.h>.
69981         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69982         comment.
69984 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69986         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69987         call free(NULL).
69989 2013-03-05  David S. Miller  <davem@davemloft.net>
69991         * po/es.po: Update from translation team.
69993 2013-03-05  Andreas Jaeger  <aj@suse.de>
69995         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69996         <bits/mman-linux.h>.
69997         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69998         is fine.
69999         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70000         <bits/mman-linux.h> to end of file.
70001         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70002         is fine.
70003         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70004         <bits/mman-linux.h> to end of file.
70005         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70006         is fine.
70007         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70008         <bits/mman-linux.h> to end of file.
70010         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70011         (MCL_CURRENT, MCL_FUTURE): Define here.
70013 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70015         [BZ #15232]
70016         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70017         attribute_hidden.
70018         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70020 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70022         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70023         fourth parameter needed for rt_sigprocmask syscall.
70024         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70025         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70027         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70028         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70029         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70031 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
70033         [BZ #13550]
70034         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70035         comment about bounded pointers.
70036         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70037         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70039 2013-03-04  Andreas Jaeger  <aj@suse.de>
70041         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70042         common definitions.
70044         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70045         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70046         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70047         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70048         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70049         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70051 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70053         [BZ #15055]
70054         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70055         __ieee754_sqrl instead of __sqrl.
70057 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70059         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70060         * sysdeps/powerpc/fpu_control.h: ... here.
70061         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70062         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70063         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70064         * sysdeps/powerpc/bits/mathinline.h: ... here.
70066 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70068         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70069         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70070         to just [NEED_DL_SYSINFO_DSO].
70071         * elf/dl-support.c: Likewise.
70072         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70073         * elf/rtld.c (dl_main): Likewise.
70074         * elf/setup-vdso.h (setup_vdso): Likewise.
70075         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70076         * sysdeps/unix/sysv/linux/dl-sysdep.c
70077         (_dl_discover_osversion): Likewise.
70079 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70081         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70082         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70084 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70086         * NEWS: Mention libm performance improvements and non-x86 PI
70087         futex support.
70089         * csu/libc-start.c (__pthread_initialize_minimal): Change
70090         function arguments.
70091         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70093 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70095         [BZ #13550]
70096         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70097         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70098         <bp-sym.h> and <bp-asm.h>.
70099         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70100         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70101         and <bp-asm.h>.
70102         (memcpy): Don't use BP_SYM.
70103         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70104         <bp-asm.h>.
70105         (__mpn_add_n): Don't use BP_SYM.
70106         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70107         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70108         and <bp-asm.h>.
70109         (__mpn_addmul_1): Don't use BP_SYM.
70110         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70111         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70112         <bp-sym.h>.
70113         (_setjmp): Don't use BP_SYM.
70114         (__novmx_setjmp): Likewise.
70115         (__GI__setjmp): Likewise.
70116         (__vmx_setjmp): Likewise.
70117         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70118         <bp-sym.h>.
70119         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70120         (__bzero): Don't use BP_SYM.
70121         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70122         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70123         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70124         <bp-sym.h> and <bp-asm.h>.
70125         (memcpy): Don't use BP_SYM.
70126         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70127         <bp-sym.h> and <bp-asm.h>.
70128         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70129         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70130         <bp-sym.h> and <bp-asm.h>.
70131         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70132         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70133         <bp-asm.h>.
70134         (__mpn_lshift): Don't use BP_SYM.
70135         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70136         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70137         <bp-asm.h>.
70138         (memset): Don't use BP_SYM.
70139         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70140         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70141         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70142         <bp-asm.h>.
70143         (__mpn_mul_1): Don't use BP_SYM.
70144         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70145         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70146         <bp-sym.h> and <bp-asm.h>.
70147         (memcmp): Don't use BP_SYM.
70148         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70149         <bp-sym.h> and <bp-asm.h>.
70150         (memcpy): Don't use BP_SYM.
70151         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70152         <bp-sym.h> and <bp-asm.h>.
70153         (memset): Don't use BP_SYM.
70154         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70155         <bp-sym.h> and <bp-asm.h>.
70156         (strncmp): Don't use BP_SYM.
70157         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70158         <bp-sym.h> and <bp-asm.h>.
70159         (memcpy): Don't use BP_SYM.
70160         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70161         <bp-sym.h> and <bp-asm.h>.
70162         (memset): Don't use BP_SYM.
70163         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70164         <bp-sym.h> and <bp-asm.h>.
70165         (__memchr): Don't use BP_SYM.
70166         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70167         <bp-sym.h> and <bp-asm.h>.
70168         (memcmp): Don't use BP_SYM.
70169         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70170         <bp-sym.h> and <bp-asm.h>.
70171         (memcpy): Don't use BP_SYM.
70172         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70173         <bp-sym.h> and <bp-asm.h>.
70174         (__mempcpy): Don't use BP_SYM.
70175         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70176         <bp-sym.h> and <bp-asm.h>.
70177         (__memrchr): Don't use BP_SYM.
70178         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70179         <bp-sym.h> and <bp-asm.h>.
70180         (memset): Don't use BP_SYM.
70181         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70182         <bp-sym.h> and <bp-asm.h>.
70183         (__rawmemchr): Don't use BP_SYM.
70184         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70185         <bp-sym.h> and <bp-asm.h>.
70186         (__STRCMP): Don't use BP_SYM.
70187         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70188         <bp-sym.h> and <bp-asm.h>.
70189         (strchr): Don't use BP_SYM.
70190         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70191         <bp-sym.h> and <bp-asm.h>.
70192         (__strchrnul): Don't use BP_SYM.
70193         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70194         <bp-sym.h> and <bp-asm.h>.
70195         (strlen): Don't use BP_SYM.
70196         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70197         <bp-sym.h> and <bp-asm.h>.
70198         (strncmp): Don't use BP_SYM.
70199         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70200         <bp-sym.h> and <bp-asm.h>.
70201         (__strnlen): Don't use BP_SYM.
70202         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70203         <bp-asm.h>.
70204         (__mpn_rshift): Don't use BP_SYM.
70205         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70206         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70207         <bp-sym.h> and <bp-asm.h>.
70208         (__sigsetjmp): Don't use BP_SYM.
70209         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70210         (L(start_addresses)): Don't use BP_SYM.
70211         (_start): Likewise.
70212         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70213         <bp-asm.h>.
70214         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70215         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70216         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70217         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70218         <bp-asm.h>.
70219         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70220         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70221         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70222         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70223         <bp-asm.h>.
70224         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70225         comments.
70226         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70227         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70228         <bp-asm.h>.
70229         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70230         FIXME comments.
70231         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70232         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70233         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70234         <bp-asm.h>.
70235         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70236         comment.
70237         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70238         and <bp-asm.h>.
70239         (strncmp): Don't use BP_SYM,
70240         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70241         <bp-asm.h>.
70242         (__mpn_sub_n): Don't use BP_SYM.
70243         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70244         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70245         and <bp-asm.h>.
70246         (__mpn_submul_1): Don't use BP_SYM.
70247         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70249         <bp-sym.h> and <bp-asm.h>.
70250         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70252         <bp-sym.h> and <bp-asm.h>.
70253         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70254         comment.
70256 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70259         Use ZK to minimize writes to Z.
70260         (sub_magnitudes): Simplify code a bit.
70261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70262         Use ZK to minimize writes to Z.
70263         (sub_magnitudes): Simplify code a bit.
70265 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70267         * csu/gmon-start.c: Add special exception to license text.
70269 2013-02-27  Richard Henderson  <rth@redhat.com>
70271         * scripts/config.guess: Update from config.git.
70272         * scripts/config.sub: Likewise.
70274 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70276         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70278         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70280         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70282         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70284         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70286 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70288         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70289         [$(build-shared = yes].
70291 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70293         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70294         (__mul): Reduce iterations for calculating mantissa.
70296         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70297         MPTWO.
70298         (__mpranred): Likewise.
70300         [BZ #15160]
70301         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70302         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70304 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70306         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70307         Define __attribute__.
70309 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70311         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70312         unused.
70313         * posix/regex_internal.h (__attribute): Remove.
70314         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70315         (re_string_context_at): Likewise.
70316         (bitset_not): Use __attribute__ and mark function as possibly
70317         unused.
70318         (bitset_merge): Likewise.
70319         (bitset_mask): Likewise.
70320         (re_string_char_size_at): Likewise.
70321         (re_string_wchar_at): Likewise.
70322         (re_string_elem_size_at): Likewise.
70324 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70326         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70327         code.
70328         (cc32): Likewise.
70330         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70331         (__acr): Likewise.
70332         (__cpy): Likewise.
70333         (norm): Likewise.
70334         (denorm): Likewise.
70335         (__dbl_mp): Likewise.
70336         (add_magnitudes): Likewise.
70337         (sub_magnitudes): Likewise.
70338         (__mul): Likewise.
70339         (__inv): Likewise.
70341         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70342         style.
70344         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70345         style.
70347         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70348         code.
70350         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70351         up changes with default code.
70352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70353         Likewise.
70355 2013-02-24  Allan McRae  <allan@archlinux.org>
70357         * manual/socket.texi (The Internet Namespace): Order menu items
70358         to match that in the file.
70360         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70361         node listing of the info page menu.
70363 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70365         [BZ #13550]
70366         * sysdeps/i386/bp-asm.h: Remove file.
70367         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70368         (PARMS): Do not use macros from bp-asm.h.
70369         (S1): Likewise.
70370         (S2): Likewise.
70371         (SIZE): Likewise.
70372         (__mpn_add_n): Do not use BP_SYM
70373         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70374         "bp-asm.h".
70375         (PARMS): Do not use macros from bp-asm.h.
70376         (S1): Likewise.
70377         (SIZE): Likewise.
70378         (__mpn_addmul_1): Do not use BP_SYM
70379         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70380         "bp-asm.h".
70381         (PARMS): Do not use macros from bp-asm.h.
70382         (SIGMSK): Likewise.
70383         (_setjmp): Likewise.  Do not use BP_SYM.
70384         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70385         "bp-asm.h".
70386         (PARMS): Do not use macros from bp-asm.h.
70387         (SIGMSK): Likewise.
70388         (setjmp): Likewise.  Do not use BP_SYM.
70389         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70390         "bp-asm.h".
70391         (PARMS): Do not use macros from bp-asm.h.
70392         (__frexp): Do not use BP_SYM.
70393         (frexp): Likewise.
70394         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70395         "bp-asm.h".
70396         (PARMS): Do not use macros from bp-asm.h.
70397         (__frexpf): Do not use BP_SYM.
70398         (frexpf): Likewise.
70399         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70400         "bp-asm.h".
70401         (PARMS): Do not use macros from bp-asm.h.
70402         (__frexpl): Do not use BP_SYM.
70403         (frexpl): Likewise.
70404         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70405         "bp-asm.h".
70406         (PARMS): Do not use macros from bp-asm.h.
70407         (__remquo): Do not use BP_SYM.
70408         (remquo): Likewise.
70409         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70410         "bp-asm.h".
70411         (PARMS): Do not use macros from bp-asm.h.
70412         (__remquof): Do not use BP_SYM.
70413         (remquof): Likewise.
70414         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70415         "bp-asm.h".
70416         (PARMS): Do not use macros from bp-asm.h.
70417         (__remquol): Do not use BP_SYM.
70418         (remquol): Likewise.
70419         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70420         "bp-asm.h".
70421         (PARMS): Do not use macros from bp-asm.h.
70422         (DEST): Likewise.
70423         (SRC): Likewise.
70424         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70425         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70426         "bp-asm.h".
70427         (PARMS): Do not use macros from bp-asm.h.
70428         (strlen): Do not use BP_SYM.
70429         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70430         "bp-asm.h".
70431         (PARMS): Do not use macros from bp-asm.h.
70432         (S1): Likewise.
70433         (S2): Likewise.
70434         (SIZE): Likewise.
70435         (__mpn_add_n): Do not use BP_SYM.
70436         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70437         "bp-asm.h".
70438         (PARMS): Do not use macros from bp-asm.h.
70439         (S1): Likewise.
70440         (SIZE): Likewise.
70441         (__mpn_addmul_1): Do not use BP_SYM.
70442         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70443         weak_alias.
70444         (bzero): Likewise.
70445         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70446         "bp-asm.h".
70447         (PARMS): Do not use macros from bp-asm.h.
70448         (S): Likewise.
70449         (SIZE): Likewise.
70450         (__mpn_lshift): Do not use BP_SYM.
70451         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70452         "bp-asm.h".
70453         (PARMS): Do not use macros from bp-asm.h.
70454         (DEST): Likewise.
70455         (SRC): Likewise.
70456         (LEN): Likewise.
70457         (memcpy): Likewise.  Do not use BP_SYM.
70458         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70459         libc_hidden_def and weak_alias.
70460         (mempcpy): Do not use BP_SYM in weak_alias.
70461         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70462         "bp-asm.h".
70463         (PARMS): Do not use macros from bp-asm.h.
70464         (DEST): Likewise.
70465         (LEN): Likewise.
70466         [!BZERO_P] (CHR): Likewise.
70467         (memset): Likewise.  Do not use BP_SYM.
70468         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70469         "bp-asm.h".
70470         (PARMS): Do not use macros from bp-asm.h.
70471         (S1): Likewise.
70472         (SIZE): Likewise.
70473         (__mpn_mul_1): Do not use BP_SYM.
70474         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70475         "bp-asm.h".
70476         (PARMS): Do not use macros from bp-asm.h.
70477         (S): Likewise.
70478         (SIZE): Likewise.
70479         (__mpn_rshift): Do not use BP_SYM.
70480         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70481         "bp-asm.h".
70482         (PARMS): Do not use macros from bp-asm.h.
70483         (STR): Likewise.
70484         (CHR): Likewise.
70485         (strchr): Likewise.  Do not use BP_SYM.
70486         (index): Do not use BP_SYM in weak_alias.
70487         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70488         "bp-asm.h".
70489         (PARMS): Do not use macros from bp-asm.h.
70490         (DEST): Likewise.
70491         (SRC): Likewise.
70492         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70493         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70494         "bp-asm.h".
70495         (PARMS): Do not use macros from bp-asm.h.
70496         (strlen): Do not use BP_SYM.
70497         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70498         "bp-asm.h".
70499         (PARMS): Do not use macros from bp-asm.h.
70500         (S1): Likewise.
70501         (S2): Likewise.
70502         (SIZE): Likewise.
70503         (__mpn_sub_n): Do not use BP_SYM.
70504         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70505         "bp-asm.h".
70506         (PARMS): Do not use macros from bp-asm.h.
70507         (S1): Likewise.
70508         (SIZE): Likewise.
70509         (__mpn_submul_1): Do not use BP_SYM.
70510         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70511         "bp-asm.h".
70512         (PARMS): Do not use macros from bp-asm.h.
70513         (S1): Likewise.
70514         (S2): Likewise.
70515         (SIZE): Likewise.
70516         (__mpn_add_n): Do not use BP_SYM.
70517         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70518         weak_alias.
70519         (bzero): Likewise.
70520         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70521         "bp-asm.h".
70522         (PARMS): Do not use macros from bp-asm.h.
70523         (BLK2): Likewise.
70524         (LEN): Likewise.
70525         (memcmp): Do not use BP_SYM.
70526         (bcmp): Do not use BP_SYM in weak_alias.
70527         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70528         "bp-asm.h".
70529         (PARMS): Do not use macros from bp-asm.h.
70530         (DEST): Likewise.
70531         (SRC): Likewise.
70532         (LEN): Likewise.
70533         (memcpy): Likewise.  Do not use BP_SYM.
70534         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70535         "bp-asm.h".
70536         (PARMS): Do not use macros from bp-asm.h.
70537         (DEST): Likewise.
70538         (SRC): Likewise.
70539         (LEN): Likewise.
70540         (memmove): Likewise.  Do not use BP_SYM.
70541         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70542         "bp-asm.h".
70543         (PARMS): Do not use macros from bp-asm.h.
70544         (DEST): Likewise.
70545         (SRC): Likewise.
70546         (LEN): Likewise.
70547         (__mempcpy): Likewise.  Do not use BP_SYM.
70548         (mempcpy): Do not use BP_SYM in weak_alias.
70549         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70550         "bp-asm.h".
70551         (PARMS): Do not use macros from bp-asm.h.
70552         (DEST): Likewise.
70553         (LEN): Likewise.
70554         [!BZERO_P] (CHR): Likewise.
70555         (memset): Likewise.  Do not use BP_SYM.
70556         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70557         "bp-asm.h".
70558         (PARMS): Do not use macros from bp-asm.h.
70559         (STR2): Likewise.
70560         (strcmp): Do not use BP_SYM.
70561         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70562         "bp-asm.h".
70563         (PARMS): Do not use macros from bp-asm.h.
70564         (STR): Likewise.
70565         (DELIM): Likewise.
70566         [USE_AS_STRTOK_R] (SAVE): Likewise.
70567         (FUNCTION): Likewise.  Do not use BP_SYM.
70568         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70569         aliases.
70570         (strtok_r): Likewise.
70571         (__GI___strtok_r): Likewise.
70572         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70573         (PARMS): Do not use macros from bp-asm.h.
70574         (S): Likewise.
70575         (SIZE): Likewise.
70576         (__mpn_lshift): Do not use BP_SYM.
70577         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70578         (PARMS): Do not use macros from bp-asm.h.
70579         (STR): Likewise.
70580         (CHR): Likewise.
70581         (__memchr): Do not use BP_SYM.
70582         (memchr): Do not use BP_SYM in weak_alias.
70583         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70584         (PARMS): Do not use macros from bp-asm.h.
70585         (BLK2): Likewise.
70586         (LEN): Likewise.
70587         (memcmp): Do not use BP_SYM.
70588         (bcmp): Do not use BP_SYM in weak_alias.
70589         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70590         (PARMS): Do not use macros from bp-asm.h.
70591         (S1): Likewise.
70592         (SIZE): Likewise.
70593         (__mpn_mul_1): Do not use BP_SYM.
70594         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70595         "bp-asm.h".
70596         (PARMS): Do not use macros from bp-asm.h.
70597         (STR): Likewise.
70598         (CHR): Likewise.
70599         (__rawmemchr): Do not use BP_SYM.
70600         (rawmemchr): Do not use BP_SYM in weak_alias.
70601         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70602         (PARMS): Do not use macros from bp-asm.h.
70603         (S): Likewise.
70604         (SIZE): Likewise.
70605         (__mpn_rshift): Do not use BP_SYM.
70606         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70607         (PARMS): Do not use macros from bp-asm.h.
70608         (SIGMSK): Likewise.
70609         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70610         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70611         (_start): Do not use BP_SYM.
70612         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70613         (PARMS): Do not use macros from bp-asm.h.
70614         (DEST): Likewise.
70615         (SRC): Likewise.
70616         (__stpcpy): Likewise.  Do not use BP_SYM.
70617         (stpcpy): Do not use BP_SYM in weak_alias.
70618         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70619         "bp-asm.h".
70620         (PARMS): Do not use macros from bp-asm.h.
70621         (DEST): Likewise.
70622         (SRC): Likewise.
70623         (LEN): Likewise.
70624         (__stpncpy): Likewise.  Do not use BP_SYM.
70625         (stpncpy): Do not use BP_SYM in weak_alias.
70626         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70627         (PARMS): Do not use macros from bp-asm.h.
70628         (STR): Likewise.
70629         (CHR): Likewise.
70630         (strchr): Likewise.  Do not use BP_SYM.
70631         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70632         "bp-asm.h".
70633         (PARMS): Do not use macros from bp-asm.h.
70634         (STR): Likewise.
70635         (CHR): Likewise.
70636         (__strchrnul): Likewise.  Do not use BP_SYM.
70637         (strchrnul): Do not use BP_SYM in weak_alias.
70638         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70639         "bp-asm.h".
70640         (PARMS): Do not use macros from bp-asm.h.
70641         (STOP): Likewise.
70642         (strcspn): Do not use BP_SYM.
70643         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70644         "bp-asm.h".
70645         (PARMS): Do not use macros from bp-asm.h.
70646         (STR): Likewise.
70647         (STOP): Likewise.
70648         (strpbrk): Likewise.  Do not use BP_SYM.
70649         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70650         "bp-asm.h".
70651         (PARMS): Do not use macros from bp-asm.h.
70652         (STR): Likewise.
70653         (CHR): Likewise.
70654         (strrchr): Likewise.  Do not use BP_SYM.
70655         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70656         (PARMS): Do not use macros from bp-asm.h.
70657         (SKIP): Likewise.
70658         (strspn): Do not use BP_SYM.
70659         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70660         (PARMS): Do not use macros from bp-asm.h.
70661         (STR): Likewise.
70662         (DELIM): Likewise.
70663         (SAVE): Likewise.
70664         (FUNCTION): Likewise.  Do not use BP_SYM.
70665         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70666         aliases.
70667         (strtok_r): Likewise.
70668         (__GI___strtok_r): Likewise.
70669         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70670         (PARMS): Do not use macros from bp-asm.h.
70671         (S1): Likewise.
70672         (S2): Likewise.
70673         (SIZE): Likewise.
70674         (__mpn_sub_n): Do not use BP_SYM.
70675         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70676         "bp-asm.h".
70677         (PARMS): Do not use macros from bp-asm.h.
70678         (S1): Likewise.
70679         (SIZE): Likewise.
70680         (__mpn_submul_1): Do not use BP_SYM.
70681         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70682         <bp-sym.h>.
70683         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70684         and <bp-asm.h>.
70685         (PARMS): Do not use macros from bp-asm.h.
70686         (FLAGS): Likewise.
70687         (PTID): Likewise.
70688         (TLS): Likewise.
70689         (CTID): Likewise.
70690         (__clone): Do not use BP_SYM.
70691         (clone): Do not use BP_SYM in weak_alias.
70692         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70693         and <bp-asm.h>.
70694         (PARMS): Do not use macros from bp-asm.h.
70695         (LEN): Likewise.
70696         (__mmap64): Do not use BP_SYM.
70697         (mmap64): Do not use BP_SYM in weak_alias.
70698         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70699         <bp-sym.h> and <bp-asm.h>.
70700         (PARMS): Do not use macros from bp-asm.h.
70701         (__posix_fadvise64_l64): Do not use BP_SYM.
70702         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70703         (PARMS): Do not use macros from bp-asm.h.
70704         (NSOPS): Likewise.
70705         (semtimedop): Do not use BP_SYM.
70706         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70707         and <bp-asm.h>.
70709 2013-02-21  Allan McRae  <allan@archlinux.org>
70711         * manual/message.texi (Charset conversion in gettext):
70712         Move @end statement to beginning of line.
70714 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70717         static.
70718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70719         Likewise.
70721         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70722         (denorm): Likewise.
70723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70726 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70728         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70729         tail-call to the resolved function if pltexit isn't needed.
70731 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70734         or Y being zero as being unlikely.
70735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70736         Likewise.
70738 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70740         * manual/nss.texi (System Databases and Name Service Switch):
70741         Remove frobnicate @pxref.
70743 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70745         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70746         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70748 2013-02-20  Petr Machata  <pmachata@redhat.com>
70750         * elf/elf.h (R_ARM_TARGET1): New macro.
70751         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70752         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70753         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70754         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70755         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70756         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70757         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70758         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70759         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70760         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70761         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70762         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70763         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70764         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70765         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70766         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70767         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70768         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70769         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70770         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70771         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70772         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70773         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70774         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70775         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70776         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70777         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70778         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70779         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70780         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70781         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70782         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70783         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70784         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70785         (R_ARM_THM_GOT_BREL12): Likewise.
70786         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70787         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70788         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70789         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70790         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70791         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70792         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70793         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70794         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70796 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70798         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70799         __attribute_used__ to __attribute__ ((unused)).
70801 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70803         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70804         powerpc mpa.c.
70805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70806         comment formatting.
70807         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70809 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70811         [BZ #13550]
70812         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70813         Remove macro.
70814         (ENTER): Remove both macro definitions.
70815         (LEAVE): Likewise.
70816         (CHECK_BOUNDS_LOW): Likewise.
70817         (CHECK_BOUNDS_HIGH): Likewise.
70818         (CHECK_BOUNDS_BOTH): Likewise.
70819         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70820         (RETURN_BOUNDED_POINTER): Likewise.
70821         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70822         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70823         (POP_ERRNO_LOCATION_RETURN): Likewise.
70824         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70825         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70826         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70827         macros.
70828         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70829         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70830         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70831         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70832         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70833         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70834         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70835         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70836         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70837         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70838         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70839         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70840         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70841         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70842         removed macros.
70843         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70844         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70845         macros.
70846         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70847         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70848         * sysdeps/i386/i586/memset.S (memset): Likewise.
70849         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70850         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70851         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70852         macros.
70853         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70854         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70855         Change uses of L(2) to L(out).
70856         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70857         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70858         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70859         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70860         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70861         removed macros.
70862         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70863         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70864         macros.
70865         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70866         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70867         (RETURN): Do not use macro LEAVE.
70868         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70869         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70870         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70871         * sysdeps/i386/i686/memset.S (memset): Likewise.
70872         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70873         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70874         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70875         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70876         Likewise.
70877         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70878         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70879         L(1_2) and L(1_3) into L(1).
70880         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70881         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70882         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70883         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70884         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70885         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70886         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70887         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70888         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70889         macros.
70890         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70891         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70892         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70893         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70894         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70895         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70896         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70897         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70898         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70899         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70900         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70901         * sysdeps/i386/strspn.S (strspn): Likewise.
70902         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70903         conditional code.
70904         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70905         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70906         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70907         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70908         L(1_3) into L(1_1).
70909         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70910         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70911         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70912         macros.
70913         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70915 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70917         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70918         macro.
70920 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70922         * math/atest-exp.c (exp_mpn): Remove ROUND.
70923         * math/atest-exp2.c (exp_mpn): Likewise.
70924         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70926         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70927         * stdlib/tst-tls-atexit-lib.c: Likewise.
70928         * stdlib/tst-tls-atexit.c: Likewise.
70930 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70932         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70933         and __attribute_alloc_size__.
70935 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70937         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70938         __attribute_alloc_size__.
70939         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70940         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70942 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70944         * include/programs/xmalloc.h: New file.
70945         * catgets/gencat.c: Include it.
70946         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70947         * elf/pldd.c: Likewise.
70948         * iconv/iconv_charmap.c: Likewise.
70949         * iconv/iconvconfig.c: Likewise.
70950         * iconv/strtab.c: Likewise.
70951         * locale/programs/locale.c: Likewise.
70952         * locale/programs/localedef.h: Likewise.
70953         * locale/programs/simple-hash.c: Likewise.
70954         * nscd/nscd.h: Likewise.
70955         * nss/makedb.c: Likewise.
70956         * sysdeps/generic/ldconfig.h: Likewise.
70958 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70960         * Versions.def: Add GLIBC_2.18.
70961         * include/link.h (struct link_map): New member l_tls_dtor_count.
70962         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70963         (__call_tls_dtors): Likewise.
70964         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70965         __cxa_thread_atexit_impl.
70966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70967         Likewise.
70968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70969         Likewise.
70970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70971         Likewise.
70972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70973         Likewise.
70974         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70976         Likewise.
70977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70978         Likewise.
70979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70981         Likewise.
70982         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70983         (tests): Add test case tst-tls-atexit.
70984         (modules-names): Add shared library for tst-tls-atexit.
70985         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70986         (GLIBC_PRIVATE): Add __call_tls_dtors.
70987         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70988         for libstdc++.
70989         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70990         * stdlib/tst-tls-atexit.c: New test case.
70991         * stdlib/tst-tls-atexit-lib.c: New test case.
70993         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70995         * elf/Versions (ld): Add _dl_find_dso_for_object.
70996         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70997         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70998         (dl_open_worker): Use _dl_find_dso_for_object.
70999         * elf/dl-sym.c (do_sym): Likewise.
71000         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71002 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71004         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71005         Syntactic changes only.
71006         (_dl_runtime_profile): Do a tail-call to the resolved function.
71008 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
71010         [BZ #13550]
71011         * sysdeps/x86_64/bp-asm.h: Remove file.
71012         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71013         <bp-sym.h> and <bp-asm.h>.
71014         (__clone): Do not use BP_SYM.
71015         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71016         <bp-sym.h> and <bp-asm.h>.
71017         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71018         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71019         "bp-asm.h".
71020         (_setjmp): Do not use BP_SYM.
71021         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71022         "bp-asm.h".
71023         (setjmp): Do not use BP_SYM.
71024         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71025         libc_hidden_def.
71026         (mempcpy): Do not use BP_SYM in weak_alias.
71027         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71028         "bp-asm.h".
71029         (strchr): Do not use BP_SYM.
71030         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71031         "bp-asm.h".
71032         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71033         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71034         (_start): Do not use BP_SYM.
71035         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71036         "bp-asm.h".
71037         (strcat): Do not use BP_SYM.
71038         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71039         "bp-asm.h".
71040         (STRCMP): Do not use BP_SYM.
71041         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71042         "bp-asm.h".
71043         (STRCPY): Do not use BP_SYM.
71044         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71045         "bp-asm.h".
71046         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71047         "bp-asm.h".
71048         (FUNCTION): Do not use BP_SYM.
71049         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71050         weak_alias.
71051         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71053 2013-02-17  Andreas Jaeger  <aj@suse.de>
71055         * time/Versions: Sort entries.
71056         * string/Versions: Likewise.
71057         * resolv/Versions: Likewise.
71058         * posix/Versions: Likewise.
71059         * iconv/Versions: Likewise.
71060         * elf/Versions: Likewise.
71061         * wcsmbs/Versions: Likewise.
71063 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71065         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71066         loop termination condition.
71068         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71069         variable to calculate EZ.
71070         (__sqr): Likewise.
71072         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71073         the lower precision input.
71075 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71077         [BZ #13550]
71078         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71079         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71080         (run-via-rtld-prefix): Do not handle %-bp tests.
71081         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71082         (all-object-suffixes): Remove .ob.
71083         (bppfx): Remove variable.
71084         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71085         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71086         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71087         [$(build-bounded) = yes] (libtype.ob): Likewise.
71088         * Makerules (elide-routines.ob): Remove variable.
71089         (do-tests-clean): Do not handle *-bp.out.
71090         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71091         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71092         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71093         (tests): Do not include $(tests-bp.out).
71094         (xtests): Do not include $(xtests-bp.out).
71095         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71096         [$(build-bounded) = yes] ($(addprefix
71097         $(objpfx),$(binaries-bounded))): Remove rule.
71098         ($(objpfx)%-bp.out): Remove rule.
71099         * config.make.in (build-bounded): Remove variable.
71100         * crypt/Makefile [$(build-bounded) = yes]
71101         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71102         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71103         append to variable.
71104         [$(build-bounded) = yes] (install-lib): Likewise.
71105         [$(build-bounded) = yes] (generated): Likewise.
71106         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71107         Remove rule.
71108         * intl/Makefile [$(build-bounded) = yes]
71109         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71110         * math/Makefile [$(build-bounded) = yes]
71111         ($(tests:%=$(objpfx)%-bp): Likewise.
71112         * misc/Makefile [$(build-bounded) = yes]
71113         ($(objpfx)tst-tsearch-bp): Likewise.
71114         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71115         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71116         Remove dependency.
71117         * string/Makefile (o-objects.ob): Remove variable.
71118         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71119         (CFLAGS-.ob): Remove variable.
71120         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71121         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71122         both definitions of variable.
71123         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71124         (ASFLAGS-.ob): Remove variable.
71126 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71128         [BZ #13550]
71129         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71130         Remove __BOUNDED_POINTERS__ from condition.
71131         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71132         * string/bits/string2.h [!__NO_STRING_INLINES &&
71133         !__BOUNDED_POINTERS__]: Likewise.
71134         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71135         Likewise.
71136         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71137         Remove conditional code.
71138         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71139         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71140         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71141         condition.
71143         [BZ #13550]
71144         * csu/libc-start.c: Do not include <bp-sym.h>.
71145         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71146         * elf/dl-open.c: Do not include <bp-sym.h>.
71147         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71148         * math/fegetenv.c: Do not include <bp-sym.h>.
71149         (fegetenv): Do not use BP_SYM in versioned symbols.
71150         * nptl/sysdeps/pthread/bits/libc-lockP.h
71151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71152         <bp-sym.h>.
71153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71154         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71156         (__pthread_mutex_destroy): Likewise.
71157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71158         (__pthread_mutex_lock): Likewise.
71159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71160         (__pthread_mutex_trylock): Likewise.
71161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71162         (__pthread_mutex_unlock): Likewise.
71163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71164         (__pthread_mutexattr_init): Likewise.
71165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71166         (__pthread_mutexattr_destroy): Likewise.
71167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71168         (__pthread_mutexattr_settype): Likewise.
71169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71170         (__pthread_rwlock_init): Likewise.
71171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71172         (__pthread_rwlock_destroy): Likewise.
71173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71174         (__pthread_rwlock_rdlock): Likewise.
71175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71176         (__pthread_rwlock_tryrdlock): Likewise.
71177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71178         (__pthread_rwlock_wrlock): Likewise.
71179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71180         (__pthread_rwlock_trywrlock): Likewise.
71181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71182         (__pthread_rwlock_unlock): Likewise.
71183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71184         (__pthread_key_create): Likewise.
71185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71186         (__pthread_setspecific): Likewise.
71187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71188         (__pthread_getspecific): Likewise.
71189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71190         Likewise.
71191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71192         (_pthread_cleanup_push_defer): Likewise.
71193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71194         (_pthread_cleanup_pop_restore): Likewise.
71195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71196         (pthread_setcancelstate): Likewise.
71197         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71198         <bp-sym.h>.
71199         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71200         (memchr): Do not use BP_SYM in weak_alias.
71201         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71202         (fegetenv): Do not use BP_SYM in versioned symbols.
71203         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71204         (fesetenv): Do not use BP_SYM in versioned symbols.
71205         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71206         (feupdateenv): Do not use BP_SYM in versioned symbols.
71207         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71208         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71209         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71210         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71211         (open64): Do not use BP_SYM in weak_alias.
71212         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71213         (fegetenv): Do not use BP_SYM in versioned symbols.
71214         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71215         (fesetenv): Do not use BP_SYM in versioned symbols.
71216         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71217         (feupdateenv): Do not use BP_SYM in versioned symbols.
71218         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71219         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71220         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71221         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71222         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71223         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71224         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71225         <bp-sym.h>.
71226         (__libc_start_main): Do not use BP_SYM.
71228 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71231         redundant return line.
71232         (norm): Likewise.
71233         (denorm): Likewise.
71234         (dbl_mp): Likewise.
71235         (sub_magnitudes): Likewise.
71236         (__add): Likewise.
71237         (__sub): Likewise.
71238         (__mul): Likewise.
71239         (__inv): Likewise.
71240         (__dvd): Likewise.
71241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71242         (norm): Likewise.
71243         (denorm): Likewise.
71244         (dbl_mp): Likewise.
71245         (sub_magnitudes): Likewise.
71246         (__add): Likewise.
71247         (__sub): Likewise.
71248         (__mul): Likewise.
71249         (__inv): Likewise.
71250         (__dvd): Likewise.
71252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71253         instead of __mul.
71254         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71255         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71256         (cc32): Likewise.
71258         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71259         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71260         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71261         of __mul for squares.
71262         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71263         function
71264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71265         Likewise.
71266         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71267         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71269 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71271         [BZ #13550]
71272         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71273         code.
71274         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71275         prototype or function definition.  Rename ubp_* variables and
71276         parameters.  Remove argv definitions conditional on
71277         [__BOUNDED_POINTERS__].
71278         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71279         * elf/dl-runtime.c (_dl_fixup): Likewise.
71280         * include/set-hooks.h (RUN_HOOK): Likewise.
71281         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71282         definition.
71283         * string/strcpy.c (strcpy): Do not use __unbounded.
71284         * sysdeps/generic/frame.h (struct layout): Likewise.
71285         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71286         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71287         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71288         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71289         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71290         (__backtrace): Likewise.
71291         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71292         use __ptrvalue.
71293         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71294         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71295         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71296         Likewise.
71297         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71298         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71299         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71300         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71301         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71302         Do not use __unbounded.
71303         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71304         Rename __unboundedrlimits parameter to rlimits in prototype.
71305         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71306         Do not use __unbounded.
71307         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71308         not use __ptrvalue.
71309         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71310         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71311         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71312         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71313         __ptrvalue or __unbounded.
71314         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71315         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71316         use __unbounded.
71317         (__new_msgctl): Do not use __ptrvalue.
71318         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71319         __unbounded.
71320         (__libc_msgrcv): Do not use __ptrvalue.
71321         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71322         startup_info): Do not use __unbounded.
71323         (__libc_start_main): Likewise.  Rename ubp_* variables and
71324         parameters.  Remove argv definitions conditional on
71325         [__BOUNDED_POINTERS__].
71326         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71327         __ptrvalue.
71328         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71329         use __unbounded.
71330         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71331         or __ptrvalue.
71332         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71333         use __unbounded.
71334         (__new_shmctl): Do not use __ptrvalue.
71335         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71336         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71337         Likewise.
71338         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71339         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71340         (__libc_sigaction): Likewise.
71341         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71342         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71343         Likewise.
71344         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71346 2013-02-13   Ondƙej BĂ­lka  <neleai@seznam.cz>
71348         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71350         * string/mempcpy.c: Implement by calling memcpy.
71352 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71354         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71356         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71357         evaluation.
71359         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71360         values in the mantissa.
71362         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71363         minimize writes to Z.
71364         (sub_magnitudes): Simplify code a bit.
71366 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71368         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71369         from the message.  The linker prefixes all warnings with that already.
71371 2013-02-12  Andreas Schwab  <schwab@suse.de>
71373         [BZ #15078]
71374         * posix/regexec.c (extend_buffers): Add parameter min_len.
71375         (check_matching): Pass minimum needed length.
71376         (clean_state_log_if_needed): Likewise.
71377         (get_subexp): Likewise.
71378         * posix/Makefile (tests): Add bug-regex34.
71379         (bug-regex34-ENV): Define.
71380         * posix/bug-regex34.c: New file.
71382         [BZ #11561]
71383         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71384         elements compare against the byte sequence of it, not its name.
71385         * posix/Makefile (tests): Add bug-regex35.
71386         (bug-regex35-ENV): Define.
71387         * posix/bug-regex35.c: New file.
71389 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71391         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71392         comment.
71393         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71394         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71395         (CHECK_EOL): Add undef.
71397 2013-02-11   Ondƙej BĂ­lka  <neleai@seznam.cz>
71399         * bits/stdlib-bsearch.h: New file.
71400         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71401         * stdlib/stdlib.h: Likewise.
71403 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71405         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71406         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71407         declaration.
71408         * manual/search.texi (Array Search Function): Add missing const in
71409         lfind prototype.
71410         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71411         declaration to use rlim_t.
71412         (Basic Scheduling Functions): Remove erroneous const from
71413         sched_getparam prototype.  Remove erroneous * from
71414         sched_get_priority_max and sched_get_priority_min prototypes.
71415         (Resource Usage): Fix summary @comment on vtimes to refer to
71416         sys/vtimes.h rather than vtimes.h.
71417         Add missing *s in vtimes prototype.
71418         (Limits on Resources): Fix ulimit prototype to return long int.
71419         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71420         prototypes to use long int rather than double.
71421         (BSD Random): Fix initstate and setstate to use char *, not void *.
71422         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71423         prototype to make second argument 'struct aiocb64 *const[]'.
71424         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71425         (Status of AIO Operations): Remove erroneous const in aio_return and
71426         aio_return64 prototypes.
71427         (Synchronizing I/O): Fix sync prototype to return void.
71428         * manual/startup.texi (Suboptions): Remove an erroneous const in
71429         getsubopt prototype.
71430         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71431         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71432         use size_t rather than int.
71433         (Scanning All Users): Likewise for getpwent_r.
71434         (Setting Groups): Add missing const to setgroups prototype.
71435         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71436         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71437         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71438         'const void *' rather than 'const char *'.
71439         (Host Address Functions): Likewise for inet_ntop.
71440         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71441         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71442         ssize_t for return value.
71443         (Sending Data): Likewise for send, sendto, sendmsg.
71444         (Socket Option Functions): Add a missing const in setsockopt prototype.
71445         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71446         use wchar_t for the argument.
71447         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71448         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71449         take no arguments.
71450         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71451         double/float/long double for second argument.
71452         Fix return types of significand, significandf, significandl.
71453         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71454         argument in fchmod prototype.
71455         (File Owner): Use uid_t and gid_t in fchown prototype.
71456         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71457         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71458         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71459         use 'const struct dirent **' as argument types to CMP function pointer
71460         argument.
71461         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71462         (File Times): Fix summary magic @comment for struct utimbuf and utime
71463         to refer to utime.h, not time.h.
71464         * manual/string.texi (Argz Functions): Add missing const in
71465         argz_extract and argz_next prototypes.
71466         (Finding Tokens in a String): Likewise for basename.
71467         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71468         (Copying and Concatenation): Fix typo in wmemmove prototype.
71469         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71470         (Signal Stack): Remove erroneous const in sigstack prototype.
71471         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71472         prototype.
71473         (Simple Calendar Time): Likewise for stime.
71474         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71475         prototype.
71476         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71477         say sys/sysctl.h instead.
71478         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71479         and vsyslog prototypes.
71481 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71483         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71484         Remove.
71486 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71488         * misc/sys/mman.h: Fix typo in mremap comment.
71490 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71492         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71493         the '\0' terminator.
71495 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71497         [BZ #13550]
71498         * debug/segfault.c: Don't include <bp-checks.h>.
71499         * sysdeps/generic/bp-checks.h: Remove file.
71500         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71501         (__GETDENTS): Don't use CHECK_N.
71502         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71503         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71504         (__getgroups): Don't use CHECK_N.
71505         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71506         (setgroups): Don't use CHECK_N.
71507         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71508         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71509         (__libc_msgrcv): Don't use CHECK_N.
71510         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71511         (__libc_msgsnd): Don't use CHECK_N.
71512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71513         <bp-checks.h>.
71514         (__libc_pread): Don't use CHECK_N.
71515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71516         include <bp-checks.h>.
71517         (__libc_pread64): Don't use CHECK_N.
71518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71519         include <bp-checks.h>.
71520         (__libc_pwrite): Don't use CHECK_N.
71521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71522         include <bp-checks.h>.
71523         (__libc_pwrite64): Don't use CHECK_N.
71524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71525         <bp-checks.h>.
71526         (__libc_pread): Don't use CHECK_N.
71527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71528         include <bp-checks.h>.
71529         (__libc_pread64): Don't use CHECK_N.
71530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71531         include <bp-checks.h>.
71532         (__libc_pwrite): Don't use CHECK_N.
71533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71534         include <bp-checks.h>.
71535         (__libc_pwrite64): Don't use CHECK_N.
71536         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71537         (do_pread): Don't use CHECK_N.
71538         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71539         (do_pread64): Don't use CHECK_N.
71540         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71541         (do_pwrite): Don't use CHECK_N.
71542         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71543         (do_pwrite64): Don't use CHECK_N.
71544         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71545         (__libc_readv): Don't use CHECK_N.
71546         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71547         (semop): Don't use CHECK_N.
71548         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71549         <bp-checks.h>.
71550         (semtimedop): Don't use CHECK_N.
71551         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71552         (__libc_pread): Don't use CHECK_N.
71553         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71554         <bp-checks.h>.
71555         (__libc_pread64): Don't use CHECK_N.
71556         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71557         <bp-checks.h>.
71558         (__libc_pwrite): Don't use CHECK_N.
71559         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71560         <bp-checks.h>.
71561         (__libc_pwrite64): Don't use CHECK_N.
71562         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71563         <bp-checks.h>.
71564         (__libc_msgrcv): Don't use CHECK_N.
71565         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71566         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71567         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71568         (__libc_writev): Don't use CHECK_N.
71570 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71572         * string/strcpy.c: Removed unused variable.
71574         * Makeconfig (+sysdep-includes): Define with := rather than =.
71575         Use an existing include/ subdir of each sysdeps dir before it.
71577 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71579         * nscd/connection.c (register_traced_file): Comment function.
71580         [HAVE_INOTIFY] (union __inev): Define.
71581         [HAVE_INOTIFY] (inotify_check_files): New function.
71582         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71583         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71584         clear_db_cache.
71585         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71587 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71589         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71590         loaded if not already and that a failure is permanent.
71592 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71594         [BZ #15006]
71595         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71596         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71598 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71600         [BZ #13550]
71601         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71602         (CHECK_1_NULL_OK): Likewise.
71603         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71604         (__fxstat): Do not use CHECK_1.
71605         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71606         <bp-checks.h>.
71607         (___fxstat64): Do not use CHECK_1.
71608         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71609         <bp-checks.h>.
71610         (__fxstatat): Do not use CHECK_1.
71611         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71612         <bp-checks.h>.
71613         (__fxstatat64): Do not use CHECK_1.
71614         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71615         <bp-checks.h>.
71616         (__fxstat): Do not use CHECK_1.
71617         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71618         <bp-checks.h>.
71619         (__fxstatat): Do not use CHECK_1.
71620         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71621         <bp-checks.h>.
71622         (__getresgid): Do not use CHECK_1.
71623         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71624         <bp-checks.h>.
71625         (__getresuid): Do not use CHECK_1.
71626         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71627         <bp-checks.h>.
71628         (__lxstat): Do not use CHECK_1.
71629         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71630         <bp-checks.h>.
71631         (__old_msgctl): Do not use CHECK_1.
71632         (__new_msgctl): Likewise.
71633         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71634         <bp-checks.h>.
71635         (__new_setrlimit): Do not use CHECK_1.
71636         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71637         <bp-checks.h>.
71638         (__old_shmctl): Do not use CHECK_1.
71639         (__new_shmctl): Likewise.
71640         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71641         <bp-checks.h>.
71642         (__xstat): Do not use CHECK_1.
71643         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71644         (__lxstat): Do not use CHECK_1.
71645         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71646         <bp-checks.h>.
71647         (___lxstat64): Do not use CHECK_1.
71648         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71649         (__old_msgctl): Do not use CHECK_1.
71650         (__new_msgctl): Likewise.
71651         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71652         <bp-checks.h>.
71653         (__gettimeofday): Do not use CHECK_1.
71654         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71655         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71656         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71657         <bp-checks.h>.
71658         (__gettimeofday): Do not use CHECK_1.
71659         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71660         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71661         (__new_shmctl): Do not use CHECK_1.
71662         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71663         <bp-checks.h>.
71664         (do_sigtimedwait): Do not use CHECK_1.
71665         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71666         <bp-checks.h>.
71667         (do_sigwaitinfo): Do not use CHECK_1.
71668         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71669         <bp-checks.h>.
71670         (msgctl): Do not use CHECK_1.
71671         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71672         <bp-checks.h>.
71673         (shmctl): Do not use CHECK_1.
71674         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71675         (ustat): Do not use CHECK_1.
71676         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71677         <bp-checks.h>.
71678         (__fxstat): Do not use CHECK_1.
71679         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71680         <bp-checks.h>.
71681         (__fxstatat): Do not use CHECK_1.
71682         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71683         <bp-checks.h>.
71684         (__lxstat): Do not use CHECK_1.
71685         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71686         <bp-checks.h>.
71687         (__xstat): Do not use CHECK_1.
71688         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71689         (__xstat): Do not use CHECK_1.
71690         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71691         (___xstat64): Do not use CHECK_1.
71693         [BZ #13550]
71694         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71695         definitions.
71696         (CHECK_BOUNDS_HIGH): Likewise.
71697         * string/strcpy.c: Do not include <bp-checks.h>.
71698         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71700 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71702         * nscd/nscd-client.h (__nscd_drop_map_ref):
71703         Add __attribute__ ((unused)).
71704         * nis/nss-nisplus.h (niserr2nss): Likewise.
71706         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71707         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71709         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71710         Remove inline keyword.
71711         * include/rounding-mode.h (round_away): Likewise.
71712         * libio/wfileops.c (adjust_wide_data): Likewise.
71713         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71714         (__m128i_strloadu_tolower): Likewise.
71715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71716         (__m128i_strloadu_tolower): Likewise.
71717         * time/mktime.c (ydhms_diff): Likewise.
71718         * locale/elem-hash.h (elem_hash): Likewise.
71719         * locale/setlocale.c (setdata): Likewise.
71720         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71721         (re_string_wchar_at): Likewise.
71722         (bitset_not, bitset_merge, bitset_mask): Likewise.
71723         [!(__GNUC__ > 3)] (inline): Remove macro.
71724         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71725         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71726         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71727         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71728         * string/memcmp.c (memcmp_bytes): Likewise.
71729         * locale/programs/locarchive.c (compute_hashval): Likewise.
71730         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71731         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71732         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71733         * nss/getent.c (print_rpc, print_protocols): Likewise.
71734         (print_passwd, print_group, print_aliases): Likewise.
71735         * nis/nss-nisplus.h (niserr2nss): Likewise.
71736         * nscd/connections.c (restart_p): Likewise.
71737         Change return type to bool.
71739 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71741         * Makeconfig (all-Depend-files): Add existing
71742         $(sorted-subdirs:=/Depend) files.
71743         (all-subdirs): Remove nss.
71744         * sysdeps/unix/inet/Subdirs: Add it here instead.
71745         * hesiod/Depend: New file.
71747         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71748         instead of calling alloca.
71750         * io/lseek.c (__lseek): Rename to __libc_lseek.
71751         Define __lseek as an alias.
71753         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71755 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71757         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71758         else clause and remove check for non-standard endianness.
71760 2013-02-04  David S. Miller  <davem@davemloft.net>
71762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71764 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71766         [BZ #13550]
71767         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71768         (__ubp_memchr): Remove prototype.
71769         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71770         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71771         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71772         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71773         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71774         Remove alias.
71775         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71776         (__ubp_memchr): Likewise.
71777         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71778         (__ubp_memchr): Likewise.
71779         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71780         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71781         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71782         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71783         CHECK_STRING.
71784         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71785         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71786         (__getcwd): Do not use CHECK_STRING.
71787         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71788         <bp-checks.h>.
71789         (__real_chown): Do not use CHECK_STRING.
71790         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71791         <bp-checks.h>.
71792         (fchownat): Do not use CHECK_STRING.
71793         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71794         CHECK_STRING.
71795         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71796         <bp-checks.h>.
71797         (__lchown): Do not use CHECK_STRING.
71798         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71799         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71800         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71801         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71803         include <bp-checks.h>.
71804         (truncate64): Do not use CHECK_STRING.
71805         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71806         <bp-checks.h>.
71807         (__real_chown): Do not use CHECK_STRING.
71808         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71809         <bp-checks.h>.
71810         (__lchown): Do not use CHECK_STRING.
71811         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71812         <bp-checks.h>.
71813         (__chown): Do not use CHECK_STRING.
71814         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71815         <bp-checks.h>.
71816         (truncate64): Do not use CHECK_STRING.
71817         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71818         Likewise.
71819         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71820         (__xmknod): Do not use CHECK_STRING.
71821         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71822         <bp-checks.h>.
71823         (__xmknodat): Do not use CHECK_STRING.
71824         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71825         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71827 2013-02-04  Andreas Schwab  <schwab@suse.de>
71829         [BZ #14142]
71830         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71831         * include/netdb.h: Likewise for h_errno.
71832         * elf/tst-stackguard1.c: Include <tls.h>.
71834 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71836         * elf/link.h (struct link_map): Extend the l_addr comment.
71837         * include/link.h (struct link_map): Likewise.
71839 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71841         [BZ #13550]
71842         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71843         (BOUNDED_1): Remove macro.
71844         * debug/backtrace.c: Don't include <bp-checks.h>.
71845         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71846         (__backtrace): Likewise.
71847         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71848         <bp-checks.h>.
71849         (__backtrace): Don't use BOUNDED_1.
71850         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71851         <bp-checks.h>.
71852         (__backtrace): Don't use BOUNDED_1.
71853         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71854         (__backtrace): Don't use BOUNDED_1.
71855         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71856         (shmat): Don't use BOUNDED_N.
71858 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71860         [BZ #13550]
71861         * sysdeps/generic/bp-start.h: Remove file.
71862         * csu/libc-start.c: Don't include <bp-start.h>.
71863         (LIBC_START_MAIN): Set up __environ directly instead of using
71864         INIT_ARGV_and_ENVIRON.
71865         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71866         <bp-start.h>.
71868         [BZ #13550]
71869         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71870         definitions.
71871         (CHECK_FCNTL): Likewise.
71872         (CHECK_N_PAGES): Likewise.
71874         [BZ #13550]
71875         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71876         definitions.
71877         (CHECK_SIGSET_NULL_OK): Likewise.
71878         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71879         <bp-checks.h>.
71880         (sigpending): Don't use CHECK_SIGSET.
71881         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71882         <bp-checks.h>.
71883         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71884         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71885         <bp-checks.h>.
71886         (do_sigsuspend): Don't use CHECK_SIGSET.
71887         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71888         use CHECK_SIGSET.
71889         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71890         (do_sigwait): Don't use CHECK_SIGSET.
71891         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71892         use CHECK_SIGSET.
71893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71894         include <bp-checks.h>.
71895         (sigpending): Don't use CHECK_SIGSET.
71896         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71897         include <bp-checks.h>.
71898         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71899         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71900         <bp-checks.h>.
71901         (sigpending): Don't use CHECK_SIGSET.
71902         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71903         <bp-checks.h>.
71904         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71906         [BZ #13550]
71907         * sysdeps/generic/bp-semctl.h: Remove file.
71908         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71909         <bp-checks.h> and <bp-semctl.h>.
71910         (__old_semctl): Don't use CHECK_SEMCTL.
71911         (__new_semctl): Likewise.
71912         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71913         and <bp-semctl.h>.
71914         (__old_semctl): Don't use CHECK_SEMCTL.
71915         (__new_semctl): Likewise.
71916         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71917         <bp-checks.h> and <bp-semctl.h>.
71918         (__old_semctl): Don't use CHECK_SEMCTL.
71919         (__new_semctl): Likewise.
71920         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71921         <bp-checks.h> and <bp-semctl.h>.
71922         (semctl): Don't use CHECK_SEMCTL.
71924         [BZ #13550]
71925         * Makerules (elide-bp-thunks): Remove variable.
71926         (elide-routines.oS): Don't use $(elide-bp-thunks).
71927         (elide-routines.os): Likewise.
71928         (elide-routines.o): Likewise.
71929         (elide-routines.op): Likewise.
71930         (elide-routines.og): Likewise.
71931         (objects): Don't use $(bp-thunks).
71932         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71933         include.
71934         (common-generated): Do not add s-proto-bp.d.
71935         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71936         (int): Likewise.
71937         (typ): Likewise.
71938         Do not generate makefile rules for bounded-pointer thunks.
71939         * sysdeps/generic/bp-thunks.h: Remove file.
71940         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71941         * sysdeps/unix/s-proto-bp.S: Likewise.
71943         [BZ #15062]
71944         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71945         parts of result separately when argument is not close to line from
71946         -i to i and one part of argument is small.
71947         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71948         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71949         * math/libm-test.inc (cacos_test): Add more tests.
71950         (casin_test): Likewise.
71951         (casinh_test): Likewise.
71952         * sysdeps/i386/fpu/libm-test-ulps: Update.
71953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71955 2013-01-31  David S. Miller  <davem@davemloft.net>
71957         * po/de.po: Update from translation team.
71959 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71961         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71963 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71965         * configure.in (_AC_PROG_CC_C89): New definition.
71966         * configure: Regenerate.
71968         * configure.in (AC_PROG_CPP): New definition.
71969         * configure: Regenerate.
71971 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71973         * debug/tst-backtrace.h: New file.
71974         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71975         (ret): Remove variable.
71976         (x): Likewise.
71977         (FAIL): Remove macro.
71978         (NO_INLINE): Likewise.
71979         (fn1): Use match function instead of strstr.
71980         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71981         (ret): Remove variable.
71982         (x): Likewise.
71983         (FAIL): Remove macro.
71984         (NO_INLINE): Likewise.
71985         (fn): Use match function instead of strstr.
71986         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71987         (ret): Remove variable.
71988         (x): Likewise.
71989         (FAIL): Remove macro.
71990         (NO_INLINE): Likewise.
71991         (handle_signal): Use match function instead of strstr.
71992         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71993         (ret): Remove variable.
71994         (x): Likewise.
71995         (FAIL): Remove macro.
71996         (NO_INLINE): Likewise.
71997         (handle_signal): Use match function instead of strstr.
71999 2013-01-23  Roland McGrath  <roland@hack.frob.com>
72001         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72003 2013-01-23  David S. Miller  <davem@davemloft.net>
72005         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72006         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72007         argument of CAS if possible.
72008         * sysdeps/sparc/sparc64/bits/atomic.h
72009         (__arch_compare_and_exchange_val_32_acq): Likewise.
72010         (__arch_compare_and_exchange_val_64_acq): Likewise.
72012 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
72014         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72015         * sysdeps/posix/ulimit.c: ... this.
72016         Include <limits.h>.
72017         * sysdeps/unix/bsd/ulimit.c: Remove file.
72019 2013-01-23  Adam Conrad  <adconrad@0c3.net>
72021         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72022         (LDFLAGS-tst-array5): Likewise.
72024 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72026         [BZ #15036]
72027         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72028         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72029         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72030         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72032 2013-01-21  David S. Miller  <davem@davemloft.net>
72034         * sysdeps/sparc/backtrace.c: New file.
72035         * sysdeps/sparc/sparc32/backtrace.h: New file.
72036         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72037         * sysdeps/sparc/sparc64/backtrace.h: New file.
72038         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72039         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72040         -funwind-tables.
72042 2013-01-21  Andreas Schwab  <schwab@suse.de>
72044         [BZ #15020]
72045         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72046         closed its stdout.
72048 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72050         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72051         "mpa2.h".
72052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72054 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72055             Mark Mitchell  <mark@codesourcery.com>
72056             Tom de Vries  <tom@codesourcery.com>
72057             Paul Pluzhnikov  <ppluzhnikov@google.com>
72059         * debug/tst-backtrace2.c: New file.
72060         * debug/tst-backtrace3.c: Likewise.
72061         * debug/tst-backtrace4.c: Likewise.
72062         * debug/tst-backtrace5.c: Likewise.
72063         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72064         (CFLAGS-tst-backtrace3.c): Likewise.
72065         (CFLAGS-tst-backtrace4.c): Likewise.
72066         (CFLAGS-tst-backtrace5.c): Likewise.
72067         (LDFLAGS-tst-backtrace2): Likewise.
72068         (LDFLAGS-tst-backtrace3): Likewise.
72069         (LDFLAGS-tst-backtrace4): Likewise.
72070         (LDFLAGS-tst-backtrace5): Likewise.
72071         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72072         tst-backtrace4 and tst-backtrace5.
72074 2013-01-18  Anton Blanchard  <anton@samba.org>
72075             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72077         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72078         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72079         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72080         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72082         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72083         "+r" and remove output regs list as redundant.  Add explicit inline
72084         asm to specify register of return val to work around compiler codegen
72085         bug.  Remove (int) cast on return value.  Add return type parameter to
72086         use in macro so that this macro does not truncate return value for
72087         64-bit values.
72088         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72089         pass to INTERNAL_VSYSCALL_NCS.
72090         (INLINE_VSYSCALL): Add 'long int' as return type to
72091         INTERNAL_VSYSCALL_NCS macro invocation.
72092         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72093         INTERNAL_VSYSCALL_NCS macro invocation.
72094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72096 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72098         [BZ #14496]
72099         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72100         Fix application of SIMD FP exception mask.
72102         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72103         mp_no from a power of two.
72104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72105         __mpexp_twomm1.  Use __pow_mp.
72107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72108         multiplication.
72110 2013-01-17  David S. Miller  <davem@davemloft.net>
72112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72114 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72116         [BZ #15023]
72117         * include/complex.h: Condition contents on [!_COMPLEX_H].
72118         (__kernel_casinhf): New prototype.
72119         (__kernel_casinh): Likewise.
72120         (__kernel_casinhl): Likewise.
72121         * math/Makefile (libm_calls): Add k_casinh.
72122         * math/k_casinh.c: New file.
72123         * math/k_casinhf.c: Likewise.
72124         * math/k_casinhl.c: Likewise.
72125         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72126         finite nonzero arguments.
72127         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72128         finite nonzero arguments.
72129         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72130         finite nonzero arguments.
72131         * math/s_casinh.c: Do not include <float.h>.
72132         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72133         * math/s_casinhf.c: Do not include <float.h>.
72134         (__casinhf): Move code for finite nonzero arguments to
72135         k_casinhf.c.
72136         * math/s_casinhl.c: Do not include <float.h>.
72137         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72138         redefine.
72139         (__casinhl): Move code for finite nonzero arguments to
72140         k_casinhl.c.
72141         * math/libm-test.inc (cacos_test): Add more tests.
72142         * sysdeps/i386/fpu/libm-test-ulps: Update.
72143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72145 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72147         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72148         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72149         [!HAVE_MREMAP]: Remove [defined linux] case.
72150         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72152 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72154         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72156 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72158         * elf/elf.h (R_386_SIZE32): New relocation.
72159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72160         R_386_SIZE32.
72161         (elf_machine_rela): Likewise.
72162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72163         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72165 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72167         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72168         (FP_FAST_FMA): Do not define.
72169         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72170         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72171         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72172         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72173         !_SOFT_FLOAT]: Likewise.
72174         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72175         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72176         value.
72177         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72178         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72179         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72180         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72181         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72182         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72183         file.
72185 2013-01-16  Andreas Schwab  <schwab@suse.de>
72187         [BZ #14327]
72188         * include/stdlib.h (__mktemp): Add declaration.
72189         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72190         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72192 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72194         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72195         definitions.
72196         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72197         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72198         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72199         definitions here.
72200         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72201         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72202         definitions.
72203         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72204         and ONE.
72205         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72206         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72207         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72208         definitions.
72209         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72210         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72211         definitions.
72212         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72214         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72216 2013-01-15  David S. Miller  <davem@davemloft.net>
72218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72219         trunc{,f} to libm-sysdep_routes.
72220         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72222         file.
72223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72225         file.
72226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72227         file.
72228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72230         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72231         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72232         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72233         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72234         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72235         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72238         nearbyint{,f} to libm-sysdep_routes.
72239         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72241         New file.
72242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72243         file.
72244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72245         New file.
72246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72247         file.
72248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72250         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72251         file.
72252         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72253         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72254         file.
72255         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72256         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72257         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72259         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72260         libc_feholdexcept and libc_fesetenv.
72262 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72264         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72266 2013-01-14  David S. Miller  <davem@davemloft.net>
72268         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72269         (SPARC_ASM_VIS2_IFUNC): Likewise.
72270         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72272         use of 'siam' instruction.
72273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72274         Likewise.
72275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72276         Likewise.
72277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72278         Likewise.
72279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72284         file.
72285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72286         file.
72287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72288         file.
72289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72290         file.
72291         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72292         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72293         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72294         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72296         new VIS2 routines.
72297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72300         Likewise.
72301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72306         routines to libm-sysdep_routines.
72307         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72310         fdim/fdimf to libm-sysdep_routines.
72311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72312         file.
72313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72315         file.
72316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72319         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72320         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72321         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72322         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72324 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72326         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72327         to optimize copies.
72329         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72334         local variable MPTWO.
72335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72336         Likewise.
72338 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72340         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72341         GLOB_NOESCAPE.
72343 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72345         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72347 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72349         * manual/pattern.texi (glob_t): Document gl_flags.
72350         (glob64_t): Likewise.
72352 2013-01-11  David S. Miller  <davem@davemloft.net>
72354         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72355         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72356         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72357         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72358         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72359         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72360         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72361         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72362         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72363         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72364         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72365         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72366         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72368         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72369         sparc V9 rather than using V8 code.
72370         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72371         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72373         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72374         Move to...
72375         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72376         Here.
72378 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72380         [BZ #14941]
72381         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72382         not in the main loop.
72383         * configure: Regenerated.
72385 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72387         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72388         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72389         to just #else.
72390         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72391         [!__GLIBC_HAVE_LONG_LONG] case.
72392         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72393         condition to just #else.
72394         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72395         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72396         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72397         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72398         unconditional.
72399         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72400         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72401         #elif condition to just #else.
72402         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72403         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72404         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72405         #elif condition to just #else.
72407 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72409         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72410         (EF_MIPS_ARCH_64): Fix value.
72411         (EF_MIPS_ARCH_32R2): New.
72412         (EF_MIPS_ARCH_64R2): New.
72414 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72416         * Makeconfig (+link-pie-before-libc): New.
72417         (+link-pie-after-libc): Likewise.
72418         (+link-pie-tests): Likewise.
72419         (+link-pie): Rewritten.
72420         (link-before-libc): Remove $(config-LDFLAGS).
72421         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72422         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72423         (config-LDFLAGS): Renamed to ...
72424         (rtld-LDFLAGS): This.
72425         (rtld-tests-LDFLAGS): New macro.
72426         (link-libc-rpath-link): Likewise.
72427         (link-libc-tests-rpath-link): Likewise.
72428         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72429         (link-libc): Prepand $(link-libc-rpath-link).
72430         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72431         (test-program-prefix): New macro.
72432         (test-via-rtld-prefix): Likewise.
72433         (test-program-cmd): Likewise.
72434         (host-test-program-cmd): Likewise.
72435         * Makefile ($(common-objpfx)testrun.sh): Replace
72436         $(run-program-prefix) with $(test-program-prefix).
72437         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72438         $(rtld-LDFLAGS).
72439         ($(common-objpfx)shlib.lds): Likewise.
72440         (build-module-helper): Likewise.
72441         ($(common-objpfx)format.lds): Likewise.
72442         * Rules (binaries-pie-tests): New.
72443         (binaries-pie-notests): Likewise.
72444         (binaries-pie): Rewritten.
72445         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72446         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72447         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72448         (make-test-out): Replace $(host-built-program-cmd) with
72449         $(host-test-program-cmd).
72450         * config.make.in (build-hardcoded-path-in-tests): New variable.
72451         * configure.in (--enable-hardcoded-path-in-tests): New configure
72452         option.
72453         (hardcoded_path_in_tests): New AC_SUBST.
72454         * configure: Regenerated.
72455         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72456         $(built-program-cmd) with $(test-program-cmd).
72457         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72458         (test_program_cmd): This.
72459         * elf/Makefile ($(objpfx)order.out): Run test with
72460         $(test-program-prefix).
72461         ($(objpfx)order2.out): Likewise.
72462         ($(objpfx)tst-initorder.out): Likewise.
72463         ($(objpfx)tst-initorder2.out): Likewise.
72464         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72465         $(test-program-cmd).
72466         ($(objpfx)tst-array1-static.out): Likewise.
72467         ($(objpfx)tst-array2.out): Likewise.
72468         ($(objpfx)tst-array3.out): Likewise.
72469         ($(objpfx)tst-array4.out): Likewise.
72470         ($(objpfx)tst-array5.out): Likewise.
72471         ($(objpfx)tst-array5-static.out): Likewise.
72472         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72473         $(test-program-cmd).
72474         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72475         $(run-program-prefix) with $(test-program-prefix).
72476         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72477         (test_program_prefix): This.
72478         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72479         $(run-program-prefix) with $(test-program-prefix).
72480         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72481         (test_program_prefix): This.
72482         * iconvdata/tst-tables.sh: Likewise.
72483         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72484         $(run-program-prefix) with $(test-program-prefix).
72485         ($(objpfx)tst-translit.out): Likewise.
72486         ($(objpfx)tst-gettext2.out): Likewise.
72487         ($(objpfx)tst-gettext4.out): Likewise.
72488         ($(objpfx)tst-gettext6.out): Likewise.
72489         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72490         (test_program_prefix): This.
72491         * intl/tst-gettext2.sh: Likewise.
72492         * intl/tst-gettext4.sh  Likewise.
72493         * intl/tst-gettext6.sh: Likewise.
72494         * intl/tst-translit.sh: Likewise.
72495         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72496         with $(test-program-cmd).
72497         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72498         $(run-program-prefix) with $(test-program-prefix).
72499         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72500         (test_program_prefix): This.
72501         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72502         $(run-program-prefix) with $(test-program-prefix).
72503         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72504         (test_program_prefix): This.
72505         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72506         * posix/Makefile ($(objpfx)globtest.out): Replace
72507         $(run-via-rtld-prefix) and $(test-wrapper) with
72508         $(test-program-prefix) and $(test-via-rtld-prefix).
72509         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72510         $(test-program-prefix).
72511         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72512         $(host-test-program-cmd).
72513         (tst-spawn-ARGS): Likewise.
72514         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72515         $(test-program-prefix).
72516         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72517         (test_via_rtld_prefix): This.
72518         (test_wrapper): Renamed to ...
72519         (test_program_prefix): This.
72520         (run_program_prefix): Replaced by test_program_prefix.
72521         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72522         (test_program_prefix): This.
72523         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72524         with $(host-test-program-cmd).
72525         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72526         $(run-program-prefix) with $(test-program-prefix).
72527         ($(objpfx)tst-printf.out): Likewise.
72528         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72529         $(test-program-cmd).
72530         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72531         (test_program_prefix): This.
72532         * stdio-common/tst-unbputc.sh: Likewise.
72533         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72534         $(run-program-prefix) with $(test-program-prefix).
72535         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72536         (test_program_prefix): This.
72537         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72538         $(built-program-cmd) with $(test-program-cmd).
72540 2013-01-11  Andreas Jaeger  <aj@suse.de>
72542         [BZ #15003]
72543         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72544         value. Sync with Linux 3.7.
72546 2013-01-10  David S. Miller  <davem@davemloft.net>
72548         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72549         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72550         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72552 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72554         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72555         never set.
72556         * configure: Regenerated.
72558 2013-01-10  David S. Miller  <davem@davemloft.net>
72560         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72561         sparc V9 rather than using V8 code.
72562         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72563         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72565 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72567         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72568         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72569         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72570         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72571         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72572         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72573         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72574         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72575         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72576         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72577         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72578         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72579         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72580         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72581         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72582         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72583         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72584         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72585         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72586         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72587         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72588         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72589         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72590         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72591         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72592         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72593         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72595 2013-01-10  David S. Miller  <davem@davemloft.net>
72597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72599 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72601         * posix/Makefile (tests-static): New variable.
72602         (tests): Add $(tests-static).
72603         (tst-exec-static-ARGS): New variable.
72604         (tst-spawn-static-ARGS): Likewise.
72605         * posix/tst-exec-static.c: New file.
72606         * posix/tst-spawn-static.c: Likewise.
72607         * posix/tst-exec.c: Support run directly.
72608         * posix/tst-spawn.c: Likewise.
72610 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72612         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72613         long.
72614         * math/bits/mathcalls.h (llrint): Likewise.
72615         (llround): Likewise.
72616         * stdlib/stdlib.h (struct drand48_data): Likewise.
72617         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72618         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72619         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72620         Likewise.
72621         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72622         Likewise.
72623         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72624         (elf_greg_t): Likewise.
72625         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72626         (__jmp_buf): Likewise.
72627         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72628         definitions.
72629         (llrint): Likewise, for all definitions.
72630         (llrintl): Likewise.
72632         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72633         Remove [__GNUC__] condition.
72634         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72635         condition to just [__USE_ISOC99].
72636         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72638 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72640         [BZ #14200]
72641         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72642         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72643         defined.
72644         (_POSIX_V6_ILP32_OFF32): Likewise.
72645         (_XBS5_ILP32_OFF32): Likewise.
72646         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72647         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72649 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72651         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72653         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72654         doubles __mpexp_twomm1.  Adjust usage.
72655         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72656         Remove.
72658 2013-01-10  Andreas Schwab  <schwab@suse.de>
72660         [BZ #14964]
72661         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72662         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72664 2013-01-09  David S. Miller  <davem@davemloft.net>
72666         [BZ #15003]
72667         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72668         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72669         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72670         (TCP_FASTOPEN): Define.
72671         (tcp_repair_opt): New structure.
72672         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72673         enum values.
72674         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72675         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72676         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72677         (tcp_cookie_transactions): New structure.
72679 2013-01-09  Anton Blanchard  <anton@samba.org>
72681         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72682         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72683         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72684         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72686 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72688         * include/features.h (__USE_ANSI): Remove.
72690 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72692         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72694         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72696 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72698         * sysdeps/s390/fpu/libm-test-ulps: Update.
72700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72702         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72703         (__acr): Likewise.
72704         (__cpy): Likewise.
72705         (norm): Likewise.
72706         (denorm): Likewise.
72707         (__mp_dbl): Likewise.
72708         (__dbl_mp): Likewise.
72709         (add_magnitudes): Likewise.
72710         (sub_magnitudes): Likewise.
72711         (__add): Likewise.
72712         (__sub): Likewise.
72713         (__mul): Likewise.
72714         (__inv): Likewise.
72715         (__dvd): Likewise.
72716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72717         (__acr): Likewise.
72718         (__cpy): Likewise.
72719         (norm): Likewise.
72720         (denorm): Likewise.
72721         (__mp_dbl): Likewise.
72722         (__dbl_mp): Likewise.
72723         (add_magnitudes): Likewise.
72724         (sub_magnitudes): Likewise.
72725         (__add): Likewise.
72726         (__sub): Likewise.
72727         (__mul): Likewise.
72728         (__inv): Likewise.
72729         (__dvd): Likewise.
72730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72731         (__acr): Likewise.
72732         (__cpy): Likewise.
72733         (norm): Likewise.
72734         (denorm): Likewise.
72735         (__mp_dbl): Likewise.
72736         (__dbl_mp): Likewise.
72737         (add_magnitudes): Likewise.
72738         (sub_magnitudes): Likewise.
72739         (__add): Likewise.
72740         (__sub): Likewise.
72741         (__mul): Likewise.
72742         (__inv): Likewise.
72743         (__dvd): Likewise.
72745 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72747         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72748         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72749         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72750         2 && __USE_EXTERN_INLINES]: Likewise.
72752 2013-01-08  Andreas Jaeger  <aj@suse.de>
72754         [BZ #14985]
72755         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72756         Remove.
72757         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72758         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72760 2013-01-07  Anton Blanchard  <anton@samba.org>
72762         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72763         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72764         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72765         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72766         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72767         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72768         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72769         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72771         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72772         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72773         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72774         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72776         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72777         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72778         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72780         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72782         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72783         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72784         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72785         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72786         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72787         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72788         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72789         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72790         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72791         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72792         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72794         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72795         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72796         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72797         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72798         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72799         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72800         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72801         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72802         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72803         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72804         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72806 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72808         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72809         (__MALLOC_PMT): Likewise.
72810         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72811         [__GNUC__], only on [_LIBC].
72812         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72813         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72814         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72815         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72816         forward declaration.
72817         (realloc_hook_ini): Likewise.
72818         (memalign_hook_ini): Likewise.
72819         (__libc_memalign): Do not use __MALLOC_PMT in variable
72820         declaration.
72821         (__libc_valloc): Likewise.
72822         (__libc_pvalloc): Likewise.
72823         (__libc_calloc): Likewise.
72824         (__posix_memalign): Likewise.
72826         [BZ #14996]
72827         * math/s_casinh.c: Include <float.h>.
72828         (__casinh): Do not do computation with squaring and square root
72829         for large arguments.
72830         * math/s_casinhf.c: Include <float.h>.
72831         (__casinhf): Do not do computation with squaring and square root
72832         for large arguments.
72833         * math/s_casinhl.c: Include <float.h>.
72834         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72835         (__casinhl): Do not do computation with squaring and square root
72836         for large arguments.
72837         * math/libm-test.inc (casin_test): Add more tests.
72838         (casinh_test): Likewise.
72839         * sysdeps/i386/fpu/libm-test-ulps: Update.
72840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72842 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72844         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72845         (__x86_64_raw_data_cache_size): Likewise.
72846         (__x86_64_data_cache_size_half): Likewise.
72847         (__x86_64_raw_data_cache_size_half): Likewise.
72848         (__x86_64_shared_cache_size): Likewise.
72849         (__x86_64_raw_shared_cache_size): Likewise.
72850         (__x86_64_shared_cache_size_half): Likewise.
72851         (__x86_64_raw_shared_cache_size_half): Likewise.
72852         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72853         to ...
72854         (__x86_data_cache_size): This.
72855         (__x86_64_raw_data_cache_size): Renamed to ...
72856         (__x86_raw_data_cache_size): This.
72857         (__x86_64_data_cache_size_half): Renamed to ...
72858         (__x86_data_cache_size_half): This.
72859         (__x86_64_raw_data_cache_size_half): Renamed to ...
72860         (__x86_raw_data_cache_size_half): This.
72861         (__x86_64_shared_cache_size): Renamed to ...
72862         (__x86_shared_cache_size): This.
72863         (__x86_64_raw_shared_cache_size): Renamed to ...
72864         (__x86_raw_shared_cache_size): This.
72865         (__x86_64_shared_cache_size_half): Renamed to ...
72866         (__x86_shared_cache_size_half): This.
72867         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72868         (__x86_raw_shared_cache_size_half): This.
72869         * sysdeps/x86_64/memcpy.S: Updated.
72870         * sysdeps/x86_64/memset.S: Likewise.
72871         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72872         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72873         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72875 2013-01-04  David S. Miller  <davem@davemloft.net>
72877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72879 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72881         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72882         1 to avoid redefinition warning.
72883         (__USE_GNU): Don't define.
72884         (init_signaling_nan): Protoize.
72886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72888 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72890         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72891         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72892         (__cpymn): Likewise.
72893         (norm): Remove commented code.
72894         (denorm): Likewise.
72895         (__mp_dbl): Likewise.
72896         (__inv): Likewise.
72897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72898         (__cpymn): Likewise.
72899         (norm): Remove commented code.
72900         (denorm): Likewise.
72901         (__mp_dbl): Likewise.
72902         (__inv): Likewise.
72904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72905         mp_no value for 1.0 and 2.0.
72906         (norm): Use RADIXI instead of radixi.d.
72907         (denorm): Likewise.
72908         (__mul): Use 0.0 instead of zero.d.
72909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72910         mp_no value for 1.0 and 2.0.
72911         (norm): Use RADIXI instead of radixi.d.
72912         (denorm): Likewise.
72913         (__mul): Use 0.0 instead of zero.d.
72915 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72917         [BZ #14994]
72918         * math/s_casinh.c (__casinh): Reduce finite argument to first
72919         quadrant then set signs of results at the end.
72920         * math/s_casinhf.c (__casinhf): Likewise.
72921         * math/s_casinhl.c (__casinhl): Likewise.
72922         * math/libm-test.inc (casin_test): Add more tests.
72923         (casinh_test): Likewise.
72924         * sysdeps/i386/fpu/libm-test-ulps: Update.
72925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72927 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72929         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72931         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72933         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72934         declarations.
72935         (denorm): Likewise.
72936         (__mp_dbl): Likewise.
72937         (__inv): Likewise.
72939         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72940         and adjust the header comment.
72942         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72943         variable name from declaration.
72945 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72948         Initialize COMMON_CPUID_INDEX_7 element.
72949         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72950         (CPUID_RTM): Likewise.
72951         (HAS_RTM): Likewise.
72952         (COMMON_CPUID_INDEX_7): New enum.
72954 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72956         [BZ #14981]
72957         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72958         size is zero, record memory as freed.
72960 2013-01-03  Andreas Jaeger  <aj@suse.de>
72962         * po/ia.po: Add new Interlingua translation.
72964 2012-01-03  Allan McRae  <allan@archlinux.org>
72966         * locale/programs/localedef.c: Fix description of '--posix' flag.
72968 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72970         * NEWS: Update dates in second copyright notice.
72971         * README: Update copyright dates in example.
72972         * manual/libc.texinfo: Update copyright dates.
72973         * scripts/test-installation.pl: Update copyright date in --version
72974         output.
72976         * hurd/ctty-input.c: Fix copyright notice formatting.
72977         * hurd/ctty-output.c: Likewise.
72978         * hurd/dtable.c: Likewise.
72979         * hurd/hurd-raise.c: Likewise.
72980         * hurd/hurdprio.c: Likewise.
72981         * hurd/msgportdemux.c: Likewise.
72982         * misc/sys/file.h: Likewise.
72983         * misc/sys/ioctl.h: Likewise.
72984         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72985         * sysdeps/mach/hurd/chdir.c: Likewise.
72986         * sysdeps/mach/hurd/fchdir.c: Likewise.
72987         * sysdeps/mach/hurd/rename.c: Likewise.
72988         * sysdeps/mach/hurd/rmdir.c: Likewise.
72989         * sysdeps/mach/hurd/seekdir.c: Likewise.
72990         * sysdeps/mach/hurd/setsid.c: Likewise.
72991         * sysdeps/posix/wait3.c: Likewise.
72993         * All files with FSF copyright notices: Update copyright dates
72994         using scripts/update-copyrights.
72995         * intl/plural.c: Regenerated.
72996         * locale/programs/charmap-kw.h: Likewise.
72997         * locale/programs/locfile-kw.h: Likewise.
72999 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
73001         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73002         four values.
73004         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73005         calculation loop and add branch prediction.
73007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73008         check access beyond bounds of m1np.
73010         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73011         MPTWO.
73012         (__inv): Remove local variable MPTWO to use the global
73013         constant.
73014         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73015         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73016         variable MPTWO.
73017         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73018         MP3HALFS static const.
73020 2013-01-01  David S. Miller  <davem@davemloft.net>
73022         * po/ca.po: Update from translation team.
73024 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
73026         * scripts/update-copyrights: New file.
73027         * Makeconfig: Reformat copyright notice.
73028         * ctype/ctype.h: Likewise.
73029         * debug/swprintf_chk.c: Likewise.
73030         * elf/dl-cache.c: Likewise.
73031         * elf/dl-debug.c: Likewise.
73032         * elf/dl-object.c: Likewise.
73033         * grp/initgroups.c: Likewise.
73034         * hurd/Makefile: Likewise.
73035         * hurd/hurd/signal.h: Likewise.
73036         * hurd/hurdfault.c: Likewise.
73037         * hurd/hurdioctl.c: Likewise.
73038         * hurd/hurdlookup.c: Likewise.
73039         * hurd/intr-msg.c: Likewise.
73040         * iconv/gconv_open.c: Likewise.
73041         * libio/swprintf.c: Likewise.
73042         * locale/lc-ctype.c: Likewise.
73043         * locale/nl_langinfo.c: Likewise.
73044         * mach/Machrules: Likewise.
73045         * mach/Makefile: Likewise.
73046         * malloc/obstack.h: Likewise.
73047         * manual/Makefile: Likewise.
73048         * manual/tsort.awk: Likewise.
73049         * misc/bits/stab.def: Likewise.
73050         * nis/nis_print_group_entry.c: Likewise.
73051         * nis/nis_table.c: Likewise.
73052         * nis/nss_compat/compat-pwd.c: Likewise.
73053         * nis/nss_compat/compat-spwd.c: Likewise.
73054         * po/Makefile: Likewise.
73055         * posix/fnmatch.c: Likewise.
73056         * posix/regex.h: Likewise.
73057         * resolv/Makefile: Likewise.
73058         * resolv/nss_dns/dns-network.c: Likewise.
73059         * resolv/res_hconf.c: Likewise.
73060         * scripts/gen-sorted.awk: Likewise.
73061         * soft-fp/soft-fp.h: Likewise.
73062         * stdio-common/printf.h: Likewise.
73063         * stdlib/monetary.h: Likewise.
73064         * stdlib/random.c: Likewise.
73065         * stdlib/random_r.c: Likewise.
73066         * sysdeps/generic/Makefile: Likewise.
73067         * sysdeps/gnu/Makefile: Likewise.
73068         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73075         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73079         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73080         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73081         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73082         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73083         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73084         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73085         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73088         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73089         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73090         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73091         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73092         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73093         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73094         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73095         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73096         * sysdeps/mach/hurd/errnos.awk: Likewise.
73097         * sysdeps/mach/hurd/fork.c: Likewise.
73098         * sysdeps/mach/hurd/getcwd.c: Likewise.
73099         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73100         * sysdeps/mach/hurd/mmap.c: Likewise.
73101         * sysdeps/mach/hurd/utimes.c: Likewise.
73102         * sysdeps/mach/hurd/xmknod.c: Likewise.
73103         * sysdeps/posix/profil.c: Likewise.
73104         * sysdeps/posix/readdir_r.c: Likewise.
73105         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73106         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73107         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73108         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73111         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73112         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73113         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73114         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73115         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73116         * sysdeps/pthread/lio_listio.c: Likewise.
73117         * sysdeps/sparc/dl-procinfo.h: Likewise.
73118         * sysdeps/unix/i386/sysdep.S: Likewise.
73119         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73120         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73121         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73122         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73124         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73125         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73126         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73127         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73128         * sysdeps/wordsize-32/divdi3.c: Likewise.
73129         * time/sys/time.h: Likewise.
73130         * wcsmbs/Makefile: Likewise.
73132 2013-01-01  David S. Miller  <davem@davemloft.net>
73134         * po/fr.po: Update from translation team.
73136         * catgets/gencat.c: Update copyright year.
73137         * csu/version.c: Likewise.
73138         * debug/catchsegv.sh: Likewise.
73139         * debug/pcprofiledump.c: Likewise.
73140         * debug/xtrace.sh: Likewise.
73141         * elf/ldconfig.c: Likewise.
73142         * elf/ldd.bash.in: Likewise.
73143         * elf/pldd.c: Likewise.
73144         * elf/sotruss.ksh: Likewise.
73145         * elf/sprof.c: Likewise.
73146         * iconv/iconv_prog.c: Likewise.
73147         * iconv/iconvconfig.c: Likewise.
73148         * locale/programs/locale.c: Likewise.
73149         * locale/programs/localedef.c: Likewise.
73150         * login/programs/pt_chown.c: Likewise.
73151         * malloc/memusage.sh: Likewise.
73152         * malloc/memusagestat.c: Likewise.
73153         * malloc/mtrace.pl: Likewise.
73154         * nscd/nscd.c: Likewise.
73155         * nss/getent.c: Likewise.
73156         * nss/makedb.c: Likewise.
73157         * posix/getconf.c: Likewise.
73159 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73161         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73162         numbers.
73164 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73166         * math/bits/mathcalls.h (modf): Use __nonnull.
73168 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73170         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73171         (split): Use macro CN instead of the bare value.
73172         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73173         could be used.
73174         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73175         instead of the bare value.
73176         (power1): Likewise.
73178 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73180         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73181         __ATAN_TWOM.
73182         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73184         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73185         their values.
73186         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73187         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73188         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73189         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73191 2012-12-28  Andreas Jaeger  <aj@suse.de>
73193         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73194         values are from Linux 3.7.
73196         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73197         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73199 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73201         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73202         TRUE case.
73204         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73205         (norm): Likewise.
73206         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73207         variables with preprocessor constants.
73208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73209         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73210         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73212 2012-12-27  Bruno Haible  <bruno@clisp.org>
73214         [BZ #14317]
73215         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73216         only if needed.
73218 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73221         and use variable directly.
73222         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73224         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73225         MPONE.
73226         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73228         variable MPONE.
73229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73230         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73231         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73232         include directive.  Remove local variable MPONE.
73233         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73234         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73235         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73237 2012-12-25  David S. Miller  <davem@davemloft.net>
73239         * version.h (RELEASE): Set to "development".
73240         (VERSION): Set to "2.17.90".
73241         * NEWS: Add 2.18 section.
73243 2012-12-21  David S. Miller  <davem@davemloft.net>
73245         * po/hr.po: Update from translation team.
73247 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73249         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73251 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73253         * NEWS:  Mention new memcpy for MIPS.
73255 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73257         * manual/contrib.texi (Contributors): Spelling correction.
73259 2012-12-15  David S. Miller  <davem@davemloft.net>
73261         * po/ru.po: Update from translation team.
73263 2012-12-13  David S. Miller  <davem@davemloft.net>
73265         * NEWS: Mention IFUNC testsuite enhancements.
73267         * po/pl.po: Update from translation team.
73268         * po/bg.po: Likewise.
73270         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73271         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73273 2012-12-11  David S. Miller  <davem@davemloft.net>
73275         * po/sv.po: Update from translation team.
73277         * po/vi.po: Update from translation team.
73279         * po/cs.po: Update from translation team.
73281         * po/de.po: Update from translation team.
73282         * po/eo.po: Likewise.
73283         * po/nl.po: Likewise.
73285 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73287         [BZ #14246]
73288         * manual/argp.texi (Argp Helper Functions): Move node to follow
73289         Argp Parsing State.
73291         [BZ #14872]
73292         * manual/conf.texi (Limits on File System Capacity): Mention if
73293         terminating null is included in the max size.
73295 2012-12-10  Andreas Jaeger  <aj@suse.de>
73297         * po/cs.po: Update from translation team.
73299 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73301         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73302         void pointer and cast to uintptr_t.
73303         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73304         path.
73305         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73306         * sysdeps/s390/s390-64/memset.S: Likewise.
73308 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73310         [BZ #14833]
73311         * menual/message.texi (Message Translation): Fix typos.
73312         (Helper programs for gettext): Likewise.
73314 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73316         [BZ #14898]
73317         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73318         Change to -1.
73320 2012-12-07  David S. Miller  <davem@davemloft.net>
73322         * po/libc.pot: Update.
73324 2012-12-07  Richard Henderson  <rth@redhat.com>
73326         [BZ #10114]
73327         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73328         normal/normal case to before the switch.
73329         (_FP_DIV): Likewise.
73331 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73332             Mike Frysinger  <vapier@gentoo.org>
73334         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73335         check for __NR_fadvise64_64.
73337 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73339         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73340         0, not just to plain "0" as a statement.
73341         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73342         with cw.
73344 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73346         * NEWS: Use sourceware.org in Bugzilla URL.
73348 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73351         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73353         * stdio-common/tst-put-error.c (do_test): Add newline to the
73354         padded test to ensure flush.
73356 2012-12-05  Jeff Law  <law@redhat.com>
73358         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73360 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73362         * README: Don't refer to ports add-on as distributed separately.
73363         Mention AArch64 in list of systems supported in the ports add-on.
73365         * LICENSES: Add more non-FSF copyright and license notices.
73367         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73368         ((unused)).
73370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73372         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73373         10000 as width of padded output.
73375 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73377         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73379         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73380         variable LX with __attribute__ ((unused)).
73381         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73382         Likewise.
73383         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73385         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73386         with __attribute__ ((unused)).
73388 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73390         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73392 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73394         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73395         (CFLAGS-nldbl-acos.c): New variable.
73396         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73397         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73398         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73399         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73400         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73401         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73402         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73403         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73404         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73405         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73406         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73407         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73408         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73409         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73410         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73411         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73412         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73413         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73414         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73415         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73416         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73417         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73418         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73419         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73420         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73421         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73422         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73423         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73424         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73425         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73426         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73427         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73428         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73429         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73430         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73431         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73432         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73433         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73434         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73435         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73436         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73437         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73438         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73439         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73440         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73441         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73442         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73443         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73444         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73445         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73446         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73447         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73448         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73449         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73450         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73451         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73452         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73453         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73454         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73455         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73456         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73457         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73458         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73459         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73460         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73461         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73462         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73463         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73464         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73465         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73466         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73467         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73468         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73469         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73470         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73471         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73472         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73473         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73474         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73475         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73476         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73477         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73478         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73479         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73480         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73481         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73482         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73483         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73484         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73485         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73486         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73487         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73488         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73489         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73490         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73491         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73492         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73495         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73497         [BZ #14914]
73498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73499         whole low double instead of just low 47 bits when splitting values
73500         into two parts.
73502 2012-12-03  Allan McRae  <allan@archlinux.org>
73504         * manual/stdio.texi (Predefined Printf Handlers): Remove
73505         @hsep and @vsep usage.
73507 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73509         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73510         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73512 2012-12-03  Jeff Law  <law@redhat.com>
73514         * time/sys/time.h (settimeofday): Do not mark TV argument
73515         as __nonnull.
73517 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73519         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73520         when currently writing and seek to current position when not.
73521         * libio/Makefile (tests): Remove bug-fclose1.
73522         * libio/bug-fclose1.c: Delete.
73524 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73526         * manual/arith.texi (feenableexcept): Fix typo.
73527         (fedisableexcept): Likewise.
73529 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73531         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73532         second, differently-typed declaration, rather than a cast.
73534 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73536         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73537         * include/rpc/svc.h: ... here.
73539 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73541         [BZ #13013]
73542         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73543         depending n and resplen2 to catch cases where answer
73544         equals answerp2.
73546 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73548         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73549         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73551 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73553         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73555 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73557         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73559 2012-11-28  Jeff Law  <law@redhat.com>
73561         [BZ #13761]
73562         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73563         dataset_temporary.  Track alloca usage into alloca_used.
73564         If dataset is large allocate and release it via malloc/free.
73566 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73568         [BZ #14197]
73569         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73571 2012-11-28  David S. Miller  <davem@davemloft.net>
73573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73575 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73577         [BZ #14803]
73578         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73579         of pi/2 rounded to nearest to 64 bits.
73580         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73581         nearest to 64 bits.
73582         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73583         bits.
73585 2012-11-28  Jeff Law <law@redhat.com>
73586             Martin Osvald <mosvald@redhat.com>
73588         [BZ #14889]
73589         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73590         * sunrpc/svc.c: Include time.h.
73591         (__svc_accept_failed): New function.
73592         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73593         any reason other than EINTR, call __svc_accept_failed.
73594         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73595         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73597 2012-11-28  Andreas Schwab  <schwab@suse.de>
73599         * scripts/abilist.awk: Also handle indirect functions in .opd
73600         section.
73602 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73604         [BZ #13881]
73605         * sysdeps/x86/fpu/powl_helper.c: New file.
73606         * sysdeps/x86/fpu/Makefile: Likewise.
73607         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73608         (p3): New object.
73609         (__ieee754_powl): Use __powl_helper for finite arguments except
73610         integer exponents below 8.
73611         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73612         (p3): New object.
73613         (__ieee754_powl): Use __powl_helper for finite arguments except
73614         integer exponents below 8.
73615         * math/libm-test.inc (pow_test): Add more tests and enable some
73616         previously disabled tests.
73617         * sysdeps/i386/fpu/libm-test-ulps: Update.
73618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73620 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73621             Carlos O'Donell  <carlos_odonell@mentor.com>
73623         * nss/makedb.c (is_prime): Assert that input is odd and greater
73624         than 4.  Note that fact in a comment too.
73625         (next_prime): Add 4 to input.
73627 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73629         [BZ #11741]
73630         * libio/Makefile (tests): Add test case tst-fwrite-error.
73631         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73632         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73633         * libio/tst-fwrite-error.c: New test case.
73635 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73637         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73638         before casting to void *.
73639         * include/libc-internal.h (__pointer_type): New macro.
73640         (__integer_if_pointer_type_sub): Likewise.
73641         (__integer_if_pointer_type): Likewise.
73642         (cast_to_integer): Likewise.
73643         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73644         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73645         before casting to atomic64_t.
73646         (atomic_exchange_acq): Likewise.
73647         (__arch_exchange_and_add_body): Likewise.
73648         (__arch_add_body): Likewise.
73649         (atomic_add_negative): Likewise.
73650         (atomic_add_zero): Likewise.
73652 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73654         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73655         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73656         (add_fdes): Likewise.
73657         (linear_search_fdes): Likewise.
73658         (binary_search_unencoded_fdes): Likewise.
73660 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73662         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73664 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73666         * configure.in: Autodetect C++ header directories.
73667         * configure: Regenerated.
73669 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73671         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73673 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73677 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73679         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73680         LDBL_MANT_DIG == 106]: Disable some tests.
73681         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73682         Likewise.
73683         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73684         Likewise.
73686         [BZ #14871]
73687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73688         input for small inputs.  Return +/- pi/2 for large inputs.
73689         * math/libm-test.inc (atan_test): Add more tests.
73691         * sysdeps/generic/unwind-dw2-fde-glibc.c
73692         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73693         __attribute__ ((unused)).
73695         [BZ #14645]
73696         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73697         x * y if x and y are nonzero and z is zero.
73699         [BZ #14811]
73700         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73701         nonzero exponents with absolute value below 0x1p-117 to +/-
73702         0x1p-117.
73704         [BZ #14869]
73705         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73706         up arguments below 2**-450, not just those below 2**-500.
73707         * math/libm-test.inc (hypot_test): Add another test.
73709         [BZ #14868]
73710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73711         Return a+b for ratio over 2**120, not 2**60.
73712         * math/libm-test.inc (hypot_test): Add another test.
73714         * math/libm-test.inc (clog_test): Use
73715         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73716         (clog10_test): Likewise.
73718         [BZ #6778]
73719         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73721 2012-11-22  Andreas Schwab  <schwab@suse.de>
73723         * sysdeps/i386/fpu/libm-test-ulps: Update.
73725 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73727         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73728         printf output with newline.
73730 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73732         [BZ #14865]
73733         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73734         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73735         -z nodlopen, -z initfirst and -z execstack support.
73736         * configure: Regenerated.
73738         * elf/elf.h (DF_1_NODIRECT): New macro.
73739         (DF_1_IGNMULDEF): Likewise.
73740         (DF_1_NOKSYMS): Likewise.
73741         (DF_1_NOHDR): Likewise.
73742         (DF_1_EDITED): Likewise.
73743         (DF_1_NORELOC): Likewise.
73744         (DF_1_SYMINTPOSE): Likewise.
73745         (DF_1_GLOBAUDIT): Likewise.
73746         (DF_1_SINGLETON): Likewise.
73747         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73748         DT_1_SUPPORTED_MASK bits.
73749         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73751 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73753         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73755 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73757         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73758         macro.
73760         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73761         (sendmmsg): Move declarations...
73762         * socket/sys/socket.h: ... here.
73763         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73764         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73765         include it from...
73766         * socket/recvmmsg.c: ... this new file.
73767         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73768         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73769         definition of __sendmmsg hidden.
73770         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73771         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73772         Move ENOSYS stub into and include it from...
73773         * socket/sendmmsg.c: ... this new file.
73774         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73775         (sysdep_routines): Move recvmmsg and sendmmsg...
73776         * socket/Makefile (routines): ... here.
73777         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73778         (GLIBC_PRIVATE): Add __sendmmsg.
73779         * include/sys/socket.h (__sendmmsg): Add declarations.
73780         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73781         sendmmsg.
73783 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73785         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73786         variable I1 with __attribute__ ((unused)).
73787         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73789 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73791         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73792         DUMMY variables with __attribute__ ((unused)).
73794         * bits/byteswap.h: Include <bits/types.h>.
73795         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73797 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73799         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73800         string_t.  Do not manually set errno.
73801         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73802         length with __strnlen.  Make sure to both set errno and return it on
73803         failure.
73805 2012-11-19  David S. Miller  <davem@davemloft.net>
73807         With help from Joseph Myers.
73808         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73809         very large arguments properly.
73810         * math/libm-test.inc (atan_test): New tests.
73811         (atan2_test): New tests.
73812         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73815 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73817         [BZ #14856]
73818         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73819         Define to 3.
73821         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73822         [POSIX] (EADDRNOTAVAIL): Likewise.
73823         [POSIX] (EAFNOSUPPORT): Likewise.
73824         [POSIX] (EALREADY): Likewise.
73825         [POSIX] (ECONNABORTED): Likewise.
73826         [POSIX] (ECONNREFUSED): Likewise.
73827         [POSIX] (ECONNRESET): Likewise.
73828         [POSIX] (EDESTADDRREQ): Likewise.
73829         [POSIX] (EDQUOT): Likewise.
73830         [POSIX] (EHOSTUNREACH): Likewise.
73831         [POSIX] (EIDRM): Likewise.
73832         [POSIX] (EISCONN): Likewise.
73833         [POSIX] (ELOOP): Likewise.
73834         [POSIX] (EMULTIHOP): Likewise.
73835         [POSIX] (ENETDOWN): Likewise.
73836         [POSIX] (ENETUNREACH): Likewise.
73837         [POSIX] (ENOBUFS): Likewise.
73838         [POSIX] (ENODATA): Likewise.
73839         [POSIX] (ENOLINK): Likewise.
73840         [POSIX] (ENOMSG): Likewise.
73841         [POSIX] (ENOPROTOOPT): Likewise.
73842         [POSIX] (ENOSR): Likewise.
73843         [POSIX] (ENOSTR): Likewise.
73844         [POSIX] (ENOTCONN): Likewise.
73845         [POSIX] (ENOTSOCK): Likewise.
73846         [POSIX] (EOPNOTSUPP): Likewise.
73847         [POSIX] (EOVERFLOW): Likewise.
73848         [POSIX] (EPROTO): Likewise.
73849         [POSIX] (EPROTONOSUPPORT): Likewise.
73850         [POSIX] (EPROTOTYPE): Likewise.
73851         [POSIX] (ESTALE): Likewise.
73852         [POSIX] (ETIME): Likewise.
73853         [POSIX] (ETXTBSY): Likewise.
73854         [POSIX] (EWOULDBLOCK): Likewise.
73855         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73856         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73857         [POSIX] (SEEK_CUR): Likewise.
73858         [POSIX] (SEEK_END): Likewise.
73859         [POSIX || UNIX98] (mode_t): Do not require.
73860         [POSIX] (off_t): Likewise.
73861         [POSIX] (pid_t): Likewise.
73862         [POSIX] (sys/stat.h): Do not allow header.
73863         [POSIX] (unistd.h): Likewise.
73864         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73865         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73866         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73867         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73868         require.
73869         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73870         sigevent): Specify elements.
73871         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73872         entry.
73873         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73874         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73876         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73877         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73878         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73879         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73880         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73881         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73882         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73883         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73884         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73885         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73886         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73887         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73888         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73889         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73890         Likewise.
73891         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73892         Likewise.
73893         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73894         Likewise.
73895         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73896         Likewise.
73897         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73898         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73899         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73900         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73901         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73902         Specify lower bound on value.
73903         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73904         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73905         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73906         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73907         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73908         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73909         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73910         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73911         value.
73912         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73913         as optional.
73914         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73915         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73916         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73917         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73918         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73919         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73920         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73921         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73922         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73923         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73924         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73925         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73926         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73927         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73928         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73929         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73930         entry.
73931         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73932         optional.
73933         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73934         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73935         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73936         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73937         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73938         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73939         Likewise.
73940         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73941         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73942         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73943         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73944         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73945         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73946         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73947         as optional.
73948         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73949         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73950         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73951         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73952         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73953         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73954         specify as optional.
73955         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73956         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73957         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73958         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73959         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73960         [XPG3] (NL_LANGMAX): Likewise.
73961         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73962         [POSIX || XPG3] (NL_NMAX): Likewise.
73963         [POSIX || XPG3] (NL_SETMAX): Likewise.
73964         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73965         [XPG3] (NZERO): Likewise.
73966         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73967         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73968         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73969         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73970         (REG_ERANGE): Expect.
73971         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73972         optional-constant.
73973         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73974         Use (void) in prototype.
73975         [POSIX] (*_t): Allow.
73976         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73977         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73978         (WRDE_BADVAL): Expect.
73980         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73981         expect.
73982         [XPG3 || XPG4] (O_RSYNC): Likewise.
73983         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73984         Likewise.
73985         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73986         [XPG3 || XPG4] (sigqueue): Likewise.
73987         [XPG3 || XPG4] (sigtimedwait): Likewise.
73988         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73989         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73990         [XPG3 || XPG4] (vsnprintf): Likewise.
73991         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73992         Likewise.
73993         [XPG3 || XPG4] (blksize_t): Likewise.
73994         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73995         Likewise.
73996         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73997         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73998         [XPG3 || XPG4] (struct itimerspec): Likewise.
73999         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74000         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74001         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74002         [XPG3 || XPG4] (clockid_t): Likewise.
74003         [XPG3 || XPG4] (timer_t): Likewise.
74004         [XPG3 || XPG4] (clock_getres): Likewise.
74005         [XPG3 || XPG4] (clock_gettime): Likewise.
74006         [XPG3 || XPG4] (clock_settime): Likewise.
74007         [XPG3 || XPG4] (nanosleep): Likewise.
74008         [XPG3 || XPG4] (timer_create): Likewise.
74009         [XPG3 || XPG4] (timer_delete): Likewise.
74010         [XPG3 || XPG4] (timer_gettime): Likewise.
74011         [XPG3 || XPG4] (timer_getoverrun): Likewise.
74012         [XPG3 || XPG4] (timer_settime): Likewise.
74013         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74014         [XPG3 || XPG4] (getlogin_r): Likewise.
74015         [XPG3 || XPG4] (pread): Likewise.
74016         [XPG3 || XPG4] (pthread_atfork): Likewise.
74017         [XPG3 || XPG4] (pwrite): Likewise.
74019         [BZ #14835]
74020         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74021         <bits/siginfo.h>.
74023 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
74025         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74026         finalizing MALLSTREAM.
74028         * sysdeps/mach/hurd/syncfs.c: New file.
74030 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
74032         [BZ #14719]
74033         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74034         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74035         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74036         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74037         (_nss_dns_gethostbyname4_r): Likewise.
74038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74039         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74041 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74043         [BZ #13763]
74044         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74046 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74048         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74049         * elf/cache.c (print_entry): Print ",AArch64" for
74050         FLAG_AARCH64_LIB64
74052         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74053         * elf/cache.c (print_entry): Print ",hard-float" for
74054         FLAG_ARM_LIBHF.
74056 2012-11-18  David S. Miller  <davem@davemloft.net>
74058         With help from Joseph Myers.
74059         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74060         cutoff to 2**-13.
74061         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74062         cutoff to 2**-25.
74063         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74064         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74065         small.
74066         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74067         * math/libm-test.inc (y0_test): New tests.
74068         (y1_test): New tests.
74069         * sysdeps/i386/fpu/libm-test-ulps: Update.
74070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74073 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74075         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74076         64-bit targets.
74077         * configure: Regenerated.
74079 2012-11-17  David S. Miller  <davem@davemloft.net>
74081         [BZ #14811]
74082         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74083         nonzero exponents with absolute value below 0x1p-128 to +/-
74084         0x1p-128.
74086 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74088         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74090         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74092         * posix/getconf-speclist.c: New file.
74093         * posix/posix-envs.def: Likewise.
74094         * posix/confstr.c (START_ENV_GROUP): New macro.
74095         (END_ENV_GROUP): Likewise.
74096         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74097         (KNOWN_PRESENT_ENV_STRING): Likewise.
74098         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74099         (UNKNOWN_ENVIRONMENT): Likewise.
74100         (confstr): Include posix-envs.def instead of handling
74101         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74102         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74103         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74104         (END_ENV_GROUP): Likewise.
74105         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74106         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74107         (UNKNOWN_ENVIRONMENT): Likewise.
74108         (__sysconf): Include posix-envs.def instead of handling associated
74109         cases directly here.
74110         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74111         preprocessing getconf-speclist.c rather than running getconf or
74112         generating empty file.
74114 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74116         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74118 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74120         [BZ #14672]
74121         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74123 2012-11-16  David S. Miller  <davem@davemloft.net>
74125         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74126         smaller than LDBL_EPSILON/2.0L, just return xm1.
74128 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74130         * elf/tst-array1.c (init): Set constructor priority to 1000.
74131         (fini): Set destructor priority to 1000.
74132         * elf/tst-array2dep.c: Likewise.
74134 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74136         [BZ #11741]
74137         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74138         (_IO_new_file_xsputn): Also return EOF if none of the input
74139         data was written when overflow failed.
74140         * libio/iopadn.c (_IO_padn): Likewise.
74141         * libio/iowpadn.c (_IO_wpadn): Likewise.
74142         * stdio-common/tst-put-error.c: Add copyright notice.
74143         (do_test): Add case for printing padded string.
74144         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74145         _IO_padn returned error.
74146         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74147         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74148         return EOF.
74150 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74152         * libio/libioP.h: Add comment note that the references to C++
74153         bits are now obsolete.
74155 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74157         * math/libm-test.inc (check_complex): Use asprintf.
74159 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74161         * debug/pcprofiledump.c (print_version): Update copyright year.
74162         * malloc/memusagestat.c (print_version): Likewise.
74164 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74166         [BZ #14831]
74167         * elf/Makefile (tests): Add tst-audit8.
74168         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74169         ($(objpfx)tst-audit8.out): New target.
74170         (tst-audit8-ENV): New variable.
74171         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74172         audit if l_reloc_result is NULL.
74173         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74174         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74175         * elf/tst-audit8.c: New file.
74177 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74179         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74180         * misc/Makefile (CFLAGS-select.c): Define.
74181         * posix/Makefile (CFLAGS-pause.c): Define.
74183 2012-11-13  David S. Miller  <davem@davemloft.net>
74185         * crypt/Makefile: Move test targets after toplevel Rules
74186         inclusion.  Grab any necessary sysdep routines when linking.
74187         * crypt/md5.c (md5_process_block): Remove define, we will always
74188         name it __md5_process_block.
74189         (md5_finish_ctx): Update md5_process_block call.
74190         (md5_stream): Likewise.
74191         (md5_process_bytes): Likewise.
74192         (md5_process_block): Rename to __md5_process_block and move to ...
74193         * crypt/md5-block.c: ... here.
74194         * crypt/sha256.c (sha256_process_block): Move to ...
74195         * crypt/sha256-block.c: ... here.
74196         * crypt/sha512.c (sha512_process_block): Move to ...
74197         * crypt/sha512-block.c: ... here.
74198         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74199         path.
74200         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74201         * sysdeps/sparc/sparc64/multiarch/Makefile
74202         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74203         crypt subdir.
74204         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74205         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74206         multiarch changes.
74207         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74208         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74209         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74210         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74211         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74212         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74213         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74214         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74215         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74216         file.
74217         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74218         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74219         file.
74220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74222 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74224         * timezone/tzselect.ksh: Update from tzcode git revision
74225         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74226         * timezone/zdump.c: Likewise.
74227         * timezone/zic.c: Likewise.
74228         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74229         in TZVERSION setting, not $(PKGVERSION).
74230         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74231         REPORT_BUGS_TO settings.
74233         [BZ #14838]
74234         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74235         macro.
74237 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74239         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74240         detection to immediately after _FP_ROUND().
74241         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74242         bits are 0.
74244 2012-11-11  David S. Miller  <davem@davemloft.net>
74246         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74247         inttypes.h
74248         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74249         __close rather than their public counterparts.
74251 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74253         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74254         file.
74255         [UNIX98] (sem_timedwait): Do not expect.
74256         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74257         [XPG4 || UNIX98] (sockatmark): Do not expect.
74258         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74259         (clock_getcpuclockid): Do not expect.
74260         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74261         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74262         Do not expect.
74263         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74264         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74265         [UNIX98] (vwscanf): Likewise.
74266         [UNIX98] (vswscanf): Likewise.
74268 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74270         * timezone/version.h: Remove file.
74271         * timezone/README: Do not refer to version.h.
74272         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74273         $(objpfx)version.h.
74274         ($(objpfx)zdump.o): Likewise.
74275         ($(objpfx)version.h): New target.
74277         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74278         2012i.
74279         * timezone/README: Don't mention modification to tzselect.ksh.
74280         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74281         work on unmodified tzselect.ksh.  Substitute version numbers in
74282         tzselect.ksh.
74284         * Makefile (format-me): Remove.
74285         (INSTALL): Adjust indentation.  Use commands directly instead of
74286         using $(format-me).
74288         * aclocal.m4 (ACX_PKGVERSION): New macro.
74289         (ACX_BUGURL): Likewise.
74290         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74291         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74292         (REPORT_BUGS_TO): Likewise.
74293         * configure: Regenerated.
74294         * config.h.in (PKGVERSION): New macro.
74295         (REPORT_BUGS_TO): Likewise.
74296         * config.make.in (PKGVERSION): New variable.
74297         (PKGVERSION_TEXI): Likewise.
74298         (REPORT_BUGS_TO): Likewise.
74299         (REPORT_BUGS_TEXI): Likewise.
74300         * Makefile (format-me): Use -I$(common-objpfx)manual.
74301         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74302         ($(common-objpfx)manual/%): New target.
74303         (manual/%): Remove target.
74304         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74305         (print_version): Use PKGVERSION.
74306         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74307         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74308         and REPORT_BUGS_TO.
74309         ($(objpfx)xtrace): Likewise.
74310         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74311         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74312         (print_version): Use PKGVERSION.
74313         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74314         (do_version): Use PKGVERSION.
74315         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74316         REPORT_BUGS_TO.
74317         (common-ldd-rewrite): Likewise.
74318         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74319         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74320         (print_version): Use PKGVERSION.
74321         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74322         * elf/pldd.c (argp_program_bug_address): Remove variable.
74323         (more_help): New function.
74324         (argp): Use more_help.
74325         (print_version): Use PKGVERSION.
74326         * elf/sln.c (main): Use PKGVERSION.
74327         (usage): Use REPORT_BUGS_TO.
74328         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74329         (top level): Use PKGVERSION.
74330         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74331         (print_version): Use PKGVERSION.
74332         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74333         (print_version): Use PKGVERSION.
74334         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74335         (print_version): Use PKGVERSION.
74336         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74337         (print_version): Use PKGVERSION.
74338         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74339         (print_version): Use PKGVERSION.
74340         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74341         (print_version): Use PKGVERSION.
74342         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74343         and BUGURL.
74344         ($(objpfx)memusage): Likewise.
74345         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74346         (do_version): Use PKGVERSION.
74347         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74348         (print_version): Use PKGVERSION.
74349         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74350         ($PKGVERSION): New variable.
74351         ($REPORT_BUGS_TO): Likewise.
74352         (usage): Use $REPORT_BUGS_TO.
74353         (top level): Use $PKGVERSION.
74354         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74355         ($(objpfx)pkgvers.texi): New rule.
74356         ($(objpfx)stamp-pkgvers): Likewise.
74357         * manual/install.texi: Include pkgvers.texi.
74358         (--with-pkgversion): Document new configure option.
74359         (--with-bugurl): Likewise.
74360         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74361         than necessarily for this particular distribution.  Use
74362         REPORT_BUGS_TO for where to report bugs.
74363         * INSTALL: Regenerated.
74364         * manual/libc.texinfo: Include pkgvers.texi.
74365         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74366         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74367         (print_version): Use PKGVERSION.
74368         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74369         (print_version): Use PKGVERSION.
74370         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74371         (print_version): Use PKGVERSION.
74372         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74373         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74374         macro.
74375         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74376         (print_version): Use PKGVERSION.
74377         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74378         (print_version): Use PKGVERSION.
74379         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74380         and PKGVERSION.
74382         * timezone/checktab.awk: Update from tzcode 2012i.
74383         * timezone/ialloc.c: Likewise.
74384         * timezone/private.h: Likewise.
74385         * timezone/scheck.c: Likewise.
74386         * timezone/tzfile.h: Likewise.
74387         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74388         (TZVERSION): Hardcode tzcode version number.
74389         * timezone/zdump.c: Update from tzcode 2012i.
74390         * timezone/zic.c: Likewise.
74391         * timezone/version.h: New file.
74392         * timezone/README: Describe version.h.  Update upstream location.
74394         [BZ #14824]
74395         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74396         (mktemp): Enable declaration.
74397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74398         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74400         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74401         Likewise.
74402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74403         Likewise.
74404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74405         Likewise.
74406         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74407         Likewise.
74408         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74409         Likewise.
74410         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74411         Likewise.
74413         [BZ #14821]
74414         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74415         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74416         for copies of such integer values.
74417         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74418         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74420 2012-11-09  Andreas Jaeger  <aj@suse.de>
74422         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74423         definitions and declarations that are provided by
74424         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74426 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74428         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74429         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74430         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74431         definition.
74433 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74435         * elf/elf.h: Update comment before AArch64 relocations.
74437 2012-11-07  David S. Miller  <davem@davemloft.net>
74439         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74440         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74441         (__start_context): Declare.
74442         (__makecontext_ret): Delete.
74443         (__makecontext): Hook up __start_context instead of
74444         __makecontext_ret.
74445         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74446         (sysdep_routines): Add __start_context when in stdlib.
74448 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74450         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74451         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74452         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74453         hardcoded "nm".
74454         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74455         (READELF): New variable.  Use it instead of hardcoded "readelf".
74457 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74459         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74460         * sysdeps/x86/Makefile: Here.
74461         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74462         * sysdeps/x86/tst-xmmymm.sh: This.
74464 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74466         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74467         expectations.
74468         [UNIX98] (pthread_barrier_t): Do not expect.
74469         [UNIX98] (pthread_barrierattr_t): Likewise.
74470         [UNIX98] (pthread_spinlock_t): Likewise.
74471         [UNIX98] (pthread_barrier_destroy): Likewise.
74472         [UNIX98] (pthread_barrier_init): Likewise.
74473         [UNIX98] (pthread_barrier_wait): Likewise.
74474         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74475         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74476         [UNIX98] (pthread_barrierattr_init): Likewise.
74477         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74478         [UNIX98] (pthread_getcpuclockid): Likewise.
74479         [UNIX98] (pthread_mutex_timedlock): Likewise.
74480         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74481         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74482         [UNIX98] (pthread_sigmask): Likewise.
74483         [UNIX98] (pthread_spin_destroy): Likewise.
74484         [UNIX98] (pthread_spin_init): Likewise.
74485         [UNIX98] (pthread_spin_lock): Likewise.
74486         [UNIX98] (pthread_spin_trylock): Likewise.
74487         [UNIX98] (pthread_spin_unlock): Likewise.
74488         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74489         Do not expect.
74490         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74491         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74492         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74493         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74494         [XPG3 || XPG4] (pthread_key_t): Likewise.
74495         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74496         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74497         [XPG3 || XPG4] (pthread_once_t): Likewise.
74498         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74499         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74500         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74501         [XPG3 || XPG4] (pthread_t): Likewise.
74503         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74504         not expect.
74505         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74507         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74508         Change function return type to int.
74510         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74511         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74512         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74513         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74514         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74515         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74516         [!POSIX] (posix_madvise): Likewise.
74517         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74518         && !UNIX98].
74519         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74520         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74521         (mode_t): Likewise.
74522         (posix_mem_offset): Likewise.
74523         (posix_typed_mem_get_info): Likewise.
74524         (posix_typed_mem_open): Likewise.
74526         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74527         Change condition to [XOPEN2K8].
74529         * conform/conformtest.pl: Preprocess allow-header data with -x c
74530         instead of from stdin.
74531         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74532         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74533         [C99-based standards] (cerfc): Likewise.
74534         [C99-based standards] (cexp2): Likewise.
74535         [C99-based standards] (cexpm1): Likewise.
74536         [C99-based standards] (clog10): Likewise.
74537         [C99-based standards] (clog1p): Likewise.
74538         [C99-based standards] (clog2): Likewise.
74539         [C99-based standards] (clgamma): Likewise.
74540         [C99-based standards] (ctgamma): Likewise.
74541         [C99-based standards] (cerff): Likewise.
74542         [C99-based standards] (cerfcf): Likewise.
74543         [C99-based standards] (cexp2f): Likewise.
74544         [C99-based standards] (cexpm1f): Likewise.
74545         [C99-based standards] (clog10f): Likewise.
74546         [C99-based standards] (clog1pf): Likewise.
74547         [C99-based standards] (clog2f): Likewise.
74548         [C99-based standards] (clgammaf): Likewise.
74549         [C99-based standards] (ctgammaf): Likewise.
74550         [C99-based standards] (cerfl): Likewise.
74551         [C99-based standards] (cerfcl): Likewise.
74552         [C99-based standards] (cexp2l): Likewise.
74553         [C99-based standards] (cexpm1l): Likewise.
74554         [C99-based standards] (clog10l): Likewise.
74555         [C99-based standards] (clog1pl): Likewise.
74556         [C99-based standards] (clog2l): Likewise.
74557         [C99-based standards] (clgammal): Likewise.
74558         [C99-based standards] (ctgammal): Likewise.
74559         * conform/data/inttypes.h-data [C99-based standards]: Include
74560         stdint.h-data.  Remove all expectations for stdint.h contents.
74561         [C99-based standards] (PRI*): Do not allow.
74562         [C99-based standards] (SCN*): Likewise.
74563         [C99-based standards] (*_t): Likewise.
74564         [C99-based-standards] (PRId8): Expect macro.
74565         [C99-based-standards] (PRIi8): Likewise.
74566         [C99-based-standards] (PRIo8): Likewise.
74567         [C99-based-standards] (PRIu8): Likewise.
74568         [C99-based-standards] (PRIx8): Likewise.
74569         [C99-based-standards] (PRIX8): Likewise.
74570         [C99-based-standards] (SCNd8): Likewise.
74571         [C99-based-standards] (SCNi8): Likewise.
74572         [C99-based-standards] (SCNo8): Likewise.
74573         [C99-based-standards] (SCNu8): Likewise.
74574         [C99-based-standards] (SCNx8): Likewise.
74575         [C99-based-standards] (PRIdLEAST8): Likewise.
74576         [C99-based-standards] (PRIiLEAST8): Likewise.
74577         [C99-based-standards] (PRIoLEAST8): Likewise.
74578         [C99-based-standards] (PRIuLEAST8): Likewise.
74579         [C99-based-standards] (PRIxLEAST8): Likewise.
74580         [C99-based-standards] (PRIXLEAST8): Likewise.
74581         [C99-based-standards] (SCNdLEAST8): Likewise.
74582         [C99-based-standards] (SCNiLEAST8): Likewise.
74583         [C99-based-standards] (SCNoLEAST8): Likewise.
74584         [C99-based-standards] (SCNuLEAST8): Likewise.
74585         [C99-based-standards] (SCNxLEAST8): Likewise.
74586         [C99-based-standards] (PRIdFAST8): Likewise.
74587         [C99-based-standards] (PRIiFAST8): Likewise.
74588         [C99-based-standards] (PRIoFAST8): Likewise.
74589         [C99-based-standards] (PRIuFAST8): Likewise.
74590         [C99-based-standards] (PRIxFAST8): Likewise.
74591         [C99-based-standards] (PRIXFAST8): Likewise.
74592         [C99-based-standards] (SCNdFAST8): Likewise.
74593         [C99-based-standards] (SCNiFAST8): Likewise.
74594         [C99-based-standards] (SCNoFAST8): Likewise.
74595         [C99-based-standards] (SCNuFAST8): Likewise.
74596         [C99-based-standards] (SCNxFAST8): Likewise.
74597         [C99-based-standards] (PRId16): Likewise.
74598         [C99-based-standards] (PRIi16): Likewise.
74599         [C99-based-standards] (PRIo16): Likewise.
74600         [C99-based-standards] (PRIu16): Likewise.
74601         [C99-based-standards] (PRIx16): Likewise.
74602         [C99-based-standards] (PRIX16): Likewise.
74603         [C99-based-standards] (SCNd16): Likewise.
74604         [C99-based-standards] (SCNi16): Likewise.
74605         [C99-based-standards] (SCNo16): Likewise.
74606         [C99-based-standards] (SCNu16): Likewise.
74607         [C99-based-standards] (SCNx16): Likewise.
74608         [C99-based-standards] (PRIdLEAST16): Likewise.
74609         [C99-based-standards] (PRIiLEAST16): Likewise.
74610         [C99-based-standards] (PRIoLEAST16): Likewise.
74611         [C99-based-standards] (PRIuLEAST16): Likewise.
74612         [C99-based-standards] (PRIxLEAST16): Likewise.
74613         [C99-based-standards] (PRIXLEAST16): Likewise.
74614         [C99-based-standards] (SCNdLEAST16): Likewise.
74615         [C99-based-standards] (SCNiLEAST16): Likewise.
74616         [C99-based-standards] (SCNoLEAST16): Likewise.
74617         [C99-based-standards] (SCNuLEAST16): Likewise.
74618         [C99-based-standards] (SCNxLEAST16): Likewise.
74619         [C99-based-standards] (PRIdFAST16): Likewise.
74620         [C99-based-standards] (PRIiFAST16): Likewise.
74621         [C99-based-standards] (PRIoFAST16): Likewise.
74622         [C99-based-standards] (PRIuFAST16): Likewise.
74623         [C99-based-standards] (PRIxFAST16): Likewise.
74624         [C99-based-standards] (PRIXFAST16): Likewise.
74625         [C99-based-standards] (SCNdFAST16): Likewise.
74626         [C99-based-standards] (SCNiFAST16): Likewise.
74627         [C99-based-standards] (SCNoFAST16): Likewise.
74628         [C99-based-standards] (SCNuFAST16): Likewise.
74629         [C99-based-standards] (SCNxFAST16): Likewise.
74630         [C99-based-standards] (PRId32): Likewise.
74631         [C99-based-standards] (PRIi32): Likewise.
74632         [C99-based-standards] (PRIo32): Likewise.
74633         [C99-based-standards] (PRIu32): Likewise.
74634         [C99-based-standards] (PRIx32): Likewise.
74635         [C99-based-standards] (PRIX32): Likewise.
74636         [C99-based-standards] (SCNd32): Likewise.
74637         [C99-based-standards] (SCNi32): Likewise.
74638         [C99-based-standards] (SCNo32): Likewise.
74639         [C99-based-standards] (SCNu32): Likewise.
74640         [C99-based-standards] (SCNx32): Likewise.
74641         [C99-based-standards] (PRIdLEAST32): Likewise.
74642         [C99-based-standards] (PRIiLEAST32): Likewise.
74643         [C99-based-standards] (PRIoLEAST32): Likewise.
74644         [C99-based-standards] (PRIuLEAST32): Likewise.
74645         [C99-based-standards] (PRIxLEAST32): Likewise.
74646         [C99-based-standards] (PRIXLEAST32): Likewise.
74647         [C99-based-standards] (SCNdLEAST32): Likewise.
74648         [C99-based-standards] (SCNiLEAST32): Likewise.
74649         [C99-based-standards] (SCNoLEAST32): Likewise.
74650         [C99-based-standards] (SCNuLEAST32): Likewise.
74651         [C99-based-standards] (SCNxLEAST32): Likewise.
74652         [C99-based-standards] (PRIdFAST32): Likewise.
74653         [C99-based-standards] (PRIiFAST32): Likewise.
74654         [C99-based-standards] (PRIoFAST32): Likewise.
74655         [C99-based-standards] (PRIuFAST32): Likewise.
74656         [C99-based-standards] (PRIxFAST32): Likewise.
74657         [C99-based-standards] (PRIXFAST32): Likewise.
74658         [C99-based-standards] (SCNdFAST32): Likewise.
74659         [C99-based-standards] (SCNiFAST32): Likewise.
74660         [C99-based-standards] (SCNoFAST32): Likewise.
74661         [C99-based-standards] (SCNuFAST32): Likewise.
74662         [C99-based-standards] (SCNxFAST32): Likewise.
74663         [C99-based-standards] (PRId64): Likewise.
74664         [C99-based-standards] (PRIi64): Likewise.
74665         [C99-based-standards] (PRIo64): Likewise.
74666         [C99-based-standards] (PRIu64): Likewise.
74667         [C99-based-standards] (PRIx64): Likewise.
74668         [C99-based-standards] (PRIX64): Likewise.
74669         [C99-based-standards] (SCNd64): Likewise.
74670         [C99-based-standards] (SCNi64): Likewise.
74671         [C99-based-standards] (SCNo64): Likewise.
74672         [C99-based-standards] (SCNu64): Likewise.
74673         [C99-based-standards] (SCNx64): Likewise.
74674         [C99-based-standards] (PRIdLEAST64): Likewise.
74675         [C99-based-standards] (PRIiLEAST64): Likewise.
74676         [C99-based-standards] (PRIoLEAST64): Likewise.
74677         [C99-based-standards] (PRIuLEAST64): Likewise.
74678         [C99-based-standards] (PRIxLEAST64): Likewise.
74679         [C99-based-standards] (PRIXLEAST64): Likewise.
74680         [C99-based-standards] (SCNdLEAST64): Likewise.
74681         [C99-based-standards] (SCNiLEAST64): Likewise.
74682         [C99-based-standards] (SCNoLEAST64): Likewise.
74683         [C99-based-standards] (SCNuLEAST64): Likewise.
74684         [C99-based-standards] (SCNxLEAST64): Likewise.
74685         [C99-based-standards] (PRIdFAST64): Likewise.
74686         [C99-based-standards] (PRIiFAST64): Likewise.
74687         [C99-based-standards] (PRIoFAST64): Likewise.
74688         [C99-based-standards] (PRIuFAST64): Likewise.
74689         [C99-based-standards] (PRIxFAST64): Likewise.
74690         [C99-based-standards] (PRIXFAST64): Likewise.
74691         [C99-based-standards] (SCNdFAST64): Likewise.
74692         [C99-based-standards] (SCNiFAST64): Likewise.
74693         [C99-based-standards] (SCNoFAST64): Likewise.
74694         [C99-based-standards] (SCNuFAST64): Likewise.
74695         [C99-based-standards] (SCNxFAST64): Likewise.
74696         [C99-based-standards] (PRIdMAX): Likewise.
74697         [C99-based-standards] (PRIiMAX): Likewise.
74698         [C99-based-standards] (PRIoMAX): Likewise.
74699         [C99-based-standards] (PRIuMAX): Likewise.
74700         [C99-based-standards] (PRIxMAX): Likewise.
74701         [C99-based-standards] (PRIXMAX): Likewise.
74702         [C99-based-standards] (SCNdMAX): Likewise.
74703         [C99-based-standards] (SCNiMAX): Likewise.
74704         [C99-based-standards] (SCNoMAX): Likewise.
74705         [C99-based-standards] (SCNuMAX): Likewise.
74706         [C99-based-standards] (SCNxMAX): Likewise.
74707         [C99-based-standards] (PRIdPTR): Likewise.
74708         [C99-based-standards] (PRIiPTR): Likewise.
74709         [C99-based-standards] (PRIoPTR): Likewise.
74710         [C99-based-standards] (PRIuPTR): Likewise.
74711         [C99-based-standards] (PRIxPTR): Likewise.
74712         [C99-based-standards] (PRIXPTR): Likewise.
74713         [C99-based-standards] (SCNdPTR): Likewise.
74714         [C99-based-standards] (SCNiPTR): Likewise.
74715         [C99-based-standards] (SCNoPTR): Likewise.
74716         [C99-based-standards] (SCNuPTR): Likewise.
74717         [C99-based-standards] (SCNxPTR): Likewise.
74718         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74719         allow.
74720         * conform/data/stdint.h-data: Update comments to clarify
74721         requirements.
74722         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74723         type.
74724         [C99-based standards] (INT8_MAX): Likewise.
74725         [C99-based standards] (INT16_MIN): Likewise.
74726         [C99-based standards] (INT16_MAX): Likewise.
74727         [C99-based standards] (INT32_MIN): Likewise.
74728         [C99-based standards] (INT32_MAX): Likewise.
74729         [C99-based standards] (INT64_MIN): Likewise.
74730         [C99-based standards] (INT64_MAX): Likewise.
74731         [C99-based standards] (UINT8_MAX): Likewise.
74732         [C99-based standards] (UINT16_MAX): Likewise.
74733         [C99-based standards] (UINT32_MAX): Likewise.
74734         [C99-based standards] (UINT64_MAX): Likewise.
74735         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74736         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74737         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74738         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74739         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74740         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74741         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74742         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74743         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74744         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74745         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74746         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74747         [C99-based standards] (INT_FAST8_MIN): Likewise.
74748         [C99-based standards] (INT_FAST8_MAX): Likewise.
74749         [C99-based standards] (INT_FAST16_MIN): Likewise.
74750         [C99-based standards] (INT_FAST16_MAX): Likewise.
74751         [C99-based standards] (INT_FAST32_MIN): Likewise.
74752         [C99-based standards] (INT_FAST32_MAX): Likewise.
74753         [C99-based standards] (INT_FAST64_MIN): Likewise.
74754         [C99-based standards] (INT_FAST64_MAX): Likewise.
74755         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74756         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74757         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74758         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74759         [C99-based standards] (INTPTR_MIN): Likewise.
74760         [C99-based standards] (INTPTR_MAX): Likewise.
74761         [C99-based standards] (UINTPTR_MAX): Likewise.
74762         [C99-based standards] (INTMAX_MIN): Likewise.
74763         [C99-based standards] (INTMAX_MAX): Likewise.
74764         [C99-based standards] (UINTMAX_MAX): Likewise.
74765         [C99-based standards] (PTRDIFF_MIN): Likewise.
74766         [C99-based standards] (PTRDIFF_MAX): Likewise.
74767         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74768         [C99-based standards] (SIZE_MAX): Likewise.
74769         [C99-based standards] (WCHAR_MAX): Likewise.
74770         [C99-based standards] (WINT_MAX): Likewise.
74771         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74772         constraint on value.
74773         [C99-based standards] (WCHAR_MIN): Likewise.
74774         [C99-based standards] (WINT_MIN): Likewise.
74775         [C99-based standards] (*_t): Allow.
74776         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74777         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74778         Include math.h-data and complex.h-data.  Remove all expectations
74779         of math.h and complex.h contents.
74780         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74781         at end of line.
74782         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74783         (struct tm): Expect tag.
74784         [C99-based-standards] (wcstof): Expect function.
74785         [C99-based-standards] (wcstold): Likewise.
74786         [C99-based-standards] (wcstoll): Likewise.
74787         [C99-based-standards] (wcstoull): Likewise.
74788         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74789         macro-int-constant.  Specify type.
74790         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74791         constraint on value.
74792         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74793         Specify type.
74794         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74795         Specify value.
74796         [ISO C standards]: Do not allow headers.
74797         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74798         wcs[abcdefghijklmnopqrstuvwxyz]*.
74799         [ISO C standards] (*_t): Do not allow.
74800         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74801         Expect function.
74802         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74803         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74804         Specify type.
74805         [ISO C standards]: Do not allow headers.
74806         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74807         is[abcdefghijklmnopqrstuvwxyz]*.
74808         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74809         to[abcdefghijklmnopqrstuvwxyz]*.
74810         [ISO C standards] (*_t): Do not allow.
74811         * conform/data/stdalign.h-data: New file.
74812         * conform/data/stdbool.h-data: Likewise.
74813         * conform/data/stdnoreturn.h-data: Likewise.
74815 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74817         [BZ #14815]
74818         * manual/filesys.texi (Directory Entries): Typo fix.
74819         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74821 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74823         * elf/elf.h (EM_AARCH64): New macro.
74824         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74825         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74826         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74827         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74828         (R_AARCH64_TLSDESC): Likewise.
74829         (NT_ARM_TLS): Likewise.
74830         (NT_ARM_HW_BREAK): Likewise.
74831         (NT_ARM_HW_WATCH): Likewise.
74833 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74835         [BZ #14811]
74836         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74837         (__ieee754_powl): Saturate nonzero exponents with absolute value
74838         below 0x1p-79 to +/- 0x1p-79.
74839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74840         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74841         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74842         nonzero exponents with absolute value below 0x1p-32 to +/-
74843         0x1p-32.
74844         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74845         (__ieee754_powl): Saturate nonzero exponents with absolute value
74846         below 0x1p-79 to +/- 0x1p-79.
74847         * math/libm-test.inc (pow_test): Add more tests.
74849 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74851         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74852         _dl_s390_cap_flags with kernel. Increase string length.
74853         (_dl_s390_platforms): Add z196 and zEC12.
74855 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74857         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74858         Change XOPEN21K to XOPEN2K.
74860 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74862         * string/memmove.c: Use memcpy when possible.
74864 2012-11-06  Andreas Jaeger  <aj@suse.de>
74866         * po/eo.po: Update from translation team.
74868 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74870         [BZ #14793]
74871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74872         exponent and small x and y exponents, scale x or y up.  Increase
74873         by 2 the exponent used in scaling up.
74874         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74876         * math/libm-test.inc (fma_test): Add more tests.
74877         (fma_test_towardzero): Likewise.
74878         (fma_test_downward): Likewise.
74879         (fma_test_upward): Likewise.
74881 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74883         [BZ #14805]
74884         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74885         fenv_t *.
74887         [BZ #14801]
74888         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74889         namespace for names of struct fields.
74890         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74891         fenv_t fields.
74892         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74893         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74895 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74897         [BZ #3665]
74898         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74900 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74902         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74903         PTR_DEMANGLE.
74905         [BZ #5246]
74906         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74907         PTR_DEMANGLE.
74909 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74911         [BZ #14797]
74912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74913         definitely overflow as x * y not x * y + z.
74914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74915         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74916         * math/libm-test.inc (fma_test): Add more tests.
74917         (fma_test_towardzero): Likewise.
74918         (fma_test_downward): Likewise.
74919         (fma_test_upward): Likewise.
74921 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74923         [BZ #157]
74925         * include/stub-tag.h: Remove file.
74926         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74927         '#include' of it.
74928         * manual/maint.texi (Porting): Don't reference it.
74929         * Makerules ($(objpfx)stubs): Likewise.
74930         * dirent/closedir.c: Don't include <stub-tag.h>.
74931         * dirent/dirfd.c: Likewise.
74932         * dirent/fdopendir.c: Likewise.
74933         * dirent/getdents.c: Likewise.
74934         * dirent/getdents64.c: Likewise.
74935         * dirent/opendir.c: Likewise.
74936         * dirent/readdir.c: Likewise.
74937         * dirent/readdir64.c: Likewise.
74938         * dirent/readdir64_r.c: Likewise.
74939         * dirent/readdir_r.c: Likewise.
74940         * dirent/rewinddir.c: Likewise.
74941         * dirent/seekdir.c: Likewise.
74942         * dirent/telldir.c: Likewise.
74943         * gmon/profil.c: Likewise.
74944         * grp/setgroups.c: Likewise.
74945         * inet/if_index.c: Likewise.
74946         * io/access.c: Likewise.
74947         * io/chdir.c: Likewise.
74948         * io/chmod.c: Likewise.
74949         * io/chown.c: Likewise.
74950         * io/close.c: Likewise.
74951         * io/dup.c: Likewise.
74952         * io/dup2.c: Likewise.
74953         * io/dup3.c: Likewise.
74954         * io/euidaccess.c: Likewise.
74955         * io/faccessat.c: Likewise.
74956         * io/fchdir.c: Likewise.
74957         * io/fchmod.c: Likewise.
74958         * io/fchmodat.c: Likewise.
74959         * io/fchown.c: Likewise.
74960         * io/fchownat.c: Likewise.
74961         * io/fcntl.c: Likewise.
74962         * io/flock.c: Likewise.
74963         * io/fstatfs.c: Likewise.
74964         * io/fstatfs64.c: Likewise.
74965         * io/fstatvfs.c: Likewise.
74966         * io/fstatvfs64.c: Likewise.
74967         * io/futimens.c: Likewise.
74968         * io/fxstat.c: Likewise.
74969         * io/fxstat64.c: Likewise.
74970         * io/fxstatat.c: Likewise.
74971         * io/fxstatat64.c: Likewise.
74972         * io/getcwd.c: Likewise.
74973         * io/isatty.c: Likewise.
74974         * io/lchmod.c: Likewise.
74975         * io/lchown.c: Likewise.
74976         * io/link.c: Likewise.
74977         * io/linkat.c: Likewise.
74978         * io/lseek.c: Likewise.
74979         * io/lseek64.c: Likewise.
74980         * io/lxstat64.c: Likewise.
74981         * io/mkdir.c: Likewise.
74982         * io/mkdirat.c: Likewise.
74983         * io/mkfifo.c: Likewise.
74984         * io/mkfifoat.c: Likewise.
74985         * io/open.c: Likewise.
74986         * io/open64.c: Likewise.
74987         * io/openat.c: Likewise.
74988         * io/openat64.c: Likewise.
74989         * io/pipe.c: Likewise.
74990         * io/pipe2.c: Likewise.
74991         * io/poll.c: Likewise.
74992         * io/posix_fadvise.c: Likewise.
74993         * io/posix_fadvise64.c: Likewise.
74994         * io/posix_fallocate.c: Likewise.
74995         * io/posix_fallocate64.c: Likewise.
74996         * io/read.c: Likewise.
74997         * io/readlink.c: Likewise.
74998         * io/readlinkat.c: Likewise.
74999         * io/rmdir.c: Likewise.
75000         * io/sendfile.c: Likewise.
75001         * io/sendfile64.c: Likewise.
75002         * io/statfs.c: Likewise.
75003         * io/statfs64.c: Likewise.
75004         * io/statvfs.c: Likewise.
75005         * io/statvfs64.c: Likewise.
75006         * io/symlink.c: Likewise.
75007         * io/symlinkat.c: Likewise.
75008         * io/ttyname.c: Likewise.
75009         * io/ttyname_r.c: Likewise.
75010         * io/umask.c: Likewise.
75011         * io/unlink.c: Likewise.
75012         * io/unlinkat.c: Likewise.
75013         * io/utime.c: Likewise.
75014         * io/utimensat.c: Likewise.
75015         * io/write.c: Likewise.
75016         * io/xmknod.c: Likewise.
75017         * io/xmknodat.c: Likewise.
75018         * io/xstat.c: Likewise.
75019         * io/xstat64.c: Likewise.
75020         * login/getpt.c: Likewise.
75021         * login/grantpt.c: Likewise.
75022         * login/unlockpt.c: Likewise.
75023         * math/e_acoshl.c: Likewise.
75024         * math/e_acosl.c: Likewise.
75025         * math/e_asinl.c: Likewise.
75026         * math/e_atan2l.c: Likewise.
75027         * math/e_atanhl.c: Likewise.
75028         * math/e_coshl.c: Likewise.
75029         * math/e_expl.c: Likewise.
75030         * math/e_fmodl.c: Likewise.
75031         * math/e_gammal_r.c: Likewise.
75032         * math/e_hypotl.c: Likewise.
75033         * math/e_j0l.c: Likewise.
75034         * math/e_j1l.c: Likewise.
75035         * math/e_jnl.c: Likewise.
75036         * math/e_lgammal_r.c: Likewise.
75037         * math/e_log10l.c: Likewise.
75038         * math/e_log2l.c: Likewise.
75039         * math/e_logl.c: Likewise.
75040         * math/e_powl.c: Likewise.
75041         * math/e_rem_pio2l.c: Likewise.
75042         * math/e_sinhl.c: Likewise.
75043         * math/e_sqrtl.c: Likewise.
75044         * math/fclrexcpt.c: Likewise.
75045         * math/fedisblxcpt.c: Likewise.
75046         * math/feenablxcpt.c: Likewise.
75047         * math/fegetenv.c: Likewise.
75048         * math/fegetexcept.c: Likewise.
75049         * math/fegetround.c: Likewise.
75050         * math/feholdexcpt.c: Likewise.
75051         * math/fesetenv.c: Likewise.
75052         * math/fesetround.c: Likewise.
75053         * math/feupdateenv.c: Likewise.
75054         * math/fgetexcptflg.c: Likewise.
75055         * math/fraiseexcpt.c: Likewise.
75056         * math/fsetexcptflg.c: Likewise.
75057         * math/ftestexcept.c: Likewise.
75058         * math/k_cosl.c: Likewise.
75059         * math/k_rem_pio2l.c: Likewise.
75060         * math/k_sinl.c: Likewise.
75061         * math/k_tanl.c: Likewise.
75062         * math/s_asinhl.c: Likewise.
75063         * math/s_atanl.c: Likewise.
75064         * math/s_cbrtl.c: Likewise.
75065         * math/s_erfl.c: Likewise.
75066         * math/s_expm1l.c: Likewise.
75067         * math/s_log1pl.c: Likewise.
75068         * math/s_tanhl.c: Likewise.
75069         * misc/acct.c: Likewise.
75070         * misc/brk.c: Likewise.
75071         * misc/chflags.c: Likewise.
75072         * misc/chroot.c: Likewise.
75073         * misc/fchflags.c: Likewise.
75074         * misc/fgetxattr.c: Likewise.
75075         * misc/flistxattr.c: Likewise.
75076         * misc/fremovexattr.c: Likewise.
75077         * misc/fsetxattr.c: Likewise.
75078         * misc/fsync.c: Likewise.
75079         * misc/ftruncate.c: Likewise.
75080         * misc/futimes.c: Likewise.
75081         * misc/futimesat.c: Likewise.
75082         * misc/getdomain.c: Likewise.
75083         * misc/getdtsz.c: Likewise.
75084         * misc/gethostid.c: Likewise.
75085         * misc/gethostname.c: Likewise.
75086         * misc/getloadavg.c: Likewise.
75087         * misc/getpagesize.c: Likewise.
75088         * misc/getsysstats.c: Likewise.
75089         * misc/getxattr.c: Likewise.
75090         * misc/gtty.c: Likewise.
75091         * misc/ioctl.c: Likewise.
75092         * misc/lgetxattr.c: Likewise.
75093         * misc/listxattr.c: Likewise.
75094         * misc/llistxattr.c: Likewise.
75095         * misc/lremovexattr.c: Likewise.
75096         * misc/lsetxattr.c: Likewise.
75097         * misc/lutimes.c: Likewise.
75098         * misc/madvise.c: Likewise.
75099         * misc/mincore.c: Likewise.
75100         * misc/mlock.c: Likewise.
75101         * misc/mlockall.c: Likewise.
75102         * misc/mmap.c: Likewise.
75103         * misc/mprotect.c: Likewise.
75104         * misc/msync.c: Likewise.
75105         * misc/munlock.c: Likewise.
75106         * misc/munlockall.c: Likewise.
75107         * misc/munmap.c: Likewise.
75108         * misc/preadv.c: Likewise.
75109         * misc/preadv64.c: Likewise.
75110         * misc/ptrace.c: Likewise.
75111         * misc/pwritev.c: Likewise.
75112         * misc/pwritev64.c: Likewise.
75113         * misc/readv.c: Likewise.
75114         * misc/reboot.c: Likewise.
75115         * misc/remap_file_pages.c: Likewise.
75116         * misc/removexattr.c: Likewise.
75117         * misc/revoke.c: Likewise.
75118         * misc/select.c: Likewise.
75119         * misc/setdomain.c: Likewise.
75120         * misc/setegid.c: Likewise.
75121         * misc/seteuid.c: Likewise.
75122         * misc/sethostid.c: Likewise.
75123         * misc/sethostname.c: Likewise.
75124         * misc/setregid.c: Likewise.
75125         * misc/setreuid.c: Likewise.
75126         * misc/setxattr.c: Likewise.
75127         * misc/sstk.c: Likewise.
75128         * misc/stty.c: Likewise.
75129         * misc/swapoff.c: Likewise.
75130         * misc/swapon.c: Likewise.
75131         * misc/sync.c: Likewise.
75132         * misc/syncfs.c: Likewise.
75133         * misc/syscall.c: Likewise.
75134         * misc/truncate.c: Likewise.
75135         * misc/ualarm.c: Likewise.
75136         * misc/usleep.c: Likewise.
75137         * misc/ustat.c: Likewise.
75138         * misc/utimes.c: Likewise.
75139         * misc/vhangup.c: Likewise.
75140         * misc/writev.c: Likewise.
75141         * posix/_exit.c: Likewise.
75142         * posix/alarm.c: Likewise.
75143         * posix/execve.c: Likewise.
75144         * posix/fexecve.c: Likewise.
75145         * posix/fork.c: Likewise.
75146         * posix/fpathconf.c: Likewise.
75147         * posix/getaddrinfo.c: Likewise.
75148         * posix/getegid.c: Likewise.
75149         * posix/geteuid.c: Likewise.
75150         * posix/getgid.c: Likewise.
75151         * posix/getgroups.c: Likewise.
75152         * posix/getlogin.c: Likewise.
75153         * posix/getlogin_r.c: Likewise.
75154         * posix/getpgid.c: Likewise.
75155         * posix/getpid.c: Likewise.
75156         * posix/getppid.c: Likewise.
75157         * posix/getresgid.c: Likewise.
75158         * posix/getresuid.c: Likewise.
75159         * posix/getsid.c: Likewise.
75160         * posix/getuid.c: Likewise.
75161         * posix/glob64.c: Likewise.
75162         * posix/nanosleep.c: Likewise.
75163         * posix/pathconf.c: Likewise.
75164         * posix/pause.c: Likewise.
75165         * posix/posix_madvise.c: Likewise.
75166         * posix/pread.c: Likewise.
75167         * posix/pread64.c: Likewise.
75168         * posix/pwrite.c: Likewise.
75169         * posix/pwrite64.c: Likewise.
75170         * posix/sched_getaffinity.c: Likewise.
75171         * posix/sched_getp.c: Likewise.
75172         * posix/sched_gets.c: Likewise.
75173         * posix/sched_primax.c: Likewise.
75174         * posix/sched_primin.c: Likewise.
75175         * posix/sched_rr_gi.c: Likewise.
75176         * posix/sched_setaffinity.c: Likewise.
75177         * posix/sched_setp.c: Likewise.
75178         * posix/sched_sets.c: Likewise.
75179         * posix/sched_yield.c: Likewise.
75180         * posix/setgid.c: Likewise.
75181         * posix/setlogin.c: Likewise.
75182         * posix/setpgid.c: Likewise.
75183         * posix/setresgid.c: Likewise.
75184         * posix/setresuid.c: Likewise.
75185         * posix/setsid.c: Likewise.
75186         * posix/setuid.c: Likewise.
75187         * posix/sleep.c: Likewise.
75188         * posix/spawni.c: Likewise.
75189         * posix/sysconf.c: Likewise.
75190         * posix/times.c: Likewise.
75191         * posix/wait.c: Likewise.
75192         * posix/wait3.c: Likewise.
75193         * posix/wait4.c: Likewise.
75194         * posix/waitpid.c: Likewise.
75195         * resolv/gai_sigqueue.c: Likewise.
75196         * resource/getpriority.c: Likewise.
75197         * resource/getrlimit.c: Likewise.
75198         * resource/getrusage.c: Likewise.
75199         * resource/nice.c: Likewise.
75200         * resource/setpriority.c: Likewise.
75201         * resource/setrlimit.c: Likewise.
75202         * resource/ulimit.c: Likewise.
75203         * rt/aio_cancel.c: Likewise.
75204         * rt/aio_fsync.c: Likewise.
75205         * rt/aio_read.c: Likewise.
75206         * rt/aio_sigqueue.c: Likewise.
75207         * rt/aio_suspend.c: Likewise.
75208         * rt/aio_write.c: Likewise.
75209         * rt/clock_getres.c: Likewise.
75210         * rt/clock_gettime.c: Likewise.
75211         * rt/clock_nanosleep.c: Likewise.
75212         * rt/clock_settime.c: Likewise.
75213         * rt/lio_listio.c: Likewise.
75214         * rt/mq_close.c: Likewise.
75215         * rt/mq_getattr.c: Likewise.
75216         * rt/mq_notify.c: Likewise.
75217         * rt/mq_open.c: Likewise.
75218         * rt/mq_receive.c: Likewise.
75219         * rt/mq_send.c: Likewise.
75220         * rt/mq_setattr.c: Likewise.
75221         * rt/mq_timedreceive.c: Likewise.
75222         * rt/mq_timedsend.c: Likewise.
75223         * rt/mq_unlink.c: Likewise.
75224         * rt/shm_open.c: Likewise.
75225         * rt/shm_unlink.c: Likewise.
75226         * rt/timer_create.c: Likewise.
75227         * rt/timer_delete.c: Likewise.
75228         * rt/timer_getoverr.c: Likewise.
75229         * rt/timer_gettime.c: Likewise.
75230         * rt/timer_settime.c: Likewise.
75231         * setjmp/__longjmp.c: Likewise.
75232         * setjmp/setjmp.c: Likewise.
75233         * signal/kill.c: Likewise.
75234         * signal/killpg.c: Likewise.
75235         * signal/raise.c: Likewise.
75236         * signal/sigaction.c: Likewise.
75237         * signal/sigaltstack.c: Likewise.
75238         * signal/sigblock.c: Likewise.
75239         * signal/sigignore.c: Likewise.
75240         * signal/sigintr.c: Likewise.
75241         * signal/signal.c: Likewise.
75242         * signal/sigpause.c: Likewise.
75243         * signal/sigpending.c: Likewise.
75244         * signal/sigqueue.c: Likewise.
75245         * signal/sigreturn.c: Likewise.
75246         * signal/sigset.c: Likewise.
75247         * signal/sigsetmask.c: Likewise.
75248         * signal/sigstack.c: Likewise.
75249         * signal/sigsuspend.c: Likewise.
75250         * signal/sigtimedwait.c: Likewise.
75251         * signal/sigvec.c: Likewise.
75252         * signal/sigwait.c: Likewise.
75253         * signal/sigwaitinfo.c: Likewise.
75254         * signal/sysv_signal.c: Likewise.
75255         * socket/accept.c: Likewise.
75256         * socket/accept4.c: Likewise.
75257         * socket/bind.c: Likewise.
75258         * socket/connect.c: Likewise.
75259         * socket/getpeername.c: Likewise.
75260         * socket/getsockname.c: Likewise.
75261         * socket/getsockopt.c: Likewise.
75262         * socket/isfdtype.c: Likewise.
75263         * socket/listen.c: Likewise.
75264         * socket/recv.c: Likewise.
75265         * socket/recvfrom.c: Likewise.
75266         * socket/recvmsg.c: Likewise.
75267         * socket/send.c: Likewise.
75268         * socket/sendmsg.c: Likewise.
75269         * socket/sendto.c: Likewise.
75270         * socket/setsockopt.c: Likewise.
75271         * socket/shutdown.c: Likewise.
75272         * socket/sockatmark.c: Likewise.
75273         * socket/socket.c: Likewise.
75274         * socket/socketpair.c: Likewise.
75275         * stdio-common/ctermid.c: Likewise.
75276         * stdio-common/cuserid.c: Likewise.
75277         * stdio-common/remove.c: Likewise.
75278         * stdio-common/rename.c: Likewise.
75279         * stdio-common/renameat.c: Likewise.
75280         * stdio-common/tempname.c: Likewise.
75281         * stdlib/getcontext.c: Likewise.
75282         * stdlib/makecontext.c: Likewise.
75283         * stdlib/setcontext.c: Likewise.
75284         * stdlib/swapcontext.c: Likewise.
75285         * stdlib/system.c: Likewise.
75286         * streams/fattach.c: Likewise.
75287         * streams/fdetach.c: Likewise.
75288         * streams/getmsg.c: Likewise.
75289         * streams/getpmsg.c: Likewise.
75290         * streams/putmsg.c: Likewise.
75291         * streams/putpmsg.c: Likewise.
75292         * sysdeps/unix/bsd/getpt.c: Likewise.
75293         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75294         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75295         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75297         Likewise.
75298         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75299         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75300         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75301         * sysvipc/msgctl.c: Likewise.
75302         * sysvipc/msgget.c: Likewise.
75303         * sysvipc/msgrcv.c: Likewise.
75304         * sysvipc/msgsnd.c: Likewise.
75305         * sysvipc/semctl.c: Likewise.
75306         * sysvipc/semget.c: Likewise.
75307         * sysvipc/semop.c: Likewise.
75308         * sysvipc/semtimedop.c: Likewise.
75309         * sysvipc/shmat.c: Likewise.
75310         * sysvipc/shmctl.c: Likewise.
75311         * sysvipc/shmdt.c: Likewise.
75312         * sysvipc/shmget.c: Likewise.
75313         * termios/tcdrain.c: Likewise.
75314         * termios/tcflow.c: Likewise.
75315         * termios/tcflush.c: Likewise.
75316         * termios/tcgetattr.c: Likewise.
75317         * termios/tcgetpgrp.c: Likewise.
75318         * termios/tcsendbrk.c: Likewise.
75319         * termios/tcsetattr.c: Likewise.
75320         * termios/tcsetpgrp.c: Likewise.
75321         * time/adjtime.c: Likewise.
75322         * time/clock.c: Likewise.
75323         * time/getitimer.c: Likewise.
75324         * time/gettimeofday.c: Likewise.
75325         * time/setitimer.c: Likewise.
75326         * time/settimeofday.c: Likewise.
75327         * time/stime.c: Likewise.
75328         * time/time.c: Likewise.
75330 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75332         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75333         /usr/old/bin.
75335         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75336         instead of spaces.
75337         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75339 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75341         [BZ #14796]
75342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75343         FE_TONEAREST before applying Dekker multiplication and Knuth
75344         addition.  Clear inexact exceptions and check for exact zero
75345         results afterwards.
75346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75349         * math/libm-test.inc (fma_test): Add more tests.
75350         (fma_test_towardzero): Likewise.
75351         (fma_test_downward): Likewise.
75352         (fma_test_upward): Likewise.
75353         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75354         function.
75355         (libc_fesetround): New macro.
75356         (libc_fesetroundf): Likewise.
75357         (libc_fesetroundl): Likewise.
75358         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75359         function.
75360         (libc_fesetround_387): Likewise.
75361         (libc_fesetroundf): New macro.
75362         (libc_fesetround): Likewise.
75363         (libc_fesetroundl): Likewise.
75364         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75365         function.
75366         (libc_fesetroundf): New macro.
75367         (libc_fesetround): Likewise.
75368         (libc_fesetroundl): Likewise.
75369         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75370         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75371         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75372         libm_hidden_ver.
75373         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75374         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75375         libm_hidden_def.
75376         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75377         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75378         libm_hidden_ver.
75379         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75380         libm_hidden_def.
75382         [BZ #3439]
75383         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75384         integer constant usable in #if and use that to give value to enum
75385         constant.
75386         (FE_DIVBYZERO): Likewise.
75387         (FE_UNDERFLOW): Likewise.
75388         (FE_OVERFLOW): Likewise.
75389         (FE_INVALID): Likewise.
75390         (FE_INVALID_SNAN): Likewise.
75391         (FE_INVALID_ISI): Likewise.
75392         (FE_INVALID_IDI): Likewise.
75393         (FE_INVALID_ZDZ): Likewise.
75394         (FE_INVALID_IMZ): Likewise.
75395         (FE_INVALID_COMPARE): Likewise.
75396         (FE_INVALID_SOFTWARE): Likewise.
75397         (FE_INVALID_SQRT): Likewise.
75398         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75399         (FE_TONEAREST): Likewise.
75400         (FE_TOWARDZERO): Likewise.
75401         (FE_UPWARD): Likewise.
75402         (FE_DOWNWARD): Likewise.
75403         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75404         (FE_DIVBYZERO): Likewise.
75405         (FE_OVERFLOW): Likewise.
75406         (FE_UNDERFLOW): Likewise.
75407         (FE_INEXACT): Likewise.
75408         (FE_TONEAREST): Likewise.
75409         (FE_DOWNWARD): Likewise.
75410         (FE_UPWARD): Likewise.
75411         (FE_TOWARDZERO): Likewise.
75412         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75413         (FE_UNDERFLOW): Likewise.
75414         (FE_OVERFLOW): Likewise.
75415         (FE_DIVBYZERO): Likewise.
75416         (FE_INVALID): Likewise.
75417         (FE_TONEAREST): Likewise.
75418         (FE_TOWARDZERO): Likewise.
75419         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75420         (FE_OVERFLOW): Likewise.
75421         (FE_UNDERFLOW): Likewise.
75422         (FE_DIVBYZERO): Likewise.
75423         (FE_INEXACT): Likewise.
75424         (FE_TONEAREST): Likewise.
75425         (FE_TOWARDZERO): Likewise.
75426         (FE_UPWARD): Likewise.
75427         (FE_DOWNWARD): Likewise.
75428         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75429         (FE_DIVBYZERO): Likewise.
75430         (FE_OVERFLOW): Likewise.
75431         (FE_UNDERFLOW): Likewise.
75432         (FE_INEXACT): Likewise.
75433         (FE_TONEAREST): Likewise.
75434         (FE_DOWNWARD): Likewise.
75435         (FE_UPWARD): Likewise.
75436         (FE_TOWARDZERO): Likewise.
75438 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75440         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75442 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75444         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75445         commands.  Quote $PWD.
75446         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75447         -x" by "export".
75448         (remove_newlines): Remove.
75450 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75452         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75453         * stdlib/stdlib.h (atof): Moved to ...
75454         * include/bits/stdlib-float.h: Here.  New file.
75455         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75456         * stdlib/bits/stdlib-float.h: New file.
75457         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75458         -mno-sse -mno-mmx.
75459         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75460         <xmmintrin.h>.
75462 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75464         * conform/conformtest.pl (@headers): Add fenv.h.
75465         * conform/data/fenv.h-data: New file.
75466         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75467         include of <math/fenv.h>.
75469         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75470         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75471         && !UNIX98].  Enables tests for XOPEN2K8.
75472         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75473         POSIX2008]: Likewise.
75475         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75476         (struct rusage): Do not expect type or its members.
75478         [BZ #3439]
75479         * math/math.h (FP_NAN): Define macro to integer constant usable in
75480         #if and use that to give value to enum constant.
75481         (FP_INFINITE): Likewise.
75482         (FP_ZERO): Likewise.
75483         (FP_SUBNORMAL): Likewise.
75484         (FP_NORMAL): Likewise.
75486 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75488         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75489         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75490         arguments.
75492 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75494         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75495         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75496         autoconf-time if not.
75497         * configure.in: Remove AC_PREREQ.
75499 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75501         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75502         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75503         of the internal implementation.
75505 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75507         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75508         except include of <misc/sys/syslog.h>.
75510 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75513         function returns with a NULL context exit with zero.
75515 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75517         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75519 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75521         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75522         (run_program_cmd): This.
75523         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75524         (tst_langinfo): New variable.  Use it.
75526 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75528         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75529         floating point opcodes.
75531 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75533         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75534         variable.
75536         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75538         * sysdeps/mach/hurd/powerpc: Remove directory.
75539         * sysdeps/mach/powerpc: Likewise.
75541 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75543         * scripts/check-local-headers.sh: Ignore c++ headers.
75545 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75547         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75548         __libc_cleanup_region_start argument.
75550 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75552         [BZ #14784]
75553         [BZ #14785]
75554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75555         x * y using scaling, not as x * y + z.
75556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75557         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75558         * math/libm-test.inc (fma_test): Add more tests.
75559         (fma_test_towardzero): Likewise.
75560         (fma_test_downward): Likewise.
75561         (fma_test_upward): Likewise.
75563 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75565         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75567 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75569         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75570         New variable.
75572 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75574         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75576 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75579         Fix sort order.
75580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75581         Likewise.
75583 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75586         Fix the order of the list for glibc 2.17.
75587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75588         Likewise.
75590 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75594 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75596         [BZ #14610]
75597         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75598         for low part of x being zero before using __atanl (y).
75599         * math/libm-test.inc (atan2_test): Add another test.
75601         * manual/install.texi (Configuring and compiling): Document
75602         general use of test-wrapper and test-wrapper-env.
75603         * INSTALL: Regenerated.
75605         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75606         (__fma): Do not extract and scale down low bits on after-rounding
75607         systems when result rounded to normal precision would have normal
75608         exponent.
75609         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75610         (__fmal): Do not extract and scale down low bits on after-rounding
75611         systems when result rounded to normal precision would have normal
75612         exponent.
75613         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75614         (__fmal): Do not extract and scale down low bits on after-rounding
75615         systems when result rounded to normal precision would have normal
75616         exponent.
75617         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75618         macro.
75619         (fma_test): Add more tests.
75620         (fma_test_towardzero): Likewise.
75621         (fma_test_downward): Likewise.
75622         (fma_test_upward): Likewise.
75624 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75626         * sysdeps/i386/tininess.h: Renamed to ...
75627         * sysdeps/x86/tininess.h: This.
75628         * sysdeps/x86_64/tininess.h: Removed.
75630 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75632         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75633         input.  Use $(build-program-cmd).
75634         ($(objpfx)tst-array1-static.out): Likewise.
75635         ($(objpfx)tst-array2.out): Likewise.
75636         ($(objpfx)tst-array3.out): Likewise.
75637         ($(objpfx)tst-array4.out): Likewise.
75638         ($(objpfx)tst-array5.out): Likewise.
75639         ($(objpfx)tst-array5-static.out): Likewise.
75641 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75643         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75644         if defined.
75646         * nss/nsswitch.h (nss_interface_function): Provide new
75647         macro for use with NSS functions.
75648         * grp/initgroups.c: Use new macro.
75649         * nss/getXXbyYY.c: Likewise.
75650         * nss/getXXbyYY_r.c: Likewise.
75651         * nss/getXXent.c: Likewise.
75652         * nss/getXXent_r.c: Likewise.
75653         * sysdeps/posix/getaddrinfo.c: Likewise.
75655 2012-10-30  Andreas Jaeger  <aj@suse.de>
75657         * po/ru.po: Update Russion translation from translation project.
75659 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75661         [BZ #14152]
75662         [BZ #14783]
75663         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75664         result and shift together with sticky bit instead of replicating
75665         round-to-nearest rounding.
75666         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75667         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75668         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75669         missing underflow exceptions.
75670         (fma_test_towardzero): Add more tests.
75671         (fma_test_downward): Likewise.
75672         (fma_test_upward): Likewise.
75674         [BZ #14047]
75675         * sysdeps/generic/tininess.h: New file.
75676         * sysdeps/i386/tininess.h: Likewise.
75677         * sysdeps/sh/tininess.h: Likewise.
75678         * sysdeps/x86_64/tininess.h: Likewise.
75679         * stdlib/tst-strtod-underflow.c: Likewise.
75680         * stdlib/tst-tininess.c: Likewise.
75681         * stdlib/strtod_l.c: Include <tininess.h>.
75682         (round_and_return): Do not set errno for exact underflow cases.
75683         Force an underflow exception when setting errno for underflow.
75684         Determine underflow based on rounding to normal precision if
75685         TININESS_AFTER_ROUNDING.
75686         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75687         ERANGE for exact underflow cases.
75688         * stdlib/Makefile (tests): Add tst-tininess and
75689         tst-strtod-underflow.
75690         ($(objpfx)tst-tininess): Use $(link-libm).
75691         ($(objpfx)tst-strtod-underflow): Likewise.
75693 2012-10-30  Andreas Jaeger  <aj@suse.de>
75695         [BZ #14767]
75696         * elf/Makefile (tests): Remove conditional for have-initfini-array
75697         since this is now always required and the variable does not exist
75698         anymore.
75699         (tests-static): Likewise.
75700         (modules-names): Likewise.
75702         * po/eo.po: Add Esperanto translation from translation project.
75704         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75705         merged with constructor/destructor.
75706         (init_array): Likewise.
75707         * elf/tst-array2dep.c (fini_array): Likewise.
75708         (init_array): Likewise.
75710 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75712         * manual/message.texi: Delete @cartouche tags.
75714 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75716         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75717         EOPNOTSUPP.
75718         * sysdeps/mach/hurd/fsync.c: Likewise.
75720         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75721         [_POSIX_REALTIME_SIGNALS]: Change condition to
75722         [_POSIX_REALTIME_SIGNALS > 0].
75724 2012-10-27  Andreas Jaeger  <aj@suse.de>
75726         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75727         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75728         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75729         [__WORDSIZE != 64]: Likewise.
75731 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75733         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75734         *  iconvdata/tst-tables.sh: Likewise.
75736 2012-10-25  David S. Miller  <davem@davemloft.net>
75738         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75739         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75740         of strtoull.
75742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75743         ifunc-impl-list.c
75744         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75745         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75746         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75747         file.
75749 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75752         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75753         __getdirentries.
75755 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75756             Jim Blandy  <jimb@codesourcery.com>
75758         * scripts/cross-test-ssh.sh: New file.
75759         * manual/install.texi (Configuring and compiling): Document use of
75760         cross-test-ssh.sh.
75761         * INSTALL: Regenerated.
75763 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75765         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75766         EOPNOTSUPP.
75768 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75770         * Makeconfig (run-program-prefix): Fix comment.
75772 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75773             Jim Blandy  <jimb@codesourcery.com>
75775         * Makeconfig (test-wrapper): New variable,
75776         (test-wrapper-env): Likewise.
75777         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75778         (run-built-tests): Define to yes.
75779         (run-program-prefix): Use $(test-wrapper).
75780         (built-program-cmd): Likewise.
75781         * Rules (make-test-out): Use $(test-wrapper-env) and
75782         $(host-built-program-cmd).
75783         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75784         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75785         tst-pathopt.sh.
75786         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75787         $(test-wrapper-env) to tst-rtld-load-self.sh.
75788         ($(objpfx)order2.out): Use $(test-wrapper).
75789         ($(objpfx)tst-initorder.out): Likewise.
75790         ($(objpfx)tst-initorder2.out): Likewise.
75791         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75792         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75793         (test_wrapper_env): New variable.  Use it to run ld.so.
75794         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75795         Use it to run ld.so.
75796         (test_wrapper_env): Likewise.
75797         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75798         $(test-wrapper) to run-iconv-test.sh.
75799         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75800         (ICONV): Use $test_wrapper.
75801         * posix/Makefile ($(objpfx)globtest.out): Pass
75802         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75803         globtest.sh, not $(run-program-prefix).
75804         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75805         (test_wrapper): Likewise.
75806         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75807         set together with run_via_rtld_prefix.
75808         (run_program_prefix): Define in terms of test_wrapper and
75809         run_via_rtld_prefix.
75811 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75813         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75814         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75815         Targets removed.
75817         [BZ #14743]
75818         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75819         Declare __clock_getres, __clock_gettime, __clock_settime,
75820         __clock_nanosleep, and __clock_getcpuclockid.
75821         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75822         Remove librt_hidden_def (clock_gettime).
75823         * sysdeps/unix/clock_gettime.c: Likewise.
75824         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75826         * rt/clock_getres.c: Define __clock_getres as an alias.
75827         * sysdeps/posix/clock_getres.c: Likewise.
75828         * rt/clock_settime.c: Define __clock_settime as an alias.
75829         * sysdeps/unix/clock_settime.c: Likewise.
75830         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75831         * sysdeps/unix/clock_nanosleep.c: Likewise.
75832         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75833         * rt/clock-compat.c: New file.
75834         * rt/Makefile (librt-routines): Add clock-compat and move
75835         $(clock-routines) to ...
75836         (routines): ... here, new variable.
75837         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75838         Don't add get_clockfreq here.
75839         * rt/Versions (libc: GLIBC_2.17): New version set.
75840         Add clock_* symbols here.
75841         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75842         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75843         (GLIBC_2.17): Add clock_* symbols.
75844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75846         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75848         Likewise.
75849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75850         Likewise.
75851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75855         * NEWS: Mention the move.
75857         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75858         Use __open, __read, __close rather than their public counterparts.
75859         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75860         (__get_clockfreq_via_cpuinfo): Likewise.
75861         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75862         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75864         * config.h.in (HAVE_IFUNC): New #undef.
75865         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75866         was successful.
75867         * configure: Regenerated.
75869 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75871         * configure.in: Move READELF check to start of file.
75872         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75873         libc_cv_asm_gnu_indirect_function in the process.
75874         * configure: Regenerated.
75876 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75878         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75879         send the output to /dev/null.
75880         (libc_cv_cc_with_libunwind): Likewise.
75881         (libc_cv_as_noexecstack): Likewise.
75882         * configure: Regenerate.
75884 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75886         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75888         * posix/globtest.sh (TMPDIR): Do not set.
75889         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75890         (testout): Likewise.
75892 2012-10-24  Andreas Jaeger  <aj@suse.de>
75894         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75895         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75896         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75897         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75898         posix_fadvise64, posix_fallocate64.
75900         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75901         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75902         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75903         Likewise.
75904         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75905         Likewise.
75906         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75908         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75909         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75910         <bits/fcntl-linux.h>.
75911         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75914         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75915         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75916         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75917         [__WORDSIZE != 64]: Likewise.
75919 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75921         * Makeconfig (run-built-tests): New variable.
75922         * Rules [$(cross-compiling) = yes]: Change condition to
75923         [$(run-built-tests) = no].
75924         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75925         to [$(run-built-tests) = yes].
75926         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75927         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75928         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75929         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75930         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75931         * io/Makefile [$(cross-compiling) = no]: Likewise.
75932         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75933         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75934         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75935         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75936         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75937         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75938         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75939         * string/Makefile [$(cross-compiling) = no]: Likewise.
75941         * posix/Makefile ($(objpfx)globtest.out): Pass
75942         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75943         $(rtld-installed-name).
75944         * posix/globtest.sh (elf_objpfx): Remove variable.
75945         (rtld_installed_name): Likewise.
75946         (library_path): Likewise.
75947         (run_program_prefix): New variable.  Use for running globtest
75948         binary.
75950 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75951             Joseph Myers  <joseph@codesourcery.com>
75953         * Makeconfig (host-built-program-cmd): New variable.
75954         * elf/Makefile (tst-stackguard1-ARGS): Use
75955         $(host-built-program-cmd).
75956         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75957         (tst-spawn-ARGS): Likewise.
75958         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75960 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75961             Jim Blandy  <jimb@codesourcery.com>
75963         * Makeconfig (run-via-rtld-prefix): New variable.
75964         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75965         (built-program-cmd): Likewise.
75967 2012-10-22  Andreas Jaeger  <aj@suse.de>
75969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75970         __O_RSYNC if it exists, otherwise to O_SYNC.
75972 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75973             Joseph Myers  <joseph@codesourcery.com>
75975         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75976         /dev/null.
75977         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75978         from /dev/null
75979         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75980         /dev/null.
75982 2012-10-22  Andreas Jaeger  <aj@suse.de>
75984         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75985         Define always.
75986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75988         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75989         bits/fcntl-linux.h.
75991         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75992         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75994         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75995         to __O_LARGEFILE.
75996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75997         to __O_LARGEFILE.
75999 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
76000             Joseph Myers  <joseph@codesourcery.com>
76002         * config.make.in (NM): New variable.
76004 2012-10-21  Andreas Jaeger  <aj@suse.de>
76006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76007         definitions and declarations that are provided by
76008         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76010 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76012         [BZ #14683]
76013         * elf/Makefile (tests-static): Add tst-leaks1-static.
76014         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76015         ($(objpfx)tst-leaks1-static): New rule.
76016         ($(objpfx)tst-leaks1-static-mem): Likewise.
76017         (tst-leaks1-static-ENV): New macro.
76018         * elf/dl-open.c (dl_open_worker): Check the main application
76019         only if SHARED is defined.
76020         * elf/tst-leaks1-static.c: New file.
76022 2012-10-20  Andreas Jaeger  <aj@suse.de>
76024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76025         generic values for Linux.
76026         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76027         and declarations that are provided by <bits/fcntl-linux.h> and
76028         include <bits/fcntl-linux.h>.
76029         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76032 2012-10-20  Roland McGrath  <roland@hack.frob.com>
76034         * io/fcntl.h: Move include of <bits/types.h> to the top and
76035         include it unconditionally.
76037 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76039         * wcsmbs/Makefile (tests-ifunc): New variable.
76040         (tests): Add $(tests-ifunc).
76041         * wcsmbs/test-wcschr-ifunc.c: New file.
76042         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76043         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76044         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76045         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76046         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76048         * string/Makefile (tests-ifunc): New variable.
76049         (tests): Add $(tests-ifunc).
76050         * string/test-memccpy.c (TEST_NAME): New macro.
76051         * string/test-memchr.c (TEST_NAME): Likewise.
76052         * string/test-memcmp.c (TEST_NAME): Likewise.
76053         * string/test-memcpy.c (TEST_NAME): Likewise.
76054         * string/test-memmem.c (TEST_NAME): Likewise.
76055         * string/test-memmove.c (TEST_NAME): Likewise.
76056         * string/test-memset.c (TEST_NAME): Likewise.
76057         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76058         * string/test-stpcpy.c (TEST_NAME): Likewise.
76059         * string/test-stpncpy.c (TEST_NAME): Likewise.
76060         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76061         * string/test-strcasestr.c (TEST_NAME): Likewise.
76062         * string/test-strcat.c (TEST_NAME): Likewise.
76063         * string/test-strchr.c (TEST_NAME): Likewise.
76064         * string/test-strcmp.c(TEST_NAME): Likewise.
76065         * string/test-strcpy.c (TEST_NAME): Likewise.
76066         * string/test-strcspn.c (TEST_NAME): Likewise.
76067         * string/test-strlen.c (TEST_NAME): Likewise.
76068         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76069         * string/test-strncmp.c (TEST_NAME): Likewise.
76070         * string/test-strncpy.c (TEST_NAME): Likewise.
76071         * string/test-strnlen.c (TEST_NAME): Likewise.
76072         * string/test-strpbrk.c (TEST_NAME): Likewise.
76073         * string/test-strrchr.c (TEST_NAME): Likewise.
76074         * string/test-strspn.c (TEST_NAME): Likewise.
76075         * string/test-strstr.c (TEST_NAME): Likewise.
76076         * string/test-bcopy-ifunc.c: New file.
76077         * string/test-bzero-ifunc.c: Likewise.
76078         * string/test-memccpy-ifunc.c: Likewise.
76079         * string/test-memchr-ifunc.c: Likewise.
76080         * string/test-memcmp-ifunc.c: Likewise.
76081         * string/test-memcpy-ifunc.c: Likewise.
76082         * string/test-memmem-ifunc.c: Likewise.
76083         * string/test-memmove-ifunc.c: Likewise.
76084         * string/test-mempcpy-ifunc.c: Likewise.
76085         * string/test-memset-ifunc.c: Likewise.
76086         * string/test-rawmemchr-ifunc.c: Likewise.
76087         * string/test-stpcpy-ifunc.c: Likewise.
76088         * string/test-stpncpy-ifunc.c: Likewise.
76089         * string/test-strcasecmp-ifunc.c: Likewise.
76090         * string/test-strcasestr-ifunc.c: Likewise.
76091         * string/test-strcat-ifunc.c: Likewise.
76092         * string/test-strchr-ifunc.c: Likewise.
76093         * string/test-strchrnul-ifunc.c: Likewise.
76094         * string/test-strcmp-ifunc.c: Likewise.
76095         * string/test-strcpy-ifunc.c: Likewise.
76096         * string/test-strcspn-ifunc.c: Likewise.
76097         * string/test-strlen-ifunc.c: Likewise.
76098         * string/test-strncasecmp-ifunc.c: Likewise.
76099         * string/test-strncat-ifunc.c: Likewise.
76100         * string/test-strncmp-ifunc.c: Likewise.
76101         * string/test-strncpy-ifunc.c: Likewise.
76102         * string/test-strnlen-ifunc.c: Likewise.
76103         * string/test-strpbrk-ifunc.c: Likewise.
76104         * string/test-strrchr-ifunc.c: Likewise.
76105         * string/test-strspn-ifunc.c: Likewise.
76106         * string/test-strstr-ifunc.c: Likewise.
76108         * debug/Makefile (tests-ifunc): New variable.
76109         (tests): Add $(tests-ifunc).
76110         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76111         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76112         * debug/test-stpcpy_chk-ifunc.c: New file.
76113         * debug/test-strcpy_chk-ifunc.c: Likewise.
76115 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76117         [BZ #13601]
76118         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76119         header is not read in.
76121 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76123         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76124         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76125         directly.  Pass built executable to script as
76126         $(built-program-cmd).
76127         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76128         $testprogram without using LD_LIBRARY_PATH and $ldso.
76130         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76131         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76132         $(rtld-installed-name).
76133         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76134         (rtld_installed_name): Likewise.
76135         (library_path): Likewise.
76136         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76137         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76138         $(run-program-prefix) to tst-tables.sh.
76139         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76140         it to run tst-table-from and tst-table-to.
76141         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76142         Pass it to tst-table.sh.
76143         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76144         $(run-program-prefix) to tst-gettext.sh.
76145         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76146         tst-translit.sh.
76147         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76148         tst-gettext2.sh.
76149         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76150         to run tst-gettext.
76151         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76152         to run tst-gettext2.
76153         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76154         to run tst-translit.
76155         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76156         $(run-program-prefix) to tst-mtrace.sh.
76157         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76158         to run tst-mtrace.
76159         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76160         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76161         $(rtld-installed-name).
76162         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76163         (rtld_installed_name): Likewise.
76164         (run_program_prefix): New variable.  Use it to run wordexp-test.
76166         * Makeconfig (ARCH): Remove all definitions.
76167         (machine): Likewise.
76168         [ARCH]: Remove conditional code.
76169         [!objdir]: Give error.
76170         [!objdir] (objpfx): Remove.
76171         [!objdir] (common-objpfx): Likewise.
76172         [!objdir] (common-objdir): Likewise.
76173         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76174         AC_CONFIG_FILES call.
76175         * configure: Regenerated.
76177         [BZ #13888]
76178         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76179         or TMPDIR.
76180         (testout): Likewise.
76182         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76183         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76184         $(rtld-installed-name).
76185         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76186         (rtld_installed_name): Likewise.
76187         (runit): Remove function.
76188         (run_getconf): New variable,  Use it for running getconf binary.
76190 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76192         [BZ #14716]
76193         * string/test-memmem.c (check_result): New function.
76194         (do_one_test): Use it.
76195         (check1): New function.
76196         (test_main): Use it.
76198 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76200         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76202 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76204         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76205         (_G_LSEEK64): Likewise.
76206         (_G_MMAP64): Likewise.
76207         (_G_FSTAT64): Likewise.
76208         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76209         (_G_LSEEK64): Likewise.
76210         (_G_MMAP64): Likewise.
76211         (_G_FSTAT64): Likewise.
76212         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76213         unconditional.  Call __mmap64 directly.
76214         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76215         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76216         __lseek64 directly.
76217         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76218         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76219         __mmap64 directly.
76220         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76221         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76222         __lseek64 directly.
76223         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76224         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76225         __lseek64 directly.
76226         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76227         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76228         __lseek64 directly.
76229         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76230         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76231         __fxstat64 directly.
76232         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76233         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76234         unconditional.
76235         (freopen64) [!_G_OPEN64]: Remove conditional code.
76236         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76237         unconditional.
76238         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76239         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76240         unconditional.
76241         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76242         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76243         unconditional.
76244         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76245         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76246         unconditional.
76247         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76248         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76249         unconditional.
76250         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76251         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76252         unconditional.
76253         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76254         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76255         unconditional.
76256         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76258 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76260         [BZ #12140]
76261         * manual/memory.texi (Malloc Tunable Parameters): Add note
76262         about free list pointers overwriting some perturb bytes.
76263         Wording suggested by Roland McGrath.
76265 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76267         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76268         (lgamma_test): Likewise.
76269         (tgamma_test): Likewise.
76271 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76273         [BZ #14700]
76274         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76275         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76277 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76279         * NEWS: Mention BZ #14716.
76280         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76281         when removing AVAILABLE1_USES_J macro.
76283 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76285         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76286         (__bswap_64): __uint64_t for unsigned 64-bit int.
76288 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76290         * include/string.h (memmem): Declare libc hidden alias.
76291         * string/memmem.c (memmem): Define libc hidden alias.
76292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76293         __read, __close instead of open, read, close.
76295 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76297         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76298         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76299         global and hidden.
76300         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76301         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76302         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76303         Likewise.
76304         (__rawmemchr_sse2): Likewise.
76305         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76306         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76307         (__strchr_sse2): Likewise.
76308         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76309         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76310         (__strcasecmp_sse2): Likewise.
76311         (__strncasecmp_sse2): Likewise.
76312         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76313         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76314         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76315         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76316         (__strrchr_sse2): Likewise.
76317         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76318         ifunc-impl-list.c.
76319         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76320         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76321         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76322         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76323         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76324         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76327         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76328         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76329         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76330         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76331         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76332         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76333         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76334         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76335         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76336         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76337         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76338         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76339         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76340         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76341         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76342         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76343         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76344         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76345         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76346         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76347         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76348         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76350         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76351         global and hidden.
76352         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76353         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76354         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76355         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76356         Likewise.
76357         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76358         Likewise.
76359         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76360         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76361         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76362         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76363         ifunc-impl-list.c.
76364         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76365         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76366         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76367         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76368         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76369         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76370         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76371         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76372         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76373         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76374         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76375         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76376         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76377         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76378         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76379         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76380         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76381         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76382         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76383         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76384         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76385         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76386         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76387         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76388         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76389         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76390         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76391         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76392         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76393         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76394         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76395         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76396         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76397         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76398         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76399         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76400         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76401         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76402         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76403         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76404         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76406         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76407         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76408         * include/ifunc-impl-list.h: New file.
76409         * misc/ifunc-impl-list.c: Likewise.
76410         * misc/Makefile (routines): Add ifunc-impl-list.
76411         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76412         * string/test-string.h: Include <ifunc-impl-list.h>.
76413         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76414         TEST_NAME]: New variables.
76415         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76416         are defined.
76417         (test_init): Call __libc_ifunc_impl_list to initialize
76418         func_list if TEST_IFUNC and TEST_NAME are defined.
76420         * string/Makefile (strop-tests): Add bcopy and bzero.
76421         * string/test-bcopy.c: New file.
76422         * string/test-bzero.c: Likewise.
76423         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76424         defined.
76425         * string/test-memset.c: Support bzero test if TEST_BZERO is
76426         defined.
76427         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76428         __libc_memmove.
76429         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76430         __libc_memset.
76431         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76432         of memset.
76434 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76436         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76437         * configure: Regenerated.
76439         * Makeconfig (+link-static-before-libc): Don't include
76440         $(link-static-libc).
76442         * libio/libio.h (_IO_pos_t): Remove.
76444 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76446         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76447         McGrath.
76449 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76451         * crypt/crypt-entry.c: Include fips-private.h.
76452         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76453         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76454         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76455         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76457 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76459         * crypt/crypt-private.h: Include stdbool.h.
76460         (_ufc_setup_salt_r): Return bool.
76461         * crypt/crypt-entry.c: Include errno.h.
76462         (__crypt_r): Return NULL with EINVAL for bad salt.
76463         * crypt/crypt_util.c (bad_for_salt): New.
76464         (_ufc_setup_salt_r): Check that salt is long enough and within
76465         the specified alphabet.
76466         * crypt/badsalttest.c: New file.
76467         * crypt/Makefile (tests): Add it.
76468         ($(objpfx)badsalttest): New.
76470 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76472         * NEWS: Add entry for BZ #14602.
76474 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76476         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76477         type-generic.
76478         * math/libm-test.inc: Update comment listing what functions and
76479         macros are tested.
76480         (isgreater_test): New function.
76481         (isgreaterequal_test): Likewise.
76482         (isless_test): Likewise.
76483         (islessequal_test): Likewise.
76484         (islessgreater_test): Likewise.
76485         (isunordered_test): Likewise.
76486         (main): Call the new functions.
76488 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76490         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76491         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76492         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76493         * sysdeps/i386/configure: Regenerated.
76494         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76495         * sysdeps/mach/configure: Regenerated.
76496         * sysdeps/mach/hurd/configure: Regenerated.
76497         * sysdeps/powerpc/configure: Regenerated.
76498         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76499         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76500         * sysdeps/s390/s390-32/configure: Regenerated.
76501         * sysdeps/s390/s390-64/configure: Regenerated.
76502         * sysdeps/sh/configure: Regenerated.
76503         * sysdeps/sparc/configure: Regenerated.
76504         * sysdeps/unix/sysv/linux/configure: Regenerated.
76505         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76506         * sysdeps/x86_64/configure: Regenerated.
76508         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76509         defined.  Don't check if MAP is NULL.
76511 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76513         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76514         (_G_stat64): Likewise.
76515         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76516         (_G_stat64): Likewise.
76517         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76518         instead of struct _G_stat64.
76519         * libio/fileops.c (mmap_remap_check): Likewise.
76520         (decide_maybe_mmap): Likewise.
76521         (_IO_new_file_seekoff): Likewise.
76522         (_IO_file_stat): Likewise.
76523         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76524         _G_off64_t.
76525         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76526         instead of struct _G_stat64.
76527         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76529 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76531         [BZ #14602]
76532         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76533         Replace with ...
76534         (CHECK_EOL): New macro.
76535         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76536         CHECK_EOL.
76537         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76538         Replace with CHECK_EOL.
76539         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76540         Replace with CHECK_EOL.
76542 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76544         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76545         type-generic.
76546         * math/libm-test.inc: Update comment listing what functions and
76547         macros are tested.
76548         (finite_test): New function.
76549         (isinf_test): Likewise.
76550         (isnan_test): Likewise.
76551         (fpclassify_test): Test subnormal input.
76552         (isfinite_test): Likewise.
76553         (isnormal_test): Likewise.
76554         (main): Call the new functions.
76556 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76558         [BZ #14660]
76559         * Makerules (%.dynsym): Force C locale when running
76560         $(OBJDUMP) --dynamic-syms.
76562 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76564         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76565         <stdint.h>.
76567 2012-10-06  David S. Miller  <davem@davemloft.net>
76569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76570         upper 32-bits of the length value in %o2 since we use branch-on-register
76571         tests which consider the entire 64-bit register.
76573 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76575         * string/test-strstr.c (check2): Add a test for page boundary.
76577 2012-10-05  David S. Miller  <davem@davemloft.net>
76579         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76580         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76581         file.
76582         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76583         sysdep_routines.
76584         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76585         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76586         and bzero when HWCAP_SPARC_CRYPTO is present.
76588 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76590         [BZ #14602]
76591         * string/test-strstr.c (check2): New function.
76592         (test_main): Call check2.
76594         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76595         and bug-strchr1.
76596         * string/bug-strcasestr1.c (do_test): Moved to ...
76597         * string/test-strcasestr.c (check1): Here.  New function.
76598         (do_one_test): Break out result checking code into ...
76599         (check_result): This.  New function.
76600         (do_one_test): Call check_result.
76601         (test_main): Call check1.
76602         * string/bug-strchr1.c (do_test): Moved to ...
76603         * string/test-strchr.c (check1): Here.  New function.
76604         (do_one_test): Break out result checking code into ...
76605         (check_result): This.  New function.
76606         (do_one_test): Call check_result.
76607         (test_main): Call check1.
76608         * string/bug-strstr1.c (main): Moved to ...
76609         * string/test-strstr.c (check1): Here.  New function.
76610         (do_one_test): Break out result checking code into ...
76611         (check_result): This.  New function.
76612         (do_one_test): Call check_result.
76613         (test_main): Call check1.
76614         * string/bug-strcasestr1.c: Removed.
76615         * string/bug-strchr1.c: Likewise.
76616         * string/bug-strstr1.c: Likewise.
76618         * elf/Makefile (dl-routines): Add hwcaps.
76619         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76620         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76621         (_dl_important_hwcaps): Moved to ...
76622         * elf/dl-hwcaps.c: Here.  New file.
76623         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76625         [BZ #14557]
76626         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76627         if IS_IN_rtld isn't defined.
76629         * elf/dl-support.c (_dl_sysinfo_map): New.
76630         Include "get-dynamic-info.h" and "setup-vdso.h".
76631         (_dl_non_dynamic_init): Call setup_vdso.
76632         * elf/dynamic-link.h: Don't include <assert.h>.
76633         (elf_get_dynamic_info): Moved to ...
76634         * elf/get-dynamic-info.h: Here.  New file.
76635         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76636         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76637         * elf/setup-vdso.h: Here.  New file.
76638         * elf/rtld.c: Include "setup-vdso.h".
76639         (dl_main): Call setup_vdso.
76641 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76643         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76644         creal in comment listing functions tested.  List finite, isinf,
76645         isnan, isless, islessequal, isgreater, isgreaterequal,
76646         islessgreater, isunordered, lgamma_r and pow10 as functions and
76647         macros not tested.  Mention which functions not tested are aliases
76648         for other functions.  Fix typo.  Note that signs of NaNs are not
76649         tested.
76651         * scripts/config.guess: Update from config.git.
76652         * scripts/config.sub: Likewise.
76654 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76656         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76657         * misc/madvise.c (madvise): Renamed to __madvise.
76658         Make madvise a weak alias.
76659         * include/sys/mman.h: Declare __madvise.
76660         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76661         * sysdeps/unix/syscalls.list
76662         (madvise): Make __madvise the strong name, and madvise a weak alias.
76663         * sysdeps/unix/sysv/linux/syscalls.list
76664         (madvise, mmap): Remove redundant entries.
76665         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76666         * malloc/malloc.c (mtrim): Likewise.
76667         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76669 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76671         * sysdeps/mach/hurd/dl-cache.c: File removed.
76672         * config.h.in (USE_LDCONFIG): New #undef.
76673         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76674         * configure: Regenerated.
76675         * elf/Makefile (dl-routines): Add dl-cache only under
76676         [$(use-ldconfig) = yes].
76677         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76678         cache on [USE_LDCONFIG].
76679         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76680         [USE_LDCONFIG].
76681         * elf/rtld.c (dl_main): Likewise.
76683 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76685         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76686         _SC_LEVEL4_CACHE_LINESIZE.
76688 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76690         * sysdeps/unix/bsd/confstr.h: File removed.
76692 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76694         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76695         sys/sdt-config.h.
76697 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76699         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76700         Make 'mapoff' field ElfW(Off) rather than off_t.
76702 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76704         * nscd/Makefile: Remove nscd-cflags and all its users.
76705         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76706         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76708         [BZ #10631]
76709         * malloc.c (malloc_printerr): Clarify error message.
76711 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76713         [BZ #14648]
76714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76715         Set bit_FMA_Usable if FMA is supported.
76716         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76717         macro.
76718         (bit_FMA4_Usable): Updated.
76719         (index_FMA_Usable): New macro.
76720         (CPUID_FMA): Likewise.
76721         (HAS_FMA): Defined with bit_FMA_Usable.
76723 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76725         * bits/types.h (__swblk_t): Type removed.
76726         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76727         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76729         (__SWBLK_T_TYPE): Likewise.
76730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76731         (__SWBLK_T_TYPE): Likewise.
76732         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76733         (__SWBLK_T_TYPE): Likewise.
76734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76735         (__SWBLK_T_TYPE): Likewise.
76737 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76738             Honza Horak <hhorak@redhat.com>
76740         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76741         (xdr_mapname): Use YPMAXMAP as maxsize.
76742         (xdr_peername): Use YPMAXPEER as maxsize.
76743         (xdr_keydat): Use YPAXRECORD as maxsize.
76744         (xdr_valdat): Use YPMAXRECORD as maxsize.
76746 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76748         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76750         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76751         * csu/init-first.c: ... here.
76752         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76753         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76754         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76755         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76756         * sysdeps/i386/init-first.c: File removed.
76757         * sysdeps/sh/init-first.c: File removed.
76759 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76761         [BZ #14645]
76762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76763         if x * y might underflow to zero and z is zero.
76764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76766         * math/libm-test.inc (min_subnorm_value): New variable.
76767         (fma_test): Add more tests.
76768         (fma_test_towardzero): Likewise.
76769         (fma_test_downward): Likewise.
76770         (fma_test_upward): Likewise.
76771         (initialize): Set min_subnorm_value.
76773 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76775         [BZ #14638]
76776         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76777         0 + 0.
76778         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76779         mode for addition resulting in exact zero.
76780         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76782         exact 0 + 0.
76783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76785         * math/libm-test.inc (fma_test): Add more tests.
76786         (fma_test_towardzero): New function.
76787         (fma_test_downward): Likewise.
76788         (fma_test_upward): Likewise.
76789         (main): Call the new functions.
76791 2012-09-28  David S. Miller  <davem@davemloft.net>
76793         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76795 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76797         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76798         instead of SIGALRM.
76800         * sysdeps/gnu/_G_config.h: Moved to ...
76801         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76802         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76803         * sysdeps/generic/_G_config.h: ... here.
76805         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76807         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76809         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76810         Conditionalize target on [libnss_test1.so-version].
76812         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76814         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76815         (elfobjdir): Move out of conditionals.
76817         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76818         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76819         (__nss_lookup_function): Conditionalize label remove_from_tree on
76820         [!DO_STATIC_NSS || SHARED], matching its only use.
76822 2012-09-28  David S. Miller  <davem@davemloft.net>
76824         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76825         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76826         file.
76827         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76828         sysdep_routines.
76829         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76830         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76831         when HWCAP_SPARC_CRYPTO is present.
76833 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76835         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76837 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76839         [BZ #6530]
76840         * stdio-common/vfprintf.c (process_string_arg): Revert
76841         2000-07-22 change.
76843 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76845         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76846         for testcase.
76847         * stdio-common/tst-sprintf.c: Include <locale.h>
76848         (main): Test sprintf's handling of incomplete multibyte
76849         characters.
76851 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76853         * elf/dl-runtime.c (VERSYMIDX): Removed.
76854         * elf/dl-version.c (VERSYMIDX): Likewise.
76855         * elf/do-rel.h (VERSYMIDX): Likewise.
76856         (VALIDX): Likewise.
76857         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76858         * elf/rtld.c (VALIDX): Likewise.
76859         (ADDRIDX): Likewise.
76860         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76861         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76862         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76863         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76864         (VALIDX): Likewise.
76865         (ADDRIDX): Likewise.
76867 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76869         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76871 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76873         [BZ #11438]
76874         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76875         to global scope.
76876         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76877         addresses are in the same scope as 192.0.2/24.
76878         * posix/gai.conf: Document new scope table defaults.
76880 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76882         [BZ #5298]
76883         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76884         for ftell.  Compute offsets from write pointers instead.
76885         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76887 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76889         [BZ #14543]
76890         * libio/Makefile (tests): New test case tst-fseek.
76891         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76892         combination works in wide mode.
76893         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76894         state when the external buffer state changes.
76896 2012-09-27  David S. Miller  <davem@davemloft.net>
76898         [BZ #14376]
76899         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76900         pass reloc->r_addend in as the 'high' argument to
76901         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76905 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76907         * rt/tst-aio2.c: Include <pthread.h>.
76908         * rt/tst-aio3.c: Likewise.
76910 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76912         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76914 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76916         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76917         contents on [SHARED].
76919 2012-09-26  Marek Polacek  <polacek@redhat.com>
76921         [BZ #14530]
76922         [BZ #13741]
76923         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76924         for C++ and GCC <4.3 as well as for non GCC compilers.
76926 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76930 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76932         * Makefile.in (all, install): Declare with .PHONY.
76933         Reported by Michael Hope <michael.hope@linaro.org>.
76935 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76937         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76938         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76939         system header.
76940         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76941         Likewise.
76942         (sydep_routines): Add the new and the internal functions.
76943         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76944         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76946         (GLIBC_2.17): Add the new function.
76947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76948         (GLIBC_2.17): Likewise.
76949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76950         (GLIBC_2.17): Likewise.
76951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76952         (GLIBC_2.17): Likewise.
76953         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76955 2012-09-25  Alan Modra  <amodra@gmail.com>
76957         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76958         Add release barrier before setting once_control to say
76959         initialisation is done.  Add hints on lwarx.  Use macro in
76960         place of isync.
76961         (clear_once_control): Add release barrier.
76963 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76965         [BZ #13629]
76966         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76967         specially.
76968         * math/s_clog10.c (__clog10): Likewise.
76969         * math/s_clog10f.c (__clog10f): Likewise.
76970         * math/s_clog10l.c (__clog10l): Likewise.
76971         * math/s_clogf.c (__clogf): Likewise.
76972         * math/s_clogl.c (__clogl): Likewise.
76973         * math/Makefile (libm-calls): Add x2y2m1.
76974         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76975         (__x2y2m1): Likewise.
76976         (__x2y2m1l): Likewise.
76977         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76978         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76979         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76980         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76981         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76982         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76983         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76984         * sysdeps/i386/fpu/libm-test-ulps: Update.
76985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76987         [BZ #14621]
76988         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76989         int as type of variable DEPTH.
76990         (glob): Use size_t instead of int as type of variables NEWCOUNT
76991         and OLD_PATHC.
76993 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76995         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76996         Add s_sincosf-sse2.
76997         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76998         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76999         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77000         macros for using routine as __sincosf_ia32.
77001         Use macro for function declaration and weak_alias.
77002         * sysdeps/i386/fpu/libm-test-ulps: Update.
77004         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77007         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77008         subnormal argument.
77009         * math/s_cexpf.c (__cexpf): Likewise.
77010         * math/s_csinf.c (__csinf): Likewise.
77011         * math/s_csinhf.c (__csinhf): Likewise.
77012         * math/s_ctanf.c (__ctanf): Likewise.
77013         * math/s_ctanhf.c (__ctanhf): Likewise.
77014         * math/s_ccosh.c (__ccoshf): Likewise.
77015         * math/s_cexp.c (__cexpl): Likewise.
77016         * math/s_csin.c (__csin): Likewise.
77017         * math/s_csinh.c (__csinh): Likewise.
77018         * math/s_ctan.c (__ctan): Likewise.
77019         * math/s_ctanh.c (ctanh): Likewise.
77020         * math/s_ccoshl.c (__ccoshl): Likewise.
77021         * math/s_cexpl.c (__cexpl): Likewise.
77022         * math/s_csinl.c (__csinl): Likewise.
77023         * math/s_csinhl.c (__csinhl): Likewise.
77024         * math/s_ctanl.c (__ctanl): Likewise.
77025         * math/s_ctanhl.c (__ctanhl): Likewise.
77027 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77029         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77030         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77031         (_IO_off_t): Define to __off_t, not _G_off_t.
77032         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77033         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77034         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77035         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77036         type of __dummy and __dummy2 fields.
77037         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77038         (_G_ssize_t): Likewise.
77039         (_G_off_t): Likewise.
77040         (_G_pid_t): Likewise.
77041         (_G_uid_t): Likewise.
77042         (_G_wchar_t): Likewise.
77043         (_G_wint_t): Likewise.
77044         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77045         (_G_ssize_t): Likewise.
77046         (_G_off_t): Likewise.
77047         (_G_pid_t): Likewise.
77048         (_G_uid_t): Likewise.
77049         (_G_wchar_t): Likewise.
77050         (_G_wint_t): Likewise.
77051         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77052         (_G_ssize_t): Likewise.
77053         (_G_off_t): Likewise.
77054         (_G_pid_t): Likewise.
77055         (_G_uid_t): Likewise.
77056         (_G_wchar_t): Likewise.
77057         (_G_wint_t): Likewise.
77059 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77061         * malloc/arena.c: Include malloc-sysdep.h.
77062         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77063         is sufficient to shrink the heap or an unmap is needed.
77064         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77065         new function check_may_shrink_heap.
77066         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77067         new function check_may_shrink_heap.
77069 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77071         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77072         comments.
77074 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77076         * catgets/test-gencat.sh: Add "set -e".
77077         * elf/tst-pathopt.sh: Likewise.
77078         * grp/tst_fgetgrent.sh: Likewise.
77079         * iconvdata/run-iconv-test.sh: Likewise.
77080         * intl/tst-gettext.sh: Likewise.
77081         * intl/tst-gettext2.sh: Likewise.
77082         * intl/tst-gettext4.sh: Likewise.
77083         * intl/tst-gettext6.sh: Likewise.
77084         * intl/tst-translit.sh: Likewise.
77085         * io/ftwtest-sh: Likewise.
77086         * libio/test-freopen.sh: Likewise.
77087         * malloc/tst-mtrace.sh: Likewise.
77088         * posix/globtest.sh: Likewise.
77089         * posix/tst-getconf.sh: Likewise.
77090         * posix/wordexp-tst.sh: Likewise.
77091         * stdio-common/tst-printf.sh: Likewise.
77092         * stdio-common/tst-unbputc.sh: Likewise.
77093         * stdlib/tst-fmtmsg.sh: Likewise.
77094         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77095         * catgets/Makefile: Do not specify -e option when running
77096         testsuite shell scripts.
77097         * elf/Makefile: Likewise.
77098         * grp/Makefile: Likewise.
77099         * iconvdata/Makefile: Likewise.
77100         * intl/Makefile: Likewise.
77101         * io/Makefile: Likewise.
77102         * libio/Makefile: Likewise.
77103         * malloc/Makefile: Likewise.
77104         * posix/Makefile: Likewise.
77105         * stdio-common/Makefile: Likewise.
77106         * stdlib/Makefile: Likewise.
77107         * sysdeps/x86_64/Makefile: Likewise.
77109         * io/ftwtest-sh: Add copyright header.
77110         * posix/globtest.sh: Likewise.
77111         * posix/tst-getconf.sh: Likewise.
77112         * posix/wordexp-tst.sh: Likewise.
77113         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77115 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77117         [BZ #13679]
77118         * Makeconfig (+link): Defined as $(+link-static) if
77119         $(build-shared) isn't yes.
77120         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77121         isn't yes.
77122         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77124         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77126         [BZ #14562]
77127         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77128         new chunk size with MALLOC_ALIGN_MASK.
77130 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77132         [BZ #5044]
77133         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77134         <rounding-mode.h>.
77135         (__printf_fphex): Determine rounding using get_rounding_mode and
77136         round_away.
77137         * stdio-common/tst-printf-round.c (struct hex_test): New
77138         structure.
77139         (hex_tests): New variable.
77140         (test_hex_in_one_mode): New function.
77141         (do_test): Also run tests for hex float output.
77143 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77145         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77146         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77147         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77148         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77149         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77150         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77151         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77154 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77156         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77157         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77158         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77159         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77161 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77163         [BZ #14579]
77164         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77165         mode only.
77166         * elf/tst-rtld-load-self.sh: New test.
77167         * elf/Makefile: Run it.
77169 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77171         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77172         (tst-writev-ENV): Remove.
77173         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77175 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77177         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77179 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77181         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77182         unconditional.
77183         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77184         Likewise.
77185         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77186         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77187         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77188         Likewise.
77190 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77192         [BZ #14587]
77193         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77194         * config.make.in (have-cpp-asm-debuginfo): Removed.
77195         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77196         * configure: Regenerated.
77198 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77200         [BZ #5044]
77201         * stdio-common/printf_fp.c: Include <stdbool.h> and
77202         <rounding-mode.h>.
77203         (___printf_fp): Determine rounding using get_rounding_mode and
77204         round_away.
77205         * stdio-common/tst-printf-round.c: New file.
77206         * stdio-common/Makefile (tests): Add tst-printf-round.
77207         (link-libm): New variable.
77208         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77210 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77212         [BZ #14576]
77213         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77214         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77215         Likewise.
77216         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77217         Likewise.
77219 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77221         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77222         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77223         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77224         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77226 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77228         [BZ #14518]
77229         * include/rounding-mode.h: New file.
77230         * sysdeps/generic/get-rounding-mode.h: Likewise.
77231         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77232         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77233         (MAX_VALUE): New macro.
77234         (MIN_VALUE): Likewise.
77235         (overflow_value): New function.
77236         (underflow_value): Likewise.
77237         (round_and_return): Use overflow_value and underflow_value to
77238         determine return values in overflow and underflow cases.  Use
77239         round_away to determine rounding depending on rounding mode.
77240         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77241         determine return values in overflow and underflow cases.
77242         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77243         (struct test_results): New structure.
77244         (struct test): Use struct test_results to store expected results
77245         for all rounding modes.
77246         (TEST): Include expected results for all rounding modes.
77247         (test_in_one_mode): New function.
77248         (do_test): Use test_in_one_mode to compute and check results.
77249         Check results for all rounding modes.
77250         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77251         $(link-libm).
77253 2012-12-09  Allan McRae  <allan@archlinux.org>
77255         * sysdeps/i386/fpu/libm-test-ulps: Update
77257 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77259         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77260         (_G_int32_t): Likewise.
77261         (_G_uint16_t): Likewise.
77262         (_G_uint32_t): Likewise.
77263         (_G_HAVE_BOOL): Likewise.
77264         (_G_HAVE_ATEXIT): Likewise.
77265         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77266         (_G_HAVE_IO_FILE_OPEN): Likewise.
77267         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77268         (_G_int32_t): Likewise.
77269         (_G_uint16_t): Likewise.
77270         (_G_uint32_t): Likewise.
77271         (_G_HAVE_BOOL): Likewise.
77272         (_G_HAVE_ATEXIT): Likewise.
77273         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77274         (_G_HAVE_IO_FILE_OPEN): Likewise.
77275         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77276         (_G_int32_t): Likewise.
77277         (_G_uint16_t): Likewise.
77278         (_G_uint32_t): Likewise.
77279         (_G_HAVE_BOOL): Likewise.
77280         (_G_HAVE_ATEXIT): Likewise.
77281         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77282         (_G_HAVE_IO_FILE_OPEN): Likewise.
77284 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77286         * csu/libc-tls.c: Update copyright years.
77288 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77290         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77291         [!_G_USING_THUNKS]: Remove conditional code.
77292         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77293         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77295         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77296         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77297         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77298         (_G_VTABLE_LABEL_PREFIX): Likewise.
77299         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77300         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77301         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77302         (_G_VTABLE_LABEL_PREFIX): Likewise.
77303         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77304         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77305         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77306         (_G_VTABLE_LABEL_PREFIX): Likewise.
77307         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77309 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77311         * libio/Makefile: Include ../Makeconfig before tests.
77312         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77313         only if $(build-shared) is yes.
77315         * iconv/gconv_db.c: Update copyright years.
77317 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77319         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77320         unwind info if defined PIC. Fix special cases description.
77321         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77323         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77324         DP_HI_MASK entry.
77325         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77327 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77329         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77331         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77332         is NULL.
77334         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77335         (LDLIBS-tst-chk4): This.
77336         (LDFLAGS-tst-chk5): Renamed to ...
77337         (LDLIBS-tst-chk5): This.
77338         (LDFLAGS-tst-chk6): Renamed to ...
77339         (LDLIBS-tst-chk6): This.
77340         (LDFLAGS-tst-lfschk4): Renamed to ...
77341         (LDLIBS-tst-lfschk4): This.
77342         (LDFLAGS-tst-lfschk5): Renamed to ...
77343         (LDLIBS-tst-lfschk5): This.
77344         (LDFLAGS-tst-lfschk6): Renamed to ...
77345         (LDLIBS-tst-lfschk6): This.
77347         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77348         on $(common-objpfx)soversions.mk.
77350 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77352         [BZ #10014]
77353         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77354         example host name.
77356 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77358         * malloc/arena.c (arena_get_retry): New function that gets
77359         another arena for the caller to try its request on.
77360         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77361         current arena cannot fulfill the request.
77362         (__libc_memalign): Likewise.
77363         (__libc_memalign): Likewise.
77364         (__libc_pvalloc): Likewise.
77365         (__libc_calloc): Likewise.
77367 2012-09-05  John Tobey  <john.tobey@gmail.com>
77369         [BZ #13542]
77370         * manual/arith.texi (Operations on Complex): Fix description
77371         of carg branch cut.
77373 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77375         [BZ #10014]
77376         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77377         host name.
77379         [BZ #10038]
77380         * manual/memory.texi (Memory): Make order of menu items match
77381         order of sections.
77383 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77385         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77386         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77387         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77391         * csu/libc-tls.c (static_dtv): Renamed to ...
77392         (_dl_static_dtv): This.  Make it global.
77393         (_dl_initial_dtv): Removed.
77394         (__libc_setup_tls): Updated.
77395         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77396         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77397         DL_INITIAL_DTV.
77399 2012-09-06  Petr Machata  <pmachata@redhat.com>
77401         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77402         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77403         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77404         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77406 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77408         [BZ #14545]
77409         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77410         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77411         freeing dtv[-1].
77413 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77415         [BZ #14544]
77416         * Makeconfig (link-static-before-libc): Replace $(+prector)
77417         with $(+prectorT).
77418         (link-static-after-libc): Replace $(+postctor) with
77419         $(+postctorT).
77420         (link-bounded): Replace $(+prector)/$(+postctor) with
77421         $(+prectorT)/$(+postctorT).
77422         (+prectorT): New macro.
77423         (+postctorT): Likewise.
77425 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77427         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77428         (round_str): Handle values above the maximum for IBM long double
77429         as inexact.
77430         * stdlib/tst-strtod-round.c (tests): Regenerated.
77432 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77434         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77435         assembler flag.
77436         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77437         zarch_nohighgprs around the zarch optimized routines.
77438         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77439         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77440         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77441         for zarch.
77443 2012-09-05  David S. Miller  <davem@davemloft.net>
77445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77447         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77448         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77449         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77450         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77451         entries.
77453 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77455         * malloc/arena.c: Fold copyright years.
77456         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77458 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77460         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77462 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77464         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77466 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77468         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77469         change internal state upon failure.
77471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77473         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77474         * malloc/memusage.c (mmap): Likewise.
77475         (mmap64, mremap): Likewise.  Adjust name in comment.
77477 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77479         * libio/fileops.c: Fix typos in comments.
77480         * libio/oldfileops.c: Likewise.
77481         * libio/wfileops.c: Likewise.
77483 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77485         [BZ #1349]
77486         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77487         (tst-malloc-usable-ENV): Set environment for test case.
77488         * malloc/hooks.c (malloc_check_get_size): New function to get
77489         requested size.
77490         * malloc/malloc.c (musable): Use malloc_check_get_size.
77491         * malloc/tst-malloc-usable.c: New test case.
77493 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77495         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77497 2012-09-05  Allan McRae  <allan@archlinux.org>
77499         [BZ #13966]
77500         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77501         determine header location.
77502         * configure: Regenerated.
77504 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77506         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77507         float format.
77508         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77509         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77510         format.
77511         (test): Regenerate.
77513 2012-09-04  David S. Miller  <davem@davemloft.net>
77515         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77516         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77517         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77519 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77521         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77522         failures.
77524         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77526 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77528         [BZ #9914]
77529         * libio/iogetdelim.c: Include <limits.h>.
77530         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77531         + len + 1 would overflow.
77533 2012-09-03  Andreas Jaeger  <aj@suse.de>
77535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77536         * sysdeps/i386/fpu/libm-test-ulps: Update.
77538 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77540         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77541         Add s_sinf-sse2, s_conf-sse2.
77543         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77544         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77545         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77546         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77548         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77549         for using routine as __sinf_ia32.
77550         Use macro for function declaration and weak_alias.
77551         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77552         for using routine as __cosf_ia32.
77553         Use macro for function declaration and weak_alias.
77555         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77556         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77558         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77559         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77562         * math/libm-test.inc (cos_test): Add more test cases.
77563         (sin_test): Likewise.
77564         (sincos_test): Likewise.
77566 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77568         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77569         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77570         hidden.
77571         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77573 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77575         [BZ #14538]
77576         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77577         first element of the GOT.
77578         (elf_machine_load_address): Return the difference between
77579         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77581 2012-09-01  Allan McRae  <allan@archlinux.org>
77583         [BZ #13412]
77584         * configure.in (AWK): Require gawk version 3.0 or later.
77585         * configure: Regenerated.
77587 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77589         * sysdeps/unix/sysv/linux/kernel-features.h
77590         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77591         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77592         [__NR_clock_getres]: Make code unconditional.
77593         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77594         (clock_getcpuclockid): Remove code left unreachable by removal of
77595         conditionals.
77596         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77597         code unconditional.
77598         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77599         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77600         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77601         Make code unconditional.
77602         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77603         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77604         * sysdeps/unix/sysv/linux/clock_settime.c
77605         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77606         conditional code.
77607         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77608         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77610 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77612         [BZ #14476]
77613         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77614         scripts/test-installation.pl.
77616         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77617         and $ld_so_version if it is set.
77619 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77621         [BZ #14516]
77622         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77623         failure if reading from procfs failed.
77624         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77626 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77628         * sysdeps/unix/sysv/linux/kernel-features.h
77629         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77630         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77631         Remove conditional code.
77632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77633         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77634         Remove conditional code.
77635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77636         * sysdeps/unix/sysv/linux/i386/fxstat.c
77637         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77639         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77640         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77642         * sysdeps/unix/sysv/linux/i386/lxstat.c
77643         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77644         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77645         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77646         Remove conditional code.
77647         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77648         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77649         Remove conditional code.
77650         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77651         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77652         <kernel-features.h>.
77653         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77654         Remove.
77655         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77656         Remove conditional code.
77657         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77658         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77659         Remove conditional.
77661 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77663         [BZ #5400]
77664         * NEWS: Add fixed bug number.
77666 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77668         [BZ #14519]
77669         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77670         underflowing exponent in case of negative sign.
77671         * stdlib/tst-strtod-round-data: Add more tests.
77672         * stdlib/tst-strtod-round.c (tests): Regenerated.
77674         [BZ #3479]
77675         * stdlib/strtod_l.c (NDIG): Remove.
77676         (HEXNDIG): Likewise.
77677         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77678         smallest representable value.
77679         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77680         lie within an exact representation of 1/2 ulp of the result.
77681         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77682         unconditionally.
77683         (TENS_P9_IDX): Define unconditionally.
77684         (TENS_P9_SIZE): Likewise.
77685         (TENS_P10_IDX): Likewise.
77686         (TENS_P10_SIZE): Likewise.
77687         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77688         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77689         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77690         entries for 10^2^13 and 10^2^14.
77691         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77692         (TENS_P13_IDX): Define.
77693         (TENS_P13_SIZE): Likewise.
77694         (TENS_P14_IDX): Likewise.
77695         (TENS_P14_SIZE): Likewise.
77696         (_fpioconst_pow10): Change array size to
77697         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77698         unconditional.
77699         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77700         1024]: Add entries for 10^2^13 and 10^2^14.
77701         [LAST_POW10 > _LAST_POW10]: Remove #error.
77702         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77703         (_fpioconst_pow10): Change array size to
77704         FPIOCONST_POW10_ARRAY_SIZE.
77705         * stdlib/gen-fpioconst.c: New file.
77706         * stdlib/gen-tst-strtod-round.c: Likewise.
77707         * stdlib/tst-strtod-round-data: Likewise.
77708         * stdlib/tst-strtod-round.c: Likewise.
77709         * stdlib/Makefile (tests): Add tst-strtod-round.
77711         [BZ #14459]
77712         * stdlib/strtod_l.c: Include <stdint.h>.
77713         (NDEBUG): Do not define.
77714         (round_and_return): Change EXPONENT parameter to type intmax_t.
77715         Rearrange calculations to avoid internal overflow possibilities.
77716         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77717         Rearrange calculations to avoid internal overflow possibilities.
77718         Assert that number fits inside MPNSIZE limbs.
77719         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77720         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77721         calculations and add assertions to avoid internal overflow
77722         possibilities.  Add casts to avoid signed/unsigned operations.
77723         * stdlib/tst-strtod-overflow.c: New file.
77724         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77726 2012-08-25  Marek Polacek  <polacek@redhat.com>
77728         * time/time.h: Fix some typos in comments.
77730 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77732         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77733         * posix/tst-rfc3484-2.c: Likewise.
77734         * posix/tst-rfc3484-3.c: Likewise.
77736 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77738         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77739         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77741 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77743         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77744         #include of fxstatat64.c.
77746 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77748         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77749         * shadow/getspent_r.c: Likewise.
77750         * shadow/getspnam.c: Likewise.
77751         * shadow/getspnam_r.c: Likewise.
77752         * gshadow/getsgent.c: Likewise.
77753         * gshadow/getsgent_r.c: Likewise.
77754         * gshadow/getsgnam.c: Likewise.
77755         * gshadow/getsgnam_r.c: Likewise.
77756         * inet/getnetbyad.c: Likewise.
77757         * inet/getnetbyad_r.c: Likewise.
77758         * inet/getnetbynm.c: Likewise.
77759         * inet/getnetbynm_r.c: Likewise.
77760         * inet/getnetent.c: Likewise.
77761         * inet/getnetent_r.c: Likewise.
77762         * inet/getproto.c: Likewise.
77763         * inet/getproto_r.c: Likewise.
77764         * inet/getprtent.c: Likewise.
77765         * inet/getprtent_r.c: Likewise.
77766         * inet/getprtname.c: Likewise.
77767         * inet/getprtname_r.c: Likewise.
77768         * inet/getrpcbyname.c: Likewise.
77769         * inet/getrpcbyname_r.c: Likewise.
77770         * inet/getrpcbynumber.c: Likewise.
77771         * inet/getrpcbynumber_r.c: Likewise.
77772         * inet/getrpcent.c: Likewise.
77773         * inet/getrpcent_r.c: Likewise.
77774         * inet/getaliasent.c: Likewise.
77775         * inet/getaliasent_r.c: Likewise.
77776         * inet/getaliasname.c: Likewise.
77777         * inet/getaliasname_r.c: Likewise.
77778         * nscd/getgrgid_r.c: Likewise.
77779         * nscd/getgrnam_r.c: Likewise.
77780         * nscd/gethstbyad_r.c: Likewise.
77781         * nscd/gethstbynm3_r.c: Likewise.
77782         * nscd/getpwnam_r.c: Likewise.
77783         * nscd/getpwuid_r.c: Likewise.
77784         * nscd/getsrvbynm_r.c: Likewise.
77785         * nscd/getsrvbypt_r.c: Likewise.
77786         * nscd/gai.c: Likewise.
77788         * configure.in (build_nscd): New substituted variable, set
77789         by --disable-build-nscd and defaults to $use_nscd.
77790         * configure: Regenerated.
77791         * config.make.in (build-nscd): New substituted variable.
77792         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77793         Change conditional to require [$(build-nscd) = yes] as well.
77794         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77796         [BZ #13696]
77797         * configure.in (use_nscd): New substituted variable, set by
77798         --disable-nscd.  If enabled, define USE_NSCD.
77799         * configure: Regenerated.
77800         * config.h.in: Add USE_NSCD.
77801         * config.make.in (use-nscd): New substituted variable.
77802         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77803         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77804         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77805         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77806         (CFLAGS-getgrnam_r.c): Likewise.
77807         (CFLAGS-initgroups.c): Likewise.
77808         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77809         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77810         Variables removed.
77811         * inet/getnetgrent_r.c
77812         (nscd_setnetgrent): New function, broken out of ...
77813         (setnetgrent): ... here.  Call it.
77814         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77815         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77816         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77817         * nscd/Makefile (routines, aux): Move definitions after include of
77818         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77819         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77820         Conditionalize on [USE_NSCD].
77821         (is_nscd, nscd_init_cb): Likewise.
77822         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77823         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77824         * nss/nss_db/db-init.c: Likewise.
77825         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77826         [USE_NSCD].
77827         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77828         (make_request): Use it.
77829         (cache_valid_p): New function.
77830         (__check_pf): Use it.
77831         * NEWS: Add item for --disable-nscd.
77833 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77835         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77836         to support sed >= 4.2.1-20-ga9bf076.
77837         * configure: Regenerated.
77839 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77841         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77842         Conditionalize whole body on [IREL].
77844 2012-08-22  Jeff Law <law@redhat.com>
77846         [BZ #14505]
77847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77848         if the family is PF_UNSPEC.
77850 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77852         * Makerules (lib-version): Rename from V.
77853         (install-lib-nosubdir): Change V to lib-version.
77855 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77857         [BZ #14252]
77858         * powerpc32/power6/wcschr.c: New file.
77859         * powerpc32/power6/wcscpy.c: New file.
77860         * powerpc32/power6/wcsrchr.c: New file.
77861         * powerpc64/power6/wcschr.c: New file.
77862         * powerpc64/power6/wcscpy.c: New file.
77863         * powerpc64/power6/wcsrchr.c: New file.
77865 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77867         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77868         (two_way_short_needle): Use it.
77869         * string/strstr.c (AVAILABLE1_USES_J): Define.
77870         * string/strcasestr.c: Likewise.
77872         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77873         array references.
77874         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77876         [BZ #11607]
77877         * NEWS: Add an entry.
77878         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77879         define their defaults.
77880         (two_way_short_needle): Detect end-of-string on-the-fly.
77881         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77882         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77883         * string/bug-strcasestr1.c: New test.
77884         * string/Makefile: Run it.
77886 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77888         [BZ #11607]
77889         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77890         the first character.
77892 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77894         * csu/elf-init.c (__libc_csu_irel): Function removed.
77895         * csu/libc-start.c (apply_irel): New function.
77896         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77898 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77900         * sysdeps/unix/sysv/linux/kernel-features.h
77901         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77902         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77903         <kernel-features.h>.
77904         [__NR_fadvise64_64]: Make code unconditional.
77905         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77906         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77907         !__NR_fadvise64_64)]: Likewise.
77908         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77909         !__NR_fadvise64_64))]: Likewise.
77910         [__NR_fadvise64]: Make code unconditional.
77911         [!__NR_fadvise64]: Remove conditional code.
77912         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77913         <kernel-features.h>.
77914         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77915         unconditional.
77916         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77917         conditional code.
77918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77919         not include <kernel-features.h>.
77920         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77921         unconditional.
77922         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77923         conditional code.
77924         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77925         include <kernel-features.h>.
77926         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77927         unconditional.
77928         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77929         conditional code.
77931 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77933         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77934         slight instruction rearrangements per scrollpipe analysis.
77935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77937 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77939         * manual/syslog.texi (syslog; vsyslog, closelog):
77940         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77941         Reported by Ricardo Catalinas JimĂ©nez <jimenezrick@gmail.com>.
77943         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77944         DSOCAPS to match condition on defining it.
77946 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77948         * sysdeps/unix/sysv/linux/kernel-features.h
77949         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77951         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77952         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77954         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77955         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77957         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77958         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77960         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77961         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77963         * sysdeps/unix/sysv/linux/kernel-features.h
77964         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77965         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77966         unconditional.
77967         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77968         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77969         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77970         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77971         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77972         Make code unconditional.
77973         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77974         (__mmap64) [!__NR_mmap2]: Likewise.
77975         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77976         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77977         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77978         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77979         [__NR_mmap2]: Make code unconditional.
77980         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77981         (__mmap64) [!__NR_mmap2]: Likewise.
77983 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77985         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77987 2012-08-18  Andreas Jaeger  <aj@suse.de>
77989         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77991 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77993         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77994         * include/unistd.h (__have_sock_cloexec): Likewise.
77995         (__have_pipe2): Likewise.
77996         (__have_dup3): Likewise.
77998 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78000         [BZ #9685]
78001         * include/unistd.h (__have_pipe2): Change define into an extern int.
78002         (__have_dup3): Likewise.
78003         * socket/have_sock_cloexec.c: Include fcntl.h.
78004         (__have_pipe2): New variable.
78005         (__have_dup3): Likewise.
78007 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
78009         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78011 2012-08-17  Marek Polacek  <polacek@redhat.com>
78013         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78014         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78016 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78018         * configure.in: Add AC_SUBST for sysheaders.
78019         * configure: Regenerated.
78020         * config.make.in (sysheaders): New substituted variable.
78022         * sysdeps/unix/mkfifo.c: Moved ...
78023         * sysdeps/posix/mkfifo.c: ... here.
78024         * sysdeps/unix/mkfifoat.c: Moved ...
78025         * sysdeps/posix/mkfifoat.c: ... here.
78027         * sysdeps/unix/utime.c: Moved ...
78028         * sysdeps/posix/utime.c: ... here.
78030         * sysdeps/unix/time.c: Moved ...
78031         * sysdeps/posix/time.c: ... here.
78032         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78033         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78035         * sysdeps/unix/nice.c: Moved ...
78036         * sysdeps/posix/nice.c: ... here.
78038         * sysdeps/unix/alarm.c: Moved ...
78039         * sysdeps/posix/alarm.c: ... here.
78041         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78043 2012-08-17  Jeff Law <law@redhat.com>
78045         * intl/Makefile (codeset_mo): New variable.
78046         ($(codeset_mo)): New target.
78047         (tst-codeset.out): Depend on that.  Remove explicit rule.
78048         (tst-gettext3.out, tst-gettext5.out): Likewise.
78049         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78050         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78051         * intl/tst-codeset.sh: Remove.
78052         * intl/tst-gettext3.sh: Likewise.
78053         * intl/tst-gettext5.sh: Likewise.
78055 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78057         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78058         * sysdeps/unix/syscalls.list: ... here.
78060         * sysdeps/posix/getaddrinfo.c
78061         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78062         (gaiconf_init, gaiconf_reload): Use them.
78063         [!_STATBUF_ST_NSEC]
78064         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78065         Define using time_t rather than struct timespec.
78067         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78068         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78069         Macros removed.
78070         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78071         [!NO_THREADS].
78072         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78073         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78074         Likewise.
78076         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78077         __libc_cleanup_push argument.
78079         * bits/param.h: New file.
78080         * misc/sys/param.h: New file.
78081         * include/sys/param.h: New file.
78082         * misc/Makefile (headers): Add bits/param.h.
78083         * sysdeps/generic/sys/param.h: File removed.
78084         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78085         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78086         * sysdeps/mach/hurd/bits/param.h: New file.
78087         * sysdeps/mach/hurd/sys/param.h: File removed.
78089         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78090         last change.
78092         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78093         [_IO_MTSAFE_IO].
78094         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78095         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78096         New macros.
78098         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78099         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78100         rather than -D_IO_MTSAFE_IO conditionally.
78101         * stdio-common/Makefile (CPPFLAGS): Likewise.
78102         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78103         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78104         Use $(libio-mtsafe).
78105         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78106         of -D_IO_MTSAFE_IO.
78107         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78108         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78109         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78110         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78111         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78112         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78113         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78114         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78115         (CFLAGS-fread_u_chk.c): Likewise.
78116         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78117         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78118         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78119         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78120         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78121         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78122         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78123         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78124         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78126         * libio/Makefile: Test [$(libc-reentrant) = yes]
78127         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78129         * Makeconfig
78130         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78131         * sysdeps/pthread/configure: File removed.
78132         * sysdeps/pthread/Makeconfig: New file.
78133         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78134         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78136 2012-08-16  Gary Benson  <gbenson@redhat.com>
78138         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78139         unmapping the first object in a namespace.
78141 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78143         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78144         (__internal_setnetgrent): ... this.  Add internal_function to
78145         definition.  Add libc_hidden_def.
78146         (setnetgrent): Update caller.
78147         (internal_endnetgrent): Renamed to ...
78148         (__internal_endnetgrent): ... this.  Add internal_function to
78149         definition.  Add libc_hidden_def.
78150         (endnetgrent): Update caller.
78151         (internal_getnetgrent_r): Renamed to ...
78152         (__internal_getnetgrent_r): ... this.  Add internal_function to
78153         definition.  Add libc_hidden_def.
78154         (__getnetgrent_r): Update caller.
78155         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78157 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78159         * stdlib/longlong.h: Update from GCC.
78161 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78163         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78164         on _QL, which is set by umul_ppmm but never used.
78165         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78166         variables, which are set by GMP macros but never used.
78167         * stdio-common/_itowa.c (_itowa): Likewise.
78168         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78169         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78171 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78173         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78174         struct La_sh_regs is not constant.
78175         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78176         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78177         and struct La_sparc64_regs are not constant.
78179 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78181         * sysdeps/unix/sysv/linux/kernel-features.h
78182         (__ASSUME_POSIX_TIMERS): Remove.
78183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78185         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78186         Make code unconditional.
78187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78188         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78189         Make code unconditional.
78190         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78191         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78192         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78193         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78194         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78195         Make code unconditional.
78196         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78197         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78198         (__libc_missing_posix_timers): Remove.
78200 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78202         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78203         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78205         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78207         * elf/dl-sym.c: Include <stdlib.h>.
78209         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78210         constants, which avoids warnings in 32-bit builds.
78212         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78213         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78215         * misc/lseek.c: File moved to ...
78216         * io/lseek.c: ... here.
78218         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78220         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78221         shifting LEN more than 31 bits at once.
78223 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78225         [BZ #14195]
78226         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78227         segmentation fault for a case of two empty input strings.
78228         * string/test-strncasecmp.c (check1): Renamed to...
78229         (bz12205): ...this.
78230         (bz14195): Add new testcase for two empty input strings and N > 0.
78231         (test_main): Call new testcase, adapt for renamed function.
78233 2012-08-15  Andreas Jaeger  <aj@suse.de>
78235         [BZ #14090]
78236         * crypt/md5test2.c: New test, based on test supplied by Serge
78237         Belyshev <belyshev@depni.sinp.msu.ru>.
78238         * crypt/Makefile (xtests): Add md5test-giant..
78239         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78241 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78243         [BZ #14090]
78244         * crypt/md5.c (md5_process_block): Don't assume the buffer
78245         length is less than 2**32.
78246         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78247         length is less than 2**64.
78249 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78251         * string/str-two-way.h: Include <sys/param.h>.
78252         (MAX): Macro removed.
78254         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78255         Move #define and #undef of memmove to just before and after
78256         including <string.h>.
78258         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78259         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78260         and after including <string.h>.  Move declarations of
78261         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78262         to before #include "string/memmove.c".
78264         * include/dirent.h: Declare __getdirentries.
78266         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78267         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78269 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78271         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78272         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78273         * sysdeps/i386/configure: Regenerated.
78274         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78275         STABS_CURRENT_FILE, and STABS_FUN.
78276         (END): Remove call to STABS_FUN_END.
78277         (STABS_CURRENT_FILE1): Delete.
78278         (STABS_CURRENT_FILE): Likewise.
78279         (STABS_FUN): Likewise.
78280         (STABS_FUN_END): Likewise.
78281         (STABS_FUN2): Likewise.
78282         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78283         * sysdeps/x86_64/configure: Regenerated.
78285 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78287         * elf/dl-open.c: Include <atomic.h>.
78288         * elf/dl-lookup.c: Likewise.
78290 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78292         * sysdeps/unix/sysv/linux/kernel-features.h
78293         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78294         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78295         unconditionally.
78296         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78297         unconditionally.
78298         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78299         condition on __ASSUME_CLONE_THREAD_FLAGS.
78301 2012-08-14  Andreas Jaeger  <aj@suse.de>
78303         * sysdeps/i386/fpu/libm-test-ulps: Update.
78305 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78307         * include/atomic.h (atomic_exchange_and_add): Split into ...
78308         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78309         New atomic macros.
78311 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78315 2012-08-13  Jeff Law <law@redhat.com>
78317         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78318         null byte in the output string.
78320 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78322         * sysdeps/unix/sysv/linux/kernel-features.h
78323         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78324         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78325         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78326         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78327         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78328         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78329         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78331 2012-08-09  Jeff Law <law@redhat.com>
78333         [BZ #13939]
78334         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78335         When avoid_arena is set, don't retry in the that arena.  Pick the
78336         next one, whatever it might be.
78337         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78338         (arena_lock): Pass in new parameter to arena_get2.
78339         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78340         arena_get2.
78341         (__libc_malloc): Unify retrying after main arena failure with
78342         __libc_memalign version.
78343         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78345 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78347         [BZ #14166]
78348         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78349         to __redirect_strstr.
78350         (__strstr_sse42): Use typeof __redirect_strstr.
78351         (__strstr_ia32): Likewise.
78352         (__libc_strstr): New prototype.
78353         (strstr): Renamed to ...
78354         (__libc_strstr): This.
78355         (strstr): New strong alias of __libc_strstr.
78356         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78357         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78358         __redirect_time.
78359         Include <time.h>.
78360         (__libc_time): New prototype.
78361         (time_ifunc): Replace time with __libc_time.
78362         (time): New strong alias and hidden definition of __libc_time.
78363         (__GI_time): Remove strong alias.
78364         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78365         Include <stddef.h>.
78366         (memmove): Redefined to __redirect_memmove.
78367         (__memmove_sse2): Use typeof __redirect_memmove.
78368         (__memmove_ssse3): Likewise.
78369         (__memmove_ssse3_back): Likewise.
78370         (__libc_memmove): New prototype.
78371         (memmove): Renamed to ...
78372         (__libc_memmove): This.
78373         (memmove): New strong alias of __libc_memmove.
78375 2012-08-08  Mark Salter  <msalter@redhat.com>
78377         * elf/elf.h
78378         (R_MN10300_TLS_GD): Define.
78379         (R_MN10300_TLS_LD): Likewise.
78380         (R_MN10300_TLS_LDO): Likewise.
78381         (R_MN10300_TLS_GOTIE): Likewise.
78382         (R_MN10300_TLS_IE): Likewise.
78383         (R_MN10300_TLS_LE): Likewise.
78384         (R_MN10300_TLS_DTPMOD): Likewise.
78385         (R_MN10300_TLS_DTPOFF): Likewise.
78386         (R_MN10300_TLS_TPOFF): Likewise.
78387         (R_MN10300_SYM_DIFF): Likewise.
78388         (R_MN10300_ALIGN): Likewise.
78389         (R_MN10300_NUM): Update.
78391 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78393         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78394         Remove.
78396 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78398         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78400         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78401         sysdeps/unix -> sysdeps/posix move.
78402         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78404 2012-08-07      Allan McRae     <allan@archlinux.org>
78406         [BZ #14303]
78407         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78408         (SUNOS_CPP): Likewise.
78409         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78410         not found.
78411         (open_input): Call CPP using execvp.
78413 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78415         * sysdeps/unix/sysv/linux/kernel-features.h
78416         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78417         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78418         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78419         (__ASSUME_WAITID_SYSCALL): Likewise.
78420         * sysdeps/unix/sysv/linux/dl-execstack.c
78421         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78422         code unconditional.
78423         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78424         conditional code.
78425         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78426         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78427         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78428         code.
78429         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78430         unconditional.
78431         [__ASSUME_WAITID_SYSCALL]: Likewise.
78432         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78434 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78436         * sysdeps/unix/closedir.c: Renamed to ...
78437         * sysdeps/posix/closedir.c: ... here.
78438         * sysdeps/unix/dirfd.c: Renamed to ...
78439         * sysdeps/posix/dirfd.c: ... here.
78440         * sysdeps/unix/dirstream.h: Renamed to ...
78441         * sysdeps/posix/dirstream.h: ... here.
78442         * sysdeps/unix/fdopendir.c: Renamed to ...
78443         * sysdeps/posix/fdopendir.c: ... here.
78444         * sysdeps/unix/opendir.c: Renamed to ...
78445         * sysdeps/posix/opendir.c: ... here.
78446         * sysdeps/unix/readdir.c: Renamed to ...
78447         * sysdeps/posix/readdir.c: ... here.
78448         * sysdeps/unix/readdir_r.c: Renamed to ...
78449         * sysdeps/posix/readdir_r.c: ... here.
78450         * sysdeps/unix/rewinddir.c: Renamed to ...
78451         * sysdeps/posix/rewinddir.c: ... here.
78452         * sysdeps/unix/seekdir.c: Renamed to ...
78453         * sysdeps/posix/seekdir.c: ... here.
78454         * sysdeps/unix/telldir.c: Renamed to ...
78455         * sysdeps/posix/telldir.c: ... here.
78456         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78457         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78458         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78459         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78461         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78462         * bits/fcntl.h: ... here.
78464         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78465         not 0.
78466         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78467         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78468         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78469         (struct flock): Move l_start, l_len to the beginning.
78470         Use __pid_t for l_pid.
78471         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78472         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78473         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78474         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78475         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78476         [__USE_LARGEFILE64] (struct flock64): New type.
78477         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78479         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78480         * bits/dirent.h: ... here.
78482         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78483         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78485 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78488         Change from 2.6.0 to 2.6.16.
78489         * sysdeps/unix/sysv/linux/configure: Regenerated.
78490         * sysdeps/unix/sysv/linux/kernel-features.h
78491         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78492         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78493         version.
78494         (__ASSUME_UTIMES): Likewise.
78495         (__ASSUME_CLONE_STOPPED): Remove.
78496         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78497         architectures, not kernel version.
78498         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78499         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78500         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78501         (__ASSUME_WAITID_SYSCALL): Likewise.
78502         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78503         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78504         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78505         refer to older versions.
78507 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78509         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78510         Define alphasort64 as an alias.
78511         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78512         Define versionsort64 as an alias.
78513         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78514         Define scandir64 as an alias.
78515         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78516         Define scandirat64 as an alias.
78517         * dirent/alphasort64.c (alphasort64):
78518         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78519         * dirent/versionsort64.c: Likewise.
78520         * dirent/scandir64.c: Likewise.
78521         * dirent/scandirat64.c: Likewise.
78522         * sysdeps/wordsize-64/alphasort.c: File removed.
78523         * sysdeps/wordsize-64/alphasort64.c: File removed.
78524         * sysdeps/wordsize-64/scandir.c: File removed.
78525         * sysdeps/wordsize-64/scandir64.c: File removed.
78526         * sysdeps/wordsize-64/scandirat.c: File removed.
78527         * sysdeps/wordsize-64/scandirat64.c: File removed.
78528         * sysdeps/wordsize-64/versionsort.c: File removed.
78529         * sysdeps/wordsize-64/versionsort64.c: File removed.
78530         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78531         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78532         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78533         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78534         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78535         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78537         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78539         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78540         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78541         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78542         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78543         [defined __arch64__ || defined __sparcv9]
78544         (__INO_T_MATCHES_INO64_T): New macro.
78545         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78546         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78547         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78548         * sysdeps/unix/sysv/linux/bits/dirent.h
78549         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78550         (_DIRENT_MATCHES_DIRENT64): New macro.
78552         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78553         Define lockf64 as an alias.
78554         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78555         Define fseeko64 as an alias.
78556         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78557         Define ftello64 as an alias.
78558         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78559         Define _IO_fgetpos64 and fgetpos64 as aliases.
78560         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78561         Define _IO_fsetpos64 and fsetpos64 as aliases.
78562         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78563         Conditionalize body on this.
78564         * libio/fseeko64.c: Likewise.
78565         * libio/ftello64.c: Likewise.
78566         * libio/iofgetpos64.c: Likewise.
78567         * libio/iofsetpos64.c: Likewise.
78568         * sysdeps/wordsize-64/lockf.c: File removed.
78569         * sysdeps/wordsize-64/lockf64.c: File removed.
78570         * sysdeps/wordsize-64/fseeko.c: File removed.
78571         * sysdeps/wordsize-64/fseeko64.c: File removed.
78572         * sysdeps/wordsize-64/ftello.c: File removed.
78573         * sysdeps/wordsize-64/ftello64.c: File removed.
78574         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78575         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78576         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78577         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78578         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78579         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78580         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78581         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78582         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78583         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78585         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78586         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78587         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78589         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78591         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78593         [defined __arch64__ || defined __sparcv9]
78594         (__OFF_T_MATCHES_OFF64_T): New macro.
78595         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78596         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78598         (__OFF_T_MATCHES_OFF64_T): New macro.
78600 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78602         * stdlib/secure-getenv.c (__secure_getenv): Replace
78603         GLIBC_2_16 with GLIBC_2_17.
78605 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78607         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78608         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78610 2012-08-03  David S. Miller  <davem@davemloft.net>
78612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78614 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78616         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78617         Remove.
78618         (__ASSUME_CORRECT_SI_PID): Likewise.
78619         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78620         (__ASSUME_TMPFS_NAME): Likewise.
78621         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78622         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78623         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78624         (HAVE_AUX_SECURE): Make definition unconditional.
78625         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78626         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78628 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78630         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78631         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78632         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78633         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78634         __eloop_threshold instead of SYMLOOP_MAX.
78636         * sysdeps/generic/eloop-threshold.h: New file.
78637         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78638         of MAXSYMLINKS.
78639         * elf/chroot_canon.c (chroot_canon): Likewise.
78641 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78643         [BZ #13717]
78644         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78645         Change to 2.6.0 everywhere.
78646         * sysdeps/unix/sysv/linux/configure: Regenerated.
78647         * sysdeps/unix/sysv/linux/kernel-features.h
78648         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78649         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78650         kernel versions.
78651         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78652         (__ASSUME_FUTEX_REQUEUE): Remove.
78653         (__ASSUME_STATFS64): Define unconditionally.
78654         (__ASSUME_AT_SECURE): Likewise.
78655         (__ASSUME_CORRECT_SI_PID): Likewise.
78656         (__ASSUME_TGKILL): Define without depending on kernel version for
78657         i386.
78658         (__ASSUME_UTIMES): Likewise.
78659         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78660         kernel version.
78661         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78662         (__ASSUME_TMPFS_NAME): Likewise.
78663         * README: Update reference to Linux kernel versions.
78665 2012-08-02  Marek Polacek  <polacek@redhat.com>
78667         [BZ #14150]
78668         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78669         libc_cv_asm_type_prefix with %.
78670         * configure: Regenerated.
78671         * include/libc-symbols.h: Remove comment about
78672         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78673         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78674         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78675         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78676         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78677         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78678         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78679         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78680         * elf/tst-unique2mod1.c: Likewise.
78681         * elf/tst-unique1mod2.c: Likewise.
78682         * elf/tst-unique1mod1.c: Likewise.
78683         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78684         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78685         Replace ASM_TYPE_DIRECTIVE with .type.
78686         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78687         * sysdeps/i386/sysdep.h: Likewise.
78688         * sysdeps/x86_64/sysdep.h: Likewise.
78689         * sysdeps/sh/sysdep.h: Likewise.
78690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78691         Do not define ASM_TYPE_DIRECTIVE.
78692         * sysdeps/powerpc/sysdep.h: Likewise.
78693         * sysdeps/powerpc/powerpc32/sysdep.h:
78694         Replace ASM_TYPE_DIRECTIVE with .type.
78695         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78696         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78697         * sysdeps/i386/fpu/e_powf.S: Likewise.
78698         * sysdeps/i386/fpu/e_expl.S: Likewise.
78699         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78700         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78701         * sysdeps/i386/fpu/e_pow.S: Likewise.
78702         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78703         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78704         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78705         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78706         * sysdeps/i386/fpu/e_log2.S: Likewise.
78707         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78708         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78709         * sysdeps/i386/fpu/e_powl.S: Likewise.
78710         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78711         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78712         * sysdeps/i386/fpu/e_logl.S: Likewise.
78713         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78714         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78715         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78716         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78717         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78718         * sysdeps/i386/fpu/e_log.S: Likewise.
78719         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78720         * sysdeps/i386/fpu/e_logf.S: Likewise.
78721         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78722         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78723         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78724         * sysdeps/i386/fpu/e_log10.S: Likewise.
78725         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78726         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78727         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78728         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78729         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78730         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78731         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78732         * sysdeps/i386/i686/strtok.S: Likewise.
78733         * sysdeps/i386/i386-mcount.S: Likewise.
78734         * sysdeps/i386/strtok.S: Likewise.
78735         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78736         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78737         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78738         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78739         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78740         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78741         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78742         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78743         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78744         * sysdeps/x86_64/_mcount.S: Likewise.
78745         * sysdeps/x86_64/strtok.S: Likewise.
78746         * sysdeps/sh/_mcount.S: Likewise.
78748 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78750         * libio/iofopen.c: Include <fcntl.h>.
78751         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78752         (_IO_fopen64, fopen64): Define as aliases.
78753         * libio/iofopen64.c: Include <fcntl.h>.
78754         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78755         Conditionalize body on this.
78756         * sysdeps/wordsize-64/iofopen.c: File removed.
78757         * sysdeps/wordsize-64/iofopen64.c: File removed.
78759 2012-08-01  Marek Polacek  <polacek@redhat.com>
78761         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78762         Use dlfcn directly instead of a variable.
78763         (binfmt-subdir): Do not define.
78764         (dlfcn): Likewise.
78766 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78769         Remove all definitions.
78770         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78771         <kernel-features.h>.
78772         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78773         (miss_F_GETOWN_EX): Remove all definitions.
78774         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78775         macro definition.
78776         [!__ASSUME_FCNTL64]: Remove conditional code.
78777         [__ASSUME_FCNTL64]: Make code unconditional.
78778         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78779         <kernel-features.h>.
78780         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78781         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78782         (lockf64) [__NR_fcntl64]: Make code unconditional.
78783         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78785         * sysdeps/unix/sysv/linux/kernel-features.h
78786         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78787         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78788         Make code unconditional.
78789         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78790         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78792         [__NR_vfork]: Make code unconditional.
78793         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78794         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78796         [__NR_vfork]: Make code unconditional.
78797         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78798         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78800 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78802         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78803         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78805         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78806         Define mkstemp64 as an alias.
78807         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78808         Define mkstemps64 as an alias.
78809         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78810         Define mkostemp64 as an alias.
78811         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78812         Define mkostemps64 as an alias.
78813         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78814         Conditionalize body on this.
78815         * misc/mkostemp64.c: Likewise.
78816         * misc/mkostemps64.c: Likewise.
78817         * misc/mkstemps64.c: Likewise.
78818         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78819         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78820         * sysdeps/wordsize-64/mkostemp.c: File removed.
78821         * sysdeps/wordsize-64/mkstemp.c: File removed.
78822         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78823         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78824         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78825         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78827         [BZ #14138]
78828         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78829         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78830         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78831         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78833         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78834         compat_symbol macros from <shlib-compat.h> rather than the underlying
78835         default_symbol_version and symbol_version macros, so that DEFAULT
78836         lines in shlib-versions are respected.
78837         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78839 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78841         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78842         Declare with warn_unused_result.
78843         (setgid, setregid, setegid, setresgid): Likewise.
78844         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78845         Likewise.
78846         * WUR-REPORT: Remove set*id functions.
78848 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78850         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78852 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78854         [BZ #10191]
78855         * include/sys/socket.h (__libc_accept, __libc_accept4):
78856         Add attribute_hidden.
78857         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78859         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78860         use of PTR_MANGLE.
78861         * inet/getnetgrent_r.c (setup): Likewise.
78863         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78865 2012-07-31  David S. Miller  <davem@davemloft.net>
78867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78869 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78871         [BZ #13629]
78872         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78873         value between 1.0 and 2.0 and smaller part has absolute value less
78874         than 1.0.
78875         * math/s_clog10.c (__clog10): Likewise.
78876         * math/s_clog10f.c (__clog10f): Likewise.
78877         * math/s_clog10l.c (__clog10l): Likewise.
78878         * math/s_clogf.c (__clogf): Likewise.
78879         * math/s_clogl.c (__clogl): Likewise.
78880         * math/libm-test.inc (clog_test): Add more tests.
78881         (clog10_test): Likewise.
78882         * sysdeps/i386/fpu/libm-test-ulps: Update.
78883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78885 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78887         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78888         Exit with zero in case no suitable GID is found, and write a
78889         message to standard error.
78891 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78893         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78894         rather than to 1.
78895         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78896         (MAXPATHLEN): Removed.
78897         (NOGROUP, NODEV): New macros.
78898         (setbit, clrbit, isset, isclr): New macros.
78899         (howmany, roundup, powerof2): New macros.
78900         (DEV_BSIZE): New macro.
78902         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78903         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78905         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78906         definition on [!__NO_LONG_DOUBLE_MATH].
78908         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78909         PTR_MANGLE and PTR_DEMANGLE.
78911         * socket/accept4.c (accept4): Rename to __libc_accept4.
78912         Define accept4 as a weak alias.
78914         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78915         on [_DIRENT_HAVE_D_TYPE].
78916         * io/ftw.c (ftw_dir): Likewise.
78918         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78920         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78922         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78923         Use the BSD numbers rather than the arbitrary ones we had.
78924         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78925         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78926         (SIGXCPU, SIGXFSZ): New macros.
78927         (_NSIG): Now 32.
78929         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78930         initializer on [_LIBC_REENTRANT].
78932         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78933         definitions inside [_POSIX_MAPPED_FILES].
78935         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78937         * dirent/opendir.c: Include <fcntl.h>.
78939         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78940         (__libc_getspecific): Likewise.
78941         (__libc_key_create): Likewise.
78943         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78944         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78945         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78946         (tmpfile64): Define as alias.
78947         * sysdeps/wordsize-64/tmpfile.c: File removed.
78948         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78950         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78952         * stdio-common/vfscanf.c: Include <stdbool.h>.
78953         * nss/makedb.c: Likewise.
78954         * stdio-common/_i18n_number.h: Likewise.
78955         * argp/argp-help.c: Likewise.
78956         * posix/wordexp.c: Likewise.
78957         * sysdeps/posix/spawni.c: Likewise.
78958         * nss/nss_files/files-initgroups.c: Likewise.
78959         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78960         * nss/nss_files/files-initgroups.c: Likewise.
78961         * nss/nss_db/db-netgrp.c: Likewise.
78962         * nss/nss_db/db-initgroups.c: Likewise.
78963         * io/fchmodat.c: Include <sys/stat.h>.
78965         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78966         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78968         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78969         [HAVE_MMAP].
78971         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78972         Add multiple inclusion protection.
78974 2012-07-27  David S. Miller  <davem@davemloft.net>
78976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78978 2012-07-27  Gary Benson  <gbenson@redhat.com>
78980         [BZ #14298]
78981         * elf/rtld.c: Include <stap-probe.h>.
78982         (dl_main): Added static probes "init_start" and "init_complete".
78983         * elf/dl-load.c: Include <stap-probe.h>.
78984         (lose): Take new parameter "nsid".
78985         Added static probe "map_failed".
78986         (_dl_map_object_from_fd): Pass namespace id to lose.
78987         Added static probe "map_start".
78988         (open_verify): Pass namespace id to lose.
78989         * elf/dl-open.c: Include <stap-probe.h>.
78990         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78991         and "reloc_complete".
78992         * elf/dl-close.c: Include <stap-probe.h>.
78993         (_dl_close_worker): Added static probes "unmap_start" and
78994         "unmap_complete".
78995         * elf/rtld-debugger-interface.txt: New file documenting the above.
78997 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78999         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79000         rather than a string variable.
79001         * sunrpc/rpc_main.c (h_output): Likewise.
79002         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79004 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
79006         * inet/check_native.c: New file.
79008 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
79010         [BZ #13629]
79011         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79012         if larger part has absolute value 1.0.
79013         * math/s_clog10.c (__clog10): Likewise.
79014         * math/s_clog10f.c (__clog10f): Likewise.
79015         * math/s_clog10l.c (__clog10l): Likewise.
79016         * math/s_clogf.c (__clogf): Likewise.
79017         * math/s_clogl.c (__clogl): Likewise.
79018         * math/libm-test.inc (clog_test): Add more tests.
79019         (clog10_test): Likewise.
79020         * sysdeps/i386/fpu/libm-test-ulps: Update.
79021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79023         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79024         (pltexit): Likewise.
79025         (La_regs): Likewise.
79026         (La_retval): Likewise.
79027         (int_retval): Likewise.
79028         Update #error for removed macros to refer only to definitions in
79029         tst-audit.h.
79030         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79031         macro.
79032         (pltexit): Likewise.
79033         (La_regs): Likewise.
79034         (La_retval): Likewise.
79035         (int_retval): Likewise.
79036         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79037         macro.
79038         (pltexit): Likewise.
79039         (La_regs): Likewise.
79040         (La_retval): Likewise.
79041         (int_retval): Likewise.
79042         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79043         macro.
79044         (pltexit): Likewise.
79045         (La_regs): Likewise.
79046         (La_retval): Likewise.
79047         (int_retval): Likewise.
79048         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79049         macro.
79050         (pltexit): Likewise.
79051         (La_regs): Likewise.
79052         (La_retval): Likewise.
79053         (int_retval): Likewise.
79054         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79055         macro.
79056         (pltexit): Likewise.
79057         (La_regs): Likewise.
79058         (La_retval): Likewise.
79059         (int_retval): Likewise.
79060         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79061         macro.
79062         (pltexit): Likewise.
79063         (La_regs): Likewise.
79064         (La_retval): Likewise.
79065         (int_retval): Likewise.
79066         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79067         macro definitions in tst-audit.h.
79068         * sysdeps/i386/tst-audit.h: New file.
79069         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79070         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79071         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79072         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79073         * sysdeps/sh/tst-audit.h: Likewise.
79074         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79075         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79076         * sysdeps/x86_64/tst-audit.h: Likewise.
79078 2012-07-26  Andreas Jaeger  <aj@suse.de>
79080         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79081         ptrace.
79083         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79084         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79085         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79086         PTRACE_O_MASK.
79087         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79088         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79089         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79091         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79092         value.
79094         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79095         _sigsys.
79096         (si_call_addr, si_syscall, si_arch): Define new macro.
79097         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79098         _sigsys.
79099         (si_call_addr, si_syscall, si_arch): Define new marcro.
79100         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79101         _sigsys.
79102         (si_call_addr, si_syscall, si_arch): Define new macro.
79103         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79104         _sigsys.
79105         (si_call_addr, si_syscall, si_arch): Define new macro.
79107 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79109         [BZ #13717]
79110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79111         Change to 2.4.21 where previously 2.4.1.
79112         * sysdeps/unix/sysv/linux/configure: Regenerated.
79113         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79114         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79115         Linux kernel version.
79116         (__ASSUME_STD_AUXV): Remove.
79117         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79118         kernel version.
79119         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79120         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79121         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79122         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79123         (__ASSUME_NETLINK_SUPPORT): Likewise.
79124         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79125         (__no_netlink_support): Remove conditional definition.
79126         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79127         Remove.
79128         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79129         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79130         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79131         (if_nameindex_ioctl): Remove.
79132         (if_nameindex_netlink): Do not handle __no_netlink_support.
79133         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79134         code.
79135         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79136         Remove conditional code.
79137         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79138         code.
79139         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79140         unconditional.
79141         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79142         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79143         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79144         Remove.
79145         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79146         [!__ASSUME_STD_AUXV]: Remove conditional code.
79147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79148         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79149         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79151         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79152         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79153         code.
79154         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79156         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79157         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79158         conditional code.
79159         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79161         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79162         code.
79163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79164         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79165         conditional code.
79166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79167         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79168         code unconditional.
79169         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79170         conditional code.
79171         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79172         unconditional.
79173         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79174         conditional code.
79175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79176         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79177         unconditional.
79178         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79179         conditional code.
79180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79181         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79182         code unconditional.
79183         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79184         conditional code.
79185         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79186         unconditional.
79187         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79188         conditional code.
79189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79190         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79191         code unconditional.
79192         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79193         conditional code.
79194         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79195         unconditional.
79196         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79197         conditional code.
79199 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79201         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79202         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79203         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79204         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79205         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79206         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79207         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79208         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79209         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79210         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79211         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79212         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79213         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79214         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79215         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79216         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79217         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79218         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79219         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79221         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79222         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79225 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79227         * Versions.def: Add GLIBC_2.17.
79228         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79229         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79230         Introduce __libc_secure_getenv.
79231         * stdlib/Versions (2.17): Add secure_getenv
79232         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79233         * stdlib/secure-getenv.c: Rename __secure_getenv to
79234         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79235         symbol __secure_getenv for GLIBC_2.0.
79236         * stdlib/tst-secure-getenv.c: New.
79237         * stdlib/Makefile (tests): Add testcase.
79238         * manual/startup.texi (Environment Access): Document
79239         secure_getenv.
79240         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79241         __libc_secure_getenv.
79242         * inet/ruserpass.c (ruserpass): Likewise.
79243         * malloc/mtrace.c (mtrace): Likewise.
79244         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79245         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79246         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79247         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79248         HAVE_SECURE_GETENV.
79249         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79250         __secure_getenv to __libc_secure_getenv.
79251         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79253         Likewise.
79254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79255         Likewise.
79256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79264 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79266         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79267         (struct La_i86_retval): Likewise.
79268         (struct La_x86_64_regs): Likewise.
79269         (struct La_x86_64_retval): Likewise.
79270         (struct La_x32_regs): Likewise.
79271         (struct La_x32_retval): Likewise.
79272         (struct La_ppc32_regs): Likewise.
79273         (struct La_ppc32_retval): Likewise.
79274         (struct La_ppc64_regs): Likewise.
79275         (struct La_ppc64_retval): Likewise.
79276         (struct La_sh_regs): Likewise.
79277         (struct La_sh_retval): Likewise.
79278         (struct La_s390_32_regs): Likewise.
79279         (struct La_s390_32_retval): Likewise.
79280         (struct La_s390_64_regs): Likewise.
79281         (struct La_s390_64_retval): Likewise.
79282         (struct La_sparc32_regs): Likewise.
79283         (struct La_sparc32_retval): Likewise.
79284         (struct La_sparc64_regs): Likewise.
79285         (struct La_sparc64_retval): Likewise.
79286         (struct audit_ifaces): Remove architecture-specific pltenter and
79287         pltexit members.
79288         * sysdeps/i386/ldsodefs.h: New file.
79289         * sysdeps/powerpc/ldsodefs.h: Likewise.
79290         * sysdeps/s390/ldsodefs.h: Likewise.
79291         * sysdeps/sh/ldsodefs.h: Likewise.
79292         * sysdeps/sparc/ldsodefs.h: Likewise.
79293         * sysdeps/x86_64/ldsodefs.h: Likewise.
79295 2012-07-25  Marek Polacek  <polacek@redhat.com>
79297         [BZ #6808]
79298         * math/libm-test.inc (yn_test): Add another test.
79299         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79300         to ERANGE when the result is +-Inf.
79301         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79302         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79303         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79304         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79306 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79308         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79309         equal to 0.
79310         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79311         clock_t.
79312         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79314 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79316         * configure.in <sysdeps resolving>: Correct printing
79317         Implies_before.
79318         * configure: Regenerate.
79320 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79322         * math/w_ilogb.c: Include <limits.h>.
79323         * math/w_ilogbl.c: Likewise.
79325 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79327         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79328         va_copy.  Document allowing for unavailable va_copy only as
79329         pre-C99 compatibility.
79330         * manual/string.texi (Copying and Concatenation): Use va_copy
79331         instead of __va_copy in concat example.
79333 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79335         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79336         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79337         it if not null.
79339         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79340         with O_NOLINK passed to __file_name_lookup.
79342         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79343         with O_NOLINK passed to __file_name_lookup.
79345         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79346         negative N or less than NGIDS.
79348         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79349         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79350         enough.  Use memcpy instead of strncpy.
79352 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79354         * elf/Makefile (check-data): Remove.
79355         (localplt.data): New vpath directive.
79356         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79357         instead of $(check-data).
79358         * scripts/data/localplt-generic.data: Move to ...
79359         * sysdeps/generic/localplt.data: ... here.
79360         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79361         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79362         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79364         ... here.
79365         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79367         ... here.
79368         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79370         ... here.
79371         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79373         ... here.
79374         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79376         ... here.
79377         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79379         ... here.
79381 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79383         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79384         PPC32 and PPC64 files.
79385         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79386         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79388 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79390         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79391         __makecontext_ret to ...
79392         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79393         ... here and call exit if uc_link is NULL.  New file.
79394         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79395         __makecontext_ret.S.
79396         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79397         __makecontext_ret to ...
79398         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79399         ... here and call exit if uc_link is NULL.  New file.
79400         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79401         __makecontext_ret.S.
79403 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79405         * elf/elf.h (R_390_IRELATIVE): New definition.
79406         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79407         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79408         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79409         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79410         (elf_machine_lazy_rel): Likewise.
79411         * sysdeps/s390/dl-irel.h: New file.
79412         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79413         * sysdeps/s390/s390-64/memset.S: New asm code.
79414         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79415         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79416         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79417         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79418         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79419         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79420         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79421         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79422         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79423         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79424         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79425         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79426         * sysdeps/s390/s390-32/memset.S: New asm code.
79427         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79429 2012-07-17  Marek Polacek  <polacek@redhat.com>
79431         [BZ #14349]
79432         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79433         * sysdeps/s390/s390-64/configure.in: Likewise.
79434         * sysdeps/sparc/configure.in: Likewise.
79435         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79436         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79437         * sysdeps/i386/configure.in: Likewise.
79438         * sysdeps/x86_64/configure.in: Likewise.
79439         * sysdeps/sh/configure.in: Likewise.
79440         * sysdeps/s390/s390-32/configure: Regenerated.
79441         * sysdeps/s390/s390-64/configure: Likewise.
79442         * sysdeps/x86_64/configure: Likewise.
79443         * sysdeps/sh/configure: Likewise.
79444         * sysdeps/powerpc/powerpc64/configure: Likewise.
79445         * sysdeps/powerpc/powerpc32/configure: Likewise.
79446         * sysdeps/sparc/configure: Likewise.
79447         * sysdeps/i386/configure: Likewise.
79449         * elf/dl-open.c: Comment fixes.
79451 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79453         * Makefile [CXX] (check-data): Remove.
79454         [CXX] (c++-types.data): New vpath directive.
79455         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79456         vpath.  Do not allow for C++ type data being missing.
79457         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79458         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79459         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79460         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79461         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79462         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79463         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79465         ... here.
79466         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79468         ... here.
79469         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79471         ... here.
79472         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79474         ... here.
79475         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79477         ... here.
79478         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79480         ... here.
79481         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79483         ... here.
79484         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79487         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79488         definitions to architecture-specific files.
79489         (TLS_IE): Likewise.
79490         (TLS_LD): Likewise.
79491         (TLS_GD): Likewise.
79492         * sysdeps/i386/tls-macros.h: New file.
79493         * sysdeps/powerpc/tls-macros.h: Likewise.
79494         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79495         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79496         * sysdeps/sh/tls-macros.h: Likewise.
79497         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79498         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79499         * sysdeps/x86_64/tls-macros.h: Likewise.
79501 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79503         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79504         zero value for regular exit case.
79506         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79507         (__start_context): Preserve zero value for regular exit case.
79509 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79510             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79512         * manual/setjmp.texi (setcontext): Clarify normal process
79513         termination when uc_link is the null pointer.
79514         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79515         exit call.
79517 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79519         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79520         preprocessor.  Test for each exception mask separately.
79522 2012-07-16  Andreas Jaeger  <aj@suse.de>
79524         * po/ru.po: Update from translation team.
79526 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79528         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79529         equal to 0.
79530         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79531         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79532         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79533         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79534         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79536 2012-07-13  Andreas Jaeger  <aj@suse.de>
79538         * po/fr.po: Update from translation team.
79540 2012-07-12  Marek Polacek  <polacek@redhat.com>
79542         [BZ #14173]
79543         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79544         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79545         loop condition.
79547 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79549         [BZ #13717]
79550         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79551         Change to 2.4.1 where previously 2.4.0.
79552         * sysdeps/unix/sysv/linux/configure: Regenerated.
79553         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79554         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79555         version.
79556         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79557         (__ASSUME_AT_CLKTCK): Remove.
79558         (__ASSUME_AT_PAGESIZE): Likewise.
79559         (__ASSUME_AT_XID): Likewise.
79560         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79561         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79562         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79563         unconditionally.
79564         (HAVE_AUX_PAGESIZE): Likewise.
79565         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79566         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79567         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79569 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79571         [BZ #14307]
79572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79573         the temporary buffer used to invoke __gethostbyname2_r,
79574         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79575         host_data / struct gaih_addrtuple.
79576         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79577         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79578         header file nss/nsswitch.h.
79579         * nss/nsswitch.h (global scope): Add definition of implementation
79580         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79581         resolv/nss_dns/dns-host.c).
79583 2012-07-11  Andreas Jaeger  <aj@suse.de>
79585         * po/fr.po: Update from translation team.
79587         * po/sv.po: Update from translation team
79588         * po/fr.po: Another update from translation team.
79590 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79592         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79593         for subnormals or multiply small sinh result by itself.
79594         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79597 2012-07-11  David S. Miller  <davem@davemloft.net>
79599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79601 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79603         [BZ #14347]
79604         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79605         (INTERNAL_MARK): Shift it here.
79607 2012-07-10  Marek Polacek  <polacek@redhat.com>
79609         [BZ #14151]
79610         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79611         libc_cv_asm_global_directive with .globl.
79612         * configure: Regenerated.
79613         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79614         with .globl.
79615         * sysdeps/i386/configure: Regenerated.
79616         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79617         with .globl.
79618         * sysdeps/x86_64/configure: Regenerated.
79619         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79620         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79621         * elf/tst-unique2mod2.c: Likewise.
79622         * elf/tst-unique2mod1.c: Likewise.
79623         * elf/tst-unique1mod2.c: Likewise.
79624         * elf/tst-unique1mod1.c: Likewise.
79625         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79626         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79627         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79628         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79629         * sysdeps/mach/sysdep.h: Likewise.
79630         * sysdeps/i386/sysdep.h: Likewise.
79631         * sysdeps/i386/i386-mcount.S: Likewise.
79632         * sysdeps/x86_64/_mcount.S: Likewise.
79633         * sysdeps/x86_64/sysdep.h: Likewise.
79634         * sysdeps/sh/_mcount.S: Likewise.
79635         * sysdeps/sh/sysdep.h: Likewise.
79636         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79637         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79638         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79639         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79640         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79641         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79642         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79643         * locale/localeinfo.h: Likewise.
79644         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79645         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79647 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79649         [BZ #14336]
79650         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79651         system".
79652         * manual/message.texi (The Uniforum approach): Likewise.
79653         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79654         (glibc iconv Implementation): Likewise.
79656 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79658         [BZ #14337]
79659         * math/s_clog.c (__clog): Avoid scaling a value down where that
79660         could result in underflow.
79661         * math/s_clog10.c (__clog10): Likewise.
79662         * math/s_clog10f.c (__clog10f): Likewise.
79663         * math/s_clog10l.c (__clog10l): Likewise.
79664         * math/s_clogf.c (__clogf): Likewise.
79665         * math/s_clogl.c (__clogl): Likewise.
79666         * math/libm-test.inc (clog_test): Add more tests.
79667         (clog10_test): Likewise.
79668         * sysdeps/i386/fpu/libm-test-ulps: Update.
79669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79671 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79673         [BZ #14283]
79674         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79675         by 7 not 8 to examine high bit of fractional part.
79677         [BZ #14042]
79678         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79679         for call to __mcount_internal.
79680         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79681         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79682         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79684 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79686         [BZ #14154]
79687         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79688         approximation for values within 0x1p-13f of an odd multiple of
79689         pi/4.
79690         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79691         exception.  Add more tests.
79692         * sysdeps/i386/fpu/libm-test-ulps: Update.
79694         [BZ #6778]
79695         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79696         inputs and return -1 for them.  Do not check for +Inf in case not
79697         reachable for +Inf.
79698         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79699         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79700         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79701         and return -1 for them.  Do not check for +Inf in case not
79702         reachable for +Inf.
79703         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79704         define.
79705         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79706         and return -1 for them.  Do not check for +Inf in case not
79707         reachable for +Inf.
79708         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79709         spurious underflow.
79710         * sysdeps/i386/fpu/libm-test-ulps: Update.
79711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79713 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79715         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79717 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79719         [BZ #14157]
79720         [BZ #14331]
79721         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79722         could result in spurious underflow.  Scale down values above
79723         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79724         * math/s_csqrtf.c (__csqrtf): Likewise.
79725         * math/s_csqrtl.c (__csqrtl): Likewise.
79726         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79727         spurious underflow.
79728         * sysdeps/i386/fpu/libm-test-ulps: Update.
79729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79731 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79733         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79734         xopen-msg.sed.
79735         * catgets/xopen-msg.awk: New file.
79736         * catgets/xopen-msg.sed: Removed.
79738         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79739         po2text.sed.
79740         * intl/po2test.awk: New file.
79741         * intl/po2test.sed: Removed.
79743 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79745         [BZ #14328]
79746         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79747         or multiply small sinh result by itself.
79748         * math/s_ctanf.c (__ctanf): Likewise.
79749         * math/s_ctanh.c (__ctanh): Likewise.
79750         * math/s_ctanhf.c (__ctanhf): Likewise.
79751         * math/s_ctanhl.c (__ctanhl): Likewise.
79752         * math/s_ctanl.c (__ctanl): Likewise.
79753         * math/libm-test.inc (ctan_test_tonearest): New function.
79754         (ctan_test_towardzero): Likewise.
79755         (ctan_test_downward): Likewise.
79756         (ctan_test_upward): Likewise.
79757         (ctanh_test_tonearest): Likewise.
79758         (ctanh_test_towardzero): Likewise.
79759         (ctanh_test_downward): Likewise.
79760         (ctanh_test_upward): Likewise.
79761         (main): Call these new functions.
79762         * sysdeps/i386/fpu/libm-test-ulps: Update.
79763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79765 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79767         * .gitignore: Delete /ports entry.
79769 2012-07-03  Andreas Jaeger  <aj@suse.de>
79771         * po/bg.po: Update from translation team.
79772         * po/cs.po: Likewise.
79773         * po/de.po: Likewise.
79774         * po/hr.po: Likewise.
79775         * po/nl.pl: Likewise.
79776         * po/pl.po: Likewise.
79777         * po/vi.po: Likewise.
79779 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79781         * Makeconfig [!+link] (+link-before-libc): New variable.
79782         [!+link] (+link-after-libc): Likewise.
79783         [!+link] (+link-tests): Likewise.
79784         [!+link] (+link): Define in terms of $(+link-before-libc) and
79785         $(+link-after-libc).
79786         [!+link-static] (+link-static-before-libc): New variable.
79787         [!+link-static] (+link-static-after-libc): Likewise.
79788         [!+link-static] (+link-static-tests): Likewise.
79789         [!+link-static] (+link-static): Define in terms of
79790         $(+link-static-before-libc) and $(+link-static-after-libc).
79791         [build-shared] (link-libc-before-gnulib): New variable.
79792         [build-shared] (link-libc-tests): Likewise.
79793         [build-shared] (link-libc): Define in terms of
79794         $(link-libc-before-gnulib).
79795         [!build-shared] (link-libc-tests): New variable.
79796         (link-libc-static-tests): New variable.
79797         [!gnulib] (gnulib-arch): New variable.
79798         [!gnulib] (gnulib-tests): Likewise.
79799         [!gnulib] (static-gnulib-arch): Likewise.
79800         [!gnulib] (static-gnulib-tests): Likewise.
79801         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79802         Define with "=" instead of ":=".
79803         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79804         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79805         * Rules (binaries-all-notests): New variable.
79806         (binaries-all-tests): Likewise.
79807         (binaries-static-notests): Likewise.
79808         (binaries-static-tests): Likewise.
79809         (binaries-all): Define using $(binaries-all-notests) and
79810         $(binaries-all-tests).
79811         (binaries-static): Define using $(binaries-static-notests) and
79812         $(binaries-static-tests).
79813         (binaries-shared-tests): New variable.
79814         (binaries-shared-notests): Likewise.
79815         (binaries-shared): Remove variable.
79816         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79817         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79818         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79819         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79820         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79821         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79822         * elf/Makefile (sln-modules): New variable.
79823         (extra-objs): Add $(sln-modules:=.o).
79824         (ldconfig-modules): Add static-stubs.
79825         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79826         * elf/static-stubs.c: New file.
79828         [BZ #14283]
79829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79830         by 7 not 8 to examine high bit of fractional part.  Use volatile
79831         variables when splitting into final array of floats if
79832         __FLT_EVAL_METHOD__ != 0.
79833         * math/libm-test.inc (cos_test): Add another test.
79834         (sin_test): Likewise.
79835         * sysdeps/i386/fpu/libm-test-ulps: Update.
79837         [BZ #14273]
79838         * math/libm-test.inc (cosh_test): Add more tests.
79840         * version.h (RELEASE): Set to "development".
79841         (VERSION): Set to "2.16.90".
79843 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79845         * NEWS: Update copyright. Remove last-updated date.
79846         Mention math library bug fixes and timezone data changes.
79847         * README: Mention GNU/Hurd, x32, and HPPA support status.
79849 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79851         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79853 2012-06-27  Andreas Jaeger  <aj@suse.de>
79855         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79857 2012-06-25  Andreas Jaeger  <aj@suse.de>
79859         * sysdeps/s390/fpu/libm-test-ulps: Update.
79861 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79862             Thomas Schwinge  <thomas@codesourcery.com>
79864         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79865         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79867         fanotify_mark.
79869 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79871         * sysdeps/mach/start.c: Remove file.
79872         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79873         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79874         * sysdeps/sh/init-first.c: Likewise.
79876         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79877         registers for frame unwinding purposes, add CFI directives.
79878         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79879         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79880         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79881         Likewise.
79883         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79884         __fortify_fail returning.
79885         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79887         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79888         sysdeps/sh/____longjmp_chk.S.
79889         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79890         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79891         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79892         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79894         * sysdeps/sh/abort-instr.h: New file.
79895         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79896         process in case exit returns.
79898         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79899         initialize the GOT register before use.
79901         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79902         calculation of ARGC > 4.
79904         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79905         meaningful names to some local labels.
79907 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79908             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79910         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79911         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79912         (__arch_compare_and_exchange_val_16_acq): Likewise.
79913         (__arch_compare_and_exchange_val_32_acq): Likewise.
79914         (atomic_exchange_and_add): Fix gUSA sequence.
79915         (atomic_add): Likewise.
79916         (atomic_add_negative): Likewise.
79917         (atomic_add_zero): Likewise.
79918         (atomic_bit_test_set): Likewise.
79920 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79922         [BZ #13579]
79923         * include/link.h (struct link_map): Add l_free_initfini.
79924         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79925         l_initfini.
79926         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79927         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79928         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79929         set.
79931 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79933         * configure.in: Use AC_LANG_SOURCE.
79934         * configure: Regenerate.
79936 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79938         * configure.in (libc_cv_localstatedir): New substituted variable.
79939         * configure: Regenerated.
79940         * config.make.in (localstatedir): New variable, substituted from
79941         libc_cv_localstatedir.
79942         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79943         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79944         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79945         * sysdeps/gnu/configure: Regenerated.
79947 2012-06-21  Jeff Law  <law@redhat.com>
79949         [BZ #14277]
79950         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79951         free.  Simplify list management for _LIBC case.
79953 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79955         [BZ #14273]
79956         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79957         Clear sign bit of 64-bit integer value before comparing against
79958         overflow value.
79960         * sysdeps/mach/configure: Regenerated.
79962 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79964         [BZ #14278]
79965         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79967 2012-06-21  Jeff Law  <law@redhat.com>
79969         [BZ #13882]
79970         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79971         uint16_t for elements in the "seen" array to avoid char overflows.
79972         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79973         * elf/dl-open.c (dl_open_worker): Likewise.
79975 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79977         * scripts/list-sources.sh: Scan PORTS for translations.
79978         * po/libc.pot: Regenerated.
79980 2012-06-21  Andreas Jaeger  <aj@suse.de>
79982         [BZ #12194]
79983         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79984         warning.
79985         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79986         * bits/byteswap-16.h (__bswap_16): Likewise.
79987         * bits/byteswap.h (__bswap_constant_16): Likewise.
79989 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79991         [BZ #14117]
79992         * sysdeps/i386/fpu_control.h: Removed.
79993         * sysdeps/x86_64/fpu_control.h: Moved to ...
79994         * sysdeps/x86/fpu_control.h: Here.
79996         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79997         (_FPU_SETCW): Likewise.
79999 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
80001         [BZ #14117]
80002         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80003         * sysdeps/x86/fpu/bits/mathinline.h: This.
80004         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80006         [BZ #14050]
80007         [BZ #14117]
80008         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80009         functions if __x86_64__ is defined.
80011 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
80013         * string/endian.h: Add !__ASSEMBLER__ condition for including
80014         conversion interfaces.
80016 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
80018         [BZ #14241]
80019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80020         of ABS(x) in calculating zero to negative powers other than odd
80021         integers.
80022         * math/libm-test.inc (pow_test): Add more tests.
80024 2012-06-15  Andreas Jaeger  <aj@suse.de>
80026         * manual/contrib.texi (Contributors): Update entry of Liubov
80027         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80028         Machado Filho.
80030 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
80032         * string/string.h: Add __wur to GNU version of strerror_r.
80034 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80036         [BZ #14229]
80037         * string/Makefile (tests): Add tst-strtok_r.
80038         * string/tst-strtok_r.c: New file.
80039         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80040         RAX_LP/RDX_LP on SAVE_PTR.
80042 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80044         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80046 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80048         * libm_test.inc (csqrt_test): Allow more spurious underflow
80049         exceptions.
80050         (j0_test): Likewise.
80051         (j1_test): Likewise.
80052         (y0_test): Likewise.
80053         (y1_test): Likewise.
80055 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80057         * po/Makefile (libc.pot): Use UTF-8 charset.
80059 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80061         [BZ #14210]
80062         Suppress sign-conversion warning from FD_SET.
80063         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80064         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80065         not unsigned long int.
80066         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80068 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80070         [BZ #14050]
80071         [BZ #14117]
80072         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80073         __extern_always_inline instead of __extern_inline.
80074         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80075         (__signbit): Likewise.
80076         (__signbitl): Support C++ namespace.
80077         (lrintf): New inline function.
80078         (lrint): Likewise.
80079         (llrintf): Likewise.
80080         (llrint): Likewise.
80081         (fmaxf): Likewise.
80082         (fmax): Likewise.
80083         (fminf): Likewise.
80084         (fmin): Likewise.
80085         (rint): Likewise.
80086         (rintf): Likewise.
80087         (ceil): Likewise.
80088         (ceilf): Likewise.
80089         (floor): Likewise.
80090         (floorf): Likewise.
80091         (nearbyint): Likewise.
80092         (nearbyintf): Likewise.
80094 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80096         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80097         non-default versions.
80099 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80101         [BZ #14218]
80102         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80104 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80106         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80107         (FE_UPWARD, FE_DOWNWARD): Don't define.
80108         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80109         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80111         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80112         reading it.
80113         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80114         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80116 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80118         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80120         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80121         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80123 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80125         [BZ #14117]
80126         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80127         * sysdeps/i386/fpu/Implies: New file.
80128         * sysdeps/x86_64/fpu/Implies: Likewise.
80129         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80130         * sysdeps/x86/fpu/bits/fenv.h: This.
80132         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80133         __SSE_MATH__.
80135 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80137         [BZ #14134]
80138         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80139         character 0xffff that matches the last element of the
80140         conversion table.
80142 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80144         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80145         fmodl commit.
80147 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80150         values higher than 25.6283.
80152 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80154         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80155         subnormal exponent extraction and add some __builtin_expect.
80156         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80157         Fix for subnormal mantissa calculation.
80159 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80161         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80162         cpu2 is -1 and errno is not ENOSYS.
80164 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80166         [BZ #14117]
80167         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80168         * sysdeps/x86/bits/string.h: This.
80169         * sysdeps/x86_64/bits/string.h: Removed.
80171         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80172         if not compiling for x86-64, but compiling for >= i486.
80174         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80175         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80177         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80178         New macro from Linux kernel 3.4.0.
80179         (FP_XSTATE_MAGIC2): Likewise.
80180         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80181         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80182         (struct _fpx_sw_bytes): New struct.
80183         (struct _xsave_hdr): Likewise.
80184         (struct _ymmh_state): Likewise.
80185         (struct _xstate): Likewise.
80187         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80188         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80189         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80190         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80191         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80192         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80194         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80195         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80196         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80197         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80198         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80199         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80201 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80203         [BZ #13743]
80204         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80205         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80206         (sysdep_headers): Include sys/platform/ppc.h.
80207         * sysdeps/powerpc/test-gettimebase.c: Test for
80208         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80209         * manual/Makefile (appendices): Include platform.texi.
80210         * manual/contrib.texi (Contributors): Update @node pointers.
80211         * manual/maint.texi (Maintenance): Likewise.
80212         (Platform): New node.
80213         * manual/platform.texi: New file.  Document the new features.
80215 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80216             Jakub Jelinek  <jakub@redhat.com>
80218         [BZ #14188]
80219         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80220         where __builtin_expect is unavailable.
80222 2012-06-03  David S. Miller  <davem@davemloft.net>
80224         * stdlib/longlong.h: Updated from GCC.
80226 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80228         [BZ #14042]
80229         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80230         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80231         __mcount_internal.
80232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80233         (GLIBC_2.16): Likewise.
80235 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80237         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80239 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80242         (default-abi): New variable.
80243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80244         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80245         variable.
80246         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80247         Likewise.
80248         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80249         Likewise.
80250         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80251         Likewise.
80253         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80254         definition.  Document in comment.
80256 2012-06-01  David S. Miller  <davem@davemloft.net>
80258         * stdlib/longlong.h: Updated from GCC.
80260 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80262         [BZ #14117]
80263         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80264         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80265         sys/debugreg.h sys/io.h here.
80266         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80267         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80268         sys/io.h.
80269         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80270         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80271         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80272         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80273         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80274         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80276         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80277         Define only if __x86_64__ is defined.
80279 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80281         [BZ #14048]
80282         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80283         Use int64_t for variable i.
80284         * math/libm-test.inc (fmod_test): Add more tests.
80286         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80287         z computation is not scheduled after fetestexcept.
80288         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80289         Use math_force_eval instead of asm to ensure calculation scheduled
80290         before exception test.
80291         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80292         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80294 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80296         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80297         computation is not scheduled after fetestexcept.
80299 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80301         [BZ #14117]
80302         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80303         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80305 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80307         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80308         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80310 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80312         [BZ #14117]
80313         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80314         <bits/wordsize.h>.
80315         (__WCHAR_MIN): Support __WORDSIZE == 64.
80316         (__WCHAR_MAX): Likewise.
80318         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80319         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80321         [BZ #14183]
80322         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80323         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80325         [BZ #14117]
80326         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80327         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80329         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80330         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80332         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80333         Defined to 1 if __x86_64__ isn't defined.
80334         (_STAT_VER_LINUX_OLD): New.
80335         (st_atime): Remove duplicate.
80336         (st_mtime): Likewise.
80337         (st_ctime): Likewise.
80339 2012-05-31  David S. Miller  <davem@davemloft.net>
80341         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80342         entries.
80344 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80346         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80347         gen-libm-test.pl.
80349         [BZ #14132]
80350         * elf/dl-reloc.c: Include <_itoa.h>.
80351         (_dl_reloc_bad_type): Remove use of INTUSE.
80352         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80353         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80354         * stdio-common/psiginfo.c (psiginfo): Likewise.
80355         * stdio-common/psignal.c (psignal): Likewise.
80356         * string/strsignal.c (strsignal): Likewise.
80357         * include/signal.h (_sys_siglist): Declare hidden proto.
80358         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80359         INTVARDEF with libc_hidden_data_def.
80360         * stdio-common/itoa-udigits.c: Likewise.
80361         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80362         (_itoa_lower_digits_internal): Remove declaration.
80363         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80364         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80365         (_sys_sigabbrev_internal): Remove aliases.
80366         (_sys_siglist): Define hidden alias.
80368 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80371         bits/sysctl.h.
80373 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80375         [BZ #14117]
80376         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80377         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80379         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80380         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80381         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80382         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80384         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80386         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80387         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80388         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80390         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80391         with __addr.
80392         (insw): Likewise.
80393         (insl): Likewise.
80394         (outsb): Likewise.
80395         (outsw): Likewise.
80396         (outsl): Likewise.
80398         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80399         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80400         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80402         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80403         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80404         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80405         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80406         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80407         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80409         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80410         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80412         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80413         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80415         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80416         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80419         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80420         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80421         to ...
80422         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80424         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80425         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80426         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80428         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80429         for x86-64.
80430         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80432 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80434         * math/math.h (M_El): Use two more decimal places.
80435         (M_LOG2El): Likewise.
80436         (M_LOG10El): Likewise.
80437         (M_LN2l): Likewise.
80438         (M_LN10l): Likewise.
80439         (M_PIl): Likewise.
80440         (M_PI_2l): Likewise.
80441         (M_PI_4l): Likewise.
80442         (M_1_PIl): Likewise.
80443         (M_2_PIl): Likewise.
80444         (M_2_SQRTPIl): Likewise.
80445         (M_SQRT2l): Likewise.
80446         (M_SQRT1_2l): Likewise.
80448 2012-05-31  David S. Miller  <davem@davemloft.net>
80450         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80451         values between float registers.
80452         * sysdeps/sparc/sparc64/memset.S: Likewise.
80453         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80455 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80457         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80458         -D_FORTIFY_SOURCE=1.
80459         (CPPFLAGS-tst-longjmp_chk.c): Define.
80460         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80461         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80462         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80463         CFLAGS-tst-wchar-h.c.
80465 2012-05-31  Marek Polacek  <polacek@redhat.com>
80467         [BZ #14132]
80468         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80469         __endmntent_internal): Remove declaration.
80470         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80471         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80472         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80474 2012-05-30  David S. Miller  <davem@davemloft.net>
80476         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80477         (___Q_simulate_exceptions): Use real FP ops rather than writing
80478         into the %fsr.
80479         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80480         Likewise.
80482 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80484         [BZ #14117]
80485         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80486         * sysdeps/x86/bits/xtitypes.h: This.
80488         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80489         * sysdeps/x86/bits/wordsize.h: This.
80491         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80492         * sysdeps/x86/bits/huge_vall.h: This.
80494         * sysdeps/i386/bits/select.h: Removed.
80495         * sysdeps/x86_64/bits/select.h: Renamed to ...
80496         * sysdeps/x86/bits/select.h: This.
80498         * sysdeps/i386/bits/setjmp.h: Removed.
80499         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80500         * sysdeps/x86/bits/setjmp.h: This.
80502         * sysdeps/i386/bits/mathdef.h: Removed.
80503         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80504         * sysdeps/x86/bits/mathdef.h: This.
80506 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80508         [BZ #14132]
80509         * include/sys/socket.h (__connect_internal)
80510         (__libc_sa_len_internal): Remove declaration.
80511         (__connect, __libc_sa_len): Declare hidden_proto.
80512         (SA_LEN): Remove use of INTUSE.
80513         * socket/connect.c: Add libc_hidden_def.
80514         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80515         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80516         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80517         alias.
80518         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80519         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80520         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80521         of adding _internal alias.
80523 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80525         [BZ #14117]
80526         * sysdeps/i386/bits/link.h: Removed.
80527         * sysdeps/i386/bits/linkmap.h: Likewise.
80528         * sysdeps/x86_64/bits/link.h: Renamed to ...
80529         * sysdeps/x86/bits/link.h: This.
80530         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80531         * sysdeps/x86/bits/linkmap.h: This.
80533         * sysdeps/i386/bits/endian.h: Removed.
80534         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80535         * sysdeps/x86/bits/endian.h: This.
80537         * sysdeps/i386/bits/byteswap.h: Removed.
80538         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80539         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80540         * sysdeps/x86/bits/byteswap.h: This.
80541         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80542         * sysdeps/x86/bits/byteswap-16.h: This.
80543         * sysdeps/i386/Implies: Add x86.
80544         * sysdeps/x86_64/Implies: Likewise.
80546 2012-05-30  David S. Miller  <davem@davemloft.net>
80548         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80549         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80550         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80551         (FP_TRAPPING_EXCEPTIONS): Define.
80552         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80553         (FP_TRAPPING_EXCEPTIONS): Define.
80554         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80555         subnormals only when inexact has been signalled or underflow
80556         exceptions are enabled.
80557         (_FP_PACK_CANONICAL): Likewise.
80559 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80561         [BZ #14183]
80562         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80563         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80565 2012-05-30  Richard Henderson  <rth@twiddle.net>
80567         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80568         with #ifndef NOT_IN_libc.
80570         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80571         marked to avoid plt entry.
80573 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80575         [BZ #14112]
80576         * Makeconfig (default-abi): New macro.
80577         (abi-includes): Likewise.
80578         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80579         $(abi-$(default-abi)-lib-soname) for soname if defined.
80580         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80581         abi-variants.
80582         * Makefile (installed-stubs): Likewise.
80583         * include/stubs-biarch.h: Removed.
80584         * scripts/lib-names.awk: Only handle one library at a time.
80585         * scripts/soversions.awk: Remove WORDSIZE support.
80586         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80587         entries.
80588         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80589         Removed.
80590         (syscall-list-default-condition): Likewise.
80591         (syscall-list-default-condition): Likewise.
80592         (syscall-list-includes): Likewise.
80593         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80594         syscall-list-* with abi-*.  Handle undefined abi-variants.
80595         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80596         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80597         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80598         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80599         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80600         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80601         Removed.
80602         (syscall-list-32-options): Likewise.
80603         (syscall-list-32-condition): Likewise.
80604         (syscall-list-64-options): Likewise.
80605         (syscall-list-64-condition): Likewise.
80606         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80607         macro.
80608         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80609         Renamed to ...
80610         (abi-*): This.
80611         (abi-64-ld-soname): New macro.
80612         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80613         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80614         Renamed to ...
80615         (abi-*): This.
80616         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80617         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80619 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80621         * sysdeps/unix/sysv/linux/kernel-features.h
80622         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80623         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80624         include <kernel-features.h>.
80625         [!__NR_ftruncate64]: Remove conditional code.
80626         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80627         [__NR_ftruncate64]: Make code unconditional.
80628         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80629         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80630         include <kernel-features.h>.
80631         [!__NR_ftruncate64]: Remove conditional code.
80632         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80633         [__NR_ftruncate64]: Make code unconditional.
80634         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80636         include <kernel-features.h>.
80637         [!__NR_ftruncate64]: Remove conditional code.
80638         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80639         [__NR_ftruncate64]: Make code unconditional.
80640         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80642         include <kernel-features.h>.
80643         [!__NR_ftruncate64]: Remove conditional code.
80644         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80645         [__NR_ftruncate64]: Make code unconditional.
80646         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80648         * configure.in (libc_cv_fpie): Weaken to a compile test using
80649         LIBC_TRY_CC_OPTION.
80650         * configure: Regenerated.
80652 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80658         Refreshed.
80659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80665         Refreshed.
80667 2012-05-27  David S. Miller  <davem@davemloft.net>
80669         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80670         (___Q_zero): New.
80671         (__Q_simulate_exceptions): Return void.  Change to simulate
80672         exceptions by writing into the %fsr.
80673         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80674         (__Qp_handle_exceptions): Likewise.
80675         (numbers): Delete.
80676         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80677         __Qp_handle_exceptions.
80678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80679         __Qp_handle_exceptions.
80680         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80681         as unused and give dummy FP_RND_NEAREST initializer.
80682         (FP_INHIBIT_RESULTS): Define.
80683         (___Q_simulate_exceptions): Update declaration.
80684         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80685         formatting.
80686         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80687         as unused and give dummy FP_RND_NEAREST initializer.
80688         (__Qp_handle_exceptions): Update declaration.
80689         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80690         formatting.
80692 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80694         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80695         the temporary FPU control word.
80696         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80697         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80698         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80699         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80700         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80701         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80702         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80703         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80704         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80705         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80706         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80708 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80710         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80711         fields.
80713 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80715         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80716         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80717         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80718         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80719         Likewise.
80720         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80721         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80722         Likewise.
80724 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80726         * po/h.po: Update from translation team.
80728 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80730         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80732         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80733         handling of denormals.
80734         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80735         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80736         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80737         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80738         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80739         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80741         Likewise.
80743 2012-05-26  Marek Polacek  <polacek@redhat.com>
80745         [BZ #14152]
80746         * math/libm-test.inc (fma_test): Don't always expect underflow
80747         exception.
80749 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80751         [BZ #12416]
80752         * elf/tst-execstack.c: Include stackinfo.h.
80753         (do_test): Adjust test case to ensure that pthread_getattr_np
80754         behaviour remains the same after marking stack executable.
80756 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80758         * sysdeps/unix/sysv/linux/kernel-features.h
80759         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80760         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80761         kernel-features.h.
80762         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80763         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80764         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80765         kernel-features.h.
80766         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80767         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80769 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80771         * configure.in: Define the default includes to being none.
80772         * configure: Regenerated.
80774 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80776         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80777         * sysdeps/x86_64/setjmp.S: Likewise.
80778         * sysdeps/i386/bsd-setjmp.S: Likewise.
80779         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80780         * sysdeps/i386/setjmp.S: Likewise.
80781         * sysdeps/i386/__longjmp.S: Likewise.
80782         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80783         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80785         * include/stap-probe.h: New file.
80786         * configure.in: Handle --enable-systemtap.
80787         * configure: Regenerated.
80788         * config.h.in (USE_STAP_PROBE): New #undef.
80789         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80790         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80791         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80793 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80795         [BZ #13717]
80796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80797         to 2.4.0 where earlier.
80798         * sysdeps/unix/sysv/linux/configure: Regenerated.
80799         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80800         <kernel-features.h>.
80801         [__ASSUME_32BITUIDS]: Make code unconditional.
80802         [!__ASSUME_32BITUIDS]: Remove conditional code.
80803         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80804         <kernel-features.h>.
80805         [__ASSUME_32BITUIDS]: Make code unconditional.
80806         [!__ASSUME_32BITUIDS]: Remove conditional code.
80807         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80808         [__ASSUME_32BITUIDS]: Make code unconditional.
80809         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80810         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80811         <kernel-features.h>.
80812         [__ASSUME_32BITUIDS]: Make code unconditional.
80813         [!__ASSUME_32BITUIDS]: Remove conditional code.
80814         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80815         <kernel-features.h>.
80816         [__ASSUME_32BITUIDS]: Make code unconditional.
80817         [!__ASSUME_32BITUIDS]: Remove conditional code.
80818         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80819         <kernel-features.h>.
80820         [__ASSUME_32BITUIDS]: Make code unconditional.
80821         [!__ASSUME_32BITUIDS]: Remove conditional code.
80822         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80823         <kernel-features.h>.
80824         [__ASSUME_32BITUIDS]: Make code unconditional.
80825         [!__ASSUME_32BITUIDS]: Remove conditional code.
80826         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80827         <kernel-features.h>.
80828         [__ASSUME_32BITUIDS]: Make code unconditional.
80829         [!__ASSUME_32BITUIDS]: Remove conditional code.
80830         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80831         <kernel-features.h>.
80832         [__ASSUME_32BITUIDS]: Make code unconditional.
80833         [!__ASSUME_32BITUIDS]: Remove conditional code.
80834         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80835         <kernel-features.h>.
80836         [__ASSUME_32BITUIDS]: Make code unconditional.
80837         [!__ASSUME_32BITUIDS]: Remove conditional code.
80838         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80839         <kernel-features.h>.
80840         [__ASSUME_32BITUIDS]: Make code unconditional.
80841         [!__ASSUME_32BITUIDS]: Remove conditional code.
80842         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80843         <kernel-features.h>.
80844         [__ASSUME_32BITUIDS]: Make code unconditional.
80845         [!__ASSUME_32BITUIDS]: Remove conditional code.
80846         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80847         <kernel-features.h>.
80848         [__ASSUME_32BITUIDS]: Make code unconditional.
80849         [!__ASSUME_32BITUIDS]: Remove conditional code.
80850         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80851         <kernel-features.h>.
80852         [__NR_setresgid] (__setresgid): Do not declare.
80853         [__ASSUME_32BITUIDS]: Make code unconditional.
80854         [!__ASSUME_32BITUIDS]: Remove conditional code.
80855         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80856         <kernel-features.h>.
80857         [__NR_setresuid] (__setresuid): Do not declare.
80858         [__ASSUME_32BITUIDS]: Make code unconditional.
80859         [!__ASSUME_32BITUIDS]: Remove conditional code.
80860         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80861         <kernel-features.h>.
80862         [__ASSUME_32BITUIDS]: Make code unconditional.
80863         [!__ASSUME_32BITUIDS]: Remove conditional code.
80864         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80865         <kernel-features.h>.
80866         [__ASSUME_32BITUIDS]: Make code unconditional.
80867         [!__ASSUME_32BITUIDS]: Remove conditional code.
80868         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80869         <kernel-features.h>.
80870         [__ASSUME_32BITUIDS]: Make code unconditional.
80871         [!__ASSUME_32BITUIDS]: Remove conditional code.
80872         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80873         <kernel-features.h>.
80874         [__ASSUME_32BITUIDS]: Make code unconditional.
80875         [!__ASSUME_32BITUIDS]: Remove conditional code.
80876         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80877         <kernel-features.h>.
80878         [__ASSUME_32BITUIDS]: Make code unconditional.
80879         [!__ASSUME_32BITUIDS]: Remove conditional code.
80880         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80881         <kernel-features.h>.
80882         [__ASSUME_32BITUIDS]: Make code unconditional.
80883         [!__ASSUME_32BITUIDS]: Remove conditional code.
80884         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80885         <kernel-features.h>.
80886         [__ASSUME_32BITUIDS]: Make code unconditional.
80887         [!__ASSUME_32BITUIDS]: Remove conditional code.
80888         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.c: Do not include
80897         <kernel-features.h>.
80898         [__ASSUME_32BITUIDS]: Make code unconditional.
80899         [!__ASSUME_32BITUIDS]: Remove conditional code.
80900         * sysdeps/unix/sysv/linux/kernel-features.h
80901         (__ASSUME_SETRESUID_SYSCALL): Remove.
80902         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80903         (__ASSUME_32BITUIDS): Likewise.
80904         (__ASSUME_LDT_WORKS): Likewise.
80905         (__ASSUME_O_DIRECTORY): Likewise.
80906         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80907         architecture but not kernel version.
80908         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80909         (__ASSUME_MMAP2_SYSCALL): Likewise.
80910         (__ASSUME_STAT64_SYSCALL): Likewise.
80911         (__ASSUME_IPC64): Likewise.
80912         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80913         <kernel-features.h>.
80914         [__ASSUME_32BITUIDS]: Make code unconditional.
80915         [!__ASSUME_32BITUIDS]: Remove conditional code.
80916         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80917         <kernel-features.h>.
80918         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80919         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80920         132096]: Remove conditional code.
80921         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80922         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80923         <kernel-features.h>.
80924         [__ASSUME_32BITUIDS]: Make code unconditional.
80925         [!__ASSUME_32BITUIDS]: Remove conditional code.
80926         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80927         <kernel-features.h>.
80928         [__ASSUME_32BITUIDS]: Make code unconditional.
80929         [!__ASSUME_32BITUIDS]: Remove conditional code.
80930         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80931         <kernel-features.h>.
80932         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80933         unconditional.
80934         (__setresgid): Do not declare.
80935         [__ASSUME_32BITUIDS]: Make code unconditional.
80936         [!__ASSUME_32BITUIDS]: Remove conditional code.
80937         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80938         <kernel-features.h>.
80939         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80940         unconditional.
80941         (__setresuid): Do not declare.
80942         [__ASSUME_32BITUIDS]: Make code unconditional.
80943         [!__ASSUME_32BITUIDS]: Remove conditional code.
80944         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80945         <kernel-features.h>.
80946         [__ASSUME_32BITUIDS]: Make code unconditional.
80947         [!__ASSUME_32BITUIDS]: Remove conditional code.
80948         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80949         <kernel-features.h>.
80950         [__ASSUME_32BITUIDS]: Make code unconditional.
80951         [!__ASSUME_32BITUIDS]: Remove conditional code.
80953 2012-05-25  Richard Henderson  <rth@twiddle.net>
80955         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80956         dl_hwcap to ifunc resolver.
80957         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80958         elf_ifunc_invoke.
80959         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80960         dl_hwcap to ifunc resolver.
80961         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80963 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80965         [BZ #14153]
80966         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80967         for |x| <= 2**-26, not 2**-57.
80968         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80969         exception.
80971 2012-05-24  Jeff Law  <law@redhat.com>
80973         * stdio-common/Makefile (tests): Add bug25.
80974         * stdio-common/bug25.c: New test.
80976 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80978         [BZ #13576]
80979         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80980         multiple of MALLOC_ALIGNMENT in size.
80981         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80983 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80985         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80986         Require >= 256.
80987         (FILENAME_MAX): Use macro-int-constant.
80988         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80989         (_IOFBF): Use macro-int-constant.
80990         (_IOLBF): Likewise.
80991         (_IONBF): Likewise.
80992         (SEEK_CUR): Likewise.
80993         (SEEK_END): Likewise.
80994         (SEEK_SET): Likewise.
80995         (TMP_MAX): Likewise.
80996         (EOF): Use macro-int-constant.  Require < 0.
80997         (NULL): Use macro-constant.  Require == 0.
80998         (stdin): Require type to be FILE *.
80999         (stdout): Likewise.
81000         (stderr): Likewise.
81001         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81002         macro-int-constant.
81003         (EXIT_SUCCESS): Likewise.
81004         (NULL): Use macro-constant.  Require == 0.
81005         (RAND_MAX): Use macro-int-constant.
81006         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81007         [C99-based standards] (strtof): Require function.
81008         [C99-based standards] (strtold): Likewise.
81009         [C99-based standards] (strtoll): Likewise.
81010         [C99-based standards] (strtoull): Likewise.
81011         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81012         [ISO || ISO99 || ISO11] (limits.h): Likewise.
81013         [ISO || ISO99 || ISO11] (math.h): Likewise.
81014         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81015         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81018 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
81020         [BZ #14132]
81021         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81022         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81023         * intl/dgettext.c (DCGETTEXT): Likewise.
81024         * intl/gettext.c (DCGETTEXT): Likewise.
81025         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81026         * posix/regex_internal.h (gettext): Likewise.
81027         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81028         Remove declaration.
81029         * include/argz.h (__argz_count_internal)
81030         (__argz_stringify_internal): Remove declaration.
81031         (__argz_count, __argz_stringify): Declare hidden proto.
81032         * intl/dcgettext.c: Remove use of INTDEF.
81033         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81034         * string/argz-stringify.c: Likewise.
81035         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81036         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81037         Declare hidden proto.
81038         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81039         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81040         Declare hidden proto.
81041         * include/stdio.h (__asprintf_internal): Don't declare.
81042         (__asprintf): Don't define as macro.  Declare hidden proto.
81043         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81044         (__fsetlocking): Declare hidden proto.
81045         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81046         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81047         hidden proto.
81048         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81049         (_IO_setlinebuf): Remove use of INTUSE.
81050         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81051         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81052         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81053         Remove declaration.
81054         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81055         (_IO_do_flush): Remove use of INTUSE.
81056         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81057         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81058         (_IO_adjust_column, _IO_least_wmarker)
81059         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81060         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81061         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81062         (_IO_default_doallocate, _IO_wdefault_doallocate)
81063         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81064         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81065         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81066         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81067         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81068         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81069         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81070         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81071         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81072         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81073         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81074         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81075         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81076         proto.
81077         (_IO_flush_all_internal, _IO_adjust_column_internal)
81078         (_IO_default_uflow_internal, _IO_default_finish_internal)
81079         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81080         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81081         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81082         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81083         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81084         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81085         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81086         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81087         (_IO_file_close_internal, _IO_file_close_it_internal)
81088         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81089         (_IO_file_init_internal, _IO_file_attach_internal)
81090         (_IO_file_fopen_internal, _IO_file_read_internal)
81091         (_IO_file_sync_internal, _IO_file_seek_internal)
81092         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81093         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81094         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81095         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81096         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81097         (_IO_list_all_internal, _IO_link_in_internal)
81098         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81099         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81100         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81101         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81102         (_IO_do_write_internal, _IO_padn_internal)
81103         (_IO_getline_info_internal, _IO_getline_internal)
81104         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81105         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81106         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81107         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81108         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81109         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81110         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81111         with libc_hidden_ver, remove use of INTUSE.
81112         * libio/genops.c: Likewise.
81113         * libio/freopen.c: Likewise.
81114         * libio/freopen64.c: Likewise.
81115         * libio/iofclose.c: Likewise.
81116         * libio/iofdopen.c: Likewise.
81117         * libio/iofflush.c: Likewise.
81118         * libio/iofflush_u.c: Likewise.
81119         * libio/iofgets.c: Likewise.
81120         * libio/iofgets_u.c: Likewise.
81121         * libio/iofopen.c: Likewise.
81122         * libio/iofopncook.c: Likewise.
81123         * libio/iofread.c: Likewise.
81124         * libio/iofread_u.c: Likewise.
81125         * libio/ioftell.c: Likewise.
81126         * libio/iofwrite.c: Likewise.
81127         * libio/iogetline.c: Likewise.
81128         * libio/iogets.c: Likewise.
81129         * libio/iogetwline.c: Likewise.
81130         * libio/iopadn.c: Likewise.
81131         * libio/iopopen.c: Likewise.
81132         * libio/ioseekoff.c: Likewise.
81133         * libio/ioseekpos.c: Likewise.
81134         * libio/iosetbuffer.c: Likewise.
81135         * libio/iosetvbuf.c: Likewise.
81136         * libio/ioungetc.c: Likewise.
81137         * libio/ioungetwc.c: Likewise.
81138         * libio/iovdprintf.c: Likewise.
81139         * libio/iovsprintf.c: Likewise.
81140         * libio/iovsscanf.c: Likewise.
81141         * libio/memstream.c: Likewise.
81142         * libio/obprintf.c: Likewise.
81143         * libio/oldfileops.c: Likewise.
81144         * libio/oldiofclose.c: Likewise.
81145         * libio/oldiofdopen.c: Likewise.
81146         * libio/oldiofopen.c: Likewise.
81147         * libio/oldiopopen.c: Likewise.
81148         * libio/oldstdfiles.c: Likewise.
81149         * libio/putc.c: Likewise.
81150         * libio/setbuf.c: Likewise.
81151         * libio/setlinebuf.c: Likewise.
81152         * libio/stdfiles.c: Likewise.
81153         * libio/strops.c: Likewise.
81154         * libio/vasprintf.c: Likewise.
81155         * libio/vscanf.c: Likewise.
81156         * libio/vsnprintf.c: Likewise.
81157         * libio/vswprintf.c: Likewise.
81158         * libio/wfiledoalloc.c: Likewise.
81159         * libio/wfileops.c: Likewise.
81160         * libio/wgenops.c: Likewise.
81161         * libio/wmemstream.c: Likewise.
81162         * libio/wstrops.c: Likewise.
81163         * libio/__fpurge.c: Likewise.
81164         * libio/__fsetlocking.c: Likewise.
81165         * assert/assert.c: Likewise.
81166         * debug/fgets_chk.c: Likewise.
81167         * debug/fgets_u_chk.c: Likewise.
81168         * debug/fread_chk.c: Likewise.
81169         * debug/fread_u_chk.c: Likewise.
81170         * debug/gets_chk.c: Likewise.
81171         * debug/obprintf_chk.c: Likewise.
81172         * debug/vasprintf_chk.c: Likewise.
81173         * debug/vdprintf_chk.c: Likewise.
81174         * debug/vsnprintf_chk.c: Likewise.
81175         * debug/vsprintf_chk.c: Likewise.
81176         * malloc/mtrace.c: Likewise.
81177         * misc/error.c: Likewise.
81178         * misc/syslog.c: Likewise.
81179         * stdio-common/asprintf.c: Likewise.
81180         * stdio-common/fxprintf.c: Likewise.
81181         * stdio-common/getw.c: Likewise.
81182         * stdio-common/isoc99_fscanf.c: Likewise.
81183         * stdio-common/isoc99_scanf.c: Likewise.
81184         * stdio-common/isoc99_vfscanf.c: Likewise.
81185         * stdio-common/isoc99_vscanf.c: Likewise.
81186         * stdio-common/isoc99_vsscanf.c: Likewise.
81187         * stdio-common/printf-prs.c: Likewise.
81188         * stdio-common/printf_fp.c: Likewise.
81189         * stdio-common/printf_fphex.c: Likewise.
81190         * stdio-common/printf_size.c: Likewise.
81191         * stdio-common/putw.c: Likewise.
81192         * stdio-common/scanf.c: Likewise.
81193         * stdio-common/sprintf.c: Likewise.
81194         * stdio-common/tmpfile.c: Likewise.
81195         * stdio-common/vfprintf.c: Likewise.
81196         * stdio-common/vfscanf.c: Likewise.
81197         * stdlib/strfmon_l.c: Likewise.
81198         * sunrpc/openchild.c: Likewise.
81199         * sunrpc/xdr_stdio.c: Likewise.
81200         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81201         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81203 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81205         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81207         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81208         in the third column, to generate for the shared library an IFUNC
81209         that uses _dl_vdso_vsym.
81210         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81211         * Makeconfig (object-suffixes-noshared): New variable.
81213         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81214         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81215         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81216         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81218         [BZ #14132]
81219         * include/sys/time.h (__gettimeofday): Remove macro.
81220         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81221         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81222         Remove INTDEF.
81223         (__gettimeofday): Add libc_hidden_def.
81224         (gettimeofday): Add libc_hidden_weak.
81225         * sysdeps/mach/gettimeofday.c: Likewise.
81226         * sysdeps/posix/gettimeofday.c: Likewise.
81227         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81228         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81230         (__gettimeofday_internal): Remove strong_alias.
81231         (__gettimeofday): Add libc_hidden_def.
81232         (gettimeofday): Add libc_hidden_weak.
81233         * sysdeps/unix/syscalls.list (gettimeofday):
81234         Remove __gettimeofday_internal alias.
81236 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81237             H.J. Lu  <hongjiu.lu@intel.com>
81239         [BZ #12495]
81240         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81241         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81242         (largebin_index_32_big): New.
81243         (largebin_index): Use it for 16-byte alignment.
81244         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81245         correction with front_misalign.
81247 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81251         Likewise.
81252         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81253         Likewise.
81254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81255         Likewise.
81256         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81257         Likewise.
81258         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81259         Likewise.
81260         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81261         Likewise.
81262         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81263         Likewise.
81264         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81265         Likewise.
81266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81267         Likewise.
81268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81269         Likewise.
81270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81271         Likewise.
81272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81273         Likewise.
81275         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81276         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81278 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81280         [BZ #10846]
81281         [BZ #14036]
81282         * math/libm-test.inc (exp_test): Add test from bug 14036.
81283         (pow_test): Add test from bug 10846.
81285         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81286         and other flags.
81287         (special_function): Do not include flags in test name.
81288         (parse_args): Likewise.
81289         * sysdeps/i386/fpu/libm-test-ulps: Update.
81290         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81291         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81292         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81295         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81296         exceptions.
81297         * math/libm-test.inc ("Philosophy"): Update comment about
81298         exception testing.
81299         (UNDERFLOW_EXCEPTION): New macro.
81300         (UNDERFLOW_EXCEPTION_OK): Likewise.
81301         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81302         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81303         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81304         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81305         (INVALID_EXCEPTION_OK): Update value.
81306         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81307         (OVERFLOW_EXCEPTION_OK): Likewise.
81308         (IGNORE_ZERO_INF_SIGN): Likewise.
81309         (test_exceptions): Handle underflow exceptions.
81310         (acos_test): Update for underflow exception expectations.
81311         (cexp_test): Likewise.
81312         (clog_test): Likewise.
81313         (clog10_test): Likewise.
81314         (csqrt_test): Likewise.
81315         (ctan_test): Likewise.
81316         (ctanh_test): Likewise.
81317         (exp_test): Likewise.
81318         (exp10_test): Likewise.
81319         (exp2_test): Likewise.
81320         (expm1_test): Likewise.
81321         (fma_test): Likewise.
81322         (j0_test): Likewise.
81323         (jn_test): Likewise.
81324         (nexttoward_test): Likewise.
81325         (pow_test): Likewise.
81326         (scalbn_test): Likewise.
81327         (scalbln_test): Likewise.
81328         (tan_test): Likewise.
81329         (y1_test): Likewise.
81330         * sysdeps/i386/fpu/libm-test-ulps: Update.
81331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81333 2012-05-23  David S. Miller  <davem@davemloft.net>
81335         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81336         (__libc_sigaction): Remove unused local variables.
81338 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81340         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81342 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81344         mktime: avoid signed integer overflow
81345         * time/mktime.c (__mktime_internal): Do not mishandle the case
81346         where diff == INT_MIN.
81348         mktime: simplify computation of average
81349         * time/mktime.c (ranged_convert): Use new time_t_avg function
81350         instead of rolling our own (probably-slower) code.
81352         mktime: do not assume signed right shift propagates sign bit
81353         * time/mktime.c (isdst_differ): New static function.
81354         (__mktime_internal): No need to normalize tm_isdst now.
81355         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81356         tm_isdst values.
81358         mktime: merge another wrapv change from gnulib
81359         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81360         from some compilers.
81362         mktime: remove incorrect attempt at unusual arithmetics
81363         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81364         The code didn't really work on such machines anyway.
81365         (TYPE_MINIMUM): Assume two's complement.
81366         (twos_complement_arithmetic): Verify that long_int and time_t
81367         are two's complement (or unsigned, in the latter case).
81369         mktime: check signed shifts on long_int and time_t, too
81370         * time/mktime.c (SHR): Check that shifts work as desired
81371         on the types long_int and time_t too, as SHR is used on
81372         such types.
81374         mktime: do not assume 'long' is wide enough
81375         * time/mktime.c (verify): Move decl up.
81376         (long_int): New type.
81377         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81378         to remove assumption in the code that 'long' is wide enough to
81379         store year values.  This assumption is not true on x32 and on
81380         some non-glibc platforms.
81382         mktime: merge wrapv change from gnulib
81383         * time/mktime.c (WRAPV): New macro.
81384         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81385         (guess_time_tm, __mktime_internal): Do not assume that signed
81386         integer overflow wraps around; modern compilers generate code
81387         where this assumption is no longer valid.
81389 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81391         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81392         Replace "jmp L(pseudo_end)" with "ret".
81393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81394         Likewise.
81396 2012-05-23  Andreas Jaeger  <aj@suse.de>
81398         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81399         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81401 2012-05-23  Andreas Jaeger  <aj@suse.de>
81402             Maximilian Attems  <max@stro.at>
81404         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81405         New macros.
81407 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81410         code so that pseudo_end is just ret and the stack pointer is
81411         correct also for static library in error case.
81413 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81415         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81416         move to syscalls.list.
81417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81422         * manual/install.texi (Running make install): Do not mention Linux
81423         kernel version for which pt_chown is not needed.
81424         (Linux): Do not mention problems with nscd with 2.0 kernels.
81425         * INSTALL: Regenerated.
81427 2012-05-23  Andreas Jaeger  <aj@suse.de>
81429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81430         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81431         macro.
81432         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81433         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81434         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81435         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81436         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81437         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81439         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81441         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81442         * sysdeps/unix/sysv/linux/bits/in.h
81443         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81445 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81447         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81448         (PREPARE_VERSION): Just use assert instead, it will be elided
81449         under [NDEBUG] anyway.
81451 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81453         * sysdeps/unix/sysv/linux/Makefile: Include
81454         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81455         (sysdep_routines): Remove sysctl.
81456         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81457         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81458         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81459         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81460         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81462 2012-05-22  Andreas Jaeger  <aj@suse.de>
81464         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81465         that pseudo_end is just ret and the stack pointer is correct also
81466         for static library in error case.
81468 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81470         [BZ #14122]
81471         * nss/nsswitch.c (defconfig_entries): New variable.
81472         (__nss_database_lookup): Don't leak defconfig entries.
81473         (nss_parse_service_list): Don't leak on error paths.
81474         (free_database_entries): New function.
81475         (free_defconfig): New function.
81476         (free_mem): Move common code to free_database_entries.
81478 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81480         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81481         Add arch_prctl.
81482         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81484         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81485         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81487         New macro.
81488         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81489         (INTERNAL_SYSCALL_TYPES): Likewise.
81490         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81491         (LOAD_REGS_TYPES_[1-6]): Likewise.
81492         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81493         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81495 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81497         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81498         copysignl for GLIBC_2_0.
81499         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81500         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81501         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81502         logbl for GLIBC_2_0.
81503         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81504         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81506 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81508         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81509         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81511         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81512         Use "neg %eax".
81514         * time/mktime.c: Update copyright years.
81516 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81518         mktime: merge comment-quoting-style change from gnulib
81519         * time/mktime.c: Quote 'like this' in comments.
81520         The GNU coding standards suggest that we no longer quote `like this',
81521         as "`" and "'" are typically rendered asymmetrically nowadays.
81522         The typical gnulib style is to quote 'like this' when quoting
81523         code, and "like this" when quoting English.
81525         * time/mktime.c (compile-command): Add "-I.".
81527         mktime: merge mktime-internal.h change from gnulib
81528         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81530         mktime: merge time_r change from gnulib
81531         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81533         mktime: merge DEBUG change from gnulib
81534         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81535         case system <time.h> has a #define.
81537         mktime: merge <sys/types.h> change from gnulib
81538         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81539         since <time.t> is now guaranteed to define time_t.
81541         mktime: merge HAVE_CONFIG_H change from gnulib
81542         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81544 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81547         Use "neg %eax".
81549         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81550         __rlim_t cast.
81551         (struct rusage): Use anonymous union to pad each field to
81552         __syscall_slong_t.
81554 2012-05-21  David S. Miller  <davem@davemloft.net>
81556         * Makefules (o-iterator): Remove .s cases.
81557         (compile-command.s): Delete.
81558         (COMPILE.s): Delete.
81559         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81561 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81563         * configure.in (libc_cv_predef_stack_protector): Only consider
81564         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81565         * configure: Regenerated.
81567 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81570         New macro.  Use R*LP on int and pointer.
81571         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81572         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81573         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81574         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81576         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81577         [__WORDSIZE_TIME64_COMPAT32] instead of
81578         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81579         (struct utmp): Likewise.
81580         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81581         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81582         Renamed to ...
81583         (__WORDSIZE_TIME64_COMPAT32): This.
81584         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81585         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81586         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81587         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81588         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81589         (__WORDSIZE_TIME64_COMPAT32): New macro.
81591 2012-05-21  Andreas Jaeger  <aj@suse.de>
81593         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81594         only if [SHARED]. Add prototype for __wcschr_ia32.
81596 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81598         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81599         of %rbp unmolested in the jmp_buf while mangling the low bits.
81600         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81601         unmolested high bits of %rbp while demangling the low bits.
81602         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81604 2012-05-21  Andreas Jaeger  <aj@suse.de>
81606         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81607         * sunrpc/svc_simple.c: Use it for registerrpc.
81608         * sunrpc/xcrypt.c: Use it for passwd2des.
81610         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81612 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81614         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81615         Don't define if [__SYSCALL_WORDSIZE != 32].
81616         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81617         New macro.
81619 2012-05-21  Bruno Haible  <bruno@clisp.org>
81620             Andreas Jaeger  <aj@suse.de>
81622         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81623         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81624         inptr and inend for must_buffer_ch.
81625         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81626         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81627         * stdio-common/Makefile (tests): Remove bug15.
81628         (bug15-ENV): Remove macro.
81629         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81630         anymore.
81632 2012-05-19  Andreas Jaeger  <aj@suse.de>
81633             Roland McGrath  <roland@hack.frob.com>
81635         * manual/contrib.texi: Completely rewritten. It contains now an
81636         alphabetical list of contributors and their contributions.
81638 2012-05-21  Richard Henderson  <rth@twiddle.net>
81640         * misc/getauxval.c (__getauxval): Use unsigned long int.
81641         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81642         (getauxval): Use unsigned long int.
81644 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81646         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81648 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81650         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81651         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81652         __alignof__ (long double).
81654 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81658 2012-05-20  Richard Henderson  <rth@twiddle.net>
81660         * misc/getauxval.c: New file.
81661         * misc/sys/auxv.h: New file.
81662         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81663         (routines): Add getauxval.
81664         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81665         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81666         * elf/dl-sysdep.c (_dl_auxv): Remove.
81667         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81668         * elf/dl-support.c (_dl_auxv): New variable.
81669         (_dl_aux_init): Initialize it.
81670         * manual/startup.texi (Auxiliary Vector): New node.
81671         * sysdeps/generic/bits/hwcap.h: New file.
81672         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81673         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81674         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81675         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81676         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81677         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81679         Update.
81680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81689 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81693 2012-05-19  David S. Miller  <davem@davemloft.net>
81695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81697 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81699         [BZ #14123]
81700         * math/s_ccosh.c: Include <float.h>
81701         (__ccosh): Avoid internal overflow calculating sinh and cosh
81702         values before multiplying by sin and cos values.
81703         * math/s_ccoshf.c: Likewise.
81704         * math/s_ccoshl.c: Likewise.
81705         * math/s_csin.c: Likewise.
81706         * math/s_csinf.c: Likewise.
81707         * math/s_csinl.c: Likewise.
81708         * math/s_csinh.c: Likewise.
81709         * math/s_csinhf.c: Likewise.
81710         * math/s_csinhl.c: Likewise.
81711         * math/libm-test.inc (ccos_test): Add more tests.
81712         (ccosh_test): Likewise.
81713         (csin_test): Likewise.
81714         (csinh_test): Likewise.
81715         * sysdeps/i386/fpu/libm-test-ulps: Update.
81716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81718 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81720         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81721         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81723         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81725 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81727         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81728         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81729         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81730         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81731         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81732         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81733         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81734         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81735         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81736         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81737         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81738         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81739         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81740         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81741         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81742         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81743         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81744         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81745         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81746         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81747         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81748         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81749         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81750         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81751         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81752         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81753         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81754         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81755         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81756         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81757         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81759 2012-05-18  Andreas Jaeger  <aj@suse.de>
81761         * csu/.gitignore: Delete.
81763 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81765         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81766         (timex): Use __syscall_slong_t.
81768 2012-05-18  Andreas Jaeger  <aj@suse.de>
81769             Carlos O'Donell  <carlos_odonell@mentor.com>
81771         * manual/install.texi (Configuring and compiling): Update
81772         description about files modified in the source directory.
81773         * INSTALL: Regenerated.
81775 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81777         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81778         value.  Use "or" to set return value to -1.
81779         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81780         negate return value.
81782 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81784         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81785         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81786         failure if the compiler has Graphite support disabled.
81787         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81788         Likewise.
81789         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81790         (CFLAGS-memmove.c): Likewise.
81791         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81792         Likewise.
81794 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81796         * sysdeps/x86_64/x32/_itoa.h: New file.
81798         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81799         getdents system call only if kernel and user dirents have the
81800         same d_ino and d_off.
81802         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81803         LLONG_MAX != LONG_MAX.
81804         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81805         (_fitoa_word): Likewise.
81807         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81808         years.
81809         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81810         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81813         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81814         include <bits/wordsize.h>.  Check __x86_64__ instead of
81815         __WORDSIZE.
81816         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81817         if __x86_64__ is defined.  Use anonymous union on fpstate.
81819         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81820         anonymous union.
81822 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81824         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81825         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81826         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81827         Refer to _rtld_local_ro instead of _rtld_global_ro.
81828         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81829         Likewise.
81830         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81831         Likewise.
81832         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81833         Likewise.
81834         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81835         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81836         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81838         [BZ #10882]
81839         * sysdeps/powerpc/powerpc32/dl-machine.c
81840         (__elf_machine_runtime_setup) [PROF]: Don't reference
81841         _dl_prof_resolve.
81843 2012-05-18  Andreas Jaeger  <aj@suse.de>
81845         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81846         function only available for GCCs before 3.4 since GCC 3.4
81847         introduced a builtin.
81848         (lrint): Likewise.
81849         (llrintf): Likewise.
81850         (llrint): Likewise.
81851         (fmaxf): Likewise.
81852         (fmax): Likewise.
81853         (fminf): Likewise.
81854         (fmin): Likewise.
81855         (rint): Likewise.
81856         (rintf): Likewise.
81857         (nearbyint): Likewise.
81858         (nearbyintf): Likewise.
81859         (ceil): Likewise.
81860         (ceilf): Likewise.
81861         (floor): Likewise.
81862         (floorf): Likewise.
81864 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81866         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81867         on both fields and cast pointer to __syscall_ulong_t.
81869         * bits/types.h (__fsword_t): New type.
81870         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81871         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81872         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81873         (__FSWORD_T_TYPE): Likewise.
81874         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81875         (__FSWORD_T_TYPE): Likewise.
81876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81877         (__FSWORD_T_TYPE): Likewise.
81878         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81879         (__FSWORD_T_TYPE): Likewise.
81880         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81881         __SWORD_TYPE with __fsword_t.
81882         (statfs64): Likewise.
81884 2012-05-17  David S. Miller  <davem@davemloft.net>
81886         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81888 2012-05-17  Andreas Jaeger  <aj@suse.de>
81890         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81891         warning.
81893 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81895         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81897 2012-05-17  Andreas Jaeger  <aj@suse.de>
81899         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81900         when it is used.
81902 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81904         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81906 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81908         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81909         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81911 2012-05-17  Andreas Jaeger  <aj@suse.de>
81912             Carlos O'Donell  <carlos_odonell@mentor.com>
81914         [BZ #14059]
81915         * sysdeps/x86_64/multiarch/init-arch.h
81916         (bit_YMM_Usable): Rename to...
81917         (bit_AVX_Usable): ... this.
81918         (bit_FMA4_Usable): New macro.
81919         (bit_XMM_state): New macro.
81920         (bit_YMM_state): New macro.
81921         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81922         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81923         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81924         (CPUID_OSXSAVE): New macro.
81925         (CPUID_AVX): New macro.
81926         (CPUID_FMA4): New macro.
81927         (index_YMM_Usable): Rename to...
81928         (index_AVX_Usable): ... this.
81929         (HAS_AVX): Use HAS_ARCH_FEATURE.
81930         (HAS_FMA4): Likewise.
81931         (HAS_YMM_USABLE): Remove.
81932         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81933         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81934         are present.
81935         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81936         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81937         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81938         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81939         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81941 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81943         * math/libm-test.c: Support platforms without multiple rounding modes.
81944         * math/bug-nextafter.c: Support platforms without FP exceptions.
81945         * math/bug-nexttoward.c: Likewise.
81946         * math/test-fenv.c: Likewise.
81947         * math/test-misc.c: Likewise.
81948         * stdlib/bug-getcontext.c: Likewise.
81950 2012-05-17  Andreas Jaeger  <aj@suse.de>
81952         * manual/examples/search.c (critter_cmp): Change signature to
81953         avoid warnings.
81954         * manual/string.texi (Collation Functions): Likewise.
81956 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81958         * bits/types.h: Fold copyright years.
81959         * bits/typesizes.h: Likewise.
81960         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81961         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81962         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81963         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81964         * time/time.h: Likewise.
81966 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81968         [BZ #208]
81969         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81970         in instead of returning them.  Return void.
81971         (__libc_mallinfo): Accumulate over all arenas.
81972         (__malloc_stats): Adjust for change in int_mallinfo interface.
81974 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81976         [BZ #10375]
81977         * configure.in (NM): Add AC_CHECK_TOOL for it.
81978         (libc_extra_cflags): New substituted variable.
81979         Check for -fstack-protector being used implicitly.
81980         * configure: Regenerated.
81981         * config.make.in (config-extra-cflags): New variable,
81982         gets @libc_extra_cflags@.
81983         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81985         [BZ #10375]
81986         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81987         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81988         * configure: Regenerated.
81989         * config.make.in (CPPUNDEFS): New substituted variable.
81990         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81991         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81992         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81994 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81996         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81997         (mq_attr): Use __syscall_slong_t.
81999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82001         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82002         Check __x86_64__ instead of __WORDSIZE.
82003         (_STAT_VER_LINUX): Likewise.
82004         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
82005         __syscall_ulong_t and __syscall_slong_t.
82006         (stat64): Likewise.
82008 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82010         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82012 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82014         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82018         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82019         __syscall_ulong_t.
82021         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82022         include <bits/wordsize.h>.  Check __x86_64__ instead of
82023         __WORDSIZE.
82024         (greg_t): Use "__extension__ long long int" if __x86_64__ is
82025         defined.
82026         (mcontext_t): Replace "unsigned long" with "unsigned long long".
82028         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82029         include <bits/wordsize.h>.  Check __x86_64__ instead of
82030         __WORDSIZE.
82031         (user_regs_struct): Use "__extension__ unsigned long long"
82032         instead of "unsigned long" if __x86_64__ is defined.
82033         (user): Likewise.  Pad after pointer field if __ILP32__ is
82034         defined.
82036 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82038         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82039         versions 5 to 9.
82040         * configure: Regenerated.
82041         * manual/install.texi (texinfo): Increase version requirement to
82042         4.5 or later.
82043         * INSTALL: Regenerated.
82045         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82047 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82049         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82051         * sysdeps/x86_64/x32/ffs.c: New file.
82053         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82054         __syscall_ulong_t.
82055         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82056         defined.  Use __syscall_ulong_t.
82057         (shminfo): Use __syscall_ulong_t.
82058         (shm_info): Likewise.
82060         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82061         __syscall_ulong_t.
82063         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82064         <bits/wordsize.h>.
82065         (msgqnum_t): Use __syscall_ulong_t.
82066         (msglen_t): Likewise.
82067         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82068         __syscall_ulong_t.
82070         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82071         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82073         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82075         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82076         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82078         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82079         __syscall_slong_t.
82081         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82082         include <bits/wordsize.h>.  Check __x86_64__ instead of
82083         __WORDSIZE.
82085         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82086         "unsigned long long int" if __x86_64__ is defined.
82087         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82089         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82090         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82091         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82093         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82094         <stdint.h>.
82095         (GET_PC): Cast to uintptr_t first.
82096         (GET_FRAME): Likewise.
82097         (GET_STACK): Likewise.
82099         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82100         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82101         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82102         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82103         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82104         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82105         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82106         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82107         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82108         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82109         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82110         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82111         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82112         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82113         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82114         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82115         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82116         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82117         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82118         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82119         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82120         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82121         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82122         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82123         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82124         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82125         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82127         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82129 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82131         * Makerules (+depfiles): Also collect depfiles from .oS in
82132         $(extra-objs).
82133         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82134         .oS, $(libnldbl-routines)).
82136         * Makerules (native-compile-mkdep-flags): Define.
82137         * sunrpc/Makefile (extra-objs): Add $(addprefix
82138         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82139         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82140         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82141         calling $(make-target-directory).
82143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82145         * bits/types.h (__snseconds_t): Removed.
82146         * time/time.h (struct timespec): Replace __snseconds_t with
82147         __syscall_slong_t.
82148         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82149         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82150         Likewise.
82151         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82152         (__SNSECONDS_T_TYPE): Likewise.
82153         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82154         (__SNSECONDS_T_TYPE): Likewise.
82155         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82156         (__SNSECONDS_T_TYPE): Likewise.
82158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82160         * sysdeps/mach/hurd/bits/typesizes.h
82161         (__SYSCALL_SLONG_TYPE): New macro.
82162         (__SYSCALL_ULONG_TYPE): Likewise.
82164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82166         * bits/types.h (__syscall_slong_t): New type.
82167         (__syscall_ulong_t): Likewise.
82169         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82170         (__SYSCALL_ULONG_TYPE): Likewise.
82171         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82172         (__SYSCALL_SLONG_TYPE): Likewise.
82173         (__SYSCALL_ULONG_TYPE): Likewise.
82174         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82175         (__SYSCALL_SLONG_TYPE): Likewise.
82176         (__SYSCALL_ULONG_TYPE): Likewise.
82177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82178         (__SYSCALL_SLONG_TYPE): Likewise.
82179         (__SYSCALL_ULONG_TYPE): Likewise.
82181 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82183         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82184         Add sigaltstack-offsets.sym.
82185         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82186         <sigaltstack-offsets.h>.
82187         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82188         longjmp_msg pointer.
82189         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82190         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82191         signal stack.
82192         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82194 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82196         * elf/stackguard-macros.h: Remove file.
82197         * sysdeps/generic/stackguard-macros.h: New file.
82198         * sysdeps/i386/stackguard-macros.h: Likewise.
82199         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82200         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82201         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82202         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82203         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82204         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82205         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82206         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82207         <elf/stackguard-macros.h>.
82209         [BZ #14109]
82210         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82211         __aligned__ in attribute.
82212         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82213         (gregset_t): Likewise.
82215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82217         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82218         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82219         * sysdeps/x86_64/x32/Implies-after: New file.
82221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82223         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82224         and access return value for _dl_profile_fixup.  Use R10_LP to
82225         load frame size.
82227 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82229         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82233         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82234         * sysdeps/x86_64/x32/sysdep.h: New file.
82236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82238         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82239         * sysdeps/x86_64/setjmp.S: Likewise.
82241 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82243         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82244         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82245         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82246         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82247         remove unused global constant.
82249 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82251         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82252         include of <not-cancel.h>.
82254 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82256         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82258 2012-05-15  Jeff Law  <law@redhat.com>
82259             Andreas Jaeger  <aj@suse.de>
82261         [BZ #13594]
82262         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82263         out from...
82264         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82265         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82266         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82267         code changing __hst_map_handle.map.
82269 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82271         * configure.in (sysnames): Look for Implies-before and Implies-after
82272         files.
82273         * configure: Regenerated.
82275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82277         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82278         8-byte data alignment with LP_SIZE alignment.
82280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82282         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82283         into R10_LP.
82285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82287         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82289 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82291         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82292         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82293         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82294         Likewise.
82295         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82299         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82300         (stackinfo_sub_sp): Likewise.
82302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82304         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82305         RAX_LP.
82307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82310         into R*_LP.
82312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82315         sizes into R*_LP.
82317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82319         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82323         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82324         into R11_LP and load __x86_64_shared_cache_size_half into
82325         R8_LP.
82327 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82329         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82330         R8_LP.
82332 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82335         logb for POWER7.
82336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82337         logbf for POWER7.
82338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82339         logbl for POWER7.
82340         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82341         powerpc32/power7/fpu/s_logb.c via #include.
82342         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82343         powerpc32/power7/fpu/s_logbf.c via #include.
82344         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82345         powerpc32/power7/fpu/s_logbl.c via #include.
82347 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82349         * README.libm: Remove file.
82351 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82353         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82354         count for x32.  Use R*_LP and omit operand-size suffix.
82356 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82358         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82359         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82360         * sysdeps/x86_64/x32/shlib-versions: New file.
82362 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82364         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82365         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82366         Use _dl_fatal_printf instead.
82368 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82370         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82371         set if not set by the user.  Do not allow for being unset.
82372         * sysdeps/unix/sysv/linux/configure: Regenerated.
82374 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82376         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82377         the `q' suffix from lea and replace .quad with ASM_ADDR.
82379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82382         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82383         instead of $17.
82384         (PTR_DEMANGLE): Likewise.
82386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82388         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82389         (LP_OP): Likewise.
82390         (ASM_ADDR): Likewise.
82391         (RAX_LP): Likewise.
82392         (RBP_LP): Likewise.
82393         (RBX_LP): Likewise.
82394         (RCX_LP): Likewise.
82395         (RDI_LP): Likewise.
82396         (RSI_LP): Likewise.
82397         (RSP_LP): Likewise.
82398         (R8_LP): Likewise.
82399         (R9_LP): Likewise.
82400         (R10_LP): Likewise.
82401         (R10_LP): Likewise.
82402         (R11_LP): Likewise.
82403         (R12_LP): Likewise.
82404         (R13_LP): Likewise.
82405         (R14_LP): Likewise.
82406         (R15_LP): Likewise.
82408 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82410         * sysdeps/x86_64/x32/dl-machine.h: New file.
82412 2012-05-14  Andreas Jaeger  <aj@suse.de>
82414         * manual/Makefile (subdir): Remove export of subdir.
82415         (all): Remove target.
82416         (.PHONY): Remove all from list.
82417         (mkinstalldirs): Remove.
82418         (.PHONY): Remove installdirs from list.
82419         ($(inst_infodir)/libc.info): Use make-target-directory.
82420         (installdirs): Remove.
82421         (subdir_%): Remove.
82422         (glibc-targets): Remove.
82423         (lib): Remove.
82424         (stubs): Remove.
82425         ($(objpfx)stubs ../po/manual.pot): Remove.
82426         ($(objpfx)stamp%): Remove.
82427         (make-target-directory): Remove.
82428         (subdir_install): Remove.
82429         (routines): Remove.
82430         (aux): Remove.
82431         (sources): Remove.
82432         (objects): Remove.
82433         (headers): Remove.
82435         [BZ #13750]
82436         * manual/.gitignore: Remove, it's not needed anymore.
82437         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82438         all files in it.
82439         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82440         directory.
82441         (texis): Renamed to $(objpfx)texis.
82442         (texis-path): New, contains path to generated files.
82443         (chapters.%): Use texis-path for complete path, add extra argument
82444         libc-texinfo.sh.
82445         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82446         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82447         (summary,texi, stamp-summary): Use complete path of
82448         files. Generate files in build dir.
82449         (dir-add.texi): Build in build dir.
82450         (libm-err.texi,stamp-libm-err): Likewise.
82451         (version.texi, stamp-version): Likewise.
82452         (.%c.texi): Likewise.
82453         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82454         (mostlyclean): Remove target.
82455         (realclean): Remove target.
82456         (generated): Add new variable with contents from mostlyclean and
82457         realclean, remove entries duplicated in common-mostlyclean, add
82458         stamp-libm-err and stamp-version.
82459         (generated-dirs): Add libc directory.
82460         ($(inst_infodir)/libc.info): Install files from build dir.
82462         * manual/install.texi (Configuring and compiling): Adjust since
82463         the info files are not part of the tar ball anymore.
82465 2012-05-14  Andreas Jaeger  <aj@suse.de>
82467         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82468         variable.
82470 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82472         [BZ #13717]
82473         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82474         to 2.2.0 where earlier.
82475         * sysdeps/unix/sysv/linux/configure: Regenerated.
82476         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82477         Remove conditional code.
82478         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82479         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82480         Remove conditional code.
82481         [!__NR_lchown]: Likewise.
82482         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82483         [__NR_lchown]: Likewise.
82484         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82485         comment referencing __ASSUME_LCHOWN_SYSCALL.
82486         * sysdeps/unix/sysv/linux/i386/sigaction.c
82487         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82488         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82489         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82490         Remove conditional code.
82491         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82492         (__protocol_available): Remove #if 0 code.
82493         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82494         conditional code.
82495         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82496         * sysdeps/unix/sysv/linux/kernel-features.h
82497         (__ASSUME_GETCWD_SYSCALL): Don't define.
82498         (__ASSUME_REALTIME_SIGNALS): Likewise.
82499         (__ASSUME_PREAD_SYSCALL): Likewise.
82500         (__ASSUME_PWRITE_SYSCALL): Likewise.
82501         (__ASSUME_POLL_SYSCALL): Likewise.
82502         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82503         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82504         non-SPARC.
82505         (__ASSUME_SIOCGIFNAME): Don't define.
82506         (__ASSUME_MSG_NOSIGNAL): Likewise.
82507         (__ASSUME_SENDFILE): Define unconditionally.
82508         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82509         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82510         conditional code.
82511         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82512         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82513         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82514         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82515         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82516         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82517         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82519         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82522         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82523         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82525         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82526         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82528         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82529         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82531         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82532         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82534         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82535         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82537         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82540         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82541         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82542         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82543         Remove conditional code.
82544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82545         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82546         Remove conditional code.
82547         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82548         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82549         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82550         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82551         Remove conditional code.
82552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82553         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82554         Remove conditional code.
82555         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82556         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82557         Remove conditional code.
82558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82559         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82560         Remove conditional code.
82561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82562         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82563         Remove conditional code.
82564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82565         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82568         * sysdeps/unix/sysv/linux/sigaction.c
82569         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82570         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82571         * sysdeps/unix/sysv/linux/sigpending.c
82572         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82573         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82574         * sysdeps/unix/sysv/linux/sigprocmask.c
82575         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82576         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82577         * sysdeps/unix/sysv/linux/sigsuspend.c
82578         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82579         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82580         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82581         (__libc_missing_rt_sigs): Remove.
82582         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82583         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82584         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82585         Remove conditional code.
82586         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82587         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82588         return 1.
82589         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82590         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82591         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82592         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82594 2012-05-14  Andreas Jaeger  <aj@suse.de>
82596         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82597         it's not used in glibc.
82598         (__coshm1): Likewise.
82599         (__acosh1p): Likewise.
82600         (__sgn): Likewise.
82602         * manual/string.texi (Copying and Concatenation): Add missing
82603         variable in concat example.
82604         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82606 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82608         [BZ #14103]
82609         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82610         __builtin_clzl with __builtin_clzll.
82612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82614         [BZ #14104]
82615         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82616         libc_freeres_ptr.
82618 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82620         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82621         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82622         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82623         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82625 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82627         * NEWS: Update ia64 info.
82629 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82631         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82632         used as bcopy.
82634 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82636         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82637         * sysdeps/unix/syscalls.list (dup3): Likewise.
82638         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82639         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82641 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82643         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82644         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82646 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82648         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82649         thread pointer.
82650         (TLS_IE): Use mov/add instead of movq/addq to load thread
82651         pointer.
82652         (TLS_GD_PREFIX): New.
82653         (TLS_GD): Use it.
82655 2012-05-11  David S. Miller  <davem@davemloft.net>
82657         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82658         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82659         (_FPU_SETCW): Likewise.
82661 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82663         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82664         is 32-byte aligned.
82666 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82668         [BZ #11837]
82669         * iconvdata/gb18030.c: Update tables.
82670         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82671         characters specially.
82672         (BODY for TO_LOOP): Add encoding of missing ranges.
82674 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82676         [BZ #13673]
82677         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82678         * sysdeps/mach/hurd/dup3.c: Likewise.
82679         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82680         * sysdeps/powerpc/memmove.c:: Likewise.
82682 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82684         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82685         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82687 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82689         * elf/elf.h (R_X86_64_RELATIVE64): New.
82690         (R_X86_64_NUM): Updated.
82691         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82692         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82693         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82694         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82695         tst-quad1pie tst-quad2pie
82696         (modules-names): Add tst-quadmod1 tst-quadmod2.
82697         ($(objpfx)tst-quad1): New dependency.
82698         ($(objpfx)tst-quad2): Likewise.
82699         ($(objpfx)tst-quad1pie): Likewise.
82700         ($(objpfx)tst-quad2pie): Likewise.
82701         * sysdeps/x86_64/tst-quad1.c: New file.
82702         * sysdeps/x86_64/tst-quad1pie.c: New file.
82703         * sysdeps/x86_64/tst-quad2.c: Likewise.
82704         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82705         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82706         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82707         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82708         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82712         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82713         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82714         * streams/stropts.h (t_scalar_t): Define type.
82716         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82717         (_PATH_PRESERVE): Set to "/var/lib".
82718         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82720         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82721         instead of int.
82723         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82724         if __dir_mkfile succeeded.
82726         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82727         checking for _hurd_dtablesize.  Unlock it right after having
82728         finished _hurd_dtable allocation.
82730 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82732         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82733         * sysdeps/mach/hurd/configure: Regenerated.
82734         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82735         special-casing to...
82736         * sysdeps/gnu/configure.in: ... this new file.
82737         * sysdeps/unix/sysv/linux/configure: Regenerated.
82738         * sysdeps/gnu/configure: New generated file.
82740         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82741         for Linux: use nsec instead of usec, as well as:
82742         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82743         members of type struct timespec.
82744         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82745         New macros.
82746         (struct stat64): Likewise.
82747         (_STATBUF_ST_NSEC): New macro.
82748         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82750         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82751         __strtoul_internal rather than strtoul.
82753 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82755         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82756         and reject them.
82758 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82760         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82761         which preserves existing values.
82762         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82764 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82766         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82767         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82768         greater than FD_SETSIZE.
82770 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82772         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82773         allocated, call __vm_protect to finish enabling the existing space, and
82774         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82775         allocate the remainder.
82777 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82779         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82780         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82782 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82784         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82785         sysdeps/mach/hurd/readlink.c.
82787         * posix/tst-sysconf.c (posix_options): Only use
82788         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82789         _POSIX_SYNCHRONIZED_IO when they are defined
82790         * sysdeps/mach/hurd/bits/posix_opt.h:
82791         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82792         (_XOPEN_REALTIME): Undefine macro.
82793         (_XOPEN_REALTIME_THREADS): Undefine macro.
82794         (_XOPEN_SHM): Undefine macro.
82795         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82796         macro to -1.
82797         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82798         macro to -1.
82799         (_POSIX_ASYNC_IO): Undefine macro.
82800         (_POSIX_PRIORITIZED_IO): Undefine macro.
82801         (_POSIX_SPIN_LOCKS): Define macro to -1.
82803         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82804         SA_NODEFER, SA_RESETHAND.
82805         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82806         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82807         F_DUPFD_CLOEXEC.
82809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82811         * elf/Makefile (pldd-modules): Define unconditionally.
82813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82815         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82819         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82820         Return ENOENT when name is empty.
82821         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82825         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82827         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82829 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82831         Fix mlock in all cases except non-readable pages.
82832         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82833         instead of VM_PROT_ALL as parameter to __vm_wire function.
82835         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82836         (__mkdir): When path is `/', just fail with EEXIST.
82837         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82841         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82842         <sys/uio.h> (for writev).
82843         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82844         and <sys/param.h> (for MIN).
82846 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82848         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82849         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82850         if interrupted.
82852 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82854         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82855         Depend on against $(link-rpcuserlibs).
82857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82859         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82860         (__libc_stack_end): Do not use attribute_relro.
82861         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82862         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82863         to libthread-provided value.
82864         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82865         attribute_relro.
82867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82869         [BZ #3748]
82870         * bits/libc-lock.h (__libc_once_get): New macro.
82871         * sysdeps/mach/bits/libc-lock.h: Likewise.
82872         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82873         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82874         instead of using implementation details.
82876         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82877         * libio/freopen.c: Likewise.
82878         * libio/freopen64.c: Likewise.
82879         * misc/syslog.c: Likewise.
82880         * nscd/connections.c: Likewise.
82881         * nscd/netgroupcache.c: Likewise.
82882         * sysdeps/posix/getcwd.c: Likewise.
82884 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82886         * math/w_ilogbf.c: Add #include <limits.h>.
82888 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82890         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82891         path instead of returning without unlocking.
82893         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82894         immediate-write ioctls.
82895         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82899         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82900         __builtin_frame_address instead of making assumptions about the
82901         location of the return address relative to DATA.  Force early load of
82902         the return address.
82903         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82904         __builtin_frame_address.
82906         dup3 for GNU Hurd.
82907         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82908         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82909         implement dup3 and do some further code clean-ups.
82910         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82911         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82915         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82917         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82918         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82919         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82920         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82921         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82922         d->port.lock.
82924         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82925         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82926         when handler == SIG_ERR, not when handler != SIG_ERR.
82928 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82930         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82931         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82932         definitions.
82934         accept4 for GNU Hurd.
82935         * include/sys/socket.h (__libc_accept4): New prototype.
82936         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82937         to implement __libc_accept4.
82938         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82939         __libc_accept4.
82940         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82942         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82943         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82944         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82945         signal-defines.sym.
82947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82949         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82953         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82954         assertion on O_CLOEXEC flag.
82955         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82956         * hurd/intern-fd.c: Likewise.
82957         * hurd/port2fd.c: Likewise.
82959 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82961         [BZ #3906]
82962         * bits/in.h (IPV6_PKTINFO): Define new macro.
82963         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82965 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82967         [BZ #13954]
82968         [BZ #13955]
82969         [BZ #13956]
82970         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82971         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82972         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82973         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82975         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82976         * math/libm-test.inc (logb_test) : Additional logb tests.
82978 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82979             Andreas Jaeger  <aj@suse.de>
82981         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82982         * configure: Regenerated.
82983         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82984         * config.make.in (link-obsolete-rpc): New substituted variable.
82985         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82986         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82987         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82988         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82989         so that libc.a contains the symbols.
82990         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82991         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82992         * sunrpc/auth_none.c: Likewise.
82993         * sunrpc/auth_unix.c: Likewise.
82994         * sunrpc/authdes_prot.c: Likewise.
82995         * sunrpc/authuxprot.c: Likewise.
82996         * sunrpc/clnt_gen.c: Likewise.
82997         * sunrpc/clnt_perr.c: Likewise.
82998         * sunrpc/clnt_raw.c: Likewise.
82999         * sunrpc/clnt_simp.c: Likewise.
83000         * sunrpc/clnt_tcp.c: Likewise.
83001         * sunrpc/clnt_udp.c: Likewise.
83002         * sunrpc/clnt_unix.c: Likewise.
83003         * sunrpc/des_crypt.c: Likewise.
83004         * sunrpc/des_soft.c: Likewise.
83005         * sunrpc/get_myaddr.c: Likewise.
83006         * sunrpc/key_call.c: Likewise.
83007         * sunrpc/key_prot.c: Likewise.
83008         * sunrpc/netname.c: Likewise.
83009         * sunrpc/pm_getmaps.c: Likewise.
83010         * sunrpc/pm_getport.c: Likewise.
83011         * sunrpc/pmap_clnt.c: Likewise.
83012         * sunrpc/pmap_prot.c: Likewise.
83013         * sunrpc/pmap_prot2.c: Likewise.
83014         * sunrpc/pmap_rmt.c: Likewise.
83015         * sunrpc/publickey.c: Likewise.
83016         * sunrpc/rpc_cmsg.c: Likewise.
83017         * sunrpc/rpc_common.c: Likewise.
83018         * sunrpc/rpc_dtable.c: Likewise.
83019         * sunrpc/rpc_prot.c: Likewise.
83020         * sunrpc/rpc_thread.c: Likewise.
83021         * sunrpc/rtime.c: Likewise.
83022         * sunrpc/svc.c: Likewise.
83023         * sunrpc/svc_auth.c: Likewise.
83024         * sunrpc/svc_raw.c: Likewise.
83025         * sunrpc/svc_run.c: Likewise.
83026         * sunrpc/svc_tcp.c: Likewise.
83027         * sunrpc/svc_udp.c: Likewise.
83028         * sunrpc/svc_unix.c: Likewise.
83029         * sunrpc/svcauth_des.c: Likewise.
83030         * sunrpc/xcrypt.c: Likewise.
83031         * sunrpc/xdr.c: Likewise.
83032         * sunrpc/xdr_array.c: Likewise.
83033         * sunrpc/xdr_float.c: Likewise.
83034         * sunrpc/xdr_intXX_t.c: Likewise.
83035         * sunrpc/xdr_mem.c: Likewise.
83036         * sunrpc/xdr_rec.c: Likewise.
83037         * sunrpc/xdr_ref.c: Likewise.
83038         * sunrpc/xdr_sizeof.c: Likewise.
83039         * sunrpc/xdr_stdio.c: Likewise.
83041 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83043         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83044         change.  Update copyright years.
83046 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83048         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83050 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83051             Joseph Myers  <joseph@codesourcery.com>
83052             Paul Pluzhnikov  <ppluzhnikov@google.com>
83054         [BZ #14012]
83055         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83056         requiring rpcgen.
83057         [cross-compiling] (extra-libs): Likewise.
83058         [cross-compiling] (extra-libs-others): Likewise.
83059         [cross-compiling] (librpcsvc-routines): Likewise.
83060         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83061         [cross-compiling] (omit-deps): Likewise.
83062         (sunrpc-CPPFLAGS): New variable.
83063         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83064         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83065         (cross-rpcgen-objs): New variable.
83066         (extra-objs): Append $(cross-rpcgen-objs).
83067         ($(cross-rpcgen-objs)): New rule.
83068         ($(objpfx)cross-rpcgen): Likewise.
83069         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83070         comment.
83071         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83072         ($(objpfx)x%.stmp): Likewise.
83073         * sunrpc/proto.h [IS_IN_build] (_): Define.
83074         [IS_IN_build] (_libc_intl_domainname): Likewise.
83076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83079         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83080         and R_X86_64_TPOFF64.
83082 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83084         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83085         sysdeps/unix/sysv/syscalls.list.
83086         (stime): Likewise.
83087         (utime): Likewise.
83088         * sysdeps/unix/sysv/syscalls.list: Remove file.
83090 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83092         [BZ #3440]
83093         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83094         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83095         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83096         (__LC_IDENTIFICATION): Make these macros useful in #if
83097         expressions, as required by C99.
83099 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83101         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83102         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83103         after this.
83105 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83107         * stdlib/longlong.h: Updated from GCC.
83109 2012-05-09  Andreas Jaeger  <aj@suse.de>
83111         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83112         default is first entry.
83113         (run_mode): Set type.
83114         (main): Remove informal message about syslog.
83115         (options): Fix typo.
83117         [BZ #14053]
83118         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83119         to asm.
83120         (lrint): Likewise.
83121         (llrintf): Likewise.
83122         (llrint): Likewise.
83123         (rint): Likewise.
83124         (rintf): Likewise.
83125         (nearbyint): Likewise.
83126         (nearbyintf): Likewise.
83128 2012-05-09  Andreas Jaeger  <aj@suse.de>
83129             Pedro Alves  <palves@redhat.com>
83131         * nscd/nscd.c (run_mode): Use enum.
83132         (main): Cleanup coding style issue.
83134 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83135             Andreas Jaeger  <aj@suse.de>
83137         * nscd/nscd.c (go_background): Replaced with...
83138         (run_mode): ... this.
83139         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83140         (options): Add -F --foreground.
83141         (main): Implement it.
83142         (parse_opt): Parse it.
83144 2012-05-09  Andreas Jaeger  <aj@suse.de>
83146         [BZ #14083]
83147         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83148         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83149         -Wconversion warning.
83150         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83151         Likewise.
83153 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83155         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83156         == 0.
83157         (LC_ALL): Use macro-int-constant.
83158         (LC_COLLATE): Likewise.
83159         (LC_CTYPE): Likewise.
83160         (LC_MESSAGES): Likewise.
83161         (LC_MONETARY): Likewise.
83162         (LC_NUMERIC): Likewise.
83163         (LC_TIME): Likewise.
83164         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83165         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83167         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83168         Specify type.
83169         [C99-based standards] (float_t): Expect type.
83170         [C99-based standards] (double_t): Expect type.
83171         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83172         type.
83173         [C99-based standards] (HUGE_VALL): Likewise.
83174         [C99-based standards] (INFINITY): Likewise.
83175         [C99-based standards] (NAN): Likewise.
83176         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83177         [C99-based standards] (FP_NAN): Likewise.
83178         [C99-based standards] (FP_NORMAL): Likewise.
83179         [C99-based standards] (FP_SUBNORMAL): Likewise.
83180         [C99-based standards] (FP_ZERO): Likewise.
83181         [C99-based standards] (FP_FAST_FMA): Use
83182         optional-macro-int-constant.  Specify type.  Require == 1.
83183         [C99-based standards] (FP_FAST_FMAF): Likewise.
83184         [C99-based standards] (FP_FAST_FMAL): Likewise.
83185         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83186         [C99-based standards] (FP_ILOGBNAN): Likewise.
83187         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83188         Specify type.
83189         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83190         [C99-based standards] (math_errhandling): Specify type.
83191         [ISO99 || ISO11] (signgam): Do not allow.
83192         [non-C99-based standards] (copysignf): Do not allow.
83193         [non-C99-based standards] (exp2f): Likewise.
83194         [non-C99-based standards] (log2f): Likewise.
83195         [non-C99-based standards] (modff): Allow.
83196         [non-C99-based standards] (erff): Do not allow.
83197         [non-C99-based standards] (erfcf): Likewise.
83198         [non-C99-based standards] (gammaf): Likewise.
83199         [non-C99-based standards] (hypotf): Likewise.
83200         [non-C99-based standards] (j0f): Likewise.
83201         [non-C99-based standards] (j1f): Likewise.
83202         [non-C99-based standards] (jnf): Likewise.
83203         [non-C99-based standards] (lgammaf): Likewise.
83204         [non-C99-based standards] (tgammaf): Likewise.
83205         [non-C99-based standards] (y0f): Likewise.
83206         [non-C99-based standards] (y1f): Likewise.
83207         [non-C99-based standards] (ynf): Likewise.
83208         [non-C99-based standards] (isnanf): Likewise.
83209         [non-C99-based standards] (acoshf): Likewise.
83210         [non-C99-based standards] (asinhf): Likewise.
83211         [non-C99-based standards] (atanhf): Likewise.
83212         [non-C99-based standards] (cbrtf): Likewise.
83213         [non-C99-based standards] (expm1f): Likewise.
83214         [non-C99-based standards] (ilogbf): Likewise.
83215         [non-C99-based standards] (log1pf): Likewise.
83216         [non-C99-based standards] (logbf): Likewise.
83217         [non-C99-based standards] (nextafterf): Likewise.
83218         [non-C99-based standards] (remainderf): Likewise.
83219         [non-C99-based standards] (rintf): Likewise.
83220         [non-C99-based standards] (scalbf): Likewise.
83221         [non-C99-based standards] (copysignl): Likewise.
83222         [non-C99-based standards] (exp2l): Likewise.
83223         [non-C99-based standards] (log2l): Likewise.
83224         [non-C99-based standards] (modfl): Allow.
83225         [non-C99-based standards] (erfl): Do not allow.
83226         [non-C99-based standards] (erfcl): Likewise.
83227         [non-C99-based standards] (gammal): Likewise.
83228         [non-C99-based standards] (hypotl): Likewise.
83229         [non-C99-based standards] (j0l): Likewise.
83230         [non-C99-based standards] (j1l): Likewise.
83231         [non-C99-based standards] (jnl): Likewise.
83232         [non-C99-based standards] (lgammal): Likewise.
83233         [non-C99-based standards] (tgammal): Likewise.
83234         [non-C99-based standards] (y0l): Likewise.
83235         [non-C99-based standards] (y1l): Likewise.
83236         [non-C99-based standards] (ynl): Likewise.
83237         [non-C99-based standards] (isnanl): Likewise.
83238         [non-C99-based standards] (acoshl): Likewise.
83239         [non-C99-based standards] (asinhl): Likewise.
83240         [non-C99-based standards] (atanhl): Likewise.
83241         [non-C99-based standards] (cbrtl): Likewise.
83242         [non-C99-based standards] (expm1l): Likewise.
83243         [non-C99-based standards] (ilogbl): Likewise.
83244         [non-C99-based standards] (log1pl): Likewise.
83245         [non-C99-based standards] (logbl): Likewise.
83246         [non-C99-based standards] (nextafterl): Likewise.
83247         [non-C99-based standards] (remainderl): Likewise.
83248         [non-C99-based standards] (rintl): Likewise.
83249         [non-C99-based standards] (scalbl): Likewise.
83250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83251         [non-C99-based standards] (FP_*): Do not allow.
83252         [C99-based standards] (FP_*): Change to
83253         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83254         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83255         allow.
83256         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83257         (SIG_ERR): Likewise.
83258         [X/Open-based standards] (SIG_HOLD): Likewise.
83259         (SIG_IGN): Likewise.
83260         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83261         positive value.
83262         (SIGFPE): Likewise.
83263         (SIGILL): Likewise.
83264         (SIGINT): Likewise.
83265         (SIGSEGV): Likewise.
83266         (SIGTER): Likewise.
83267         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83268         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83269         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83270         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83271         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83272         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83273         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83274         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83275         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83276         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83277         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83278         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83279         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83280         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83281         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83282         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83283         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83284         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83285         [X/Open-based standards] (SIGTRAP): Likewise.
83286         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83287         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83288         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83289         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83290         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83291         allow.
83293 2012-05-08  Ian Wienand  <ianw@vmware.com>
83295         [BZ #14080]
83296         * time/tzset.c (__tzset_parse_tz): Update default rules for
83297         daylight time changes in the Energy Policy Act of 2005.
83299 2012-05-09  Andreas Jaeger  <aj@suse.de>
83301         [BZ #13983]
83302         * elf/ldconfig.c (parse_conf): Change string to make clear that
83303         ldconfig only issued a warning if ld.so.conf does not exist.
83305 2012-05-08  David S. Miller  <davem@davemloft.net>
83307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83308         movxtod instead of popping the value on the stack.
83310         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83312 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83314         * config.h.in: Add HAVE_ARM_PCS_VFP.
83316 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83318         [BZ #13979]
83319         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83320         checking but the checks are disabled for any reason.
83322 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83324         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83325         and ELF64_R_TYPE with ELFW(R_TYPE).
83327 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83329         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83330         (ulimit): Likewise.
83332         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83333         (settimeofday): Likewise.
83335 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83337         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83338         a struct th_u2 inside the union, and move tu_block/tu_code into
83339         a new th_u3 union of tu_block/tu_code inside of that.  Move
83340         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83341         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83342         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83343         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83344         (th_stuff): Change to th_u1.tu_stuff.
83345         (th_data): Define.
83346         (th_msg): Change to th_u1.th_u2.tu_data.
83348 2012-05-07  David S. Miller  <davem@davemloft.net>
83350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83352         [BZ #14074]
83353         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83354         (SETUP_PIC_REG): Use it.
83355         (SETUP_PIC_REG_LEAF): Use it.
83357 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83359         [BZ #13885]
83360         [BZ #13923]
83361         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83362         USE_AS_EXPM1L.
83363         (EXPL_FINITE): Likewise.
83364         (FLDLOG): Likewise.
83365         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83366         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83367         e_expl.S.
83368         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83369         USE_AS_EXPM1L.
83370         (EXPL_FINITE): Likewise.
83371         (FLDLOG): Likewise.
83372         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83373         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83374         e_expl.S.
83375         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83376         test of -max_value argument for long double.
83377         * sysdeps/i386/fpu/libm-test-ulps: Update.
83378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83380 2012-05-06  David S. Miller  <davem@davemloft.net>
83382         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83383         quad soft-float symbols whose references which are compiler
83384         generated.
83385         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83387 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83389         [BZ #13884]
83390         [BZ #13914]
83391         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83392         USE_AS_EXP10L.
83393         (EXPL_FINITE): Likewise.
83394         (FLDLOG): Likewise.
83395         (c0): Likewise.
83396         (c1): Likewise.
83397         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83398         Adjust comments for base varying.
83399         (__expl_finite): Change alias to EXPL_FINITE.
83400         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83401         e_expl.S.
83402         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83403         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83404         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83405         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83407         USE_AS_EXP10L.
83408         (EXPL_FINITE): Likewise.
83409         (FLDLOG): Likewise.
83410         (c0): Likewise.
83411         (c1): Likewise.
83412         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83413         Adjust comments for base varying.
83414         (__expl_finite): Change alias to EXPL_FINITE.
83415         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83416         tests for bugs.
83417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83419         [BZ #14064]
83420         * math/libm-test.inc (check_float_internal): Correct ulp
83421         calculation for subnormal expected results.
83423 2012-05-06  Andreas Jaeger  <aj@suse.de>
83425         * Makeconfig (+math-flags): New, set to -frounding-math.
83426         (+cflags): Add +math-flags so that all of glibc gets compiled with
83427         it.
83429         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83431 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83433         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83434         Disable one test.
83436         [BZ #13787]
83437         [BZ #13922]
83438         [BZ #14036]
83439         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83440         (__ieee754_expl): Allow for and saturate large arguments.
83441         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83442         (u_threshold): Likewise.
83443         (__exp): Call __ieee754_exp before checking for overflow and
83444         underflow.
83445         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83446         (u_threshold): Likewise.
83447         (__expf): Call __ieee754_expf before checking for overflow and
83448         underflow.
83449         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83450         (u_threshold): Likewise.
83451         (__expl): Call __ieee754_expl before checking for overflow and
83452         underflow.
83453         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83454         (__ieee754_expl): Allow for and saturate large arguments.
83455         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83456         missing overflow exception on overflow.
83457         (expm1_test): Do not allow missing overflow exception on overflow.
83459         * sysdeps/i386/fpu/e_expl.c: Move to ...
83460         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83461         rather than using inline asm.
83462         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83463         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83464         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83466         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83467         (nice): Likewise.
83468         (poll): Likewise.
83469         (signal): Likewise.
83470         (time): Likewise.
83471         (times): Likewise.
83473 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83475         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83476         sysdeps/unix/common/syscalls.list.
83477         (fchmod): Likewise.
83478         (fchown): Likewise.
83479         (ftruncate): Likewise.
83480         (getrusage): Likewise.
83481         (gettimeofday): Likewise.
83482         (setpgid): Likewise.
83483         (setregid): Likewise.
83484         (setreuid): Likewise.
83485         (sigaction): Likewise.
83486         (truncate): Likewise.
83487         (vhangup): Likewise.
83488         * sysdeps/unix/common/syscalls.list: Remove file.
83489         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83490         * sysdeps/unix/sysv/linux/Implies: Likewise.
83492 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83494         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83496         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83497         Moved to ...
83498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83499         Here.
83500         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83501         to ...
83502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83503         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83504         to ...
83505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83506         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83507         to ...
83508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83509         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83510         to ...
83511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83512         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83513         to ...
83514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83515         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83516         to ...
83517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83518         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83519         to ...
83520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83521         Here.
83522         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83523         to ...
83524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83525         Here.
83526         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83527         to ...
83528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83529         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83530         Moved to ...
83531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83532         Here.
83533         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83534         to ...
83535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83537 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83539         * sysdeps/unix/common/bits/dirent.h: Remove file.
83540         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83542         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83543         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83544         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83545         * sysdeps/unix/bsd/isatty.c: Likewise.
83546         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83547         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83548         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83550 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83552         [BZ #13563]
83553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83554         long double comparison inaccuracies.
83555         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83558 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83560         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83561         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83563 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83565         [BZ #14049]
83566         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83567         nonzero digits before rounding a hex value.
83568         * stdlib/tst-strtod.c (tests): Add another test.
83570 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83572         * sysdeps/s390/fpu/libm-test-ulps: Update.
83574 2012-05-03  Andreas Jaeger  <aj@suse.de>
83576         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83577         does not get optimized out.
83578         (malloc_opt_barrier): New.
83580 2012-05-03  Andreas Jaeger  <aj@suse.de>
83581             Roland McGrath  <roland@hack.frob.com>
83583         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83584         intermediate file deletion.
83585         (generated): Add .symlist files.
83587 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83589         [BZ #13775]
83590         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83591         Redirect under this condition.
83592         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83593         [__USE_GNU] (__dprintf_chk): Not under this condition.
83594         [__USE_GNU] (__vdprintf_chk): Likewise.
83595         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83596         under this condition.
83597         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83598         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83599         [__USE_XOPEN2K8] (vdprintf): Likewise.
83600         [__USE_GNU] (__dprintf_chk): Not under this condition.
83601         [__USE_GNU] (__vdprintf_chk): Likewise.
83602         [__USE_GNU] (dprintf): Likewise.
83603         [__USE_GNU] (vdprintf): Likewise.
83605 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83607         * elf/Makefile (common-generated): Set this instead of generated for
83608         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83609         $(all-built-dso)-derived lists.
83611 2012-05-03  Andreas Jaeger  <aj@suse.de>
83613         * sysdeps/i386/fpu/libm-test-ulps: Update.
83615         * FAQ: Removed.
83616         * FAQ.in: Likewise.
83617         * scripts/gen-FAQ.pl: Likewise.
83618         * manual/install.texi (Installation): Point to online location of
83619         FAQ.
83620         * Makefile (files-for-dist): Remove FAQ.
83621         (FAQ): Remove.
83623 2012-05-02  Allan McRae  <allan@archlinux.org>
83625         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83626         (LDFLAGS-reldepmod5.so): Likewise.
83627         (LDFLAGS-reldep6mod1.so): Likewise.
83628         (LDFLAGS-reldep6mod4.so): Likewise.
83629         (LDFLAGS-reldep8mod3.so): Likewise.
83630         (LDFLAGS-unload4mod1.so): Likewise.
83631         (LDFLAGS-unload4mod2.so): Likewise.
83632         (LDFLAGS-tst-initorder): Likewise.
83633         (LDFLAGS-tst-initordera2.so): Likewise.
83634         (LDFLAGS-tst-initordera3.so): Likewise.
83635         (LDFLAGS-tst-initordera4.so): Likewise.
83636         (LDFLAGS-tst-initorderb2.so): Likewise.
83637         (LDFLAGS-noload): Likewise.
83638         (LDFLAGS-next): Likewise.
83639         (LDFLAGS-order2mod1.so): Likewise.
83640         (LDFLAGS-order2mod2.so): Likewise.
83641         (LDFLAGS-tst-initorder2): Likewise.
83642         (LDFLAGS-tst-initorder2a.so): Likewise.
83643         (LDFLAGS-tst-initorder2b.so): Likewise.
83644         (LDFLAGS-tst-initorder2c.so): Likewise.
83645         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83647 2012-05-02  David S. Miller  <davem@davemloft.net>
83649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83651 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83653         [BZ #14055]
83654         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83656 2012-05-02  Andreas Jaeger  <aj@suse.de>
83658         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83659         since we manipulate rounding mode.
83660         (CPPFLAGS-test-idouble.c): Likewise.
83661         (CPPFLAGS-test-ifloat.c): Likewise.
83662         (CFLAGS-test-ldouble.c): Likewise.
83663         (CFLAGS-test-double.c): Likewise.
83664         (CFLAGS-test-float.c): Likewise.
83665         (CFLAGS-test-misc.c): Likewise.
83666         (CFLAGS-test-test-fenv.c): Likewise.
83668 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83670         [BZ #2550]
83671         [BZ #2570]
83672         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83673         comparisons to determine direction to adjust input.
83675 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83677         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83678         output to the target.
83680         * scripts/localplt.awk: New file.
83681         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83682         (check-localplt-CFLAGS): Variable removed.
83683         ($(all-built-dso:=.jmprel)): New static pattern rule.
83684         (generated): Add those targets.
83685         (localplt-built-dso): New variable.
83686         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83688         * elf/check-localplt.c: File removed.
83690         * scripts/check-execstack.awk: New file.
83691         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83692         (check-execstack-CFLAGS): Variable removed.
83693         ($(objpfx)check-execstack.h): Target removed.
83694         ($(objpfx)execstack-default): New target.
83695         (generated): Add that instead of check-execstack.h.
83696         ($(all-built-dso:=.phdr)): New static pattern rule.
83697         (generated): Add those targets.
83698         * elf/check-execstack.c: File removed.
83700         * scripts/check-textrel.awk: New file.
83701         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83702         (check-textrel-CFLAGS): Variable removed.
83703         (all-built-dso): Use := to define.o
83704         ($(all-built-dso:=.dyn)): New static pattern rule.
83705         (generated): Add those targets.
83706         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83707         * config.make.in (READELF): New substituted variable.
83708         * elf/check-textrel.c: File removed.
83710 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83712         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83713         allow.
83714         * conform/data/ctype.h-data [C99-based standards] (isblank):
83715         Expect function.
83716         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83717         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83718         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83719         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83720         Specify type.  Require positive value.
83721         (EILSEQ): Likewise.
83722         (ERANGE): Likewise.
83723         [ISO || POSIX] (EILSEQ): Do not expect.
83724         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83725         Specify type.  Require positive value.
83726         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83727         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83728         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83729         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83730         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83731         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83732         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83733         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83734         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83735         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83736         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83737         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83738         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83739         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83740         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83741         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83742         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83743         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83744         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83745         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83746         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83747         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83748         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83749         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83750         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83751         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83752         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83753         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83754         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83755         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83756         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83757         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83758         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83759         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83760         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83761         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83762         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83763         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83764         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83765         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83766         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83767         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83768         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83769         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83770         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83771         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83772         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83773         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83774         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83775         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83776         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83777         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83778         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83779         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83780         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83781         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83782         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83783         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83784         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83785         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83786         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83787         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83788         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83789         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83790         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83791         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83792         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83793         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83794         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83795         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83796         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83797         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83798         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83799         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83800         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83801         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83802         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83803         Require >= 2.
83804         (FLT_ROUNDS): Expect as macro, not constant.
83805         (FLT_MANT_DIG): Use macro-int-constant.
83806         (DBL_MANT_DIG): Likewise.
83807         (LDBL_MANT_DIG): Likewise.
83808         (FLT_DIG): Likewise.
83809         (DBL_DIG): Likewise.
83810         (LDBL_DIG): Likewise.
83811         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83812         (DBL_MIN_EXP): Likewise.
83813         (LDBL_MIN_EXP): Likewise.
83814         (FLT_MAX_EXP): Use macro-int-constant.
83815         (DBL_MAX_EXP): Likewise.
83816         (LDBL_MAX_EXP): Likewise.
83817         (FLT_MAX_10_EXP): Likewise.
83818         (DBL_MAX_10_EXP): Likewise.
83819         (LDBL_MAX_10_EXP): Likewise.
83820         (FLT_MAX): Use macro-constant.
83821         (DBL_MAX): Likewise.
83822         (LDBL_MAX): Likewise.
83823         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83824         (DBL_EPSILON): Likewise.
83825         (LDBL_EPSILON): Likewise.
83826         (FLT_MIN): Likewise.
83827         (DBL_MIN): Likewise.
83828         (LDBL_MIN): Likewise.
83829         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83830         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83831         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83832         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83833         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83834         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83835         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83836         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83837         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83838         [ISO11] (FLT_TRUE_MIN): Likewise.
83839         [ISO11] (LDBL_TRUE_MIN): Likewise.
83840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83841         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83842         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83843         (SCHAR_MAX): Likewise.
83844         (UCHAR_MAX): Likewise.
83845         (CHAR_MIN): Likewise.
83846         (CHAR_MAX): Likewise.
83847         (MB_LEN_MAX): Use macro-int-constant.
83848         (SHRT_MIN): Use macro-int-constant.  Specify type.
83849         (SHRT_MAX): Likewise.
83850         (USHRT_MAX): Likewise.
83851         (INT_MAX): Likewise.
83852         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83853         bound negative.
83854         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83855         bound with "U".
83856         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83857         bound with "L".
83858         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83859         bound negative.  Suffix upper bound with "L".
83860         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83861         bound with "UL".
83862         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83863         Specify type.
83864         [C99-based standards] (LLONG_MAX): Likewise.
83865         [C99-based standards] (ULLONG_MAX): Likewise.
83866         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83867         == 0.
83868         [ISO11] (max_align_t): Require type.
83869         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83871         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83872         from $CFLAGS, without defining away __attribute__ calls.
83873         (checknamespace): Use $CFLAGS_namespace.
83875         * conform/conformtest.pl (@keywords): Only include C99 keywords
83876         for standards based on C99 or C11.
83878         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83879         Disable tests.
83880         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83881         UNIX98]: Likewise.
83883         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83884         usability of symbols in #if.
83886         * conform/conformtest.pl: If macro or constant types start
83887         "promoted:", expect the symbol to be of the following type
83888         promoted by the integer promotions.
83890         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83891         in one place.  Also handle "macro-constant".
83893         * conform/conformtest.pl: Only accept expected macro values with
83894         "==".  Parse all "macro" lines in one place.
83895         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83897         * conform/conformtest.pl: Handle braced types on "constant" lines
83898         instead of handling "typed-constant".
83899         * conform/data/signal.h-data: Use "constant" instead of
83900         "typed-constant".
83902         * conform/conformtest.pl: Handle "optional-" at start of lines in
83903         one place rather than duplicating several cases.  Handle each
83904         format of "macro" line with initial "optional-".
83906         * conform/conformtest.pl: Only accept expected constant or
83907         optional-constant values with "==".  Parse all "constant" lines in
83908         one place.  Parse all "optional-constant" lines in one place.
83909         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83910         * conform/data/fmtmsg.h-data: Likewise.
83911         * conform/data/netinet/in.h-data: Likewise.
83912         * conform/data/tar.h-data: Likewise.
83913         * conform/data/limits.h-data: Use "==" form on "constant" and
83914         "optional-constant" lines.
83916         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83917         Use -std=c99 for XOPEN2K.
83918         (@knownproblems): Remove.
83919         (newtoken): Don't check %isknown.
83921         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83922         Do not expect macro.
83923         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83924         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83925         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83926         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83927         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83928         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83929         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83930         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83931         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83932         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83933         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83934         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83935         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83936         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83937         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83938         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83939         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83940         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83941         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83942         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83943         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83944         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83945         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83946         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83947         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83948         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83949         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83950         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83951         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83952         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83953         [XPG3] (acosh): Likewise.
83954         [XPG3] (asinh): Likewise.
83955         [XPG3] (atanh): Likewise.
83956         [XPG3] (cbrt): Likewise.
83957         [XPG3] (expm1): Likewise.
83958         [XPG3] (ilogb): Likewise.
83959         [XPG3] (log1p): Likewise.
83960         [XPG3] (logb): Likewise.
83961         [XPG3] (nextafter): Likewise.
83962         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83963         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83964         [XPG3] (remainder): Likewise.
83965         [XPG3] (rint): Likewise.
83966         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83967         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83968         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83969         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83970         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83971         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83972         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83973         [UNIX98 || XOPEN2K] (scalb): Expect.
83974         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83975         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83976         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83977         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83978         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83979         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83980         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83981         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83982         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83983         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83984         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83985         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83986         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83987         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83988         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83989         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83990         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83991         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83992         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83993         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83994         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83995         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83996         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83997         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83998         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83999         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84000         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84001         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84002         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84003         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84004         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84005         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84006         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84007         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84008         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84009         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84010         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84011         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84012         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84013         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84014         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84015         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84016         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84017         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84018         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84019         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84020         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84021         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84022         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84023         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84024         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84025         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84026         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84027         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84028         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84029         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84030         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84031         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84032         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84033         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84034         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84035         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84036         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84037         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84038         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84039         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84040         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84041         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84042         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84043         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84044         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84045         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84046         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84047         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84048         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84049         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84050         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84051         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84052         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84053         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84054         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84055         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84056         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84057         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84058         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84059         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84060         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84061         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84062         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84063         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84064         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84065         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84066         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84067         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84068         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84069         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84070         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84071         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84072         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84073         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84074         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84075         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84076         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84077         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84078         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84079         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84080         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84081         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84082         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84083         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84084         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84085         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84086         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84087         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84088         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84089         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84090         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84091         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84092         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84093         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84094         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84095         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84096         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84097         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84098         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84099         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84100         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84101         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84102         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84103         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84104         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84105         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84106         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84107         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84108         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84109         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84110         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84112         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84113         _XOPEN_SOURCE_EXTENDED for XPG4.
84115         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84117         * Makeconfig (localtime): Remove variable.
84118         (inst_localtime-file): Likewise.
84120 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84123         Update.
84124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84125         Update.
84126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84127         Update.
84128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84129         Update.
84130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84131         Update.
84132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84133         Update.
84134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84135         Update.
84136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84137         Update.
84138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84139         Update.
84141 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84143         [BZ #2550]
84144         [BZ #2570]
84145         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84146         comparisons to determine direction to adjust input.
84147         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84148         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84149         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84150         Likewise.
84151         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84152         Likewise.
84153         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84154         Likewise.
84155         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84156         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84157         Likewise.
84158         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84159         Likewise.
84160         * math/libm-test.inc (nexttoward_test): Add more tests.
84162 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84164         [BZ #14040]
84165         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84166         in version GLIBC_2.1, not GLIBC_2.0.
84167         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84168         Likewise.
84170 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84172         [BZ #13942]
84173         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84174         (1 - x) * (1 + x).
84175         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84176         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84177         * math/libm-test.inc (acos_test): Add more tests.
84178         (asin_test): Likewise.
84179         * sysdeps/i386/fpu/libm-test-ulps: Update.
84180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84182         [BZ #14034]
84183         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84184         of square root.
84185         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84186         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84187         * math/libm-test.inc (acos_test_tonearest): New function.
84188         (acos_test_towardzero): Likewise.
84189         (acos_test_downward): Likewise.
84190         (acos_test_upward): Likewise.
84191         (asin_test_tonearest): Likewise.
84192         (asin_test_towardzero): Likewise.
84193         (asin_test_downward): Likewise.
84194         (asin_test_upward): Likewise.
84195         (main): Call the new functions.
84196         * sysdeps/i386/fpu/libm-test-ulps: Update.
84197         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84199         [BZ #13884]
84200         [BZ #13924]
84201         * math/e_exp10.c: Include <float.h>.
84202         (__ieee754_exp10): Handle underflow here rather than multiplying
84203         large negative argument by M_LN10.
84204         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84205         of __ieee754_expf.
84206         * math/e_exp10l.c: Include <float.h>.
84207         (__ieee754_exp10l): Handle underflow here rather than multiplying
84208         large negative argument by M_LN10l.
84209         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84210         spurious overflow exception on underflow.
84212 2012-04-29  Marek Polacek  <polacek@redhat.com>
84214         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84215         (__fortify_function): New macro.
84216         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84217         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84218         __extern_always_inline.
84219         * libio/bits/stdio2.h: Likewise.
84220         * libio/bits/stdio.h: Likewise.
84221         * string/string.h: Likewise.
84222         * string/bits/string3.h: Likewise.
84223         * include/stdio.h: Likewise.
84224         * stdlib/bits/stdlib.h: Likewise.
84225         * stdlib/stdlib.h: Likewise.
84226         * rt/bits/mqueue2.h: Likewise.
84227         * rt/mqueue.h: Likewise.
84228         * posix/bits/unistd.h: Likewise.
84229         * posix/unistd.h: Likewise.
84230         * io/bits/poll2.h: Likewise.
84231         * io/bits/fcntl2.h: Likewise.
84232         * io/fcntl.h: Likewise.
84233         * io/sys/poll.h: Likewise.
84234         * misc/bits/syslog.h: Likewise.
84235         * misc/bits/syslog-ldbl.h: Likewise.
84236         * misc/sys/syslog.h: Likewise.
84237         * socket/bits/socket2.h: Likewise.
84238         * socket/sys/socket.h: Likewise.
84239         * debug/tst-chk1.c: Likewise.
84240         * wcsmbs/bits/wchar2.h: Likewise.
84241         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84242         * wcsmbs/wchar.h: Likewise.
84244 2012-04-29  Andreas Jaeger  <aj@suse.de>
84246         * Makerules (tests): Remove enable-check-abi protection.
84247         (check-abi-warn): Remove.
84248         (check-abi-%): Remove check-abi-warn usage.
84250         * configure.in: Remove check-abi configure option.
84251         * configure: Regenerated.
84252         * config.make.in (enable-check-abi): Remove.
84254 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84256         [BZ #14033]
84257         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84258         double functions to double *_finite functions.
84260         [BZ #13941]
84261         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84262         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84263         LDBL_MIN_EXP.
84264         * stdio-common/Makefile (tests): Add tst-sprintf3.
84265         * stdio-common/tst-sprintf3.c: New file.
84267         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84268         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84270 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84272         * conform/conformtest.pl: Remove duplicate typed-constant
84273         handling.
84275 2012-04-28  David S. Miller  <davem@davemloft.net>
84277         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84278         (check-abi-%): Remove AWK script prerequisite and explicit
84279         abilist directory.
84280         (check-abi): Rewrite to just diff the symlist with the abilist.
84281         (config-tls, config-abi-config): Delete, no longer used.
84282         (update-abi-%): Remove AWK script and explicit abilist directory.
84283         (update-abi): Rewrite to simply compare and conditionally copy the
84284         symlist and the sysdep abilist file.  Remove update-abi-config
84285         checks.
84286         * abilist/ld.abilist: Remove.
84287         * abilist/libBrokenLocale.abilist: Remove.
84288         * abilist/libanl.abilist: Remove.
84289         * abilist/libcrypt.abilist: Remove.
84290         * abilist/libdl.abilist: Remove.
84291         * abilist/librt.abilist: Remove.
84292         * abilist/libthread_db.abilist: Remove.
84293         * abilist/libutil.abilist: Remove.
84294         * scripts/extract-abilist.awk: Remove.
84295         * scripts/merge-abilist.awk: Remove.
84296         * sysdeps/generic/libcidn.abilist: New file.
84297         * sysdeps/generic/libnss_compat.abilist: New file.
84298         * sysdeps/generic/libnss_db.abilist: New file.
84299         * sysdeps/generic/libnss_dns.abilist: New file.
84300         * sysdeps/generic/libnss_files.abilist: New file.
84301         * sysdeps/generic/libnss_hesiod.abilist: New file.
84302         * sysdeps/generic/libnss_nis.abilist: New file.
84303         * sysdeps/generic/libnss_nisplus.abilist: New file.
84304         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84305         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84306         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84307         file.
84308         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84309         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84310         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84311         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84312         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84313         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84314         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84315         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84316         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84317         file.
84318         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84319         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84320         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84321         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84322         file.
84323         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84324         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84325         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84326         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84327         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84328         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84329         file.
84330         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84331         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84332         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84333         file.
84334         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84336         New file.
84337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84338         New file.
84339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84340         New file.
84341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84342         New file.
84343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84344         New file.
84345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84346         New file.
84347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84348         New file.
84349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84350         New file.
84351         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84352         New file.
84353         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84354         New file.
84355         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84356         New file.
84357         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84358         New file.
84359         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84360         New file.
84361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84362         file.
84363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84364         New file.
84365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84366         New file.
84367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84368         file.
84369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84370         New file.
84371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84372         New file.
84373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84374         file.
84375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84376         New file.
84377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84378         New file.
84379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84380         New file.
84381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84382         New file.
84383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84384         New file.
84385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84386         New file.
84387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84389         file.
84390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84391         New file.
84392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84393         file.
84394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84395         file.
84396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84397         file.
84398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84399         file.
84400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84401         file.
84402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84403         New file.
84404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84405         file.
84406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84407         file.
84408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84409         New file.
84410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84411         file.
84412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84414         file.
84415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84416         New file.
84417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84418         file.
84419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84420         file.
84421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84422         file.
84423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84424         file.
84425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84426         file.
84427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84428         New file.
84429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84430         file.
84431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84432         file.
84433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84434         New file.
84435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84436         file.
84437         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84438         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84439         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84440         file.
84441         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84442         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84443         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84444         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84445         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84446         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84447         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84448         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84449         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84450         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84453         file.
84454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84455         New file.
84456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84457         file.
84458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84459         file.
84460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84461         file.
84462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84463         file.
84464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84465         file.
84466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84467         New file.
84468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84469         New file.
84470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84471         file.
84472         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84473         New file.
84474         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84475         file.
84476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84478         file.
84479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84480         New file.
84481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84482         file.
84483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84484         file.
84485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84486         file.
84487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84488         file.
84489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84490         file.
84491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84492         New file.
84493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84494         New file.
84495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84496         file.
84497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84498         New file.
84499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84500         file.
84502 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84504         * conform/conformtest.pl: Fix typo in handling typed-constant from
84505         allow-header.
84507 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84509         * README: Cut down references to pre-2.6 Linux kernels and
84510         Linuxthreads.  Update lists of configurations in libc and ports
84511         and sort alphabetically.  Say "or newer" with Linux kernel version
84512         requirements.
84514         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84516 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84518         [BZ #887]
84519         * math/libm-test.inc (logb_test_downward): New test to expose
84520         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84521         rounding mode.
84523 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84525         [BZ #14027]
84526         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84527         to be done.
84528         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84529         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84531 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84533         * sysdeps/unix/i386/brk.S: Remove file.
84534         * sysdeps/unix/i386/dl-brk.S: Likewise.
84535         * sysdeps/unix/i386/pipe.S: Likewise.
84536         * sysdeps/unix/i386/sigreturn.S: Likewise.
84537         * sysdeps/unix/i386/syscall.S: Likewise.
84538         * sysdeps/unix/i386/vfork.S: Likewise.
84539         * sysdeps/unix/i386/wait.S: Likewise.
84541         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84542         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84544         * configure.in (arm*-none*): Do not allow without
84545         --enable-hacker-mode.
84546         (netbsd*): Remove case setting base_os.
84547         (386bsd*): Likewise.
84548         (freebsd*): Likewise.
84549         (bsdi*): Likewise.
84550         (osf*): Likewise.
84551         (sunos*): Likewise.
84552         (ultrix*): Likewise.
84553         (newsos*): Likewise.
84554         (dynix*): Likewise.
84555         (*bsd*): Likewise.
84556         (sysv*): Likewise.
84557         (isc*): Likewise.
84558         (esix*): Likewise.
84559         (sco*): Likewise.
84560         (minix*): Likewise.
84561         (irix4*): Likewise.
84562         (irix6*): Likewise.
84563         (solaris[2-9]*): Likewise.
84564         (none): Likewise.
84565         * configure: Regenerated.
84567 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84569         [BZ #11521]
84570         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84571         overflow or cancellation in calculating denominator.
84572         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84574         down expression to avoid unexpected rounding in newer GCCs.
84575         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84577 2012-04-26  David S. Miller  <davem@davemloft.net>
84579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84580         long-double compat symbols.
84581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84588         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84595 2012-04-25  David S. Miller  <davem@davemloft.net>
84597         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84598         HWCAP_* values only after the memory barriers have been defined.
84599         (atomic_full_barrier): Define.
84600         (atomic_read_barrier): Define.
84601         (atomic_write_barrier): Define.
84603 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84605         * shlib-versions: Add libgcc_s version information.
84606         * sysdeps/generic/libgcc_s.h: Remove.
84607         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84608         libgcc_s.h.
84609         * sysdeps/gnu/unwind-resume.c: Likewise.
84610         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84612 2012-04-25  David S. Miller  <davem@davemloft.net>
84614         * sysdeps/unix/sparc/brk.S: Delete.
84615         * sysdeps/unix/sparc/dl-brk.S: Delete.
84616         * sysdeps/unix/sparc/pipe.S: Delete.
84617         * sysdeps/unix/sparc/sysdep.S: Delete.
84618         * sysdeps/unix/sparc/sysdep.h: Delete.
84619         * sysdeps/unix/sparc/vfork.S: Delete.
84620         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84621         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84622         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84623         (ret_ERRVAL, r0, r1, MOVE): Define.
84624         (JUMPTARGET): Remove.
84625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84626         sysdeps/unix/sparc/sysdep.h
84627         (ENTRY, END): Remove.
84628         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84630 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84632         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84633         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84634         -DIS_IN_build.
84636         * timezone/README: Update upstream location and email address for
84637         tzcode and tzdata.
84638         * timezone/zdump.c: Update from tzcode 2012b.
84639         * timezone/zic.c: Likewise.
84641         * configure.in (libc_cv_as_needed): Remove test.
84642         * configure: Regenerated.
84643         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84644         conditional definition.
84645         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84646         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84647         * config.make.in (have-as-needed): Remove variable.
84649 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84650             Paul Pluzhnikov  <ppluzhnikov@google.com>
84652         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84653         strings correctly.
84655 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84657         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84658         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84659         * sysdeps/sh/strlen.S: Likewise.
84661 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84663         * sysdeps/unix/fork.S: Remove file.
84664         * sysdeps/unix/i386/fork.S: Likewise.
84665         * sysdeps/unix/sparc/fork.S: Likewise.
84667         * sysdeps/unix/system.c: Remove file.
84668         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84670         * sysdeps/unix/getegid.S: Remove file.
84671         * sysdeps/unix/geteuid.S: Likewise.
84673 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84675         * scripts/check-localplt.awk: New file.
84676         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84677         of diff.
84678         * scripts/data/localplt-generic.data: Add a comment.
84680         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84681         NODE when __dir_mkfile failed.
84682         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84683         Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84685 2012-04-24  Andreas Jaeger  <aj@suse.de>
84687         * Makerules (common-clean): Also remove gen-as-const-headers
84688         files.
84690 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84692         * Makerules (native-compile): Do not change working directory for
84693         build.  Use $(OUTPUT_OPTION) in command.
84694         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84696 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84698         [BZ #13886]
84699         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84700         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84701         * math/libm-test.inc (floor_test): Add more tests.
84702         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84704 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84706         * sysdeps/unix/getdents.c: Remove file.
84707         * sysdeps/unix/sysv/getdents.c: Likewise.
84708         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84710         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84711         sysdeps/unix/mman/syscalls.list.
84712         (mmap): Likewise.
84713         (mprotect): Likewise.
84714         (msync): Likewise.
84715         (munmap): Likewise.
84716         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84717         * sysdeps/unix/mman/syscalls.list: Remove.
84718         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84720         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84721         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84722         * configure: Regenerated.
84723         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84724         $(libgcc_s_suffix).
84725         * config.make.in (libgcc_s_suffix): Remove variable.
84727 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84729         * sysdeps/unix/sysv/gethostname.c: Move to ...
84730         * sysdeps/posix/gethostname.c: ... here.
84732         * sysdeps/unix/execve.S: Remove file.
84734         * sysdeps/unix/_exit.S: Remove file.
84736 2012-04-23  Andreas Jaeger  <aj@suse.de>
84738         [BZ #13739]
84739         * manual/Makefile: Remove make dist support, there's no
84740         need for a stand-alone documentation tar ball.
84741         (TEXI2DVI): Define always, it's not in Makeconfig.
84742         (dist): Removed.
84743         (tar-it): Removed.
84744         (edition): Removed.
84745         (glibc-doc-$(edition).tar): Removed
84746         (%.Z): Removed.
84747         (%.gz): Removed.
84748         (%.uu): Removed.
84749         (ETAGS): Remove, it's in Makeconfig.
84750         (move-if-change): Remove, it's in Makeconfig.
84752 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84754         [BZ #13970]
84755         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84756         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84757         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84758         (strtod_l, strtof_l, strtold_l): Remove __wur.
84759         It is not necessarily an error to ignore strtol's return value.
84760         One can reliably look at the stored endptr to decide whether
84761         the number had valid syntax.
84763 2012-04-21  Andreas Jaeger  <aj@suse.de>
84765         [BZ #13739]
84766         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84768 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84770         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84771         * sysdeps/unix/sysv/Versions: Remove file.
84773 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84775         [BZ #13927]
84776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84778 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84780         [BZ #7064]
84781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84782         version from __vm86.
84784 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84786         * sysdeps/unix/common/lxstat.c: Remove file.
84787         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84789         * sysdeps/unix/sysv/Makefile: Remove file.
84791         * sysdeps/unix/sysv/direct.h: Remove file.
84793         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84794         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84795         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84796         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84797         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84798         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84799         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84801         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84803         * sysdeps/unix/xmknod.c: Remove file.
84804         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84806         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84808         * sysdeps/unix/sysv/i386/time.S: Remove file.
84810         * sysdeps/unix/fxstat.c: Remove file.
84811         * sysdeps/unix/xstat.c: Likewise.
84812         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84814         * sysdeps/unix/sysv/sigaction.c: Remove file.
84816         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84817         (sysdep_headers): Remove variable.
84818         [termio.h not in sysdep_headers] (generated): Likewise.
84819         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84820         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84821         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84822         * sysdeps/unix/sysv/tcflow.c: Likewise.
84823         * sysdeps/unix/sysv/tcflush.c: Likewise.
84824         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84825         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84826         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84827         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84828         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84830         * sysdeps/unix/siglist.c: Remove file.
84832         * sysdeps/unix/getppid.S: Remove file.
84834         * sysdeps/unix/mkdir.c: Remove file.
84835         * sysdeps/unix/rmdir.c: Likewise.
84837 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84839         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84840         ERR_MAX value.
84841         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84842         errlist-compat value.
84844 2012-04-18  David S. Miller  <davem@davemloft.net>
84846         * sysdeps/generic/memcopy.h (reg_char): Delete.
84847         * debug/strcat_chk.c: Use char, not reg_char.
84848         * debug/strcpy_chk.c: Likewise.
84849         * debug/strncat_chk.c: Likewise.
84850         * debug/strncpy_chk.c: Likewise.
84851         * string/memchr.c: Likewise.
84852         * string/memrchr.c: Likewise.
84853         * string/rawmemchr.c: Likewise.
84854         * string/strcat.c: Likewise.
84855         * string/strchr.c: Likewise.
84856         * string/strchrnul.c: Likewise.
84857         * string/strcmp.c: Likewise.
84858         * string/strcpy.c: Likewise.
84859         * string/strncat.c: Likewise.
84860         * string/strncmp.c: Likewise.
84861         * string/strncpy.c: Likewise.
84863 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84865         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84866         __builtin_memcopy is called when src and dest ranges are known to not
84867         overlap.
84869 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84871         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84872         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84873         fwd_align_merge macro call.
84874         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84875         bwd_align_merge macro call.
84876         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84878 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84880         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84881         bwd_align_merge macros.
84882         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84883         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84884         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84886 2012-04-18  David S. Miller  <davem@davemloft.net>
84888         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84890 2012-04-18  Andreas Jaeger  <aj@suse.de>
84892         [BZ #6794]
84893         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84894         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84895         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84897         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84898         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84899         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84901         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84902         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84903         Adjust for changed ldbl-128 files.
84905         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84906         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84907         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84909 2012-04-17  David S. Miller  <davem@davemloft.net>
84911         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84913 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84915         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84916         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84917         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84918         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84919         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84920         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84922 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84924         [BZ #6794]
84925         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84926         * math/libm-test.inc: Add ilogb errno and exception tests.
84927         * math/w_ilogb.c: New file: ilogb wrapper.
84928         * math/w_ilogbf.c: New file: ilogbf wrapper.
84929         * math/w_ilogbl.c: New file: ilogbl wrapper.
84930         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84931         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84932         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84933         exception being thrown with 0.0 as argument.
84934         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84935         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84936         exception being thrown with 0.0 as argument.
84937         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84938         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84939         exception being thrown with 0.0 as argument.
84940         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84941         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84942         exception being thrown with 0.0 as argument.
84943         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84944         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84945         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84946         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84947         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84948         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84949         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84950         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84951         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84953 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84955         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84956         with altivec.
84958 2012-04-16  Marek Polacek  <polacek@redhat.com>
84960         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84962 2012-04-16  Marek Polacek  <polacek@redhat.com>
84964         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84965         operands of fdivp instruction.
84967 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84969         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84970         * elf/tst-auditmod3b.c: Likewise.
84971         * elf/tst-auditmod4b.c: Likewise.
84972         * elf/tst-auditmod5b.c: Likewise.
84973         * elf/tst-auditmod6b.c: Likewise.
84974         * elf/tst-auditmod6c.c: Likewise.
84975         * elf/tst-auditmod7b.c: Likewise.
84976         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84977         * sysdeps/x86_64/preconfigure.in: Likewise.
84978         * sysdeps/x86_64/preconfigure: Regenerated.
84980 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84982         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84983         __ILP32__.
84985 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84987         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84988         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84990 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84992         [BZ #13973]
84993         * locale/iso-639.def: Fix gl language name. Spotted by
84994         Yaron Shahrabani.
84996 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84998         [BZ #2074]
84999         * libio/libio.h (__io_write_fn): Update comment.
85001 2012-04-12  Petr Baudis  <pasky@ucw.cz>
85003         [BZ #2074]
85004         * stdio.texi (Hook Functions): The user provided writer function
85005         is not allowed to return -1.
85007 2012-04-11  David S. Miller  <davem@davemloft.net>
85009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85011 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
85013         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85014         Add a leading slash to rtkaio.
85016 2012-04-11  Jim Meyering  <meyering@redhat.com>
85018         [BZ #11959]
85019         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85020         It is not necessarily an error to ignore fwrite's return
85021         value.  One can reliably use ferror to test for errors after
85022         the fact.
85024 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85026         * bits/types.h (__snseconds_t): New type.
85027         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85029         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85030         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85031         (__SNSECONDS_T_TYPE): Likewise.
85032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85033         (__SNSECONDS_T_TYPE): Likewise.
85034         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85035         (__SNSECONDS_T_TYPE): Likewise.
85037 2012-04-10  Andreas Jaeger  <aj@suse.de>
85039         [BZ #2636]
85040         * manual/time.texi (Processor Time): Return type of times is
85041         elapsed real time since an arbitrary point in the past.
85042         (CPU Time): Move CLK_TCK from here...
85043         (Processor Time): ...to here.  Correct description.
85044         * manual/conf.texi (Constants for Sysconf): Correct description of
85045         _SC_CLK_TCK.
85047 2012-04-10  David S. Miller  <davem@davemloft.net>
85049         [BZ #13967]
85050         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85051         where the is a gap between DT_REL(A) and DT_JMPREL.
85053 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85055         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85056         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85057         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85059 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85061         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85062         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85063         (dl_main): Handle --inhibit-cache.
85064         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85065         _dl_inhibit_cache.
85066         * elf/dl-load.c (_dl_map_object): Use it.
85067         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85069 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85071         [BZ #13872]
85072         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85073         (__ieee754_powl): Saturate large exponents rather than testing for
85074         overflow of y*log2(x).
85075         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85076         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85077         exceptions.
85079         [BZ #11521]
85080         * math/s_ctan.c: Include <float.h>.
85081         (__ctan): Avoid internal overflow or cancellation in calculating
85082         denominator.
85083         * math/s_ctanf.c: Likewise.
85084         * math/s_ctanl.c: Likewise.
85085         * math/s_ctanh.c: Likewise.
85086         * math/s_ctanhf.c: Likewise.
85087         * math/s_ctanhl.c: Likewise.
85088         * math/libm-test.inc (ctan_test): Add more tests.
85089         (ctanh_test): Likewise.
85090         * sysdeps/i386/fpu/libm-test-ulps: Update.
85091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85093 2012-04-09  Andreas Jaeger  <aj@suse.de>
85095         [BZ #6894]
85096         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85097         is an optional BSD extension.
85099         [BZ #10254]
85100         * manual/stdio.texi (Opening Streams): Document additional fopen
85101         parameters.
85103 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85105         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85106         %eax without telling the compiler.
85108 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85110         [BZ # 13963]
85111         * manual/install.texi: Use sourceware.org.
85113 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85115         [BZ #13873]
85116         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85117         (__ieee754_pow): Generate overflow and underflow using huge*huge
85118         and tiny*tiny rather than just returning constant infinity or zero
85119         for large exponents.
85120         * math/libm-test.inc (pow_test): Require overflow exceptions for
85121         applicable cases of large exponents.
85123         [BZ #706]
85124         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85125         (__ieee754_pow): Use iterative multiplication algorithm only for
85126         integer exponents with absolute value below 1024.  Check for odd
85127         integer exponents when using algorithm for real exponents.
85128         * math/libm-test.inc (pow_test): Add more tests.
85129         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85131 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85133         [BZ #13705]
85134         * math/libm-test.inc (exp_test): Do not allow overflow exception
85135         on underflow test.
85137 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85139         [BZ #13705]
85140         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85141         instead of __kernel_standard_f.
85143 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85145         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85146         * sysdeps/x86_64/memset_chk.S: Likewise.
85148 2012-04-08  Andreas Jaeger  <aj@suse.de>
85150         [BZ #10153]
85151         * manual/startup.texi (Environment Access): Describe return value
85152         for putenv and setenv.
85154         [BZ #6895]
85155         * manual/filesys.texi (Directory Entries): Add description for
85156         DT_LNK.
85158         [BZ #6890]
85159         * manual/filesys.texi (Directory Entries): Clarify that it's file
85160         system not operating system in the description of DT_UNKNOWN.
85162         [BZ #6578]
85163         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85165 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85167         [BZ #6649]
85168         * manual/llio.texi (Opening and Closing Files): Add cross
85169         reference to explain mode argument.
85171 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85173         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85174         * sysdeps/x86_64/memset_chk.S: Likewise.
85176 2012-04-07  David S. Miller  <davem@davemloft.net>
85178         * elf/elf.h (R_SPARC_WDISP10): Define.
85179         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85180         R_SPARC_SIZE32.
85181         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85182         R_SPARC_SIZE64 and R_SPARC_H34.
85184 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85186         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85187         conditions and remove no longer applicable assertion.
85189 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85191         * bits/byteswap.h: Include <features.h>.
85192         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85193         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85195 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85197         * bits/byteswap.h (__bswap_16): Removed.
85198         Include <bits/byteswap-16.h> to get __bswap_16.
85199         * sysdeps/i386/bits/byteswap.h: Likewise.
85200         * sysdeps/s390/bits/byteswap.h: Likewise.
85201         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85202         * bits/byteswap-16.h: New file.
85203         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85204         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85205         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85206         * string/Makefile (headers): Add bits/byteswap-16.h.
85208 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85210         [BZ #13895]
85211         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85212         extra indirection.
85213         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85214         * nss/tst-nss-static.c: New.
85216 2012-04-06  Robert Millan  <rmh@gnu.org>
85218         [BZ #6486]
85219         * manual/llio.texi (File Position Primitive): lseek
85220         refers to WHENCE when it really means OFFSET.
85222 2012-04-06  Andreas Jaeger  <aj@suse.de>
85224         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85225         strncmp declarations.
85227         * abilist/libc.abilist: Add __poll and __ppoll.
85229 2012-04-05  David S. Miller  <davem@davemloft.net>
85231         * scripts/check-local-headers.sh: Accept a host triplet in the
85232         path matched by the exclude regexp.
85234         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85235         definition.
85236         * sysdeps/powerpc/powerpc32/dl-machine.h
85237         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85238         * sysdeps/s390/s390-32/dl-machine.h
85239         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85240         * sysdeps/sparc/sparc32/dl-machine.h
85241         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85242         * sysdeps/sparc/sparc64/dl-machine.h
85243         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85245         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85246         lazy binding.
85247         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85248         undefined symbol errors.
85250         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85251         DT_NEEDED entries.
85253 2012-04-05  Michael Matz  <matz@suse.de>
85255         [BZ #13592]
85256         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85258 2012-04-05  Andreas Jaeger  <aj@suse.de>
85260         [BZ #13908]
85261         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85262         comment.
85264 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85266         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85267         which ROUND is no valid rounding mode.
85269 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85271         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85272         read again.
85273         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85275 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85277         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85278         an exception using FPU order intentionally.
85280 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85282         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85283         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85284         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85285         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85287 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85289         [BZ #12340]
85290         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85291         EINVAL when BUFLEN is too smal.
85293 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85295         [BZ #13553]
85296         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85297         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85299 2012-04-03  Andreas Jaeger  <aj@suse.de>
85301         [BZ #13938]
85302         * manual/setjmp.texi (System V contexts): Fix sentence.
85304         [BZ #13926]
85305         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85306         New macro for this case.
85307         [!__GNUC__] (__bswap_64): New inline function for this case.
85308         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85309         * bits/byteswap.h: Likewise.
85310         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85311         ull, guard with __GLIBC_HAVE_LONG_LONG.
85313         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85314         __GLIBC_HAVE_LONG_LONG.
85316         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85317         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85319 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85321         [BZ #13691]
85322         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85323         inptr and inend, rather than using last_ch.
85325 2012-04-02  David S. Miller  <davem@davemloft.net>
85327         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85328         * stdio-common/printf-parse.h (read_int): Change return type to
85329         'int', return -1 on INT_MAX overflow.
85330         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85331         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85332         overflows INT_MAX.  Check for overflow of in-format-string precision
85333         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85334         SIZE_MAX not INT_MAX for integer overflow test.
85335         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85336         skip the construct in the format string but do not record anything.
85337         * stdio-common/bug22.c: Adjust to test both width/prevision
85338         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85339         explicitly for proper errno values.
85341 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85343         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85344         CHAR_MAX.
85345         * string/test-strcmp.c [! WIDE]: Likewise.
85346         * time/tst-mktime2.c: Likewise for INT_MAX.
85347         * string/test-string.h: #include <sys/param.h> for MIN.
85349         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85350         * sysdeps/i386/init-first.c (init): Likewise.
85351         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85352         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85353         * sysdeps/sh/init-first.c (init): Likewise.
85355 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85357         * po/ru.po: Update from translation team.
85358         * po/vi.po: Likewise.
85360 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85362         * resolv/nss_dns/dns-host.c: Merge copyright years.
85364 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85367         Optimize memcpy with prefetch if
85368         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85369         src, dst pointers have unequal 16 byte alignments.
85371 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85373         [BZ #13928]
85374         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85375         from a CNAME entry and return the minimum ttl for the query.
85376         (gaih_getanswer_slice): Likewise.
85378 2012-03-30  Jeff Law  <law@redhat.com>
85380         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85381         due to long keys.
85382         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85383         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85385         * resolv/nss_dns/dns-host.c: Update copyright year.
85387 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85389         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85390         requests to save a system call.  Fix check that all bytes are sent.
85392         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85393         comments for sendmmsg.
85395 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85397         [BZ #13691]
85398         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85399         with only 1 character between 0x0041 and 0x01b0.
85400         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85401         * wcsmbs/tst-mbsnrtowcs.c: New file.
85403 2012-03-29  David S. Miller  <davem@davemloft.net>
85405         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85406         small copies by hand.
85408 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85410         [BZ #13761]
85411         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85412         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85413         group memberships.
85415 2012-03-28  David S. Miller  <davem@davemloft.net>
85417         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85418         that branches into memcpy.
85419         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85422         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85424         bits.
85425         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85426         implementation too.
85427         * sysdeps/sparc/mempcpy.S: New file.
85429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85430         the IFUNC routine in the libc case.
85431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85433         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85434         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85435         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85436         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85437         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85438         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85439         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85440         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85442         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85443         loop to 256 bytes instead of 64 bytes and fix test signedness.
85445         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85446         * sysdeps/sparc/sparc32/Makefile: rather than here...
85447         * sysdeps/sparc/sparc64/Makefile: and here.
85449 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85451         * malloc/mallocbug.c: Avoid warnings about unused variables.
85453 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85455         [BZ #13760]
85456         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85457         in the right place. Discard and retry query if response is
85458         larger than input buffer size.
85460 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85462         [BZ #369]
85463         [BZ #2678]
85464         [BZ #3866]
85465         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85466         x for large integer exponent.
85467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85468         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85469         sign of result as needed afterwards.
85470         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85471         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85472         result for underflowing pow the same as for overflow.
85473         (__kernel_standard_l): Handle powl overflow and underflow here
85474         rather than calling __kernel_standard.
85475         * math/libm-test.inc (pow_test): Add more tests.
85477         [BZ #3868]
85478         [BZ #13879]
85479         [BZ #13910]
85480         [BZ #13911]
85481         [BZ #13912]
85482         [BZ #13913]
85483         [BZ #13915]
85484         [BZ #13916]
85485         [BZ #13917]
85486         [BZ #13918]
85487         [BZ #13919]
85488         [BZ #13920]
85489         [BZ #13921]
85490         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85491         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85492         (__kernel_standard_l): New function.
85493         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85494         __kernel_standard.
85495         * math/w_acosl.c (__acosl): Likewise.
85496         * math/w_asinl.c (__asinl): Likewise.
85497         * math/w_atan2l.c (__atan2l): Likewise.
85498         * math/w_atanhl.c (__atanhl): Likewise.
85499         * math/w_coshl.c (__coshl): Likewise.
85500         * math/w_exp10l.c (__exp10l): Likewise.
85501         * math/w_exp2l.c (__exp2l): Likewise.
85502         * math/w_fmodl.c (__fmodl): Likewise.
85503         * math/w_hypotl.c (__hypotl): Likewise.
85504         * math/w_j0l.c (__j0l, __y0l): Likewise.
85505         * math/w_j1l.c (__j1l, __y1l): Likewise.
85506         * math/w_jnl.c (__jnl, __ynl): Likewise.
85507         * math/w_lgammal.c (__lgammal): Likewise.
85508         * math/w_log10l.c (__log10l): Likewise.
85509         * math/w_log2l.c (__log2l): Likewise.
85510         * math/w_logl.c (__logl): Likewise.
85511         * math/w_powl.c (__powl): Likewise.
85512         * math/w_remainderl.c (__remainderl): Likewise.
85513         * math/w_scalbl.c (sysv_scalbl): Likewise.
85514         * math/w_sinhl.c (__sinhl): Likewise.
85515         * math/w_sqrtl.c (__sqrtl): Likewise.
85516         * math/w_tgammal.c (__tgammal): Likewise.
85517         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85518         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85519         * math/libm-test.inc (acos_test): Add more tests.
85520         (acosh_test): Likewise.
85521         (asin_test): Likewise.
85522         (atanh_test): Likewise.
85523         (exp_test): Likewise.
85524         (exp10_test): Likewise.
85525         (exp2_test): Likewise.
85526         (expm1_test): Likewise.
85527         (lgamma_test): Likewise.
85528         (log_test): Likewise.
85529         (log10_test): Likewise.
85530         (log1p_test): Likewise.
85531         (log2_test): Likewise.
85532         (pow_test): Do not allow some spurious overflow exceptions.
85533         (sqrt_test): Add more tests.
85534         (tgamma_test): Likewise.
85535         (y0_test): Likewise.
85536         (y1_test): Likewise.
85537         (yn_test): Likewise.
85539 2012-03-27  Anton Blanchard  <anton@samba.org>
85541         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85542         MAP_HUGETLB.
85543         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85544         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85545         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85547 2012-03-27  David S. Miller  <davem@davemloft.net>
85549         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85551         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85552         have-as-vis3 check.
85554 2012-03-27  Andreas Jaeger  <aj@suse.de>
85556         * sysdeps/x86_64/elf/configure.in: Moved to ...
85557         * sysdeps/x86_64/configure.in: ... here.
85558         * sysdeps/x86_64/elf/start.S: Moved to ...
85559         * sysdeps/x86_64/start.S: ... here.
85560         * sysdeps/x86_64/elf/configure: Delete.
85562         * sysdeps/x86_64/configure.in: Merge contents from
85563         sysdeps/i386/configure.in (without i686 check).
85565         * sysdeps/i386/elf/Versions: Merge into ...
85566         * sysdeps/i386/Versions: ... this.
85567         * sysdeps/i386/elf/Versions: Delete file.
85568         * sysdeps/i386/elf/start.S: Moved to ...
85569         * sysdeps/i386/start.S: ...here.
85570         * sysdeps/i386/elf/configure.in: Merge into...
85571         * sysdeps/i386/configure.in: ...here.
85572         * sysdeps/i386/elf/configure.in: Delete file.
85573         * sysdeps/i386/elf/configure: Delete file.
85575         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85576         * debug/backtracesyms.c: ... here.
85577         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85578         * debug/backtracesymsfd.c: ... here.
85579         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85580         * sysdeps/generic/ifunc-sel.h: ... here.
85582         * sysdeps/unix/i386/start.c: Delete file.
85583         * sysdeps/unix/sparc/start.c: Delete file.
85584         * sysdeps/unix/start.c: Delete file.
85586         * sysdeps/sh/elf/configure.in: Moved to ...
85587         * sysdeps/sh/configure.in: ... here.
85588         * sysdeps/sh/elf/start.S: Moved to ...
85589         * sysdeps/sh/start.S: ... here.
85590         * sysdeps/sh/elf/configure: Delete file.
85592         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85593         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85594         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85595         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85596         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85597         * sysdeps/powerpc/powerpc64/start.S: here.
85598         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85599         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85600         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85601         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85602         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85604         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85605         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85606         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85607         * sysdeps/powerpc/powerpc32/start.S: ... here.
85608         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85609         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85610         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85612         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85613         * sysdeps/powerpc/ifunc-sel.h: ... here.
85614         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85615         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85617         * sysdeps/sparc/elf/configure.in: Moved to ...
85618         * sysdeps/sparc/configure.in: ... here.
85619         * sysdeps/sparc/elf/configure: Delete file.
85620         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85621         * sysdeps/sparc/sparc32/start.S: ... here.
85622         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85623         * sysdeps/sparc/sparc64/start.S: ... here.
85624         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85625         * sysdeps/sparc/sparc32/Makefile: ... this.
85626         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85627         * sysdeps/sparc/sparc64/Makefile: ... this.
85629         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85630         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85631         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85632         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85633         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85634         * sysdeps/s390/s390-32/setjmp.S: ... here.
85635         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85636         * sysdeps/s390/s390-32/configure.in: ... here.
85637         * sysdeps/s390/s390-32/elf/configure: Delete file.
85638         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85639         * sysdeps/s390/s390-32/start.S: ... here.
85641         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85642         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85643         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85644         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85645         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85646         * sysdeps/s390/s390-64/setjmp.S: ... here.
85647         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85648         * sysdeps/s390/s390-64/configure.in: ... here
85649         * sysdeps/s390/s390-64/elf/configure: Delete file.
85650         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85651         * sysdeps/s390/s390-64/start.S: ... here.
85652         * sysdeps/s390/s390-64/elf/configure: Delete.
85654         * configure.in: Remove support for elf directories in sysdeps.
85656         * configure: Regenerated.
85657         * sysdeps/i386/configure: Regenerated.
85658         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85659         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85660         * sysdeps/s390/s390-32/configure: Regenerated.
85661         * sysdeps/s390/s390-64/configure: Regenerated.
85662         * sysdeps/sh/configure: Regenerated.
85663         * sysdeps/sparc/configure: Regenerated.
85664         * sysdeps/x86_64/configure: Regenerated.
85666 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85671         denormal result into account.
85673 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85675         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85676         Reported by Allan McRae <allan@archlinux.org>.
85678 2012-03-23  Jeff Law  <law@redhat.com>
85680         * nss/getnssent.c (__nss_getent): Fix typo.
85682 2012-03-23  David S. Miller  <davem@davemloft.net>
85684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85686 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85688         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85689         to pad to uint64_t for each field.
85690         (dl_tls_index): Replace unsigned long with uint64_t.
85692 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85693         Paul Pluzhnikov  <ppluzhnikov@google.com>
85695         [BZ #6528]
85696         * grp/Makefile (otherlibs): Don't set it.
85697         * inet/Makefile (otherlibs): Likewise.
85698         * login/Makefile (otherlibs): Likewise.
85699         * nscd/Makefile (otherlibs): Likewise.
85700         * posix/Makefile (otherlibs): Likewise.
85701         * pwd/Makefile (otherlibs): Likewise.
85702         * rt/Makefile (otherlibs): Likewise.
85703         * sunrpc/Makefile (otherlibs): Likewise.
85704         * nss/Makefile (otherlibs): Likewise.
85705         Add libnss_files to routines and static-only-routines.
85706         ($(objpfx)getent): Remove rule.
85707         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85708         static-only-routines.
85710 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85712         [BZ #13892]
85713         * math/s_cexp.c: Include <float.h>.
85714         (__cexp): Handle exp result overflowing not necessarily
85715         overflowing both real and imaginary parts of result.
85716         * math/s_cexpf.c: Likewise.
85717         * math/s_cexpl.c: Likewise.
85718         * math/libm-test.inc (cexp_test): Add more tests.
85719         * sysdeps/i386/fpu/libm-test-ulps: Update.
85720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85722 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85724         * include/link.h (ELFW): New macro.
85725         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85726         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85728 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85730         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85731         with uint64_t.
85733 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85735         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85736         declaration.
85737         (struct La_x32_retval): Likewise.
85739 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85741         * sysdeps/x86_64/preconfigure.in: New file.
85742         * sysdeps/x86_64/preconfigure: New generated file.
85744 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85746         [BZ #13824]
85747         * math/e_exp2l.c: Include <float.h>.
85748         (__ieee754_exp2l): Handle overflow and underflow cases
85749         separately.  Only pass fractional part of argument to
85750         __ieee754_expl.
85751         * math/libm-test.inc (exp2_test): Add more tests.
85753         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85754         negating x to take absolute value.
85755         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85756         Likewise.
85757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85759         Likewise.
85760         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85761         computing low part if x was negated.
85762         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85764 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85766         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85767         la_x32_gnu_pltexit.
85768         (pltexit): Cast int_retval to ptrdiff_t.
85769         * elf/tst-auditmod3b.c: Likewise.
85770         * elf/tst-auditmod4b.c: Likewise.
85771         * elf/tst-auditmod5b.c: Likewise.
85772         * elf/tst-auditmod6b.c: Likewise.
85773         * elf/tst-auditmod6c.c: Likewise.
85774         * elf/tst-auditmod7b.c: Likewise.
85776         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85777         and x32_gnu_pltexit.
85779         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85780         __ELF_NATIVE_CLASS.
85781         (La_x32_regs): New macro.
85782         (La_x32_retval): Likewise.
85783         (la_x32_gnu_pltenter): New function prototype.
85784         (la_x32_gnu_pltexit): Likewise.
85786 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85789         exponent.
85791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85793         * configure.in (libc_cv_cc_nofma): Check for option to disable
85794         generation of FMA instructions.
85795         * configure: Regenerate.
85796         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85797         * sysdeps/ieee754/dbl-64/Makefile: New file.
85798         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85799         Remove brandred-fma4.
85800         (CFLAGS-brandred-fma4.c): Remove.
85801         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85802         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85803         define.
85804         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85805         define.
85807 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85809         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85810         LLONG_MAX != LONG_MAX.
85811         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85812         (_fitoa_word): Likewise.
85813         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85814         LLONG_MAX != LONG_MAX.
85815         * stdio-common/_itowa.h: Include <_itoa.h>.
85816         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85817         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85818         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85819         only if not defined.
85820         (_ITOA_WORD_TYPE): Likewise.
85821         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85822         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85824 2012-03-21  David S. Miller  <davem@davemloft.net>
85826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85828 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85830         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85831         of x86_64 when setting libc_cv_slibdir, libdir and
85832         libc_cv_localedir.
85833         * sysdeps/unix/sysv/linux/configure: Regenerated.
85835 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85837         * manual/lang.texi (Old Varargs): Remove section.
85838         (How Variadic): Update menu.
85839         (va_start): Do not mention varargs.h.
85841 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85842             Joseph Myers  <joseph@codesourcery.com>
85844         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85845         link test.
85846         * configure: Regenerated.
85848 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85850         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85851         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85852         conformtest.pl
85854 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85856         * NOTES: Remove.
85857         * Makefile (files-for-dist): Remove NOTES.
85858         (NOTES): Remove rule.
85859         * README: Don't refer to NOTES.
85860         * manual/creature.texi: Don't include macros.texi.
85861         * manual/intro.texi (creature.texi): Remove comment referring to
85862         NOTES.
85864         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85865         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85866         * configure: Regenerated.
85867         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85868         LIBC_TRY_CC_OPTION.
85869         (libc_cv_as_i686): Likewise.
85870         (libc_cv_cc_avx): Likewise.
85871         (libc_cv_cc_sse2avx): Likewise.
85872         (libc_cv_cc_fma4): Likewise.
85873         (libc_cv_cc_novzeroupper): Likewise.
85874         * sysdeps/i386/configure: Regenerated.
85876         [BZ #13883]
85877         * sysdeps/i386/fpu/s_cexp.S: Remove.
85878         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85879         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85880         * math/libm-test.inc (cexp_test): Add more tests.
85881         * sysdeps/i386/fpu/libm-test-ulps: Update.
85882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85884 2012-03-21  Allan McRae  <allan@archlinux.org>
85886         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85888 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85890         [BZ #13871]
85891         * math/w_exp2.c: Do not include <float.h>.
85892         (o_threshold, u_threshold): Remove.
85893         (__exp2): Calculate result before checking finiteness and calling
85894         __kernel_standard.
85895         * math/w_exp2f.c: Likewise.
85896         * math/w_exp2l.c: Likewise.
85897         * math/libm-test.inc (exp2_test): Require overflow exception for
85898         1e6 input.
85900         [BZ #3866]
85901         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85902         range of signed 64-bit integers before using fistpll.  Remove
85903         checks for whether integers fit in mantissa bits.
85904         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85905         the range of signed 32-bit integers before using fistpl.  Remove
85906         checks for whether integers fit in mantissa bits.
85907         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85908         (__ieee754_powl): Test for y outside the range of signed 64-bit
85909         integers before using fistpll.  Reduce 64-bit values to 63-bit
85910         ones as needed.
85911         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85912         divide-by-zero is raised for zero to large negative powers.
85913         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85914         (__ieee754_powl): Test for y outside the range of signed 64-bit
85915         integers before using fistpll.  Reduce 64-bit values to 63-bit
85916         ones as needed.
85917         * math/libm-test.inc (pow_test): Add more tests.
85919 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85921         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85922         <stdio-common/_itoa.h>.
85923         * debug/segfault.c: Likewise.
85924         * elf/dl-cache.c: Likewise.
85925         * elf/dl-minimal.c: Likewise.
85926         * elf/dl-misc.c: Likewise.
85927         * elf/dl-sysdep.c: Likewise.
85928         * elf/dl-version.c: Likewise.
85929         * elf/rtld.c: Likewise.
85930         * hurd/hurdsock.c: Likewise.
85931         * hurd/lookup-retry.c: Likewise.
85932         * malloc/malloc.c: Likewise.
85933         * malloc/mtrace.c: Likewise.
85934         * nscd/nscd_getgr_r.c: Likewise.
85935         * nscd/nscd_getpw_r.c: Likewise.
85936         * nscd/nscd_getserv_r.c: Likewise.
85937         * posix/getopt_init.c: Likewise.
85938         * posix/wordexp.c: Likewise.
85939         * stdio-common/_itoa.c: Likewise.
85940         * stdio-common/printf_fphex.c: Likewise.
85941         * stdio-common/vfprintf.c: Likewise.
85942         * string/_strerror.c: Likewise.
85943         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85944         * sysdeps/i386/i686/hp-timing.h: Likewise.
85945         * sysdeps/mach/_strerror.c: Likewise.
85946         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85947         * sysdeps/mach/hurd/sethostid.c: Likewise.
85948         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85949         * sysdeps/mach/xpg-strerror.c: Likewise.
85950         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85952         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85953         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85954         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85955         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85956         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85957         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85958         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85959         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85960         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85961         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85962         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85963         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85964         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85965         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85966         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85967         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85968         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85969         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85970         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85972         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85974         * stdio-common/_itoa.h: Moved to ...
85975         * sysdeps/generic/_itoa.h: Here.
85977         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85979         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85980         instead of "_itoa.h" and "_itowa.h".
85981         * stdio-common/vfprintf.: Likewise.
85983 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85985         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85986         <bits/wordsize.h>.
85987         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85988         (__signbit): Likewise.
85989         (llrintf): Likewise.
85990         (llrint): Likewise.
85992 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85994         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85995         __WORDSIZE != 64.
85997 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85999         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86000         OVERFLOW_EXCEPTION_OK.
86001         * math/libm-test.inc ("Philosophy"): Update comment about
86002         exception testing.
86003         (OVERFLOW_EXCEPTION): Define.
86004         (OVERFLOW_EXCEPTION_OK): Likewise.
86005         (INVALID_EXCEPTION_OK): Renumber.
86006         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86007         (IGNORE_ZERO_INF_SIGN): Likewise.
86008         (test_exceptions): Handle FE_OVERFLOW.
86009         (exp10_test): Expect overflow exceptions.
86010         (exp2_test): Likewise.
86011         (expm1_test): Likewise.
86012         (nextafter_test): Likewise.
86013         (pow_test): Likewise.
86014         (scalbn_test): Likewise.
86015         (scalbln_test): Likewise.
86017 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86019         * sysdeps/x86_64/bits/atomic.h
86020         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86021         64bit integer.
86022         (atomic_exchange_acq): Likewise.
86023         (__arch_exchange_and_add_body): Likewise.
86024         (__arch_add_body): Likewise.
86025         (atomic_add_negative): Likewise.
86026         (atomic_add_zero): Likewise.
86028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86030         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86031         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86033 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86035         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86036         Check __x86_64__ instead of __WORDSIZE.
86038 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86040         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86042 2012-03-19  David S. Miller  <davem@davemloft.net>
86044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86046         * sysdeps/sparc/fpu/fenv_private.h: New file.
86047         * sysdeps/sparc/fpu/math_private.h: Use it.
86048         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86049         Remove.
86050         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86051         (libc_feholdexcept_setroundl): Remove.
86052         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86053         Remove.
86054         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86055         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86057 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86059         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86060         int64_t instead of long int.
86061         (INSERT_WORDS64): Likewise.
86063 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86065         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86066         _Unwind_GetCFA return to _Unwind_Ptr first.
86068 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86070         [BZ #13629]
86071         * math/s_clog.c: Include <float.h>.
86072         (__clog): Scale large or subnormal inputs.
86073         * math/s_clogf.c: Likewise.
86074         * math/s_clogl.c: Likewise.
86075         * math/s_clog10.c: Include <float.h>.
86076         (M_LOG10_2): Define.
86077         (__clog10): Scale large or subnormal inputs.
86078         * math/s_clog10f.c: Likewise.
86079         * math/s_clog10l.c: Likewise.
86080         * math/libm-test.inc (clog_test): Add more tests.
86081         (clog10_test): Likewise.
86082         * sysdeps/i386/fpu/libm-test-ulps: Update.
86083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86085         [BZ #11451]
86086         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86087         x and y.
86088         * math/libm-test.inc (atan2_test): Add another test.
86090         * Makerules (common-objdir-compile): Remove.
86091         * sysdeps/unix/Makefile (config-generated): Do not add
86092         $(unix-generated) to variable.
86093         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86094         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86095         Remove rule.
86096         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86097         Likewise.
86098         [generic bits/local_lim.h] (before-compile): Do not append to
86099         variable.
86100         [generic bits/local_lim.h] (common-generated): Likewise.
86101         [generic sys/param.h] (before-compile): Do not append to variable.
86102         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86103         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86104         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86105         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86106         include.
86107         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86108         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86109         [generic sys/param.h] ($(addprefix
86110         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86111         [generic sys/param.h] (common-generated): Do not append to
86112         variable.
86113         [generic sys/param.h] (sysdep_headers): Likewise.
86114         [generic bits/errno.h] (before-compile): Do not append to
86115         variable.
86116         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86117         rule.
86118         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86119         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86120         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86121         [generic bits/errno.h] (common-generated): Do not append to
86122         variable.
86123         [generic bits/ioctls.h] (before-compile): Do not append to
86124         variable.
86125         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86126         rule.
86127         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86128         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86129         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86130         rule.
86131         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86132         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86133         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86134         [generic bits/ioctls.h] (common-generated): Do not append to
86135         variable.
86136         [generic sys/syscall.h] (syscall.h): Remove variable.
86137         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86138         rule.
86139         [generic sys/syscall.h] (before-compile): Do not append to
86140         variable.
86141         [generic sys/syscall.h] (common-generated): Likewise.
86142         * sysdeps/unix/errnos-tmpl.c: Remove file.
86143         * sysdeps/unix/errnos.awk: Likewise.
86144         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86145         * sysdeps/unix/ioctls.awk: Likewise.
86146         * sysdeps/unix/mk-local_lim.c: Likewise.
86147         * sysdeps/unix/snarf-ioctls: Likewise.
86149 2012-03-19  Richard Henderson  <rth@twiddle.net>
86151         * sysdeps/i386/fpu/fenv_private.h: New file.
86152         * sysdeps/i386/fpu/math_private.h: Use it.
86153         (math_opt_barrier, math_force_eval): Remove.
86154         (libc_feholdexcept_setround_53bit): Remove.
86155         (libc_feupdateenv_53bit): Remove.
86156         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86157         (math_opt_barrier, math_force_eval): Remove.
86158         (libc_feholdexcept): Remove.
86159         (libc_feholdexcept_setround): Remove.
86160         (libc_fetestexcept, libc_fesetenv): Remove.
86161         (libc_feupdateenv_test): Remove.
86162         (libc_feupdateenv, libc_feholdsetround): Remove.
86163         (libc_feresetround): Remove.
86165         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86166         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86168         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86169         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86170         (libc_feupdateenv_testl): New.
86171         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86172         (libc_feupdateenv_testf): New.
86173         (libc_feupdateenv): Use libc_feupdateenv_test.
86174         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86175         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86177         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86178         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86179         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86180         (libc_feresetround_noex): New.
86181         (libc_feresetround_noexf): New.
86182         (libc_feresetround_noexl): New.
86183         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86184         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86185         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86186         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86187         SET_RESTORE_ROUND.
86188         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86189         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86190         (__cos): Likewise.
86191         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86192         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86193         SET_RESTORE_ROUND_NOEX.
86194         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86195         SET_RESTORE_ROUND_NOEXF.
86196         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86197         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86198         (libc_feholdsetroundf): New.
86199         (libc_feresetround, libc_feresetroundf): New.
86201         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86202         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86203         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86205         * sysdeps/generic/math_private.h: Include <fenv.h>.
86206         (default_libc_feholdexcept): New.
86207         (default_libc_feholdexcept_setround): New.
86208         (default_libc_fesetenv, default_libc_feupdateenv): New.
86209         (libc_feholdexcept): Only define if undefined.
86210         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86211         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86212         (libc_feholdexcept_setroundl): Likewise.
86213         (libc_feholdexcept_setround_53bit): Likewise.
86214         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86215         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86216         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86217         (libc_feupdateenv_53bit): Likewise.
86218         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86219         (libc_feholdexcept): Convert from macro to inline function.
86220         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86221         (libc_fesetenv, libc_feupdateenv): Likewise.
86223         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86224         not previously defined.
86225         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86226         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86227         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86228         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86229         * sysdeps/ieee754/flt-32/math_private.h: New file.
86230         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86231         math_private.h below SET_FLOAT_WORD.
86232         (__isnan, __isinf_ns, __finite): Remove.
86233         (__isnanf, __isinf_nsf, __finitef): Remove.
86235 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86239 2012-03-17  David S. Miller  <davem@davemloft.net>
86241         [BZ #6471]
86242         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86243         for 2.16.
86245 2012-03-16  David S. Miller  <davem@davemloft.net>
86247         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86248         warnings.
86250         [BZ #6471]
86251         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86252         properly.
86253         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86254         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86255         sysdep_routines when subdir is sysvipc.
86256         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86257         __getshmlba helper.
86259         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86261 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86263         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86264         [__LP64__].
86266 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86268         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86269         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86270         (__lround): Renamed to ...
86271         (__llround): This.  Replace long int with long long int.
86272         Define lround functions as aliases of llround functions.
86273         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86275 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86277         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86278         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86279         adresses to uintptr_t.  Replace "long int" and "unsigned long
86280         int" with "greg_t" on va_arg.
86282 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86284         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86285         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86287         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86288         Move e_machine check before EI_CLASS check.  Handle x32
86289         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86290         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86291         SKIP_EM_IA_64 and include
86292         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86294         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86295         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86296         (add_system_dir): New macro.
86298         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86299         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86301 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86303         [BZ #2551]
86304         [BZ #2552]
86305         [BZ #2553]
86306         [BZ #2554]
86307         [BZ #2562]
86308         [BZ #2563]
86309         [BZ #2565]
86310         [BZ #2566]
86311         [BZ #2576]
86312         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86313         (y0): Likewise.
86314         * math/w_j0f.c (j0f): Likewise.
86315         (y0f): Likewise.
86316         * math/w_j0l.c (__j0l): Likewise.
86317         (__y0l): Likewise.
86318         * math/w_j1.c (j1): Likewise.
86319         (y1): Likewise.
86320         * math/w_j1f.c (j1f): Likewise.
86321         (y1f): Likewise.
86322         * math/w_j1l.c (__j1l): Likewise.
86323         (__y1l): Likewise.
86324         * math/w_jn.c (jn): Likewise.
86325         (yn): Likewise.
86326         * math/w_jnf.c (jnf): Likewise.
86327         (ynf): Likewise.
86328         * math/w_jnl.c (__jnl): Likewise.
86329         (__ynl): Likewise.
86330         * math/libm-test.inc (j0_test): Add more tests.
86331         (j1_test): Likewise.
86332         (jn_test): Likewise.  Add trailing semicolon to existing test.
86333         (y0_test): Likewise.
86334         (y1_test): Likewise.
86335         * sysdeps/i386/fpu/libm-test-ulps: Update.
86336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86338         [BZ #13851]
86339         [BZ #13854]
86340         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86341         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86342         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86343         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86344         (__tanl): Set errno for infinite argument.
86345         * sysdeps/i386/fpu/mptan.c: Remove.
86346         * sysdeps/i386/fpu/s_tan.S: Likewise.
86347         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86348         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86349         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86350         * math/libm-test.inc (tan_test): Add more tests and enable more
86351         tests for double and long double.
86352         * sysdeps/i386/fpu/libm-test-ulps: Update.
86353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86355 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86357         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86358         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86360 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86362         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86363         * configure.in: Use it for both main tree and add-ons.
86364         * configure: Regenerated.
86366 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86368         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86370 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86372         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86373         in comment.
86375         [BZ #13851]
86376         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86377         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86378         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86379         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86380         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86381         infinite argument.
86382         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86383         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86384         != 0 for prec == 2.
86385         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86386         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86387         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86388         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86389         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86390         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86391         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86392         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86393         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86394         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86395         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86396         * math/libm-test.inc (cos_test): Add more tests and enable more
86397         tests for long double.
86398         (sin_test): Likewise.
86399         (sincos_test): Likewise.
86400         * sysdeps/i386/fpu/libm-test-ulps: Update.
86401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86403 2012-03-16  David S. Miller  <davem@davemloft.net>
86405         * sysdeps/sparc/fpu/math_private.h: New file.
86407 2012-03-15  David S. Miller  <davem@davemloft.net>
86409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86410         file.
86411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86413         file.
86414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86419         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86420         sysdep routines.
86421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86423         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86424         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86426         * sysdeps/sparc/sparc-ifunc.h: New file.
86427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86428         sparc-ifunc.h
86429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86431         Likewise.
86432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86433         Likewise.
86434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86438         Likewise.
86439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86444         Likewise.
86445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86446         Likewise.
86447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86453         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86454         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86461         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86462         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86463         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86464         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86465         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86466         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86468         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86469         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86470         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86472 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86474         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86475         scaling.
86476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86478 2012-03-15  Andreas Jaeger  <aj@suse.de>
86480         [BZ #13852]
86481         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86482         ieee754/flt-32 implementation for sin, cos and sincos.
86483         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86484         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86485         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86486         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86487         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86488         ieee754/flt-32 implementation for tan.
86490         * math/libm-test.inc (cos_test): Enable some large input tests for
86491         float as well
86492         (sin_test): Likewise.
86493         (sincos_test): Likewise.
86494         (tan_test): Add tests for large input.
86496         * sysdeps/i386/fpu/libm-test-ulps: Update.
86498 2012-03-15  Andreas Jaeger  <aj@suse.de>
86500         [BZ #13658]
86501         * math/libm-test.inc (cos_test): Add more test cases.
86502         (sin_test): Likewise.
86503         (sincos_test): Likewise.
86505 2012-03-15  Andreas Jaeger  <aj@suse.de>
86507         [BZ #13837]
86508         * math/libm-test.inc (cos_test): Add a test case for large input
86509         value.
86510         (sin_test): Likewise.
86511         (sincos_test): Likewise.
86513 2012-03-15  Andreas Jaeger  <aj@suse.de>
86514             Joseph Myers  <joseph@codesourcery.com>
86516         [BZ #13658]
86517         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86518         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86519         * sysdeps/i386/fpu/branred.c: Likewise.
86520         * sysdeps/i386/fpu/dosincos.c: Likewise.
86521         * sysdeps/i386/fpu/mpa.c: Likewise.
86522         * sysdeps/i386/fpu/s_cos.S: Likewise.
86523         * sysdeps/i386/fpu/s_sin.S: Likewise.
86524         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86525         * sysdeps/i386/fpu/sincos32.c: Likewise.
86527         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86528         Define.
86529         (libc_feupdateenv_53bit): Define.
86530         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86531         Define.
86532         (libc_feupdateenv_53bit): Define.
86534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86535         53 bit (without extend i386 double precision).
86537         * math/libm-test.inc (sincos_test): Add tests for large input.
86538         (sin): Likewise.
86539         (cos): Likewise.
86541         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86543 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86547 2012-03-15  David S. Miller  <davem@davemloft.net>
86549         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86550         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86551         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86552         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86565         file.
86566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86568         file.
86569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86571         file.
86572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86574         file.
86575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86576         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86577         fmin/fmax sysdep routines.
86578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86580 2012-03-14  David S. Miller  <davem@davemloft.net>
86582         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86583         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86584         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86585         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86586         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86587         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86588         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86594         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86595         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86596         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86604         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86605         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86606         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86607         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86608         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86609         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86610         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86611         routines.
86612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86613         file.
86614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86616         file.
86617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86619         file.
86620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86622         file.
86623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86625         file.
86626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86628         file.
86629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86630         file.
86631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86632         file.
86633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86634         file.
86635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86636         New file.
86637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86638         file.
86639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86640         file.
86641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86643         file.
86644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86646         file.
86647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86649         file.
86650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86652         VIS3 routines.
86654         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86655         New file.
86657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86659         * sysdeps/sparc/configure.in: New file.
86660         * sysdeps/sparc/configure: Generate.
86661         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86662         * configure: Regenerate.
86663         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86664         * config.make.in (have-as-vis3): New.
86665         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86666         available use -Av9d instead of -Av9a.
86667         * sysdeps/sparc/sparc64/Makefile: Likewise.
86668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86670         New file.
86671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86672         file.
86673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86674         New file.
86675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86676         file.
86677         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86678         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86679         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86680         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86681         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86683         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86684         fzeros/fnegs to load 0x80000000 into a float register instead of
86685         using the stack.
86686         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86688 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86691         bits/syscall.h.
86692         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86693         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86694         ($(inst_includedir)/bits/syscall.h): Remove rule.
86695         ($(objpfx)bits/syscall.d): Include instead of
86696         $(objpfx)syscall-list.d.
86697         (generated): Change syscall-list.h and syscall-list.d to
86698         bits/syscall.h and bits/syscall.d.
86700 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86702         [BZ #13846]
86703         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86705 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86707         [BZ #13841]
86708         * math/s_csqrt.c: Include <float.h>.
86709         (__csqrt): Scale large or subnormal inputs.
86710         * math/s_csqrtf.c: Likewise.
86711         * math/s_csqrtl.c: Likewise.
86712         * math/libm-test.inc (csqrt_test): Add more tests.
86713         * sysdeps/i386/fpu/libm-test-ulps: Update.
86714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86716         [BZ #13840]
86717         * math/libm-test.inc (hypot_test): Add more tests.
86719 2012-03-13  David S. Miller  <davem@davemloft.net>
86721         [BZ #13840]
86722         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86723         double-precision for the calculation instead of scaling.
86725 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86727         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86728         manipulate bits before adding and subtracting TWO52[sx].
86729         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86730         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86731         Likewise.
86732         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86734 2012-03-13  David S. Miller  <davem@davemloft.net>
86736         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86737         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86738         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86739         rtld-global-offsets.h
86740         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86742         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86743         large parameters.
86745         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86747         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86748         'err' in the ifdef scope in which it is actually used.
86750         * nss/nss_db/db-init.c: Include string.h
86752 2012-03-12  David S. Miller  <davem@davemloft.net>
86754         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86755         masking out of the most significant byte of random value used.
86756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86757         Fix coding style in previous change.
86759         * sysdeps/unix/sysv/linux/kernel-features.h
86760         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86761         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86762         expression.
86763         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86764         later.
86766 2012-03-11  David S. Miller  <davem@davemloft.net>
86768         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86769         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86770         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86771         for 'resultvar' otherwise things get truncated on 64-bit.
86773         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86774         Fix masking out of the most significant byte of random value used.
86776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86778 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86782 2012-03-09  David S. Miller  <davem@davemloft.net>
86784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86785         variables with appropriate CPP guards.
86786         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86787         from the frame pointer, not the stack pointer.  Correct layout
86788         comments.  Fix test on resulting framesize and the management of
86789         the outregs buffer for pltexit.  Preserve floating point return
86790         values across _dl_call_pltexit call.
86791         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86792         framesize and the management of the outregs buffer for pltexit.
86793         Preserve floating point return values across _dl_call_pltexit
86794         call.
86795         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86796         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86797         (la_sparc64_gnu_pltexit): New functions.
86798         (print_exit): Fix format string for return register value.
86800 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86802         * sunrpc/Makefile (others): Add rpcgen.
86803         ($(objpfx)rpcgen): Remove special build rule and dependency on
86804         libc.
86805         * sunrpc/rpcgen.c: New file.
86807 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86809         [BZ #13673]
86810         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86811         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86812         * sysdeps/i386/crti.S: Likewise.
86813         * sysdeps/i386/crtn.S: Likewise.
86814         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86815         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86816         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86817         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86818         * sysdeps/sh/crti.S: Likewise.
86819         * sysdeps/sh/crtn.S: Likewise.
86820         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86822         [BZ #13673]
86823         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86824         with URL.
86825         * locale/programs/locfile-kw.gperf: Likewise.
86826         * locale/programs/charmap-kw.h: Regenerated.
86827         * locale/programs/locfile-kw.h: Likewise.
86829         [BZ #13673]
86830         * intl/plural.y: Replace FSF snail mail address with URL.
86831         * intl/plural.c: Regenerated.
86833 2012-03-09  Richard Henderson  <rth@twiddle.net>
86835         * include/math_private.h: Remove file.
86836         * math/math_private.h: Move file ...
86837         * sysdeps/generic/math_private.h: ... here.
86839         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86840         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86841         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86843         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86844         and <math_private.h>.
86845         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86846         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86847         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86848         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86849         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86850         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86851         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86852         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86853         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86854         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86856         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86857         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86858         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86859         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86860         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86861         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86862         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86863         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86864         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86865         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86866         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86867         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86868         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86869         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86870         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86871         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86872         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86875         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86876         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86877         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86878         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86879         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86880         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86881         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86882         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86883         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86884         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86885         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86886         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86887         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86888         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86889         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86890         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86891         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86892         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86893         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86894         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86895         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86896         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86897         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86898         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86899         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86900         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86901         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86902         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86903         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86904         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86905         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86906         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86907         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86908         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86909         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86910         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86911         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86912         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86913         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86914         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86915         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86916         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86917         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86918         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86919         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86920         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86922         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86924         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86925         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86926         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86927         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86928         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86929         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86930         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86931         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86932         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86933         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86934         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86935         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86936         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86937         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86938         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86939         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86940         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86941         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86942         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86943         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86944         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86945         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86946         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86947         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86948         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86949         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86950         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86951         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86952         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86953         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86954         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86955         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86956         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86957         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86958         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86959         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86960         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86961         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86962         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86963         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86964         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86965         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86966         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86967         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86968         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86969         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86970         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86971         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86972         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86973         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86974         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86975         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86976         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86977         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86978         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86979         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86980         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86981         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86982         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86983         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86984         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86985         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86986         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86987         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86988         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86989         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86990         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86991         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86992         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86993         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86994         * sysdeps/ieee754/k_standard.c: Likewise.
86995         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86996         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86997         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86998         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86999         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87000         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87001         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87002         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87003         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87004         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87005         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87006         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87007         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87008         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87009         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87010         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87011         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87012         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87013         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87014         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87015         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87016         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87017         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87018         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87019         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87020         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87021         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87022         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87023         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87024         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87025         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87026         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87027         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87028         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87029         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87030         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87031         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87032         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87033         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87034         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87035         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87036         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87037         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87038         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87039         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87040         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87041         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87042         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87043         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87044         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87045         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87046         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87047         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87048         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87049         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87050         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87051         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87052         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87053         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87054         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87055         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87056         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87057         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87058         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87059         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87061         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87062         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87063         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87064         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87065         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87067         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87068         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87069         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87070         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87071         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87072         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87073         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87074         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87075         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87076         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87077         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87078         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87079         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87080         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87081         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87082         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87083         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87084         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87085         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87086         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87087         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87088         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87089         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87090         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87091         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87092         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87093         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87094         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87095         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87096         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87098         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87099         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87100         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87101         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87102         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87103         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87104         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87105         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87106         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87107         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87108         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87109         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87110         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87111         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87112         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87113         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87114         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87115         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87116         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87117         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87118         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87119         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87120         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87121         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87122         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87123         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87124         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87125         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87126         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87127         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87128         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87129         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87130         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87131         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87132         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87133         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87134         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87135         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87136         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87137         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87138         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87139         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87140         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87141         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87142         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87143         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87144         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87145         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87146         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87147         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87148         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87149         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87150         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87151         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87152         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87153         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87154         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87155         * sysdeps/ieee754/s_lib_version.c: Likewise.
87156         * sysdeps/ieee754/s_matherr.c: Likewise.
87157         * sysdeps/ieee754/s_signgam.c: Likewise.
87158         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87159         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87160         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87161         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87162         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87163         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87164         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87165         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87166         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87167         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87168         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87169         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87170         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87171         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87172         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87173         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87174         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87175         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87176         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87177         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87180 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87182         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87183         * sunrpc/rpc_main.c: Likewise.
87184         * sunrpc/rpc_svcout.c: Likewise.
87186 2012-03-09  David S. Miller  <davem@davemloft.net>
87188         * include/math_private.h: New file.
87190 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87192         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87193         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87194         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87195         from <bits/socket_type.h>.
87196         (enum __socket_type): Don't define here.
87197         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87199         bits/socket_type.h.
87201         [BZ #13566]
87202         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87203         checking __USE_GNU.
87205         * Makerules ($(inst_includedir)/%.h): New rule.
87206         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87207         (install-others): Remove variable setting.
87208         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87210 2012-03-08  Richard Henderson  <rth@twiddle.net>
87212         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87213         from macro to inline function; merge with the
87214         !__LIBC_INTERNAL_MATH_INLINES version.
87215         (__ieee754_sqrtf): Likewise.
87217         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87218         to inline function.
87219         (__rintf, __floor, __floorf): Likewise.
87221         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87222         macro to inline function.
87223         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87225         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87226         not <math/math_private.h>.
87228 2012-03-08  David S. Miller  <davem@davemloft.net>
87230         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87231         copyright year.
87232         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87234 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87236         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87237         normalization.
87238         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87239         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87241 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87243         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87244         be defined individually, they must be defined as a block.  Define
87245         S for printing a string instead of hidint the different by using a
87246         macro for adding the 'l'.
87247         * stdio-common/tst-fphex-wide.c: Adjust.
87249 2012-03-07  Marek Polacek  <polacek@redhat.com>
87251         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87253 2012-03-08  Marek Polacek  <polacek@redhat.com>
87255         [BZ #13806]
87256         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87257         * stdio-common/tst-fphex.c: Define a few macros to make the
87258         test reusable.  Use them.
87259         * stdio-common/tst-fphex-wide.c: New file.
87261 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87263         [BZ #6911]
87264         * manual/macros.texi (gnusystems): New macro.
87265         (nongnusystems): Likewise.
87266         (gnulinuxhurdsystems): Likewise.
87267         (gnuhurdsystems): Likewise..
87268         (gnulinuxsystems): Likewise.
87269         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87270         variants of the GNU system, not "GNU system".
87271         * manual/conf.texi: Likewise.
87272         * manual/errno.texi: Likewise.  Update example of errno macro
87273         expansion.
87274         * manual/filesys.texi: Likewise.
87275         (getumask): Document as specific to GNU/Hurd.
87276         * manual/install.texi: Likewise.  Reword some references to
87277         GNU/Linux.
87278         * manual/intro.texi: Likewise.
87279         * manual/io.texi: Likewise.
87280         (File Name Portability): Detail which constraints are inapplicable
87281         to all GNU systems and which are only inapplicable to GNU/Hurd.
87282         * manual/job.texi: Likewise.
87283         * manual/llio.texi: Likewise.
87284         (O_NOCTTY): Document as present on GNU/Linux.
87285         * manual/maint.texi: Likewise.
87286         * manual/memory.texi: Likewise.
87287         * manual/pattern.texi: Likewise.
87288         * manual/pipe.texi: Likewise.
87289         * manual/process.texi: Likewise.
87290         * manual/resource.texi: Likewise.
87291         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87292         child on GNU/Hurd.
87293         * manual/setjmp.texi: Likewise.
87294         * manual/signal.texi: Likewise.
87295         * manual/startup.texi: Likewise.
87296         * manual/stdio.texi: Likewise.
87297         * manual/terminal.texi: Likewise.
87298         (ONLCR): Document as POSIX.
87299         (OXTABS): Document availability on GNU/Linux as XTABS.
87300         (ONOEOT): Document availability separately from other bits.
87301         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87302         * manual/time.texi: Likewise.
87303         * manual/users.texi: Likewise.
87304         * INSTALL: Regenerated.
87305         * sysdeps/gnu/errlist.c: Regenerated.
87307         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87308         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87309         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87310         puts.
87311         * configure: Regenerated.
87313 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87315         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87316         default includes instead of AC_HEADER_CHECK.
87317         * sysdeps/i386/configure: Regenerated.
87319         [BZ #10716]
87320         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87321         * math/s_cacoshf.c (__cacoshf): Likewise.
87322         * math/s_cacoshl.c (__cacoshl): Likewise.
87323         * math/s_casinh.c (__casinh): Set signs of result from argument.
87324         * math/s_casinhf.c (__casinhf): Likewise.
87325         * math/s_casinhl.c (__casinhl): Likewise.
87326         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87327         (casinh_test): Add more tests.
87328         * sysdeps/i386/fpu/libm-test-ulps: Update.
87329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87331 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87333         * po/zh_TW.po: Update from translation team.
87335         * login/Makefile (distribute): Remove variable.
87336         * catgets/Makefile: Likewise.
87337         * mach/Makefile: Likewise.
87338         * malloc/Makefile: Likewise.
87339         * misc/Makefile: Likewise.
87340         * iconv/Makefile: Likewise.
87341         * nscd/Makefile: Likewise.
87342         * hurd/Makefile: Likewise.
87343         * manual/Makefile: Likewise.
87344         * locale/Makefile: Likewise.
87345         * intl/Makefile: Likewise.
87346         * conform/Makefile: Likewise.
87347         * nss/Makefile: Likewise.
87348         * time/Makefile: Likewise.
87349         * soft-fp/Makefile: Likewise.
87350         * dirent/Makefile: Likewise.
87351         * gmon/Makefile: Likewise.
87352         * po/Makefile: Likewise.
87353         * rt/Makefile: Likewise.
87354         * socket/Makefile: Likewise.
87355         * math/Makefile: Likewise.
87356         * signal/Makefile: Likewise.
87357         * debug/Makefile: Likewise.
87358         * elf/Makefile: Likewise.
87359         * timezone/Makefile: Likewise.
87360         * stdlib/Makefile: Likewise.
87361         * iconvdata/Makefile: Likewise.
87362         * sunrpc/Makefile: Likewise.
87363         * io/Makefile: Likewise.
87364         * argp/Makefile: Likewise.
87365         * inet/Makefile: Likewise.
87366         * hesiod/Makefile: Likewise.
87367         * grp/Makefile: Likewise.
87368         * csu/Makefile: Likewise.
87369         * wctype/Makefile: Likewise.
87370         * crypt/Makefile: Likewise.
87371         * libio/Makefile: Likewise.
87372         * string/Makefile: Likewise.
87373         * nis/Makefile: Likewise.
87374         * resolv/Makefile: Likewise.
87375         * stdio-common/Makefile: Likewise.
87376         * wcsmbs/Makefile: Likewise.
87377         * dlfcn/Makefile: Likewise.
87378         * posix/Makefile: Likewise.
87380         [BZ #6959]
87381         * timezone/Makefile: Don't install timezone files, just the programs
87382         and scripts.
87384 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87386         * nss/databases.def: Add missing gshadow entry.
87388         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87390 2012-03-06  Marek Polacek  <polacek@redhat.com>
87392         [BZ #13726]
87393         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87394         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87395         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87396         * stdio-common/tst-long-dbl-fphex.c: New file.
87398 2012-03-06  David S. Miller  <davem@davemloft.net>
87400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87401         (set_obp_int): New function.
87402         (get_obp_int): New function.
87403         (__get_clockfreq_via_dev_openprom): Likewise.
87404         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87405         Avoid unused variable warnings on 'val' and use builtin_expect.
87406         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87407         __builtin_expect.
87408         (INLINE_CLONE_SYSCALL): Likewise.
87410 2012-03-05  David S. Miller  <davem@davemloft.net>
87412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87414 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87418         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87419         only for |x| >= 40.
87420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87422 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87424         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87425         Replace gettimeofday with __vdso_gettimeofday.
87427         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87428         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87429         __vdso_clock_gettime and __vdso_getcpu.
87431         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87432         time with __vdso_time.
87434 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87436         * manual/lang.texi (size_t): Note types to which size_t may be
87437         equivalent with the GNU C Library, but do not describe when
87438         differences between them are significant.
87440 2012-03-05  Andreas Jaeger  <aj@suse.de>
87442         * sysdeps/i386/fpu/libm-test-ulps: Update.
87444 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87446         [BZ #3976]
87447         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87448         (__ieee754_pow): Save and restore rounding mode and use
87449         round-to-nearest for main computations.
87450         * math/libm-test.inc (pow_test_tonearest): New function.
87451         (pow_test_towardzero): Likewise.
87452         (pow_test_downward): Likewise.
87453         (pow_test_upward): Likewise.
87454         (main): Call the new functions.
87455         * sysdeps/i386/fpu/libm-test-ulps: Update.
87456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87458         [BZ #3976]
87459         * math/libm-test.inc (cosh_test_tonearest): New function.
87460         (cosh_test_towardzero): Likewise.
87461         (cosh_test_downward): Likewise.
87462         (cosh_test_upward): Likewise.
87463         (sinh_test_tonearest): Likewise.
87464         (sinh_test_towardzero): Likewise.
87465         (sinh_test_downward): Likewise.
87466         (sinh_test_upward): Likewise.
87467         (main): Call the new functions.
87468         * sysdeps/i386/fpu/libm-test-ulps: Update.
87469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87471 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87473         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87474         default stack guard is set in last bytes.
87475         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87477 2012-03-05  Kees Cook  <keescook@chromium.org>
87479         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87481         [BZ #13656]
87482         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87483         possibly allocate from heap instead of stack.
87484         * stdio-common/bug-vfprintf-nargs.c: New file.
87485         * stdio-common/Makefile (tests): Add nargs overflow test.
87487 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87491 2012-03-03  Marek Polacek  <polacek@redhat.com>
87493         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87494         * math/math_private.h: Likewise.
87495         * stdlib/tst-strtod.c: Likewise.
87496         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87497         * sysdeps/x86_64/bits/atomic.h: Likewise.
87499 2012-03-02  David S. Miller  <davem@davemloft.net>
87501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87505         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87506         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87507         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87508         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87510 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87512         [BZ #13792]
87513         * manual/examples/README: New file, says the example source files
87514         can be used under GPL>=2.
87515         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87516         line containing just "*/".
87517         * manual/examples/add.c: Add copyright header (GPL>=2).
87518         * manual/examples/argp-ex1.c: Likewise.
87519         * manual/examples/argp-ex2.c: Likewise.
87520         * manual/examples/argp-ex3.c: Likewise.
87521         * manual/examples/argp-ex4.c: Likewise.
87522         * manual/examples/atexit.c: Likewise.
87523         * manual/examples/db.c: Likewise.
87524         * manual/examples/dir.c: Likewise.
87525         * manual/examples/dir2.c: Likewise.
87526         * manual/examples/execinfo.c: Likewise.
87527         * manual/examples/filecli.c: Likewise.
87528         * manual/examples/filesrv.c: Likewise.
87529         * manual/examples/fmtmsgexpl.c: Likewise.
87530         * manual/examples/genpass.c: Likewise.
87531         * manual/examples/inetcli.c: Likewise.
87532         * manual/examples/inetsrv.c: Likewise.
87533         * manual/examples/isockad.c: Likewise.
87534         * manual/examples/longopt.c: Likewise.
87535         * manual/examples/memopen.c: Likewise.
87536         * manual/examples/memstrm.c: Likewise.
87537         * manual/examples/mkfsock.c: Likewise.
87538         * manual/examples/mkisock.c: Likewise.
87539         * manual/examples/mygetpass.c: Likewise.
87540         * manual/examples/pipe.c: Likewise.
87541         * manual/examples/popen.c: Likewise.
87542         * manual/examples/rprintf.c: Likewise.
87543         * manual/examples/search.c: Likewise.
87544         * manual/examples/select.c: Likewise.
87545         * manual/examples/setjmp.c: Likewise.
87546         * manual/examples/sigh1.c: Likewise.
87547         * manual/examples/sigusr.c: Likewise.
87548         * manual/examples/stpcpy.c: Likewise.
87549         * manual/examples/strdupa.c: Likewise.
87550         * manual/examples/strftim.c: Likewise.
87551         * manual/examples/strncat.c: Likewise.
87552         * manual/examples/subopt.c: Likewise.
87553         * manual/examples/swapcontext.c: Likewise.
87554         * manual/examples/termios.c: Likewise.
87555         * manual/examples/testopt.c: Likewise.
87556         * manual/examples/testpass.c: Likewise.
87557         * manual/examples/timeval_subtract.c: Likewise.
87559         [BZ #13792]
87560         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87561         function to ...
87562         * manual/timeval_subtract.c.texi: ... here, new file.
87564 2012-03-02  David S. Miller  <davem@davemloft.net>
87566         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87568 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87570         [BZ #3976]
87571         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87572         (__sin): Save and restore rounding mode and use round-to-nearest
87573         for all computations.
87574         (__cos): Save and restore rounding mode and use round-to-nearest
87575         for all computations.
87576         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87577         <fenv.h>.
87578         (tan): Save and restore rounding mode and use round-to-nearest for
87579         all computations.
87580         * math/libm-test.inc (cos_test_tonearest): New function.
87581         (cos_test_towardzero): Likewise.
87582         (cos_test_downward): Likewise.
87583         (cos_test_upward): Likewise.
87584         (sin_test_tonearest): Likewise.
87585         (sin_test_towardzero): Likewise.
87586         (sin_test_downward): Likewise.
87587         (sin_test_upward): Likewise.
87588         (tan_test_tonearest): Likewise.
87589         (tan_test_towardzero): Likewise.
87590         (tan_test_downward): Likewise.
87591         (tan_test_upward): Likewise.
87592         (main): Call the new functions.
87593         * sysdeps/i386/fpu/libm-test-ulps: Update.
87594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87596         [BZ #10135]
87597         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87598         small n, then large n, before computing and testing k+n.
87599         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87601         Likewise.
87602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87603         Likewise.
87604         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87605         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87607         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87608         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87609         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87610         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87611         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87612         * math/libm-test.inc (scalbn_test): Add more tests.
87613         (scalbln_test): Likewise.
87615         * manual/filesys.texi (mode_t): Describe constraints on size and
87616         signedness, not exact equivalence to a particular type.
87617         (ino_t): Likewise.
87618         (ino64_t): Likewise.
87619         (dev_t): Likewise.
87620         (nlink_t): Likewise.
87621         (blkcnt_t): Likewise.
87622         (blkcnt64_t): Likewise.
87623         * manual/llio.texi (off_t): Likewise.
87625         [BZ #3976]
87626         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87627         (__ieee754_exp): Save and restore rounding mode and use
87628         round-to-nearest for all computations.
87629         * math/libm-test.inc (exp_test_tonearest): New function.
87630         (exp_test_towardzero): Likewise.
87631         (exp_test_downward): Likewise.
87632         (exp_test_upward): Likewise.
87633         (main): Call the new functions.
87634         * sysdeps/i386/fpu/libm-test-ulps: Update.
87635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87637 2012-03-01  Chris Demetriou  <cgd@google.com>
87639         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87640         have predictable order.
87642 2012-03-01  David S. Miller  <davem@davemloft.net>
87644         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87646         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87647         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87648         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87649         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87651         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87652         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87653         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87655         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87656         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87657         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87658         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87659         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87663         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87664         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87665         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87667         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87668         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87669         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87670         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87671         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87673         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87674         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87675         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87676         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87677         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87678         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87679         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87680         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87681         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87682         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87683         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87684         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87685         * sysdeps/sparc/elf/configure: Regenerated.
87687 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87689         * configure.in (AS, LD): Require binutils 2.20 or later.
87690         * configure: Regenerated.
87691         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87692         as required minimum version.
87693         * INSTALL: Regenerated.
87695         [BZ #2541]
87696         [BZ #4108]
87697         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87698         before squaring exponent.
87699         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87700         bottom long double and 27 bits of top long double before squaring
87701         exponent.
87702         * math/libm-test.inc (erfc_test): Add more tests.
87703         * sysdeps/i386/fpu/libm-test-ulps: Update.
87704         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87707 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87709         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87710         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87711         containing bit-fields.
87712         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87713         * soft-fp/single.h (_FP_UNION_S): Likewise.
87714         * soft-fp/double.h (_FP_UNION_D): Likewise.
87716 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87718         [BZ #13786]
87719         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87720         not include ../strcmp.S.
87721         [USE_AS_STRNCASECMP_L]: Likewise.
87722         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87723         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87724         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87725         (__strncasecmp_l_ia32): Define as alias to
87726         __strncasecmp_l_nonascii.
87728         [BZ #5794]
87729         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87730         * sysdeps/i386/fpu/libm-test-ulps: Update.
87731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87733         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87736 2012-02-29  Jeff Law  <law@redhat.com>
87738         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87739         out of bounds read.
87741 2012-02-29  Marek Polacek  <polacek@redhat.com>
87743         [BZ #13706]
87744         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87745         * elf/Makefile: Add rules to run tst-unused-dep.out.
87747 2012-02-28  David S. Miller  <davem@davemloft.net>
87749         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87750         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87751         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87752         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87753         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87754         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87756 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87758         * math/libm-test.inc (llround_test): Move one test from
87759         lround_test.  Use TEST_f_L in moved test.
87760         (lround_test): Move misplaced test to llround_test.  Add testcase
87761         from bug 2561.
87763 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87765         * sysdeps/x86_64/fpu/e_expf.S: New file.
87766         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87768 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87770         [BZ #13637]
87771         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87772         of remain_len that may cause incomplete multi-byte character and
87773         false match.
87774         * posix/bug-regex33.c: New file.
87775         * posix/Makefile (tests): Add bug-regex33.
87777 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87779         * manual/macros.texi: New file.
87780         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87781         * manual/libc.texinfo: Include macros.texi.
87782         * manual/creatute.texi: Likewise.
87783         * manual/install.texi: Likewise.
87784         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87785         @glibcadj{} in references to the GNU C Library.
87786         * manual/charset.texi: Likewise.
87787         * manual/conf.texi: Likewise.
87788         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87789         when not using those macros.
87790         * manual/creature.texi: Likewise.
87791         * manual/crypt.texi: Likewise.
87792         * manual/errno.texi: Likewise.
87793         * manual/filesys.texi: Likewise.
87794         * manual/header.texi: Likewise.
87795         * manual/install.texi: Likewise.
87796         * manual/intro.texi: Likewise.
87797         * manual/io.texi: Likewise.
87798         * manual/job.texi: Likewise.
87799         * manual/lang.texi: Likewise.
87800         * manual/libc.texiinfo: Likewise.
87801         * manual/llio.texi: Likewise.
87802         * manual/locale.texi: Likewise.
87803         * manual/maint.texi: Likewise.
87804         * manual/math.texi: Likewise.
87805         * manual/memory.texi: Likewise.
87806         * manual/message.texi: Likewise.
87807         * manual/nss.texi: Likewise.
87808         * manual/pattern.texi: Likewise.
87809         * manual/process.texi: Likewise.
87810         * manual/resource.texi: Likewise.
87811         * manual/search.texi: Likewise.
87812         * manual/setjmp.texi: Likewise.
87813         * manual/signal.texi: Likewise.
87814         * manual/socket.texi: Likewise.
87815         * manual/startup.texi: Likewise.
87816         * manual/stdio.texi: Likewise.
87817         * manual/string.texi: Likewise.
87818         * manual/sysinfo.texi: Likewise.
87819         * manual/syslog.texi: Likewise.
87820         * manual/terminal.texi: Likewise.
87821         * manual/time.texi: Likewise.
87822         * manual/users.texi: Likewise.
87823         * INSTALL: Regenerated.
87824         * NOTES: Regenerated.
87825         * sysdeps/gnu/errlist.c: Regenerated.
87827 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87829         * include/dirent.h: Include <dirstream.h> before
87830         <dirent/dirent.h>.
87832 2012-02-28  David S. Miller  <davem@davemloft.net>
87834         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87835         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87836         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87837         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87839 2012-02-27  David S. Miller  <davem@davemloft.net>
87841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87843         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87844         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87847         frame pointer instead of stack pointer relative arg slot.
87848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87849         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87850         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87852 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87854         [BZ #3992]
87855         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87857 2012-02-27  David S. Miller  <davem@davemloft.net>
87859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87863         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87864         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87865         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87866         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87868 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87870         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87871         later.  Allow versions 5-9.
87872         * configure: Regenerated.
87873         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87874         required minimum version and 4.6 as recommended version.  Do not
87875         mention bugs in GCC 2.7 and 2.8.
87876         * INSTALL: Regenerated.
87878 2012-02-27  David S. Miller  <davem@davemloft.net>
87880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87884         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87885         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87886         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87887         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87889         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87890         manipulate bits before adding and subtracting TWO112[sx].
87891         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87893 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87895         [BZ #13775]
87896         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87897         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87898         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87899         being in POSIX, because they are in 1003.1-2008.
87901         * rt/tst-aio.c: Include <fcntl.h>.
87902         * rt/tst-aio7.c: Likewise.
87903         * rt/tst-aio64.c: Likewise.
87905         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87907 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87909         * manual/install.texi (--with-headers): Describe headers as
87910         interface headers, not private headers.
87911         (Specific advice for GNU/Linux systems): Describe use of headers
87912         from "make headers_install", not private headers from older
87913         kernels.
87914         * INSTALL: Regenerated.
87915         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87916         Change to 2.6.19.
87917         * sysdeps/unix/sysv/linux/configure: Regenerated.
87919         * manual/llio.texi (fclean): Remove documentation.
87921         * manual/Makefile (libc-texi-generated): New variable.  Include
87922         version.texi.
87923         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87924         $(libc-texi-generated), not duplicated list of files.
87925         (version.texi, stamp-version): New rules.
87926         (realclean): Remove $(libc-texi-generated), not individual files
87927         from that list.  Do not remove dir-add.texinfo.
87928         * manual/libc.texinfo: Comment out uses of edition numbers and
87929         references to printed manual.  Remove last-updated dates.
87930         (EDITION): Comment out.
87931         (ISBN): Likewise.
87932         (VERSION, UPDATED): Remove.
87933         (version.texi): Include.
87935 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87937         * sysdeps/posix/spawni.c: Include <signal.h>.
87938         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87939         * sysdeps/pthread/aio_fsync.c: Likewise.
87941 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87943         * conform/Makefile (tests): Run only when not cross-compiling and
87944         when fast-check is not defined.
87946         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87947         * conform/data/limits.h-data: Fixes for POSIX2008.
87948         * conform/run-conformtest.sh: Run all tests.
87949         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87950         headers.
87951         * include/bits/dlfcn.h: Likewise.
87952         * include/langinfo.h: Likewise.
87953         * include/monetary.h: Likewise.
87954         * include/sys/poll.h: Likewise.
87956         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87957         for __USE_GNU.
87958         * posix/spawn.h: Define __need_sigset_t.
87959         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87960         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87961         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87962         to get sigevent_t only.
87963         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87964         only for __USE_GNU.
87965         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87966         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87967         process_vm_writev only for __USE_GNU.
87968         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87970         * conform/Makefile: For now ignore errors from run-conformtest.
87971         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87972         POSIX to avoid namespace pollution.  Don't prepend headers.
87973         * conform/data/aio.h-data: Fixes for POSIX testing.
87974         * conform/data/fcntl.h-data: Likewise.
87975         * conform/data/glob.h-data: Likewise.
87976         * conform/data/grp.h-data: Likewise.
87977         * conform/data/pthread.h-data: Likewise.
87978         * conform/data/pwd.h-data: Likewise.
87979         * conform/data/signal.h-data: Likewise.
87980         * conform/data/spawn.h-data: Likewise.
87981         * conform/data/stdio.h-data: Likewise.
87982         * conform/data/stdlib.h-data: Likewise.
87983         * conform/data/stropts.h-data: Likewise.
87984         * conform/data/sys/mman.h-data: Likewise.
87985         * conform/data/sys/stat.h-data: Likewise.
87986         * conform/data/sys/types.h-data: Likewise.
87987         * conform/data/sys/wait.h-data: Likewise.
87988         * conform/data/time.h-data: Likewise.
87989         * conform/data/unistd.h-data: Likewise.
87990         * conform/data/utime.h-data: Likewise.
87992         * io/sys/stat.h: fchmod was always in POSIX.
87993         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87994         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87995         * rt/aio.h: Define __need_timespec before including <time.h>.
87996         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87997         struct.  Add forward declaration of pthread_attr_t and use it in
87998         sigevent.
87999         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88000         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88001         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88002         always remove CLK_TCK definition.
88004 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
88006         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88008 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
88010         * conform/run-conformtest.sh: New file.
88011         * conform/Makefile: Run run-conformtest for tests.
88012         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
88013         support.
88015         * conform/data/uchar.h-data: New file.
88016         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88017         * conform/data/arpa/inet.h-data: Likewise.
88018         * conform/data/assert.h-data: Likewise.
88019         * conform/data/complex.h-data: Likewise.
88020         * conform/data/cpio.h-data: Likewise.
88021         * conform/data/ctype.h-data: Likewise.
88022         * conform/data/dirent.h-data: Likewise.
88023         * conform/data/dlfcn.h-data: Likewise.
88024         * conform/data/errno.h-data: Likewise.
88025         * conform/data/fcntl.h-data: Likewise.
88026         * conform/data/float.h-data: Likewise.
88027         * conform/data/fmtmsg.h-data: Likewise.
88028         * conform/data/fnmatch.h-data: Likewise.
88029         * conform/data/ftw.h-data: Likewise.
88030         * conform/data/glob.h-data: Likewise.
88031         * conform/data/grp.h-data: Likewise.
88032         * conform/data/iconv.h-data: Likewise.
88033         * conform/data/inttypes.h-data: Likewise.
88034         * conform/data/langinfo.h-data: Likewise.
88035         * conform/data/libgen.h-data: Likewise.
88036         * conform/data/limits.h-data: Likewise.
88037         * conform/data/locale.h-data: Likewise.
88038         * conform/data/math.h-data: Likewise.
88039         * conform/data/monetary.h-data: Likewise.
88040         * conform/data/mqueue.h-data: Likewise.
88041         * conform/data/ndbm.h-data: Likewise.
88042         * conform/data/net/if.h-data: Likewise.
88043         * conform/data/netdb.h-data: Likewise.
88044         * conform/data/netinet/in.h-data: Likewise.
88045         * conform/data/nl_types.h-data: Likewise.
88046         * conform/data/poll.h-data: Likewise.
88047         * conform/data/pthread.h-data: Likewise.
88048         * conform/data/pwd.h-data: Likewise.
88049         * conform/data/regex.h-data: Likewise.
88050         * conform/data/sched.h-data: Likewise.
88051         * conform/data/search.h-data: Likewise.
88052         * conform/data/semaphore.h-data: Likewise.
88053         * conform/data/setjmp.h-data: Likewise.
88054         * conform/data/signal.h-data: Likewise.
88055         * conform/data/spawn.h-data: Likewise.
88056         * conform/data/stdarg.h-data: Likewise.
88057         * conform/data/stdio.h-data: Likewise.
88058         * conform/data/stdlib.h-data: Likewise.
88059         * conform/data/string.h-data: Likewise.
88060         * conform/data/strings.h-data: Likewise.
88061         * conform/data/stropts.h-data: Likewise.
88062         * conform/data/sys/ipc.h-data: Likewise.
88063         * conform/data/sys/mman.h-data: Likewise.
88064         * conform/data/sys/msg.h-data: Likewise.
88065         * conform/data/sys/resource.h-data: Likewise.
88066         * conform/data/sys/select.h-data: Likewise.
88067         * conform/data/sys/sem.h-data: Likewise.
88068         * conform/data/sys/shm.h-data: Likewise.
88069         * conform/data/sys/socket.h-data: Likewise.
88070         * conform/data/sys/stat.h-data: Likewise.
88071         * conform/data/sys/statvfs.h-data: Likewise.
88072         * conform/data/sys/time.h-data: Likewise.
88073         * conform/data/sys/timeb.h-data: Likewise.
88074         * conform/data/sys/times.h-data: Likewise.
88075         * conform/data/sys/types.h-data: Likewise.
88076         * conform/data/sys/uio.h-data: Likewise.
88077         * conform/data/sys/un.h-data: Likewise.
88078         * conform/data/sys/utsname.h-data: Likewise.
88079         * conform/data/sys/wait.h-data: Likewise.
88080         * conform/data/syslog.h-data: Likewise.
88081         * conform/data/tar.h-data: Likewise.
88082         * conform/data/termios.h-data: Likewise.
88083         * conform/data/utime.h-data: Likewise.
88084         * conform/data/utmpx.h-data: Likewise.
88085         * conform/data/varargs.h-data: Likewise.
88086         * conform/data/wchar.h-data: Likewise.
88087         * conform/data/wctype.h-data: Likewise.
88088         * conform/data/wordexp.h-data: Likewise.
88090         * include/stropts.h: New file.
88091         * include/uchar.h: New file.
88092         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88093         * include/assert.h: Likewise.
88094         * include/ctype.h: Likewise.
88095         * include/dirent.h: Likewise.
88096         * include/dlfcn.h: Likewise.
88097         * include/fcntl.h: Likewise.
88098         * include/fnmatch.h: Likewise.
88099         * include/glob.h: Likewise.
88100         * include/grp.h: Likewise.
88101         * include/libio.h: Likewise.
88102         * include/locale.h: Likewise.
88103         * include/math.h: Likewise.
88104         * include/net/if.h: Likewise.
88105         * include/netdb.h: Likewise.
88106         * include/netinet/in.h: Likewise.
88107         * include/pthread.h: Likewise.
88108         * include/pwd.h: Likewise.
88109         * include/regex.h: Likewise.
88110         * include/sched.h: Likewise.
88111         * include/search.h: Likewise.
88112         * include/setjmp.h: Likewise.
88113         * include/signal.h: Likewise.
88114         * include/stdio.h: Likewise.
88115         * include/stdlib.h: Likewise.
88116         * include/string.h: Likewise.
88117         * include/sys/cdefs.h: Likewise.
88118         * include/sys/mman.h: Likewise.
88119         * include/sys/msg.h: Likewise.
88120         * include/sys/resource.h: Likewise.
88121         * include/sys/select.h: Likewise.
88122         * include/sys/socket.h: Likewise.
88123         * include/sys/stat.h: Likewise.
88124         * include/sys/statvfs.h: Likewise.
88125         * include/sys/time.h: Likewise.
88126         * include/sys/times.h: Likewise.
88127         * include/sys/uio.h: Likewise.
88128         * include/sys/utsname.h: Likewise.
88129         * include/sys/wait.h: Likewise.
88130         * include/termios.h: Likewise.
88131         * include/time.h: Likewise.
88132         * include/ulimit.h: Likewise.
88133         * include/unistd.h: Likewise.
88134         * include/utime.h: Likewise.
88135         * include/wchar.h: Likewise.
88136         * include/wctype.h: Likewise.
88137         * include/wordexp.h: Likewise.
88139         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88141         * time/time.h: TIME_UTC must be a macro.
88142         Make timespec_get available for ISO C11 only as well.
88144 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88146         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88147         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88149 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88151         * configure.in: Use -o not -a in test for unsupported multi-arch.
88153 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88155         * manual/texinfo.tex: Update to version 2012-01-19.16.
88157 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88159         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88161 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88163         [BZ #13738]
88164         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88165         * manual/fdl-1.3.texi: New file.
88166         * manual/fdl-1.1.texi: File removed.
88168         [BZ #13738]
88169         * manual/libc.texinfo (FDL_VERSION): New @set.
88170         Use it for mention of FDL in cover text.
88171         (Documentation License): Use it in @include file name.
88173 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88174             Roland McGrath  <roland@hack.frob.com>
88176         [BZ #5461]
88177         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88178         (not LONG_LONG_MAX and LONG_LONG_MIN.
88179         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88180         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88181         name.
88182         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88184 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88186         [BZ #2547]
88187         [BZ #11365]
88188         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88189         manipulate bits before adding and subtracting TWO23[sx].
88190         * math/libm-test.inc (nearbyint_test): Add more tests.
88192 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88194         [BZ #2548]
88195         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88196         bits before adding and subtracting TWO23[sx].
88197         * math/libm-test.inc (rint_test): Add more tests.
88198         (rint_test_tonearest): Likewise.
88199         (rint_test_towardzero): Likewise.
88200         (rint_test_downward): Likewise.
88201         (rint_test_upward: Likewise.
88203 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88205         [BZ #10110]
88206         * include/stdc-predef.h: New file.  Extracted from features.h.
88207         * include/features.h: Include stdc-predef.h.
88208         * Makefile (headers): Add stdc-predef.h.
88209         * CONFORMANCE (Compiler limitations): Update.
88211 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88213         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88215 2012-02-21  David S. Miller  <davem@davemloft.net>
88217         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88218         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88220 2012-02-20  David S. Miller  <davem@davemloft.net>
88222         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88223         using a normal save/restore sequence, rather than allocating a
88224         dummy stack frame just to store a frame pointer and restore.
88225         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88227 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88229         * manual/install.texi: Fix stray word in line-wrapped comment.
88231 2012-02-20  David S. Miller  <davem@davemloft.net>
88233         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88234         both binutils and gcc support GOTDATA.
88236         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88237         "rd %pc" in the PIC register setup sequences.
88239         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88240         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88241         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88242         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88243         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88244         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88245         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88246         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88248         (SYSCALL_ERROR_HANDLER): Likewise.
88249         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88250         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88252         (SYSCALL_ERROR_HANDLER): Likewise.
88254         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88255         (HAVE_GCC_GOTDATA): New.
88256         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88257         relocation support in both binutils and gcc.
88258         * sysdeps/sparc/elf/configure: Regenerate.
88260         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88261         * sysdeps/sparc/sparc32/elf/configure: Delete.
88262         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88263         * sysdeps/sparc/sparc64/elf/configure: Delete.
88264         * sysdeps/sparc/elf/configure.in: New file.
88265         * sysdeps/sparc/elf/configure: Generate.
88267         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88268         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88269         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88270         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88271         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88273 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88275         * manual/install.texi: Do not mention specific glibc version
88276         numbers.
88277         * manual/libc.texinfo (VERSION, UPDATED): Update.
88278         (@copying): Use @copyright{} and range of years.
88280 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88282         [BZ #13695]
88283         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88284         [crti.S not in sysdirs] (generated): Do not append.
88285         [crti.S not in sysdirs] (omit-deps): Likewise.
88286         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88287         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88288         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88289         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88290         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88291         Likewise.
88292         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88293         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88294         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88295         * csu/defs.awk: Remove file.
88296         * sysdeps/generic/initfini.c: Likewise.
88297         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88298         variable.
88299         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88300         Likewise.
88302 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88304         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88305         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88306         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88307         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88308         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88309         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88310         <bits/epoll.h>.
88311         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88312         (__EPOLL_PACKED): Define to empty if not defined by
88313         <bits/epoll.h>.
88314         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88315         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88316         bits/epoll.h.
88318 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88320         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88321         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88322         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88323         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88324         <bits/timerfd.h>.
88325         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88326         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88327         bits/timerfd.h.
88329 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88331         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88332         in C locale.
88333         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88334         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88335         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88338 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88340         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88341         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88343 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88345         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88346         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88347         defined.
88348         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88349         Likewise.
88350         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88351         entry for 2.16.
88353 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88355         * math/w_acos.c: Use non-signaling floating-point comparisons.
88356         * math/w_acosf.c: Likewise.
88357         * math/w_acosh.c: Likewise.
88358         * math/w_acoshf.c: Likewise.
88359         * math/w_acoshl.c: Likewise.
88360         * math/w_acosl.c: Likewise.
88361         * math/w_asin.c: Likewise.
88362         * math/w_asinf.c: Likewise.
88363         * math/w_asinl.c: Likewise.
88364         * math/w_atanh.c: Likewise.
88365         * math/w_atanhf.c: Likewise.
88366         * math/w_atanhl.c: Likewise.
88367         * math/w_exp2.c: Likewise.
88368         * math/w_exp2f.c: Likewise.
88369         * math/w_exp2l.c: Likewise.
88370         * math/w_j0.c: Likewise.
88371         * math/w_j0f.c: Likewise.
88372         * math/w_j0l.c: Likewise.
88373         * math/w_j1.c: Likewise.
88374         * math/w_j1f.c: Likewise.
88375         * math/w_j1l.c: Likewise.
88376         * math/w_jn.c: Likewise.
88377         * math/w_jnf.c: Likewise.
88378         * math/w_log.c: Likewise.
88379         * math/w_log10.c: Likewise.
88380         * math/w_log10f.c: Likewise.
88381         * math/w_log10l.c: Likewise.
88382         * math/w_log2.c: Likewise.
88383         * math/w_log2f.c: Likewise.
88384         * math/w_log2l.c: Likewise.
88385         * math/w_logf.c: Likewise.
88386         * math/w_logl.c: Likewise.
88387         * math/w_sqrt.c: Likewise.
88388         * math/w_sqrtf.c: Likewise.
88389         * math/w_sqrtl.c: Likewise.
88390         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88391         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88392         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88393         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88394         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88396 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88398         [BZ #9739]
88399         * manual/string.texi (strnlen): Use correct parameter name in
88400         equivalent expression.
88402 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88404         [BZ #11174]
88405         * manual/users.texi (seteuid): Consistently use neweuid for
88406         argument name.
88408 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88410         [BZ #13704]
88411         * manual/nss.texi (Services in the NSS configuration): Correct
88412         list of services in example configuration file.
88414 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88416         [BZ #11322]
88417         * manual/arith.texi: Remove statements about negative zero
88418         behaving identically to zero.
88420 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88422         [BZ #5993]
88423         * manual/install.texi: Do not document upgrading from libc5.
88425 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88427         [BZ #4596]
88428         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88430 2012-02-18  David S. Miller  <davem@davemloft.net>
88432         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88433         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88434         %o7 across the call.
88435         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88436         instead.
88437         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88438         SETUP_PIC_REG_LEAF.
88439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88440         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88441         * sysdeps/sparc/crtn.S: Likewise.
88443 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88445         * aout/Makefile: Remove.
88447 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88449         [BZ #13058]
88450         * manual/examples/argp-ex1.c (main): Format definition in GNU
88451         style.
88452         * manual/examples/argp-ex2.c (main): Likewise.
88453         * manual/examples/argp-ex3.c (main): Likewise.
88454         * manual/examples/argp-ex4.c (main): Likewise.
88455         * manual/examples/longopt.c (main): Use new-style prototype
88456         definition.
88457         * manual/examples/strncat.c (main): Specify return type and use
88458         (void) for arguments.
88459         * manual/examples/subopt.c (main): Use char **argv argument.
88461 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88463         [BZ #5077]
88464         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88465         rounding modes.
88467 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88469         [BZ #6907]
88470         * manual/string.texi (strchr): Change when strchrnul is
88471         recommended.
88473 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88475         [BZ #174]
88476         * manual/locale.texi (setlocale): Document LOCPATH.
88478 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88480         [BZ #10210]
88481         * manual/process.texi (execle): Move @dots{} before last argument.
88483 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88485         [BZ #12047]
88486         * manual/charset.texi (Generic Charset Conversion): Fix typo
88487         (LC_TYPE -> LC_CTYPE).
88489 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88491         [BZ #5805]
88492         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88493         (scalbnf): Likewise.
88494         (scalbnl): Likewise.
88495         (scalbln): Likewise.
88496         (scalblnf): Likewise.
88497         (scalblnl): Likewise.
88498         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88499         (vwarnx): Likewise.
88500         (verr): Likewise.
88501         (verrx): Likewise.
88502         * manual/filesys.texi (telldir): Use braces around return type.
88503         * manual/llio.texi (mmap): Add space after comma.
88504         (mmap64): Likewise.
88505         * manual/math.texi (jn): Use @var{} on parameter names.
88506         (jnf): Likewise.
88507         (jnl): Likewise.
88508         (yn): Likewise.
88509         (ynf): Likewise.
88510         (ynl): Likewise.
88511         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88512         line.
88513         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88514         "...".
88515         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88516         (sched_get_priority_max): Likewise.
88517         * manual/signal.texi (sigvec): Add space after comma.
88518         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88519         names.
88520         (if_indextoname): Likewise.
88521         (if_freenameindex): Likewise.
88522         (sendto): Use ',' instead of '.' in prototype.
88523         * manual/startup.texi (syscall): Use @dots{} instead of literal
88524         "...".
88525         * manual/stdio.texi (__fpending): Separate initial words of
88526         paragraph from @deftypefun line.
88527         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88528         "...".
88529         (vsyslog): Use @var{} on parameter names.
88530         * manual/terminal.texi (stty): Use @var{} on parameter names.
88531         * manual/users.texi (getutmp): Use @var{} on parameter names.
88532         (getutmpx): Likewise.
88534 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88536         [BZ #6884]
88537         * manual/stdio.texi (fopen): Fix typos in description of
88538         ",ccs=STRING".
88540 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88542         [BZ #4026]
88543         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88544         get clock_id definition.
88546 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88548         [BZ #4822]
88549         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88550         (madvise): Cast every argument to void on its own.
88552 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88554         [BZ #9902]
88555         * manual/startup.texi (Exit Status): Fix typo.
88557 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88559         [BZ #10140]
88560         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88561         * manual/examples/argp-ex2.c: Likewise.
88562         * manual/examples/argp-ex3.c: Likewise.
88564 2012-02-16  Richard Henderson  <rth@redhat.com>
88566         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88567         * sysdeps/s390/s390-32/initfini.c: Remove.
88568         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88569         * sysdeps/s390/s390-64/initfini.c: Remove.
88571 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88573         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88574         compiler output for sysdeps/generic/initfini.c.
88575         * sysdeps/sh/elf/initfini.c: Remove file.
88577 2012-02-16  David S. Miller  <davem@davemloft.net>
88579         [BZ #11494]
88580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88582         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88583         * sysdeps/sparc/crti.S: New file.
88584         * sysdeps/sparc/crtn.S: New file.
88585         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88586         * sysdeps/sparc/sparc64/Makefile: Likewise.
88588 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88590         [BZ #3335]
88591         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88593 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88595         [BZ #4822]
88596         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88598         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88599         (write, read, close): Likewise.
88600         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88602 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88604         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88605         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88606         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88607         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88608         <bits/signalfd.h>.
88609         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88611         bits/signalfd.h.
88613 2012-02-14  Marek Polacek  <polacek@redhat.com>
88615         * sysdeps/x86_64/crti.S: New file.
88616         * sysdeps/x86_64/crtn.S: New file.
88617         * sysdeps/x86_64/elf/initfini.c: Remove file.
88619 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88621         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88622         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88623         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88624         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88625         <bits/inotify.h>.
88626         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88627         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88628         bits/inotify.h.
88630 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88632         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88633         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88634         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88635         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88636         <bits/eventfd.h>.
88637         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88639         bits/eventfd.h.
88641 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88643         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88644         __feraiseexcept instead of feraiseexcept.
88646         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88647         nanosleep invocations.
88648         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88649         strings, and add error checking for a nanosleep invocations.
88651 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88653         Replace FSF snail mail address with URLs, as per GNU coding standards.
88654         Most of the snail mail addresses were wrong anyway, and omitting
88655         them makes the source code easier to maintain.  Almost all of the
88656         changes are to license notices and to locale LC_IDENTIFICATION
88657         addresses, except for this one:
88658         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88659         not its snail mail address.
88661 2012-02-09  Richard Henderson  <rth@twiddle.net>
88663         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88664         of kernel-features.h.
88666         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88668 2012-02-08  Marek Polacek  <polacek@redhat.com>
88670         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88671         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88672         * sysdeps/gnu/_G_config.h: Likewise.
88673         * sysdeps/generic/_G_config.h: Likewise.
88675 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88677         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88678         tests.
88679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88681         * sysdeps/powerpc/powerpc32/crti.S: New file.
88682         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88683         * sysdeps/powerpc/powerpc64/crti.S: New file.
88684         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88686         * Makeconfig (have-initfini): Don't set.
88687         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88688         * configure.in (nopic_initfini): Don't substitute.
88689         * config.h.in (HAVE_INITFINI): Don't #undef.
88690         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88691         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88693 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88695         Support crti.S and crtn.S provided directly by architectures.
88696         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88697         [crti.S in sysdirs] (omit-deps): Likewise.
88698         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88699         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88700         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88701         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88702         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88703         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88704         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88705         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88706         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88707         compiler output for sysdeps/generic/initfini.c.
88708         * sysdeps/i386/elf/Makefile: Remove file.
88709         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88711 2012-02-07  Marek Polacek  <polacek@redhat.com>
88713         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88714         * sysdeps/gnu/_G_config.h: Likewise.
88715         * sysdeps/mach/hurd/_G_config.h: Likewise.
88717 2012-02-07  Marek Polacek  <polacek@redhat.com>
88719         * math/Makefile (tests): Add tst-CMPLX2.
88720         * math/tst-CMPLX2.c: New file.
88722 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88724         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88726         * math/libm-test.inc (jn_test): Add missing L suffix.
88728 2012-02-06  Marek Polacek  <polacek@redhat.com>
88730         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88731         * sysdeps/i386/fpu/e_powf.S: Likewise.
88732         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88733         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88734         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88735         * sysdeps/i386/fpu/e_pow.S: Likewise.
88736         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88737         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88738         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88739         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88740         * sysdeps/i386/fpu/e_log2.S: Likewise.
88741         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88742         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88743         * sysdeps/i386/fpu/e_powl.S: Likewise.
88744         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88745         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88746         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88747         * sysdeps/i386/fpu/e_logl.S: Likewise.
88748         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88749         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88750         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88751         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88752         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88753         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88754         * sysdeps/i386/fpu/e_log.S: Likewise.
88755         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88756         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88757         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88758         * sysdeps/i386/fpu/e_logf.S: Likewise.
88759         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88760         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88761         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88762         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88763         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88764         * sysdeps/i386/fpu/e_log10.S: Likewise.
88765         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88766         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88767         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88768         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88769         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88770         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88771         * sysdeps/i386/asm-syntax.h: Likewise.
88772         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88773         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88774         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88775         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88776         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88777         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88778         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88779         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88780         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88781         * sysdeps/powerpc/sysdep.h: Likewise.
88782         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88783         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88785 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88787         [BZ #411]
88788         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88790 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88792         * sysdeps/i386/sysdep.h: Include <features.h>.
88793         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88794         version.
88796 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88798         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88799         Define.
88800         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88801         LOAD_PIC_REG_STR.
88803 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88805         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88806         (SETUP_PIC_REG): Use GET_PC_THUNK.
88807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88808         macro.
88810 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88812         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88813         for non-PIC compilation.
88814         (SETUP_PIC_REG): Add .p2align directive.
88815         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88816         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88817         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88818         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88819         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88820         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88821         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88822         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88823         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88824         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88825         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88826         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88827         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88828         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88829         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88830         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88831         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88832         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88833         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88834         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88835         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88836         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88837         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88838         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88841         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88842         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88843         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88844         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88845         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88846         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88847         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88848         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88849         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88850         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88851         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88852         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88853         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88854         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88855         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88857 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88859         * math/tst-CMPLX.c: Include <stdio.h>.
88861 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88863         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88864         float.
88865         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88866         * sysdeps/sparc/bits/mathdef.h: Likewise.
88868 2012-01-31  Marek Polacek  <polacek@redhat.com>
88870         * libio/libio.h: Don't define _PARAMS.
88871         * locale/programs/config.h: Don't define PARAMS.
88872         * stdlib/strtol_l.c: Likewise.
88873         (__strtol_l): Remove PARAMS from the prototype.
88875 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88877         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88878         names.  Just use the correct names.  Remove unnecessary wrapper
88879         functions.
88880         * malloc/arena.c: Likewise.
88881         * malloc/hooks.c: Likewise.
88883         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88884         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88885         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88887 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88889         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88890         into tail calls.
88891         (update_get_addr): New function.
88892         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88893         GET_ADDR_MODULE parameter.
88895 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88897         * crypt/cert.c: Remove __STDC__ conditionals.
88898         * crypt/crypt-entry.c: Likewise.
88899         * crypt/crypt_util.c: Likewise.
88900         * libio/filedoalloc.c: Likewise.
88901         * libio/fileops.c: Likewise.
88902         * libio/genops.c: Likewise.
88903         * libio/iofclose.c: Likewise.
88904         * libio/iofdopen.c: Likewise.
88905         * libio/iofopen.c: Likewise.
88906         * libio/iofopen64.c: Likewise.
88907         * libio/iogetdelim.c: Likewise.
88908         * libio/iopopen.c: Likewise.
88909         * libio/obprintf.c: Likewise.
88910         * libio/oldfileops.c: Likewise.
88911         * libio/oldiofclose.c: Likewise.
88912         * libio/oldiofdopen.c: Likewise.
88913         * libio/oldiofopen.c: Likewise.
88914         * libio/oldiopopen.c: Likewise.
88915         * libio/wfiledoalloc.c: Likewise.
88916         * libio/wgenops.c: Likewise.
88917         * locale/programs/xmalloc.c: Likewise.
88918         * misc/syslog.c: Likewise.
88919         * stdio-common/xbug.c: Likewise.
88920         * string/memchr.c: Likewise.
88921         * string/memcmp.c: Likewise.
88922         * string/memrchr.c: Likewise.
88923         * string/rawmemchr.c: Likewise.
88924         * sysdeps/posix/getcwd.c: Likewise.
88925         * time/strftime_l.c: Likewise.
88927 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88929         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88930         * config.make.in (config-cflags-sse2avx): Define.
88931         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88932         Fix typo.
88934 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88936         * scripts/config.guess: Update from upstream config git repository.
88937         * scripts/config.sub: Likewise.
88939 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88941         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88942         (EM_NUM): Update.
88943         (R_TILEPRO_*, R_TILEGX_*): New macros.
88945         * scripts/firstversions.awk: Fix bug in version range handling.
88947         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88949         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88951         * include/sys/epoll.h: New file.
88952         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88953         libc_hidden_def.
88955 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88957         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88958         Avoid unnecessary __WORDSIZE == 64 test.
88959         (fmaxf): Use VEX format if possible.
88960         (fmax): Likewise.
88961         (fminf): Likewise.
88962         (fmin): Likewise.
88964         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88965         * math/math_private.h: Remove libc_fegetround* and
88966         libc_fesetround*.
88967         * sysdeps/i386/configure.in: Check for -msse2avx.
88968         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88969         also if SSE2AVX is defined.
88970         Remove libc_fegetround* and libc_fesetround*.
88971         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88972         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88973         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88974         of HAS_YMM_USABLE.
88975         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88976         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88977         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88978         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88979         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88981         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88983 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88985         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88986         size is not set.
88987         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88989 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88991         [BZ #13618]
88992         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88993         relocation.
88994         * Makeconfig (libm): Define.
88995         * elf/Makefile: Add rules to build and run tst-relsort1.
88996         * elf/tst-relsort1.c: New file.
88997         * elf/tst-relsort1mod1.c: New file.
88998         * elf/tst-relsort1mod2.c: New file.
89000 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
89002         * math/s_ldexp.c: Remove __STDC__ conditionals.
89003         * math/s_ldexpf.c: Likewise.
89004         * math/s_ldexpl.c: Likewise.
89005         * math/s_nextafter.c: Likewise.
89006         * math/s_nexttowardf.c: Likewise.
89007         * math/s_significand.c: Likewise.
89008         * math/s_significandf.c: Likewise.
89009         * math/s_significandl.c: Likewise.
89010         * math/w_jnl.c: Likewise.
89011         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89012         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89013         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89014         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89015         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89016         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89017         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89018         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89019         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89020         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89021         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89022         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89023         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89024         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89025         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89026         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89027         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89028         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89029         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89030         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89031         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89032         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89033         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89035         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89036         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89037         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89038         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89039         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89040         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89041         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89042         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89043         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89044         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89045         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89046         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89047         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89048         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89049         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89050         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89051         * sysdeps/ieee754/k_standard.c: Likewise.
89052         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89053         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89054         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89055         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89056         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89057         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89058         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89059         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89060         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89061         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89062         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89063         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89064         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89065         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89066         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89067         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89068         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89069         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89070         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89071         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89072         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89073         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89074         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89075         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89076         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89077         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89078         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89079         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89080         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89081         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89082         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89083         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89084         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89085         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89086         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89087         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89088         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89089         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89090         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89091         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89092         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89093         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89094         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89095         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89096         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89097         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89098         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89101         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89102         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89103         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89104         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89105         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89106         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89107         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89108         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89109         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89110         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89111         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89112         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89113         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89114         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89115         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89116         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89117         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89118         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89119         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89120         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89121         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89122         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89123         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89124         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89125         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89126         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89127         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89128         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89129         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89130         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89131         * sysdeps/ieee754/s_matherr.c: Likewise.
89132         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89133         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89135         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89137 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89139         * crypt/md5.h: Remove __STDC__ conditionals.
89140         * libio/libioP.h: Likewise.
89141         * locale/programs/config.h: Likewise.
89142         * sysdeps/generic/sysdep.h: Likewise.
89143         * sysdeps/i386/asm-syntax.h: Likewise.
89144         * sysdeps/s390/asm-syntax.h: Likewise.
89145         * sysdeps/unix/sysdep.h: Likewise.
89146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89149 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89151         * libio/libio.h: Remove __STDC__ conditionals.
89152         * malloc/obstack.h: Likewise.
89153         * math/complex.h: Likewise.
89154         * math/math.h: Likewise.
89155         * sysdeps/generic/_G_config.h: Likewise.
89156         * sysdeps/gnu/_G_config.h: Likewise.
89157         * sysdeps/mach/hurd/_G_config.h: Likewise.
89158         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89159         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89160         * sysdeps/sparc/bits/mathdef.h: Likewise.
89162 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89164         [BZ #13583]
89165         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89166         Clean up HAS_* macros.
89167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89168         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89169         possible.
89170         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89171         HAS_AVX.
89172         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89173         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89174         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89175         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89176         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89178 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89180         * elf/tst-unique3.cc (gets): Remove declaration.
89181         * elf/tst-unique3lib.cc (gets): Likewise.
89182         * elf/tst-unique3lib2.cc (gets): Likewise.
89183         * elf/tst-unique4.cc (gets): Likewise.
89185 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89187         * include/stdio.h: Add C++ protection.  Add gets declarations and
89188         definitions.
89189         * debug/tst-chk1.c: Don't declare gets here.
89190         * stdio-common/tst-gets.c: Likewise.
89192 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89194         * posix/glob: Remove directory.
89196 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89198         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89200 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89202         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89203         of the non-standard EPFNOSUPPORT.
89205 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89207         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89208         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89209         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89211 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89213         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89215 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89217         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89218         transient errors.
89219         * nscd/grpcache.c (cache_addgr): Likewise.
89220         * nscd/hstcache.c (cache_addhst): Likewise.
89221         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89222         * nscd/pwdcache.c (cache_addpw): Likewise.
89223         * nscd/servicescache.c (cache_addserv): Likewise.
89225 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89227         * malloc/malloc.c: Various cleanups.
89228         * malloc/hooks.c: Likewise.
89230         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89231         * stdlib/bug-fmtmsg1.c: New file.
89233         * stdlib/fmtmsg.c (init): Add missing unlock.
89234         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89236 2012-01-12  Marek Polacek  <polacek@redhat.com>
89238         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89239         and _GNU_SOURCE.
89241 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89243         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89244         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89245         macro to ensure uniqueness of label name.
89246         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89247         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89249 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89251         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89253         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89254         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89255         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89256         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89258 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89260         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89262         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89263         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89264         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89266         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89268         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89269         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89270         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89271         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89273         * math/bits/math-finite.h: Add ldexp support.
89275 2012-01-10  Marek Polacek  <polacek@redhat.com>
89277         * locale/programs/localedef.h (show_archive_content): Add noreturn
89278         attribute.
89280 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89282         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89284 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89286         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89288         * io/Makefile (headers): Add bits/poll2.h.
89290 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89293         typo #include statement.
89295 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89297         * include/sys/cdefs.h: Define __attribute_alloc_size.
89298         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89299         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89300         * elf/pldd.c: Likewise.
89301         * iconv/iconv_charmap.c: Likewise.
89302         * iconv/iconvconfig.c: Likewise.
89303         * iconv/strtab.c: Likewise.
89304         * locale/programs/locale.c: Likewise.
89305         * locale/programs/localedef.h: Likewise.
89306         * locale/programs/simple-hash.c: Likewise.
89307         * nscd/nscd.h: Likewise.
89308         * nss/makedb.c: Likewise.
89309         * sysdeps/generic/ldconfig.h: Likewise.
89310         * locale/programs/localedef.c: Remove xmalloc prototype.
89311         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89313 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89315         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89316         appropriate.
89318 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89320         * math/Makefile (tests): Add tst-CMPLX.
89321         * math/tst-CMPLX.c: New file.
89323         * math/complex.h (CMPLXL): Fix typo.
89325         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89326         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89327         GLIBC_2.16.
89328         * debug/tst-chk1.c: Add poll and ppoll tests.
89329         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89330         * include/sys/poll.h: Add hidden proto for ppoll.
89331         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89332         * sysdeps/mach/hurd/ppoll.c: Likewise.
89333         * io/ppoll.c: Likewise.
89334         * debug/poll_chk.c: New file.
89335         * debug/ppoll_chk.c: New file.
89336         * include/bits/poll2.h: New file.
89337         * io/bits/poll2.h: New file.
89339         [BZ #1350]
89340         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89342         * configure.in: static is always set to yes.  Remove.
89343         * config.make.in: Don't set build-static.
89344         * Makeconfig: Remove use of build-static.
89345         * dlfcn/Makefile: Likewise.
89346         * elf/Makefile: Likewise.
89347         * math/Makefile: Likewise.
89348         * misc/Makefile: Likewise.
89349         * nptl/Makefile: Likewise.
89350         * sysdeps/mach/hurd/Makefile: Likewise.
89352         * configure.in: PWD_P is not used anymore.
89353         * config.make.in: Remove PWD_P entry.
89355         * configure.in: Remove last remnants of RANLIB.
89356         No need to check for signed size_t anymore.
89357         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89358         and IA-64.
89359         Remove __builtin_expect test because we require at least gcc 3.4.
89360         * aclocal.m4: Likewise.
89362         * wcsmbs/mbrtoc16.c: Implement using towc function.
89363         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89364         * wcsmbs/wcsmbsload.c: Likewise.
89365         * iconv/gconv_simple.c: Likewise.
89366         * iconv/gconv_int.h: Likewise.
89367         * iconv/gconv_builtin.h: Likewise.
89368         * iconv/iconv_prog.c: Remove CHAR16 handling.
89370         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89372         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89374         * configure.in: Remove --with-elf and --enable-bounded options.
89375         Dont set base_machine for ia64.  More non-ELF conditions removed.
89376         Remove testing and setting of leading underscore information.
89377         * config.make.in (build-bounded): Set to no.
89378         * config.h.in: Remove NO_UNDERSCORES entry.
89379         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89380         them.
89381         * csu/start.c: Remove !NO_UNDERSCORE code.
89382         * locale/localeinfo.h: Likewise.
89383         * sysdeps/generic/machine-gmon.h: Likewise.
89384         * sysdeps/generic/sysdep.h: Likewise.
89385         * sysdeps/i386/sysdep.h: Likewise.
89386         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89387         * sysdeps/mach/sysdep.h: Likewise.
89388         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89389         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89390         * sysdeps/sh/sysdep.h: Likewise.
89391         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89392         * sysdeps/unix/i386/sysdep.S: Likewise.
89393         * sysdeps/unix/sparc/start.c: Likewise.
89394         * sysdeps/unix/sparc/sysdep.S: Likewise.
89395         * sysdeps/unix/sparc/sysdep.h: Likewise.
89396         * sysdeps/unix/start.c: Likewise.
89397         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89398         * sysdeps/x86_64/sysdep.h: Likewise.
89400 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89402         [BZ #13553]
89403         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89404         for non-gcc.
89405         * argp/argp-fmtstream.h: Use const instead __const.
89406         * argp/argp.h: Likewise.
89407         * assert/assert.h: Likewise.
89408         * bits/fenv.h: Likewise.
89409         * bits/sched.h: Likewise.
89410         * bits/sigset.h: Likewise.
89411         * bits/sigthread.h: Likewise.
89412         * catgets/nl_types.h: Likewise.
89413         * conform/data/pthread.h-data: Likewise.
89414         * crypt/crypt-private.h: Likewise.
89415         * crypt/crypt.h: Likewise.
89416         * crypt/crypt_util.c: Likewise.
89417         * ctype/ctype.h: Likewise.
89418         * debug/execinfo.h: Likewise.
89419         * debug/mbsnrtowcs_chk.c: Likewise.
89420         * debug/mbsrtowcs_chk.c: Likewise.
89421         * debug/wcsnrtombs_chk.c: Likewise.
89422         * debug/wcsrtombs_chk.c: Likewise.
89423         * debug/wcstombs_chk.c: Likewise.
89424         * dirent/dirent.h: Likewise.
89425         * dlfcn/dlfcn.h: Likewise.
89426         * elf/neededtest4.c: Likewise.
89427         * grp/grp.h: Likewise.
89428         * gshadow/gshadow.h: Likewise.
89429         * iconv/gconv.h: Likewise.
89430         * iconv/gconv_int.h: Likewise.
89431         * iconv/gconv_simple.c: Likewise.
89432         * iconv/iconv.h: Likewise.
89433         * iconv/loop.c: Likewise.
89434         * iconv/skeleton.c: Likewise.
89435         * include/aio.h: Likewise.
89436         * include/aliases.h: Likewise.
89437         * include/argz.h: Likewise.
89438         * include/arpa/inet.h: Likewise.
89439         * include/assert.h: Likewise.
89440         * include/dirent.h: Likewise.
89441         * include/dlfcn.h: Likewise.
89442         * include/execinfo.h: Likewise.
89443         * include/fcntl.h: Likewise.
89444         * include/fenv.h: Likewise.
89445         * include/glob.h: Likewise.
89446         * include/grp.h: Likewise.
89447         * include/libintl.h: Likewise.
89448         * include/mntent.h: Likewise.
89449         * include/netdb.h: Likewise.
89450         * include/pwd.h: Likewise.
89451         * include/rpc/netdb.h: Likewise.
89452         * include/sched.h: Likewise.
89453         * include/search.h: Likewise.
89454         * include/shadow.h: Likewise.
89455         * include/signal.h: Likewise.
89456         * include/stdio.h: Likewise.
89457         * include/stdlib.h: Likewise.
89458         * include/string.h: Likewise.
89459         * include/sys/socket.h: Likewise.
89460         * include/sys/stat.h: Likewise.
89461         * include/sys/statfs.h: Likewise.
89462         * include/sys/statvfs.h: Likewise.
89463         * include/sys/syslog.h: Likewise.
89464         * include/sys/time.h: Likewise.
89465         * include/sys/uio.h: Likewise.
89466         * include/time.h: Likewise.
89467         * include/unistd.h: Likewise.
89468         * include/utmp.h: Likewise.
89469         * include/wchar.h: Likewise.
89470         * include/wctype.h: Likewise.
89471         * inet/aliases.h: Likewise.
89472         * inet/arpa/inet.h: Likewise.
89473         * inet/netinet/ether.h: Likewise.
89474         * inet/netinet/in.h: Likewise.
89475         * intl/libintl.h: Likewise.
89476         * io/bits/fcntl2.h: Likewise.
89477         * io/fcntl.h: Likewise.
89478         * io/ftw.h: Likewise.
89479         * io/sys/poll.h: Likewise.
89480         * io/sys/stat.h: Likewise.
89481         * io/sys/statfs.h: Likewise.
89482         * io/sys/statvfs.h: Likewise.
89483         * io/utime.h: Likewise.
89484         * libio/bits/stdio.h: Likewise.
89485         * libio/bits/stdio2.h: Likewise.
89486         * libio/libio.h: Likewise.
89487         * libio/libioP.h: Likewise.
89488         * libio/stdio.h: Likewise.
89489         * locale/lc-ctype.c: Likewise.
89490         * locale/locale.h: Likewise.
89491         * login/utmp.h: Likewise.
89492         * malloc/arena.c: Likewise.
89493         * malloc/malloc.c: Likewise.
89494         * malloc/malloc.h: Likewise.
89495         * malloc/mcheck.c: Likewise.
89496         * malloc/mtrace.c: Likewise.
89497         * math/bits/mathcalls.h: Likewise.
89498         * math/fenv.h: Likewise.
89499         * math/math_private.h: Likewise.
89500         * misc/bits/error.h: Likewise.
89501         * misc/bits/syslog.h: Likewise.
89502         * misc/err.h: Likewise.
89503         * misc/error.h: Likewise.
89504         * misc/fstab.h: Likewise.
89505         * misc/mntent.h: Likewise.
89506         * misc/regexp.h: Likewise.
89507         * misc/search.h: Likewise.
89508         * misc/sgtty.h: Likewise.
89509         * misc/sys/mman.h: Likewise.
89510         * misc/sys/syslog.h: Likewise.
89511         * misc/sys/uio.h: Likewise.
89512         * misc/sys/xattr.h: Likewise.
89513         * misc/ttyent.h: Likewise.
89514         * nis/rpcsvc/ypclnt.h: Likewise.
89515         * nss/nss.h: Likewise.
89516         * posix/bits/unistd.h: Likewise.
89517         * posix/fnmatch.h: Likewise.
89518         * posix/glob.h: Likewise.
89519         * posix/sched.h: Likewise.
89520         * posix/spawn.h: Likewise.
89521         * posix/sys/wait.h: Likewise.
89522         * posix/unistd.h: Likewise.
89523         * posix/wordexp.h: Likewise.
89524         * pwd/pwd.h: Likewise.
89525         * resolv/netdb.h: Likewise.
89526         * resource/sys/resource.h: Likewise.
89527         * rt/aio.h: Likewise.
89528         * rt/bits/mqueue2.h: Likewise.
89529         * rt/mqueue.h: Likewise.
89530         * shadow/shadow.h: Likewise.
89531         * signal/signal.h: Likewise.
89532         * socket/send.c: Likewise.
89533         * socket/sendto.c: Likewise.
89534         * socket/sys/socket.h: Likewise.
89535         * stdio-common/printf.h: Likewise.
89536         * stdlib/bits/stdlib.h: Likewise.
89537         * stdlib/fmtmsg.h: Likewise.
89538         * stdlib/monetary.h: Likewise.
89539         * stdlib/stdlib.h: Likewise.
89540         * stdlib/ucontext.h: Likewise.
89541         * streams/stropts.h: Likewise.
89542         * string/argz.h: Likewise.
89543         * string/bits/string2.h: Likewise.
89544         * string/string.h: Likewise.
89545         * string/strings.h: Likewise.
89546         * sunrpc/rpc/auth.h: Likewise.
89547         * sunrpc/rpc/auth_des.h: Likewise.
89548         * sunrpc/rpc/clnt.h: Likewise.
89549         * sunrpc/rpc/netdb.h: Likewise.
89550         * sunrpc/rpc/pmap_clnt.h: Likewise.
89551         * sunrpc/rpc/xdr.h: Likewise.
89552         * sysdeps/generic/inttypes.h: Likewise.
89553         * sysdeps/generic/net/if.h: Likewise.
89554         * sysdeps/generic/sys/swap.h: Likewise.
89555         * sysdeps/gnu/net/if.h: Likewise.
89556         * sysdeps/gnu/utmpx.h: Likewise.
89557         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89558         * sysdeps/i386/i486/bits/string.h: Likewise.
89559         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89560         * sysdeps/s390/bits/string.h: Likewise.
89561         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89562         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89563         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89564         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89565         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89566         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89567         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89568         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89569         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89570         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89571         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89572         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89573         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89574         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89575         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89576         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89577         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89578         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89579         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89580         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89581         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89582         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89583         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89584         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89585         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89586         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89587         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89588         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89589         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89590         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89591         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89592         * sysvipc/sys/ipc.h: Likewise.
89593         * sysvipc/sys/msg.h: Likewise.
89594         * sysvipc/sys/sem.h: Likewise.
89595         * sysvipc/sys/shm.h: Likewise.
89596         * termios/termios.h: Likewise.
89597         * time/sys/time.h: Likewise.
89598         * time/time.h: Likewise.
89599         * wcsmbs/bits/wchar2.h: Likewise.
89600         * wcsmbs/uchar.h: Likewise.
89601         * wcsmbs/wchar.h: Likewise.
89602         * wctype/wctype.h: Likewise.
89604         [BZ #13551]
89605         * Makeconfig: Remove all but ELF support including AIX support.
89606         * Makerules: Likewise.
89607         * config.h.in: Likewise.
89608         * config.make.in: Likewise.
89609         * configure: Likewise.
89610         * configure.in: Likewise.
89611         * csu/Makefile: Likewise.
89612         * csu/version.c: Likewise.
89613         * debug/Makefile: Likewise.
89614         * dlfcn/Makefile: Likewise.
89615         * elf/Makefile: Likewise.
89616         * extra-lib.mk: Likewise.
89617         * iconv/Makefile: Likewise.
89618         * include/libc-symbols.h: Likewise.
89619         * include/shlib-compat.h: Likewise.
89620         * resolv/Makefile: Likewise.
89621         * resolv/res_libc.c: Likewise.
89622         * rt/Makefile: Likewise.
89623         * sysdeps/i386/asm-syntax.h: Likewise.
89624         * sysdeps/i386/sysdep.h: Likewise.
89625         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89626         * sysdeps/mach/sysdep.h: Likewise.
89627         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89628         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89629         * sysdeps/s390/asm-syntax.h: Likewise.
89630         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89631         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89632         * sysdeps/sh/sysdep.h: Likewise.
89633         * sysdeps/unix/sparc/sysdep.h: Likewise.
89634         * sysdeps/wordsize-32/divdi3.c: Likewise.
89635         * sysdeps/x86_64/sysdep.h: Likewise.
89637         * argp/Versions: Remove _argp_unlock_xxx.
89639         [BZ #13559]
89640         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89641         * abilist/libBrokenLocale.abilist: Likewise.
89642         * abilist/libanl.abilist: Likewise.
89643         * abilist/libc.abilist: Likewise.
89644         * abilist/libcrypt.abilist: Likewise.
89645         * abilist/libdl.abilist: Likewise.
89646         * abilist/libm.abilist: Likewise.
89647         * abilist/libnsl.abilist: Likewise.
89648         * abilist/libpthread.abilist: Likewise.
89649         * abilist/libresolv.abilist: Likewise.
89650         * abilist/librt.abilist: Likewise.
89651         * abilist/libthread_db.abilist: Likewise.
89652         * abilist/libutil.abilist: Likewise.
89653         * abilist/libnss_db.abilist: New file.
89655         * scripts/abilist.awk: Add support for indirect functions.
89657         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89659         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89661         * shlib-versions: Remove entries for ports architectures.
89663         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89664         files in ports.
89665         * elf/stackguard-macros.h: Remove support for IA-64.
89666         * elf/tst-auditmod1.c: Likewise.
89667         * sysdeps/generic/ldsodefs.h: Likewise.
89669         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89670         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89671         configure files.
89673         [BZ #13552]
89674         * configure.in: Remove --enable-omitfp support.
89675         * FAQ.in: Adjust.
89676         * config.make.in: Likewise.
89677         * Makeconfig: Likewise.
89678         * manual/install.texi: Likewise.
89680         In case anyone cares, the IA-64 architecture could move to ports.
89681         * sysdeps/ia64/*: Removed.
89682         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89683         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89685         [BZ #13555]
89686         * configure.in: Remove entries for unsupported architectures.
89688         [BZ #13533]
89689         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89690         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89691         routines.
89692         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89693         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89694         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89695         fall back to using wcrtomb.
89696         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89697         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89698         renaming.
89699         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89700         * wcsmbs/tst-c16c32-1.c: New file.
89702         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89703         local variable.
89705         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89707         * elf/tst-unique3.cc: Add explicit declaration of gets.
89708         * elf/tst-unique3lib.cc: Likewise.
89709         * elf/tst-unique3lib2.cc: Likewise.
89710         * elf/tst-unique4.cc: Likewise.
89712         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89714 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89716         [BZ #13566]
89717         * assert/assert.h (static_assert): Don't define for C++.
89718         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89719         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89721 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89723         * iconv/loop.c (single loop): Fix assertion in storing of
89724         remaining bytes.
89726         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89728 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89730         * posix/getconf.c: Update copyright year.
89731         * nss/getent.c: Likewise.
89732         * nss/makedb.c: Likewise.
89733         * iconv/iconvconfig.c: Likewise.
89734         * iconv/iconv_prog.c: Likewise.
89735         * elf/ldconfig.c: Likewise.
89736         * elf/pldd.c: Likewise.
89737         * elf/sotruss.ksh: Likewise.
89738         * catgets/gencat.c: Likewise.
89739         * csu/version.c: Likewise.
89740         * elf/ldd.bash.in: Likewise.
89741         * elf/sprof.c (print_version): Likewise.
89742         * locale/programs/locale.c: Likewise.
89743         * locale/programs/localedef.c: Likewise.
89744         * login/programs/pt_chown.c: Likewise.
89745         * nscd/nscd.c (print_version): Likewise.
89746         * debug/xtrace.sh: Likewise.
89747         * malloc/memusage.sh: Likewise.
89748         * malloc/mtrace.pl: Likewise.
89749         * debug/catchsegv.sh: Likewise.
89751 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89753         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89754         pure attribute.
89756 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89758         [BZ #13533]
89759         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89760         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89761         transformations.
89762         * iconv/gconv_int.h: Likewise.
89763         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89764         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89765         from libc for GLIBC_2.16.
89766         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89767         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89768         * wcsmbs/uchar.h: Really define mbstate_t.
89769         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89770         * wcsmbs/c16rtomb.c: New file.
89771         * wcsmbs/mbrtoc16.c: New file.
89772         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89773         for C/POSIX locale.
89774         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89775         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89777         * wcsmbs/wchar.h: Add missing __restrict.
89779 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89781         [BZ #13532]
89782         * time/Makefile (routines): Add timespec_get.
89783         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89784         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89785         timespec for ISO C11.
89786         * time/timespec_get.c: New file.
89787         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89788         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89790         [BZ #13531]
89791         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89792         * stdlib/stdlib.h: Declare aligned_alloc.
89793         * Versions.def: Add GLIBC_2.16 for libc.
89794         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89796         [BZ 13527]
89797         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89798         ISO C11.
89800         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89801         code.
89803         [BZ #13528]
89804         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89806         [BZ #13529]
89807         * assert/assert.h (static_assert): Define.
89809         * version.h: Update for 2.16 development version.
89811         [BZ #13526]
89812         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89813         _ISOC11_SOURCE.
89815         * version.h (RELEASE): Bump for 2.15 release.
89816         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89818         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89819         Patch by Marek Polacek <mpolacek@redhat.com>.
89821         * bits/byteswap.h: Protect long long constants with __extension__.
89822         * sysdeps/i386/bits/byteswap.h: Likewise.
89823         * sysdeps/ia64/bits/byteswap.h: Likewise.
89824         * sysdeps/s390/bits/byteswap.h: Likewise.
89825         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89827 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89829         [BZ #13540]
89830         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89831         destination buffer.
89832         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89834 2011-12-23  Marek Polacek  <polacek@redhat.com>
89836         * elf/dl-addr.c (determine_info): Add inline keyword.
89837         * elf/tst-auditmod4b.c (check_avx): Likewise.
89838         * elf/tst-auditmod6b.c (check_avx): Likewise.
89839         * elf/tst-auditmod6c.c (check_avx): Likewise.
89840         * elf/tst-auditmod7b.c (check_avx): Likewise.
89842 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89844         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89845         !__SSE_MATH__.
89847 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89849         [BZ #13540]
89850         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89851         processing for last bytes.
89853 2011-08-06  Bruno Haible  <bruno@clisp.org>
89855         [BZ #13061]
89856         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89857         U+0385, not to U+1FEE.
89859         [BZ #13062]
89860         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89861         entry for U+00A5 U+0301.
89863 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89865         [BZ #13166]
89866         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89867         buffer for the output is too small.
89869         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89870         optimization.
89872         [BZ #13185]
89873         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89874         SSE flags if possible.
89876 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89878         [BZ #13540]
89879         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89880         processing for last bytes.
89882 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89884         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89885         (syscall-list-default-options, syscall-list-default-condition)
89886         (syscall-list-includes): Define.
89887         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89888         list of ABIs and options and #if conditions for each ABI.  Do not
89889         handle common syscalls between ABIs specially.
89890         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89891         Remove.
89892         (syscall-list-variants, syscall-list-32bit-options)
89893         (syscall-list-32bit-condition, syscall-list-64bit-options)
89894         (syscall-list-64bit-condition): Define.
89895         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89896         (syscall-list-variants, syscall-list-32bit-options)
89897         (syscall-list-32bit-condition, syscall-list-64bit-options)
89898         (syscall-list-64bit-condition): Define.
89899         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89900         Remove.
89901         (syscall-list-variants, syscall-list-32bit-options)
89902         (syscall-list-32bit-condition, syscall-list-64bit-options)
89903         (syscall-list-64bit-condition): Define.
89904         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89905         Remove.
89906         (syscall-list-variants, syscall-list-32bit-options)
89907         (syscall-list-32bit-condition, syscall-list-64bit-options)
89908         (syscall-list-64bit-condition): Define.
89910 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89912         * locale/iso-639.def: Add brx entry.
89914         [BZ #13328]
89915         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89916         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89918         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89919         __feraiseexcept_renamed.
89921 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89923         [BZ #13538]
89924         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89925         EPOLLET with unsigned values.
89926         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89927         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89929         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89930         to large cancellation.
89931         * math/s_cacoshf.c: Likewise.
89932         * math/s_cacoshl.c: Likewise.
89934 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89936         [BZ #13305]
89937         [BZ #12786]
89938         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89939         * math/s_cacoshf.c: Likewise.
89940         * math/s_cacoshl.c: Likewise.
89942 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89944         [BZ #13439]
89945         * iconv/gconv.h: Define __GCONV_SWAP.
89946         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89947         * iconvdata/utf-16.c: Likewise.
89948         * iconvdata/utf-32.c: Likewise.
89950 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89952         [BZ #13524]
89953         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89954         numerator after shifting it by one limb.
89956 2011-12-19  Rafael Ăvila de EspĂ­ndola  <rafael.espindola@gmail.com>
89958         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89959         under [__USE_EXTERN_INLINES].
89961 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89963         [BZ #13446]
89964         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89966 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89968         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89969         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89970         optimized code.
89971         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89972         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89973         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89974         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89975         for strncasecmp/strncasecmp_l compilation.
89976         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89977         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89979 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89981         [BZ #13484]
89982         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89983         of __asm__.
89985 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89987         [BZ #13506]
89988         * time/tzfile.c (__tzfile_read): Check values from file header.
89990 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89992         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89993         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89994         * powerpc/powerpc32/dl-start.S: Likewise.
89995         * powerpc/powerpc32/elf/start.S: Likewise.
89996         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89997         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89998         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89999         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90000         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90001         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90002         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90003         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90004         * powerpc/powerpc32/fpu/s_round.S: Likewise.
90005         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90006         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90007         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90008         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90009         * powerpc/powerpc32/memset.S: Likewise.
90010         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90011         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90012         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90013         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90014         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90015         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90016         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90017         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90018         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90019         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90020         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90021         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90022         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90024 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90026         * math/libm-test.inc: Added more nearbyint tests.
90027         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90028         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90029         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90030         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90032 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
90034         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90035         FD_CLOEXEC.
90037 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90039         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90040         Add wcscpy-ssse3 wcscpy-c.
90041         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90042         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90043         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90044         * sysdeps/x86_64/wcschr.S: New file.
90045         * sysdeps/x86_64/wcsrchr.S: New file.
90046         * string/test-strcmp.c: Remove checking of wcscmp function for
90047         wrong alignments.
90048         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90049         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90050         wcsrchr-sse2 wcsrchr-c.
90051         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90052         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90053         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90054         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90055         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90056         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90057         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90058         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90059         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90060         * wcsmbc/wcschr.c (WCSCHR): New macro.
90062 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90064         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90065         * wcsmbs/test-wcsrchr.c: New file.
90066         * string/test-strrchr.c: Add wcsrchr support.
90067         (WIDE): New macro.
90068         * wcsmbs/test-wcscpy.c: New file.
90069         * string/test-strcpy.c: Add wcscpy support.
90070         (WIDE): New macro.
90072 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90074         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90075         the inner loop.
90077 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90079         [BZ #13472]
90080         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90082 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90084         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90085         Minor optimizations.
90087         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90088         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90089         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90091 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90093         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90094         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90095         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90096         for gcc to avoid warnings.
90097         * inet/Makefile (tests): Add tst-checks.
90098         * inet/tst-checks.c: New file.
90100         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90101         warning.
90103         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90104         __wmemcmp_sse2.
90106         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90107         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90109         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90111 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90113         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90114         problem.
90116         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90118 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90120         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90121         conditional on GCC version.
90122         (__arch_compare_and_exchange_val_8_acq)
90123         (__arch_compare_and_exchange_val_16_acq)
90124         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90125         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90126         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90128 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90130         * sysdeps/sh/backtrace.c: New file.
90132 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90134         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90135         parenthesis.
90137 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90139         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90140         falling back to utime.
90142 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90144         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90145         expectations for float.
90147 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90149         * locale/weight.h (findidx): Add parameter len.
90150         * locale/weightwc.h (findidx): Likewise.
90151         * posix/fnmatch_loop.c (FCT): Adjust caller.
90152         * posix/regcomp.c (build_equiv_class): Likewise.
90153         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90154         * posix/regexec.c (check_node_accept_bytes): Likewise.
90155         * string/strcoll_l.c (STRCOLL): Likewise.
90156         * string/strxfrm_l.c (STRXFRM): Likewise.
90158 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90160         * Makefile.in: Remove CVSOPT handling.
90161         * configure.in: Remove use of AC_REVISION.
90162         * iconvdata/Makefile (distribute): No need to filter out CVS.
90163         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90164         handling.
90166 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90168         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90169         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90170         [USE_AS_STRNCASECMP_L]: Likewise.
90171         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90172         NO_TLS_DIRECT_SEG_REFS.
90173         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90174         Fix argument offsets for non-PIC.
90175         [USE_AS_STRNCASECMP_L]: Likewise.
90176         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90177         NO_TLS_DIRECT_SEG_REFS.
90179 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90181         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90182         O_CLOEXEC.
90183         * locale/loadlocale.c (_nl_load_locale): Likewise.
90185 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90187         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90188         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90189         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90190         (SYSCALL_GETTIME): Set errno on error.
90192         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90193         count references to noai6ai_cached.
90195 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90197         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90199         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90200         FD_CLOEXEC for /proc/self/maps.
90202         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90203         FD_CLOEXEC for /proc/meminfo.
90205         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90206         gai.conf.
90208         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90209         FD_CLOEXEC for given file.
90211         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90213         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90214         FD_CLOEXEC for /etc/hosts.
90215         (_gethtent): Likewise.
90217         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90219         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90220         cancellation and set FD_CLOEXEC for /etc/netgroup.
90222         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90223         reading /etc/publickey.
90225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90226         allow cancellation when reading /etc/group.
90228         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90229         cancellation.
90230         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90232         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90233         when using data file.
90235         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90237         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90238         (write_nis_obj): Use "c" and "e" in fopen.
90240         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90242         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90244         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90246         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90248         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90249         locale.alias.
90251         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90253         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90255         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90257         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90258         file parsing and set FD_CLOEXEC.
90260 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90262         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90264 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90266         * malloc/arena.c (arena_get2): Don't call reused_arena when
90267         _int_new_arena failed.
90269 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90271         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90272         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90273         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90274         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90275         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90276         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90277         to compile strcasecmp and strncasecmp.
90278         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90279         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90281         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90283 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90285         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90286         locale-defines.sym to gen-as-const-headers.
90287         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90288         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90289         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90290         to compile strcasecmp and strncasecmp.
90291         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90292         strcasecmp_l and strncasecmp_l.
90293         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90294         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90295         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90296         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90297         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90298         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90299         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90300         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90301         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90302         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90303         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90305 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90307         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90308         result of SYSDEP_GETTIME_CPU to retval.
90309         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90310         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90312         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90313         variable.
90315         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90316         mantissa words.
90317         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90319         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90320         from unused variable.
90322         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90323         DWARF definitions.
90324         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90325         for assembling.
90327         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90328         over namespaces.
90330         * sunrpc/rpc_prot.c (rejected): Fix case value.
90332         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90333         unsigned long long int to avoid warnings in shift.
90335         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90336         of use of trans.
90337         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90338         variable tmp.
90340         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90341         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90342         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90344         * nis/nis_table.c (nis_list): Use variable of correct type for
90345         result of __follow_path call.
90347 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90349         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90350         of math functions ceil, trunc, floor, round, and sqrt, when
90351         avaliable on the platform.
90352         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90353         name clash.
90354         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90355         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90356         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90358 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90360         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90361         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90363 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90365         * include/unistd.h: Fix __readlink return type.
90366         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90368 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90370         * stdlib/ucontext.h: Undo last change for makecontext.
90372 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90374         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90376         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90377         * setjmp/setjmp.h: Mark functions as non-leaf.
90378         * setjmp/bits/setjmp2.h: Likewise.
90379         * stdlib/ucontext.h: Likewise.
90381 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90383         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90384         (reused_arena): Don't check arena limit.
90385         (arena_get2): Atomically check arena limit.
90387 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90389         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90390         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90392         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90393         instructions.
90395 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90397         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90398         handler when locking.
90400         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90401         Fix size of allocated buffer.
90403 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90405         [BZ #10103]
90406         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90407         declarations for long double functions.
90408         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90410         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90412 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90414         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90415         installed.
90417         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90418         is disabled.
90420 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90422         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90424 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90426         * include/alloca.h (stackinfo_alloca_round): Define.
90427         (extend_alloca): Use it.
90428         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90429         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90430         here.
90432         * scripts/check-local-headers.sh: Ignore libaudit.h.
90434         * nscd/Makefile (extra-objs): Make recursively expanded.
90436 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90438         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90439         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90441         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90442         * posix/tst-rfc3484-2.c: Likewise.
90443         * posix/tst-rfc3484-3.c: Likewise.
90445         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90446         process_vm_writev.
90447         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90448         process_vm_writev.
90449         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90450         process_vm_writev from libc using GLIBC_2.15 version.
90452         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90454 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90456         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90457         stack usage.
90459 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90461         [BZ #13367]
90462         * nss/getent.c (initgroups_keys): Show error message in case no group
90463         names are given.
90465         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90466         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90467         __bump_nl_timestamp.
90468         * nscd/connections (nscd_init): When host database is served open
90469         netlink socket and request notification about configuration changes.
90470         (main_loop_poll): Track netlink file descriptor and bump timestamp
90471         in case data becomes available.
90472         (main_loop_epoll): Likewise.
90473         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90474         (database_pers_head): Add extra_data fileds.
90475         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90476         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90477         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90478         Adjust caller.
90479         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90480         in6ai data, call __free_in6ai.
90481         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90482         Add -DHAVE_NETLINK.
90483         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90484         interface information.  Reuse previous data if netlink timestamp
90485         is not changed.
90486         (__bump_nl_timestamp): New function.
90487         (__free_in6ai): New function.
90489 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90491         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90492         close_not_cancel_no_status here.
90493         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90495 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90497         [BZ #13276]
90498         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90499         return value.
90501         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90502         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90503         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90505 2011-07-03  Andreas Jaeger  <aj@suse.de>
90507         [BZ #10709]
90508         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90509         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90510         * math/libm-test.inc (sin_test): Add test case.
90512 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90514         [BZ #13337]
90515         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90516         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90518         * elf/chroot_canon.c (chroot_canon): Cleanups.
90520         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90522         [BZ #13335]
90523         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90524         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90526         * string/test-strchr.c: Make usable for strchrnul testing.
90527         * string/test-strchrnul.c: New file.
90528         * string/Makefile (strop-tests): Add strchrnul.
90530         * po/it.po: Update from translation team.
90531         * po/es.po: Likewise.
90533 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90535         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90536         the three constants needed as parameters.  Drop the others.
90537         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90538         __m128i_strloadu_tolower.
90539         Create and initialize variable zero and use it in all the places
90540         where _mm_setzero_si128 was used.
90542         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90543         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90544         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90546         anymore.
90547         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90548         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90549         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90550         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90551         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90552         __mpranred, __mptan.
90553         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90554         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90555         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90556         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90557         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90558         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90559         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90560         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90561         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90563 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90565         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90566         redefine if SHARED.
90567         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90570         wide char related routines to wcsmbs subdir.
90572 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90574         [BZ #13344]
90575         * misc/sys/cdefs.h (__THROWNL): Define.
90576         * posix/unistd.h: Use __THREADNL instead of __THREAD
90577         for memory synchronization functions.
90579 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90581         [BZ #13349]
90582         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90583         doesn't exist.
90584         * manual/stdio.texi (Obstack Streams): Node removed.
90586 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90588         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90589         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90590         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90592         * math/math_private.h (math_force_eval): Allow non-addressable
90593         arguments.
90594         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90596 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90598         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90599         file is not needed.
90601         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90602         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90603         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90604         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90605         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90607         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90608         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90609         Add AVX variants.
90610         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90611         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90612         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90613         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90614         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90615         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90616         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90617         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90618         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90619         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90620         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90621         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90622         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90623         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90624         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90625         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90626         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90627         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90628         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90630         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90631         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90633         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90634         place.  Use VEX encoding when compiling for AVX.
90636 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90638         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90639         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90641         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90643 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90645         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90646         useless if() expression.
90647         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90648         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90649         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90650         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90651         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90652         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90653         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90654         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90655         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90656         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90657         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90658         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90659         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90660         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90661         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90662         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90663         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90664         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90665         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90667         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90669 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90671         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90672         condition.
90673         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90675 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90677         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90678         .text section.  Avoid duplicate constants.
90679         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90680         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90681         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90683         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90687         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90688         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90689         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90690         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90691         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90692         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90693         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90694         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90695         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90696         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90697         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90699         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90700         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90701         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90702         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90703         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90704         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90705         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90706         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90707         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90708         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90709         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90710         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90711         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90712         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90713         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90714         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90715         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90716         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90717         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90718         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90719         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90721         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90722         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90723         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90725 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90727         * sysdeps/x86_64/dla.h: Move to ...
90728         * sysdeps/x86_64/fpu/dla.h: ...here.
90729         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90730         situations.  Use __builtin_fma only for gcc 4.6 and up.
90732         * config.make.in: Add have-mfma4 entry.
90733         * configure.in: Substitute libc_cv_cc_fma4.
90734         * math/Makefile (dbl-only-routines): Add sincostab.
90735         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90736         Use __sincostab not sincos.
90737         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90738         name is a macro.
90739         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90740         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90743         using __copysign.
90744         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90745         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90746         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90747         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90748         and __inv.
90749         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90750         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90751         __copysign.
90752         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90753         define aliases when function name is a macro.
90754         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90755         sysdeps/ieee754/dbl-64/sincos.tbl.
90756         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90757         fma4-enabled routines.
90758         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90759         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90760         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90761         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90762         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90763         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90764         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90765         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90766         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90767         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90768         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90769         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90770         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90771         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90772         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90773         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90774         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90775         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90776         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90777         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90778         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90779         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90780         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90781         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90782         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90783         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90784         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90785         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90786         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90787         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90789         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90790         rename.
90791         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90792         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90793         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90794         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90797         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90798         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90800 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90802         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90804 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90808         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90809         prediction.
90810         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90812         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90813         Remove unused variable magic_bits.
90814         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90816         * string/strnlen.c: Define and use STRNLEN macro.
90817         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90818         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90819         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90820         * wcsmbs/wcslen.c: Define and use WCSLEN.
90821         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90822         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90823         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90824         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90825         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90826         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90827         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90829 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90832         strnlen-sse2-no-bsf.
90833         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90834         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90835         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90836         Add strnlen support.
90837         (USE_AS_STRNLEN): New macro.
90838         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90839         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90840         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90841         * sysdeps/x86_64/wcslen.S: New file.
90843 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90845         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90846         XMM-moves are used for copying on small sizes.
90848 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90850         * wcsmbs/Makefile (strop-tests): Add wcschr.
90851         * wcsmbs/test-wcschr.c: New file.
90852         * string/test-strchr.c: Update.
90853         Add wcschr support.
90854         (WIDE): New macro.
90856 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90858         * wcsmbs/Makefile (strop-tests): Add wcslen.
90859         * wcsmbs/test-wcslen.c: New file.
90860         * string/test-strlen.c: Update.
90861         Add wcslen support.
90862         (WIDE): New macro.
90864 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90866         * po/it.po: Update from translation team.
90868 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90870         * sysdeps/x86_64/wcscmp.S: Update.
90871         Fix wrong comparison semantics.
90872         wcscmp shall use signed comparison not unsigned.
90873         Don't use substraction to avoid overflow bug.
90874         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90875         * wcsmbc/wcscmp.c: Likewise.
90876         * string/test-strcmp.c: Likewise.
90877         Add new tests to check cases with negative values.
90879 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90881         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90882         * sysdeps/x86_64/dla.h: ...here.  New file.
90883         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90885         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90886         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90888         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90889         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90890         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90891         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90893 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90895         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90896         __ynl_finite aliases.
90898 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90902         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90903         define DLA_FMA.
90904         [DLA_FMA] (EMULV): Use DLA_FMA.
90905         [DLA_FMA] (MUL12): Use EMULV.
90906         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90907         that are not needed.
90908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90916 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90918         * math/s_nan.c: Undef __nan.
90919         * math/s_nanf.c: Undef __nanf.
90920         * math/s_nanl.c: Undef __nanl.
90921         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90922         "math_private.h".
90924 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90926         * math/s_catan.c: Add branch predictions.
90927         * math/s_catanf.c: Likewise.
90928         * math/s_catanh.c: Likewise.
90929         * math/s_catanhf.c: Likewise.
90930         * math/s_catanhl.c: Likewise.
90931         * math/s_catanl.c: Likewise.
90932         * math/s_cexp.c: Likewise.
90933         * math/s_cexpf.c: Likewise.
90934         * math/s_cexpl.c: Likewise.
90935         * math/s_clog.c: Likewise.
90936         * math/s_clog10.c: Likewise.
90937         * math/s_clog10f.c: Likewise.
90938         * math/s_clog10l.c: Likewise.
90939         * math/s_clogf.c: Likewise.
90940         * math/s_clogl.c: Likewise.
90941         * math/s_csqrt.c: Likewise.
90942         * math/s_csqrtf.c: Likewise.
90943         * math/s_csqrtl.c: Likewise.
90944         * math/s_ctanf.c: Likewise.
90945         * math/s_ctanh.c: Likewise.
90946         * math/s_ctanhf.c: Likewise.
90947         * math/s_ctanhl.c: Likewise.
90948         * math/s_ctanl.c: Likewise.
90950         * math/math_private.h: Define __nan, __nanf, __nanl.
90951         * math/s_cacosh.c: Include <math_private.h>.
90952         * math/s_cacoshl.c: Likewise.
90953         * math/s_casinh.c: Likewise.
90954         * math/s_casinhf.c: Likewise.
90955         * math/s_casinhl.c: Likewise.
90956         * math/s_ccos.c: Rely entire on ccosh.
90957         * math/s_ccosf.c: Rely entire on ccoshf.
90958         * math/s_ccosl.c: Rely entirely on ccoshl.
90959         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90960         Remove tests for FE_INVALID.
90961         * math/s_ccoshf.c: Likewise.
90962         * math/s_ccoshl.c: Likewise.
90963         * math/s_csin.c: Likewise.
90964         * math/s_csinf.c: Likewise.
90965         * math/s_csinh.c Likewise.
90966         * math/s_csinhf.c: Likewise.
90967         * math/s_csinhl.c: Likewise.
90968         * math/s_csinl.c: Likewise.
90969         * math/s_ctan.c: Likewise.
90970         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90971         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90972         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90974 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90976         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90977         compilation problems.
90979         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90980         __builtin_expect.
90982 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90984         * sysdeps/i386/configure.in: Test for -mfma4 option.
90985         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90986         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90987         COMMON_CPUID_INDEX_80000001.
90988         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90989         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90990         use it if FMA3 is not supported.
90991         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90993         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90994         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90996 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90998         [BZ #12892]
90999         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91000         it would create a cycle with a link time dependency.
91002 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
91004         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91005         instruction.
91006         * string/Makefile (strop-tests): Add rawmemchr.
91007         * string/test-rawmemchr.c: New file.
91009         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91010         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
91011         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
91012         when compiling str{,n}casecmp and when AVX is available.  Hook up
91013         new optimized code in initializers.
91015 2011-10-19  Andreas Schwab  <schwab@redhat.com>
91017         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91018         __feraiseexcept instead of feraiseexcept.
91020 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
91022         * math/math_private.h: Define defaults for libc_fetestexcept and
91023         libc_feupdateenv.
91024         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91025         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91026         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91027         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91028         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91029         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91030         libc_fetestexcept and libc_feupdateenv.
91032         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91033         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91034         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91035         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91036         libc_feholdexcept_setround.
91038         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91039         Add s_nearbyint-c and s_nearbyintf-c.
91040         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91041         nearbyintf inlines.
91042         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91043         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91044         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91045         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91047         * math/math_private.h: Define defaults for libc_fegetround,
91048         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91049         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91050         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91051         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91052         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91053         standard functions.
91054         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91055         Remove comments and hacks for old compiler versions.
91056         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91057         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91058         libc_feholdexceptl.
91060 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91062         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91063         (__feraiseexcept_renamed): Add __NTH.
91064         (feraiseexcept): Add __NTH.  Rename local variables to fix
91065         namespace violations.
91067 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91069         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91071         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91073         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91074         recently added interfaces.
91075         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91077         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91078         about macro parameter expansion.
91080         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91081         __NO_MATH_INLINES is defined.  Cleanups.
91083         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91084         and __floorf is target has SSE4.1.
91085         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91086         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91087         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91088         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91090         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91091         name.
91092         (floorf): Likewise.
91094         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91096 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91098         * misc/sys/cdefs.h: Fix last change.
91100         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91101         database lookup.
91103 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91105         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91107         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91108         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91109         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91110         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91111         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91112         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91113         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91114         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91115         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91116         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91117         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91118         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91119         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91120         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91121         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91122         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91123         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91124         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91125         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91126         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91127         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91128         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91130         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91131         ceil, ceilf, floor, floorf.
91133         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91134         Perform IRELATIVE relocations last.
91136         * elf/do-rel.h: Add another parameter nrelative, replacing the
91137         local variable with the same name.  Change name of the function
91138         to end in Rel or Rela (uppercase).
91139         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91140         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91141         elf_dynamic_do_##reloc function.
91143 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91145         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91146         is sufficient, at least on modern CPUs.
91148         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91150         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91151         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91153         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91154         __expl_finite.
91155         * math/bits/math-finite.h: Add entries for exp.
91156         * math/e_expl.c: Add __*_finite alias.
91157         * sysdeps/i386/fpu/e_exp.S: Likewise.
91158         * sysdeps/i386/fpu/e_expf.S: Likewise.
91159         * sysdeps/i386/fpu/e_expl.c: Likewise.
91160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91161         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91162         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91163         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91164         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91165         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91166         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91168         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91169         is sufficient, at least on modern CPUs.
91171         * ctype/ctype-info.c (__ctype_init): Define.
91172         * include/ctype.h (__ctype_init): Declare.
91173         (__ctype_b_loc): The variable is always initialized.
91174         (__ctype_toupper_loc): Likewise.
91175         (__ctype_tolower_loc): Likewise.
91176         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91177         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91179 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91181         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91183         * configure.in: Also look in $cxxmachine/include for C++ system
91184         headers.
91186 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91188         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91189         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91190         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91191         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91192         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91193         (USE_AS_WMEMCMP): New macro.
91194         Fixing indents.
91195         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91196         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91197         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91198         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91199         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91200         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91201         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91202         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91203         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91204         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91205         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91206         (USE_AS_WMEMCMP): New macro.
91207         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91208         * sysdeps/string/test-memcmp.c: Update.
91209         Fix simple_wmemcmp.
91210         Add new tests.
91211         * wcsmbs/wmemcmp.c: Update.
91212         (WMEMCMP): New macro.
91213         Fix overflow bug.
91215 2011-10-12  Andreas Jaeger  <aj@suse.de>
91217         [BZ #13268]
91218         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91220 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91222         * libio/iofwide.c (do_length): Avoid warning.
91224         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91226 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91228         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91230         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91231         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91232         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91233         * sysdeps/i386/i686/fpu/e_log.S: New file.
91234         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91235         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91237         * ctype/ctype.h: Add support for inlined isXXX functions when
91238         compiling C++ code.
91240 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91242         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91244         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91246 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91248         [BZ #13291]
91249         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91251 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91253         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91254         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91255         feraiseexcept.
91257         * sysdeps/x86_64/memrchr.S: Check for zero size.
91259         * string/stratcliff.c: Add memrchr tests.
91261 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91263         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91264         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91265         rawmemchr-sse2 rawmemchr-sse2-bsf.
91266         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91267         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91268         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91269         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91270         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91271         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91272         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91273         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91274         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91275         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91276         * string/memrchr.c (MEMRCHR): New macro.
91278 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91280         Add integration with gcc's -ffinite-math-only and optimize wrapper
91281         functions in libm.
91282         * Versions.def: Define GLIBC_2.15 version for libm.
91283         * math/Makefile (headers): Add bits/math-finite.h.
91284         * math/bits/math-finite.h: New file.
91285         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91286         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91287         * math/e_acoshl.c: Add __*_finite alias.
91288         * math/e_acosl.c: Likewise.
91289         * math/e_asinl.c: Likewise.
91290         * math/e_atan2l.c: Likewise.
91291         * math/e_atanhl.c: Likewise.
91292         * math/e_coshl.c: Likewise.
91293         * math/e_exp10.c: Likewise.
91294         * math/e_exp10f.c: Likewise.
91295         * math/e_exp10l.c: Likewise.
91296         * math/e_exp2l.c: Likewise.
91297         * math/e_fmodl.c: Likewise.
91298         * math/e_gammal_r.c: Likewise.
91299         * math/e_hypotl.c: Likewise.
91300         * math/e_j0l.c: Likewise.
91301         * math/e_j1l.c: Likewise.
91302         * math/e_jnl.c: Likewise.
91303         * math/e_lgammal_r.c: Likewise.
91304         * math/e_log10l.c: Likewise.
91305         * math/e_log2l.c: Likewise.
91306         * math/e_logl.c: Likewise.
91307         * math/e_powl.c: Likewise.
91308         * math/e_sinhl.c: Likewise.
91309         * math/e_sqrtl.c: Likewise.
91310         * math/e_scalb.c: Completely rewritten and optimized.
91311         * math/e_scalbf.c: Likewise.
91312         * math/e_scalbl.c: Likewise.
91313         * math/w_acos.c: Likewise.
91314         * math/w_acosf.c: Likewise.
91315         * math/w_acosl.c: Likewise.
91316         * math/w_acosh.c: Likewise.
91317         * math/w_acoshf.c: Likewise.
91318         * math/w_acoshl.c: Likewise.
91319         * math/w_asin.c: Likewise.
91320         * math/w_asinf.c: Likewise.
91321         * math/w_asinl.c: Likewise.
91322         * math/w_atan2.c: Likewise.
91323         * math/w_atan2f.c: Likewise.
91324         * math/w_atan2l.c: Likewise.
91325         * math/w_atanh.c: Likewise.
91326         * math/w_atanhf.c: Likewise.
91327         * math/w_atanhl.c: Likewise.
91328         * math/w_exp10.c: Likewise.
91329         * math/w_exp10f.c: Likewise.
91330         * math/w_exp10l.c: Likewise.
91331         * math/w_fmod.c: Likewise.
91332         * math/w_fmodf.c: Likewise.
91333         * math/w_fmodl.c: Likewise.
91334         * math/w_j0.c: Likewise.
91335         * math/w_j0f.c: Likewise.
91336         * math/w_j0l.c: Likewise.
91337         * math/w_j1.c: Likewise.
91338         * math/w_j1f.c: Likewise.
91339         * math/w_j1l.c: Likewise.
91340         * math/w_jn.c: Likewise.
91341         * math/w_jnf.c: Likewise.
91342         * math/w_log.c: Likewise.
91343         * math/w_logf.c: Likewise.
91344         * math/w_logl.c: Likewise.
91345         * math/w_log10.c: Likewise.
91346         * math/w_log10f.c: Likewise.
91347         * math/w_log10l.c: Likewise.
91348         * math/w_log2.c: Likewise.
91349         * math/w_log2f.c: Likewise.
91350         * math/w_log2l.c: Likewise.
91351         * math/w_pow.c: Likewise.
91352         * math/w_powf.c: Likewise.
91353         * math/w_powl.c: Likewise.
91354         * math/w_remainder.c: Likewise.
91355         * math/w_remainderf.c: Likewise.
91356         * math/w_remainderl.c: Likewise.
91357         * math/w_scalb.c: Likewise.
91358         * math/w_scalbf.c: Likewise.
91359         * math/w_scalbl.c: Likewise.
91360         * math/w_sqrt.c: Likewise.
91361         * math/w_sqrtf.c: Likewise.
91362         * math/w_sqrtl.c: Likewise.
91363         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91364         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91365         used.
91366         * math/math_private.h: Declare __kernel_standard_f.
91367         * math/w_cosh.c: Remove cruft and optimize a bit.
91368         * math/w_coshf.c: Likewise.
91369         * math/w_coshl.c: Likewise.
91370         * math/w_exp2.c: Likewise.
91371         * math/w_exp2f.c: Likewise.
91372         * math/w_exp2l.c: Likewise.
91373         * math/w_hypot.c: Likewise.
91374         * math/w_hypotf.c: Likewise.
91375         * math/w_hypotl.c: Likewise.
91376         * math/w_lgamma.c: Likewise.
91377         * math/w_lgamma_r.c: Likewise.
91378         * math/w_lgammaf.c: Likewise.
91379         * math/w_lgammaf_r.c: Likewise.
91380         * math/w_lgammal.c: Likewise.
91381         * math/w_lgammal_r.c: Likewise.
91382         * math/w_sinh.c: Likewise.
91383         * math/w_sinhf.c: Likewise.
91384         * math/w_sinhl.c: Likewise.
91385         * math/w_tgamma.c: Likewise.
91386         * math/w_tgammaf.c: Likewise.
91387         * math/w_tgammal.c: Likewise.
91388         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91389         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91390         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91391         Minor optimizations.  Pretty printing.  Remove cruft.
91392         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91393         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91394         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91395         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91396         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91397         * sysdeps/i386/fpu/e_asin.S: Likewise.
91398         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91399         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91400         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91401         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91402         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91403         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91404         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91405         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91406         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91407         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91408         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91409         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91410         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91411         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91412         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91413         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91414         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91415         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91416         * sysdeps/i386/fpu/e_log.S: Likewise.
91417         * sysdeps/i386/fpu/e_log10.S: Likewise.
91418         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91419         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91420         * sysdeps/i386/fpu/e_log2.S: Likewise.
91421         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91422         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91423         * sysdeps/i386/fpu/e_logf.S: Likewise.
91424         * sysdeps/i386/fpu/e_logl.S: Likewise.
91425         * sysdeps/i386/fpu/e_pow.S: Likewise.
91426         * sysdeps/i386/fpu/e_powf.S: Likewise.
91427         * sysdeps/i386/fpu/e_powl.S: Likewise.
91428         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91429         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91430         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91431         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91432         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91433         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91434         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91435         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91436         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91437         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91438         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91439         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91440         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91441         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91442         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91443         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91444         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91445         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91446         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91447         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91448         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91453         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91454         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91455         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91456         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91457         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91458         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91459         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91460         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91461         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91462         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91463         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91464         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91465         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91466         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91467         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91468         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91469         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91470         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91471         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91472         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91473         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91474         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91475         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91476         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91477         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91478         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91479         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91480         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91481         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91482         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91483         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91484         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91485         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91486         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91487         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91488         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91489         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91490         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91491         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91492         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91493         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91494         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91495         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91496         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91497         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91498         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91499         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91500         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91501         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91502         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91503         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91504         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91505         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91507         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91508         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91509         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91511         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91513         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91514         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91515         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91516         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91517         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91518         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91519         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91520         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91521         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91522         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91523         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91524         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91525         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91526         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91527         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91528         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91529         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91530         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91531         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91532         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91533         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91534         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91535         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91536         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91537         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91538         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91539         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91540         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91541         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91542         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91543         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91544         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91545         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91546         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91547         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91548         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91549         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91550         (__isnanf): Likewise.
91551         (__isinf_ns): Likewise.
91552         (__isinf_nsf): Likewise.
91553         (__finite): Likewise.
91554         (__finitef): Likewise.
91555         (__ieee754_sqrt): Define as macro.
91556         (__ieee754_sqrtf): Define as macro.
91557         (__ieee754_sqrtl): Define as macro.
91558         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91559         inlined copy.
91560         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91561         __FINITE_MATH_ONLY__ consistent.
91562         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91564 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91566         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91567         of rawmemchr.
91569         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91571 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91573         * po/ja.po: Update from translation team.
91575 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91577         * locale/programs/locarchive.c (prepare_address_space): New function.
91578         (create_archive, enlarge_archive, open_archive): Use it.
91580         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91581         inside [SHARED], where it is used.
91583         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91585         * nss/getent.c (netgroup_keys): Remove unused variable.
91586         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91588 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91590         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91591         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91593         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91594         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91595         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91596         * math/Makefile (libm-calls): Add s_isinf_ns.
91597         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91598         * math/multc3.c: Likewise.
91599         * math/s_casin.c: Likewise.
91600         * math/s_casinf.c: Likewise.
91601         * math/s_casinl.c: Likewise.
91602         * math/s_ccos.c: Likewise.
91603         * math/s_ccosf.c: Likewise.
91604         * math/s_ccosl.c: Likewise.
91605         * math/s_ctan.c: Likewise.
91606         * math/s_ctanf.c: Likewise.
91607         * math/s_ctanh.c: Likewise.
91608         * math/s_ctanhf.c: Likewise.
91609         * math/s_ctanhl.c: Likewise.
91610         * math/s_ctanl.c: Likewise.
91611         * math/w_fmod.c: Likewise.
91612         * math/w_fmodf.c: Likewise.
91613         * math/w_fmodl.c: Likewise.
91614         * math/w_remainder.c: Likewise.
91615         * math/w_remainderf.c: Likewise.
91616         * math/w_remainderl.c: Likewise.
91617         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91618         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91619         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91621         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91622         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91623         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91624         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91626         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91627         of the number.
91628         * stdio-common/printf_fphex.c: Likewise.
91629         * stdio-common/printf_size.c: Likewise.
91631         * math/e_exp10.c: Include math_private.h using <...> not "...".
91632         * math/e_exp10f.c: Likewise.
91633         * math/e_exp10l.c: Likewise.
91634         * math/e_exp2l.c: Likewise.
91635         * math/e_j0l.c: Likewise.
91636         * math/e_j1l.c: Likewise.
91637         * math/e_jnl.c: Likewise.
91638         * math/e_lgammal_r.c: Likewise.
91639         * math/e_rem_pio2l.c: Likewise.
91640         * math/e_scalb.c: Likewise.
91641         * math/e_scalbf.c: Likewise.
91642         * math/e_scalbl.c: Likewise.
91643         * math/k_cosl.c: Likewise.
91644         * math/k_sinl.c: Likewise.
91645         * math/k_tanl.c: Likewise.
91646         * math/s_cacoshf.c: Likewise.
91647         * math/s_catan.c: Likewise.
91648         * math/s_catanf.c: Likewise.
91649         * math/s_catanh.c: Likewise.
91650         * math/s_catanhf.c: Likewise.
91651         * math/s_catanhl.c: Likewise.
91652         * math/s_catanl.c: Likewise.
91653         * math/s_ccosh.c: Likewise.
91654         * math/s_ccoshf.c: Likewise.
91655         * math/s_ccoshl.c: Likewise.
91656         * math/s_cexp.c: Likewise.
91657         * math/s_cexpf.c: Likewise.
91658         * math/s_cexpl.c: Likewise.
91659         * math/s_clog.c: Likewise.
91660         * math/s_clog10.c: Likewise.
91661         * math/s_clog10f.c: Likewise.
91662         * math/s_clog10l.c: Likewise.
91663         * math/s_clogf.c: Likewise.
91664         * math/s_clogl.c: Likewise.
91665         * math/s_csin.c: Likewise.
91666         * math/s_csinf.c: Likewise.
91667         * math/s_csinh.c: Likewise.
91668         * math/s_csinhf.c: Likewise.
91669         * math/s_csinhl.c: Likewise.
91670         * math/s_csinl.c: Likewise.
91671         * math/s_csqrt.c: Likewise.
91672         * math/s_csqrtf.c: Likewise.
91673         * math/s_csqrtl.c: Likewise.
91674         * math/s_ctan.c: Likewise.
91675         * math/s_ctanf.c: Likewise.
91676         * math/s_ctanh.c: Likewise.
91677         * math/s_ctanhf.c: Likewise.
91678         * math/s_ctanhl.c: Likewise.
91679         * math/s_ctanl.c: Likewise.
91680         * math/s_ldexp.c: Likewise.
91681         * math/s_ldexpf.c: Likewise.
91682         * math/s_ldexpl.c: Likewise.
91683         * math/s_significand.c: Likewise.
91684         * math/s_significandf.c: Likewise.
91685         * math/s_significandl.c: Likewise.
91686         * math/w_acos.c: Likewise.
91687         * math/w_acosf.c: Likewise.
91688         * math/w_acosh.c: Likewise.
91689         * math/w_acoshf.c: Likewise.
91690         * math/w_acoshl.c: Likewise.
91691         * math/w_acosl.c: Likewise.
91692         * math/w_asin.c: Likewise.
91693         * math/w_asinf.c: Likewise.
91694         * math/w_asinl.c: Likewise.
91695         * math/w_atan2.c: Likewise.
91696         * math/w_atan2f.c: Likewise.
91697         * math/w_atan2l.c: Likewise.
91698         * math/w_atanh.c: Likewise.
91699         * math/w_atanhf.c: Likewise.
91700         * math/w_atanhl.c: Likewise.
91701         * math/w_cosh.c: Likewise.
91702         * math/w_coshf.c: Likewise.
91703         * math/w_coshl.c: Likewise.
91704         * math/w_dremf.c: Likewise.
91705         * math/w_exp10.c: Likewise.
91706         * math/w_exp10f.c: Likewise.
91707         * math/w_exp10l.c: Likewise.
91708         * math/w_exp2.c: Likewise.
91709         * math/w_exp2f.c: Likewise.
91710         * math/w_fmod.c: Likewise.
91711         * math/w_fmodf.c: Likewise.
91712         * math/w_fmodl.c: Likewise.
91713         * math/w_hypot.c: Likewise.
91714         * math/w_hypotf.c: Likewise.
91715         * math/w_hypotl.c: Likewise.
91716         * math/w_j0.c: Likewise.
91717         * math/w_j0f.c: Likewise.
91718         * math/w_j0l.c: Likewise.
91719         * math/w_j1.c: Likewise.
91720         * math/w_j1f.c: Likewise.
91721         * math/w_j1l.c: Likewise.
91722         * math/w_jn.c: Likewise.
91723         * math/w_jnf.c: Likewise.
91724         * math/w_jnl.c: Likewise.
91725         * math/w_lgamma.c: Likewise.
91726         * math/w_lgamma_r.c: Likewise.
91727         * math/w_lgammaf.c: Likewise.
91728         * math/w_lgammaf_r.c: Likewise.
91729         * math/w_lgammal.c: Likewise.
91730         * math/w_lgammal_r.c: Likewise.
91731         * math/w_log.c: Likewise.
91732         * math/w_log10.c: Likewise.
91733         * math/w_log10f.c: Likewise.
91734         * math/w_log10l.c: Likewise.
91735         * math/w_log2.c: Likewise.
91736         * math/w_log2f.c: Likewise.
91737         * math/w_log2l.c: Likewise.
91738         * math/w_logf.c: Likewise.
91739         * math/w_logl.c: Likewise.
91740         * math/w_pow.c: Likewise.
91741         * math/w_powf.c: Likewise.
91742         * math/w_powl.c: Likewise.
91743         * math/w_remainder.c: Likewise.
91744         * math/w_remainderf.c: Likewise.
91745         * math/w_remainderl.c: Likewise.
91746         * math/w_scalb.c: Likewise.
91747         * math/w_scalbf.c: Likewise.
91748         * math/w_scalbl.c: Likewise.
91749         * math/w_sinh.c: Likewise.
91750         * math/w_sinhf.c: Likewise.
91751         * math/w_sinhl.c: Likewise.
91752         * math/w_sqrt.c: Likewise.
91753         * math/w_sqrtf.c: Likewise.
91754         * math/w_sqrtl.c: Likewise.
91755         * math/w_tgamma.c: Likewise.
91756         * math/w_tgammaf.c: Likewise.
91757         * math/w_tgammal.c: Likewise.
91759         * po/ja.po: Update from translation team.
91761 2011-09-29  Andreas Jaeger  <aj@suse.de>
91763         [BZ #13179]
91764         * sunrpc/netname.c (netname2host): Fix logic.
91766         [BZ #6779]
91767         [BZ #6783]
91768         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91769         correctly.
91770         * math/w_remainder.c (__remainder): Likewise.
91771         * math/w_remainderf.c (__remainderf): Likewise.
91772         * math/libm-test.inc (remainder_test): Add test cases.
91774 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91776         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91777         sdiv_qrnnd.
91779 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91781         * string/test-memcmp.c: Avoid unncessary #defines.
91782         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91784 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91786         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91787         Use new sse2 version for core i3 - i7 as it's faster
91788         than sse42 version.
91789         (bit_Prefer_PMINUB_for_stringop): New.
91790         * sysdeps/x86_64/rawmemchr.S: Update.
91791         Replace with faster SSE2 version.
91792         * sysdeps/x86_64/memrchr.S: New file.
91793         * sysdeps/x86_64/memchr.S: Update.
91794         Replace with faster SSE2 version.
91796 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91798         * elf/dl-load.c (lose): Add cast to avoid warning.
91800 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91802         * po/ca.po: Update from translation team.
91804         * inet/getnetgrent_r.c: Hook up nscd.
91805         * nscd/Makefile (routines): Add nscd_netgroup.
91806         (nscd-modules): Add netgroupcache.
91807         (CFLAGS-netgroupcache.c): Define.
91808         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91809         (cache_search): Add const to second parameter.
91810         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91811         INNETGR.
91812         (dbs): Add netgrdb entry.
91813         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91814         (verify_persistent_db): Handle netgrdb.
91815         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91816         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91817         GETFDNETGR.
91818         (netgroup_response_header): Define.
91819         (innetgroup_response_header): Define.
91820         (datahead): Add netgroup_response_header and innetgroup_response_header
91821         elements.
91822         * nscd/nscd.conf: Add entries for netgroup cache.
91823         * nscd/nscd.h (dbtype): Add netgrdb.
91824         (_PATH_NSCD_NETGROUP_DB): Define.
91825         (netgroup_iov_disabled): Declare.
91826         (xmalloc, xcalloc, xrealloc): Move declarations here.
91827         (cache_search): Adjust prototype.
91828         Add netgroup-related prototypes.
91829         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91830         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91831         (__nscd_innetgr): Declare.
91832         * nscd/selinux.c (perms): Use access_vector_t as element type and
91833         add netgroup-related initializers.
91834         * nscd/netgroupcache.c: New file.
91835         * nscd/nscd_netgroup.c: New file.
91836         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91837         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91838         For four parameters use innetgr.
91839         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91840         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91841         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91842         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91844         * nscd/connections.c (register_traced_file): Don't register file
91845         for disabled databases.
91847 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91849         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91851         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91852         from tree and freeing node.
91854 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91856         * nss/nsswitch.c (__nss_database_lookup): Handle
91857         nss_parse_service_list out of memory case.
91859 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91861         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91862         out of memory case.
91864 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91866         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91867         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91868         pass it down.
91869         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91870         elf_machine_rela, elf_machine_lazy_rel.
91871         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91872         (ELF_DYNAMIC_DO_REL): Likewise.
91873         (ELF_DYNAMIC_DO_RELA): Likewise.
91874         (ELF_DYNAMIC_RELOCATE): Likewise.
91875         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91876         to ELF_DYNAMIC_DO_REL.
91877         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91878         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91879         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91880         elf_machine_rela.
91881         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91882         skip_ifunc, don't call ifunc function if non-zero.
91883         (elf_machine_rela): Likewise.
91884         (elf_machine_lazy_rel): Likewise.
91885         (elf_machine_lazy_rela): Likewise.
91886         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91887         (elf_machine_lazy_rel): Likewise.
91888         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91889         Likewise.
91890         (elf_machine_lazy_rel): Likewise.
91891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91892         Likewise.
91893         (elf_machine_lazy_rel): Likewise.
91894         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91895         (elf_machine_lazy_rel): Likewise.
91896         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91897         (elf_machine_lazy_rel): Likewise.
91898         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91899         (elf_machine_lazy_rel): Likewise.
91900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91901         (elf_machine_lazy_rel): Likewise.
91902         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91903         (elf_machine_lazy_rel): Likewise.
91904         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91905         (elf_machine_lazy_rel): Likewise.
91907 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91909         * nss/nss_files/files-init.c (_nss_files_init): Use static
91910         initialization for all the *_traced_file variables.
91912 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91914         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91916 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91918         [BZ #13226]
91919         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91921 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91923         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91924         Reread the line before reparsing it.
91926 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91928         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91930 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91931             Maxim Kuvyrkov  <maxim@codesourcery.com>
91932             Joseph Myers  <joseph@codesourcery.com>
91934         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91935         if needed for __stack_chk_guard.
91937 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91939         * sysdeps/posix/spawni.c (script_execute): Always define it.
91940         It will be optimized away if unused.
91941         (maybe_script_execute): New function.
91942         (__spawni): Call it.
91944         * Makerules: Don't include tls.make.
91945         (config-tls): Always set to thread.
91946         * tls.make.c: File removed.
91948 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91950         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91951         * config.make.in (CPPFLAGS-config): New substituted variable.
91953 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91955         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91957         [BZ #13192]
91958         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91959         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91961 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91963         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91964         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91965         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91966         (CALL_FAIL): Likewise.
91967         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91968         (CALL_FAIL): Macro removed.
91969         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91971 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91973         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91974         for __FINITE_MATH_ONLY__ == 1.
91976 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91978         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91979         __ieee754_sqrt instead of sqrt.
91980         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91981         __ieee754_sqrtf instead of sqrtf.
91982         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91983         __floorf instead of floorf.
91984         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91985         __floorf, __truncf instead of floorf, truncf.
91987 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91989         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91991         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91992         __extern_always_inline.
91993         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91994         32-bit.
91996 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91998         * elf/rtld.c (dl_main): Also relocate in dependency order when
91999         doing symbol dependency testing.
92001 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
92003         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92004         Always define `refsym'.
92006 2011-09-13  Andreas Schwab  <schwab@redhat.com>
92008         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92009         (__FD_ELT): Renamed from __FDELT.
92010         * misc/bits/select2.h (__FD_ELT): Likewise.
92011         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92012         __FD_MASK instead of __FDELT, __FDMASK.
92013         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92014         Likewise.
92015         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92016         Likewise.
92018         * elf/Makefile (gen-ldd): Fix pattern.
92020         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92021         (init_tls): Likewise.
92023 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
92025         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92027 2011-09-12  Andreas Schwab  <schwab@redhat.com>
92029         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92030         `struct cmsghdr *' instead of `void *'.
92031         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92032         Likewise.
92034 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92036         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92037         if non-absolute.
92038         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92039         ldd_rewrite_script.
92041 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92043         * configure.in: Remove --with-tls option.
92044         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92045         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92046         out in case it is missing.
92047         * sysdeps/ia64/elf/configure.in: Likewise.
92048         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92049         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92050         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92051         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92052         * sysdeps/sh/elf/configure.in: Likewise.
92053         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92054         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92055         * sysdeps/x86_64/elf/configure.in: Likewise.
92056         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92057         * sysdeps/mach/hurd/tls.h: Likewise.
92059         [BZ #13067]
92060         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92062         [BZ #13090]
92063         * configure.in: Fix use of AC_INIT.
92065         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92067 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92069         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92070         __set_errno.
92071         * malloc/hooks.c: Likewise.
92073         [BZ #11929]
92074         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92075         variables statically.
92076         (narenas): Initialize.
92077         (list_lock): Initialize.
92078         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92079         initializtion of main_arena and list_lock.  Small cleanups.
92080         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92081         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92082         Add initializers to main_arena and mp_.
92083         (malloc_state): Remove pagesize member.  Change all users to use
92084         GLRO(dl_pagesize).
92086         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92087         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92088         is always initialized.
92090         * malloc/malloc.c: Removed unused configurations and dead code.
92091         * malloc/arena.c: Likewise.
92092         * malloc/hooks.c: Likewise.
92093         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92095         * include/tls.h: Removed.  USE___THREAD must always be defined.
92096         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92097         * elf/dl-libc.c: Likewise.
92098         * elf/dl-tsd.c: Likewise.
92099         * include/errno.h: Likewise.
92100         * include/netdb.h: Likewise.
92101         * include/resolv.h: Likewise.
92102         * inet/herrno-loc.c: Likewise.
92103         * inet/herrno.c: Likewise.
92104         * malloc/arena.c: Likewise.
92105         * malloc/hooks.c: Likewise.
92106         * malloc/malloc.c: Likewise.
92107         * resolv/res-state.c: Likewise.
92108         * resolv/res_libc.c: Likewise.
92109         * sysdeps/i386/dl-machine.h: Likewise.
92110         * sysdeps/ia64/dl-machine.h: Likewise.
92111         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92112         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92113         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92114         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92115         * sysdeps/sh/dl-machine.h: Likewise.
92116         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92117         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92118         * sysdeps/unix/i386/sysdep.S: Likewise.
92119         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92120         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92121         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92123         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92125         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92126         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92128         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92130         * sysdeps/x86_64/dl-machine.h: Likewise.
92131         * tls.make.c: Likewise.
92133         * configure.in: Remove --with-__thread option.  Make tests for
92134         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92135         tls_model attribute fail if no support is available.  Remove
92136         USE_IN_LIBIO.
92137         * Makeconfig: Adjust for dropped configure option.  All features are
92138         now mandatory.
92139         * Makerules: Likewise.
92140         * Versions.def: Likewise.
92141         * argp/argp-fmtstream.c: Likewise.
92142         * argp/argp-fmtstream.h: Likewise.
92143         * argp/argp-help.c: Likewise.
92144         * assert/assert.c: Likewise.
92145         * config.h.in: Likewise.
92146         * config.make.in: Likewise.
92147         * configure: Likewise.
92148         * configure.in: Likewise.
92149         * csu/Versions: Likewise.
92150         * csu/init.c: Likewise.
92151         * elf/tst-audit2.c: Likewise.
92152         * elf/tst-tls10.c: Likewise.
92153         * elf/tst-tls10.h: Likewise.
92154         * elf/tst-tls11.c: Likewise.
92155         * elf/tst-tls12.c: Likewise.
92156         * elf/tst-tls14.c: Likewise.
92157         * elf/tst-tlsmod11.c: Likewise.
92158         * elf/tst-tlsmod12.c: Likewise.
92159         * elf/tst-tlsmod13.c: Likewise.
92160         * elf/tst-tlsmod13a.c: Likewise.
92161         * elf/tst-tlsmod14a.c: Likewise.
92162         * elf/tst-tlsmod15b.c: Likewise.
92163         * elf/tst-tlsmod16a.c: Likewise.
92164         * elf/tst-tlsmod16b.c: Likewise.
92165         * elf/tst-tlsmod7.c: Likewise.
92166         * elf/tst-tlsmod8.c: Likewise.
92167         * elf/tst-tlsmod9.c: Likewise.
92168         * gmon/gmon.c: Likewise.
92169         * grp/fgetgrent_r.c: Likewise.
92170         * grp/putgrent.c: Likewise.
92171         * hurd/fopenport.c: Likewise.
92172         * include/libc-symbols.h: Likewise.
92173         * include/tls.h: Likewise.
92174         * intl/gettextP.h: Likewise.
92175         * intl/loadinfo.h: Likewise.
92176         * locale/global-locale.c: Likewise.
92177         * locale/localeinfo.h: Likewise.
92178         * mach/devstream.c: Likewise.
92179         * malloc/arena.c: Likewise.
92180         * malloc/set-freeres.c: Likewise.
92181         * misc/err.c: Likewise.
92182         * misc/getttyent.c: Likewise.
92183         * misc/mntent_r.c: Likewise.
92184         * posix/getopt.c: Likewise.
92185         * posix/wordexp.c: Likewise.
92186         * pwd/fgetpwent_r.c: Likewise.
92187         * resolv/Versions: Likewise.
92188         * resolv/res_hconf.c: Likewise.
92189         * shadow/fgetspent_r.c: Likewise.
92190         * shadow/putspent.c: Likewise.
92191         * stdio-common/printf_fphex.c: Likewise.
92192         * stdio-common/tmpfile.c: Likewise.
92193         * stdlib/abort.c: Likewise.
92194         * stdlib/fmtmsg.c: Likewise.
92195         * sunrpc/auth_unix.c: Likewise.
92196         * sunrpc/clnt_perr.c: Likewise.
92197         * sunrpc/clnt_tcp.c: Likewise.
92198         * sunrpc/clnt_udp.c: Likewise.
92199         * sunrpc/clnt_unix.c: Likewise.
92200         * sunrpc/openchild.c: Likewise.
92201         * sunrpc/svc_simple.c: Likewise.
92202         * sunrpc/svc_tcp.c: Likewise.
92203         * sunrpc/svc_udp.c: Likewise.
92204         * sunrpc/svc_unix.c: Likewise.
92205         * sunrpc/xdr.c: Likewise.
92206         * sunrpc/xdr_array.c: Likewise.
92207         * sunrpc/xdr_rec.c: Likewise.
92208         * sunrpc/xdr_ref.c: Likewise.
92209         * sunrpc/xdr_stdio.c: Likewise.
92211 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92213         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92215 2011-07-03  Andreas Jaeger  <aj@suse.de>
92217         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92218         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92219         regenerate with gen-libm-tests.pl.
92221 2010-05-12  Petr Baudis  <pasky@suse.cz>
92223         [BZ #11589]
92224         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92225         around j0() zero points by switching to j1().
92226         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92227         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92228         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92229         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92231 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92233         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92234         instead of 0.
92235         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92236         instead of 0.
92237         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92238         Patch in part by Pavel Roskin <proski@gnu.org>.
92240         [BZ #13138]
92241         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92242         realloc.
92243         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92244         Free memory block if necessary.
92246         [BZ #12847]
92247         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92248         be NULL.  Don't lock in this case.
92250 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92252         * elf/elf.h (ELFOSABI_GNU): New macro.
92253         (ELFOSABI_LINUX): Define to that.
92255 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92257         * string/strncat.c (strncat): Undef the symbol in case it has been
92258         defined in bits/string.h.
92260 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92262         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92264         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92265         link map.
92267 2011-08-17  Andreas Jaeger  <aj@suse.de>
92269         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92271 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92272             Ian Lance Taylor  <iant@google.com>
92274         * math/libm-test.inc (lround_test): New testcase.
92275         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92277 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92279         * Makefile: Remove support for automatic cvs check-ins.
92280         * Makerules: Likewise.
92281         * config.make.in: Likewise.
92282         * configure.in: Likewise.
92283         * intl/Makefile: Likewise.
92284         * locale/Makefile: Likewise.
92285         * po/Makefile: Likewise.
92286         * posix/Makefile: Likewise.
92287         * sysdeps/gnu/Makefile: Likewise.
92288         * sysdeps/mach/hurd/Makefile: Likewise.
92289         * sysdeps/sparc/sparc32/Makefile: Likewise.
92291         [BZ #13118]
92292         * posix/Makefile (bug-regex32-ENV): Define.
92293         Patch by John Stanley <jpsinthemix@verizon.net>.
92295         * misc/Makefile (headers): Add bits/select2.h.
92296         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92297         * misc/bits/select2.h: New file.
92298         * include/bits/select2.h: New file.
92299         * debug/Makefile (routines): Add fdelt_chk.
92300         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92301         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92302         FD_ISSET.
92303         * debug/fdelt_chk.c: New file.
92305         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92306         * wcsmbs/test-wmemcmp.c: Likewise.
92307         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92308         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92310 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92312         * string/Makefile (strop-tests): Add memcmp.
92313         * string/test-wmemcmp.c: New file.
92314         * string/test-memcmp.c: Add wmemcmp support.
92316 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92318         [BZ #13153]
92319         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92320         2011-07-19 change.
92322         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92323         garbage value in a __mach_port_mod_refs call in the cases of the
92324         task-self and thread-self ports.
92326 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92328         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92330 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92332         * elf/dl-load.c (lose): Check for non-null L.
92334 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92336         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92338         * elf/dl-libc.c (dlerror_run): Pass back error code from
92339         dl_catch_error.
92341         [BZ #13123]
92342         * elf/dl-load.c (lose): Free l_origin if it is valid.
92344         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92345         names.
92346         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92347         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92348         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92349         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92350         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92351         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92353 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92355         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92356         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92357         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92358         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92359         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92360         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92361         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92362         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92363         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92364         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92366 2011-08-15  Alan Modra  <amodra@gmail.com>
92368         [BZ #13092]
92369         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92370         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92371         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92372         ppc_mcount to static-only-routines.
92373         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92374         __mcount_internal.
92375         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92376         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92378 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92380         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92381         for finite and infinity parameters.
92383 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92386         and add nop instructions for throughput optimization.
92387         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92389 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92391         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92392         aligned copy for power7 with vector-scalar instructions.
92393         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92395 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92398         AVX check.
92400 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92402         [BZ #13144]
92403         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92404         last change.
92406 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92408         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92409         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92410         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92411         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92412         clock_gettime.
92414 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92416         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92417         Forgot to demangle the pointer.
92419         * sysdeps/i386/sysdep.h: Define atom_text_section.
92420         * sysdeps/x86_64/sysdep.h: Likewise.
92421         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92422         section with atom_text_section.
92423         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92424         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92425         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92426         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92427         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92429         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92430         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92431         already be defined.  Change to take two parameters and don't assign
92432         result to variable.  Adjust all users.
92433         Define INTERNAL_GETTIME if not already defined.
92434         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92435         call.
92436         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92437         HAVE_CLOCK_GETTIME_VSYSCALL.
92438         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92441         gettimeofday vsyscall, just use time.
92443 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92445         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92446         <errno.h>.
92448 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92450         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92451         syscall on x86-64.
92452         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92453         syscall.
92454         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92456         syscall if possible.
92458 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92460         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92461         e_ident.  Don't pass to find_mapsXX.
92462         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92464 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92466         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92467         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92468         * sysdeps/x86_64/multiarch/strchr.S: Update.
92469         Check bit_slow_BSF bit.
92470         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92471         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92472         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92474 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92476         [BZ #13134]
92477         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92478         before glibc 2.15.
92479         (tryshell): Define.
92480         (__spawni): Change last parameter to be flag.  Test
92481         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92482         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92483         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92484         * posix/spawni.c: Likewise.
92485         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92486         * posix/spawnp.c: Likewise.  Change normal version to use
92487         SPAWN_XFLAGS_USE_PATH.
92488         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92489         SPAWN_XFLAGS_TRY_SHELL.
92491         [BZ #13150]
92492         * posix/glob.h: Remove gcc 1.x support.
92494         [BZ #13068]
92495         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92497 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92499         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92500         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92501         strrchr-sse2-bsf
92502         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92503         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92504         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92505         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92506         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92507         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92509 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92511         * sysdeps/x86_64/wcscmp.S: New file.
92513         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92514         wcscmp-c wcscmp-sse2
92515         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92516         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92517         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92518         * wcsmbs/wcscmp.c: Allow renaming.
92520 2011-09-05  David S. Miller  <davem@davemloft.net>
92522         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92523         stack slot, rather than the struct return pointer slot.
92524         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92525         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92527         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92529 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92531         * po/ja.po: Update from translation team.
92533         [BZ #13144]
92534         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92535         kernel in 64-bit binaries.
92537 2011-09-01  David S. Miller  <davem@davemloft.net>
92539         * elf/elf.h (HWCAP_SPARC_*): Move to..
92540         * sysdeps/sparc/sysdep.h: this new file and add new values.
92541         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92542         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92543         _DL_HWCAP_COUNT to 24.
92544         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92545         entries.
92546         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92547         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92548         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92549         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92550         instead of magic constants.
92551         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92553 2011-08-31  David S. Miller  <davem@davemloft.net>
92555         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92556         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92557         Reimplement to do errno handling inline.
92558         (SYSCALL_ERROR_HANDLER): New macro.
92559         (__SYSCALL_STRING): Do not do errno handling in asm.
92560         (__CLONE_SYSCALL_STRING): Delete.
92561         (__INTERNAL_SYSCALL_STRING): Delete.
92562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92563         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92564         (PSEUDO): Reimplement to do errno handling inline.
92565         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92566         (SYSCALL_ERROR_HANDLER): New macro.
92567         (__SYSCALL_STRING): Do not do errno handling in asm.
92568         (__CLONE_SYSCALL_STRING): Delete.
92569         (__INTERNAL_SYSCALL_STRING): Delete.
92570         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92571         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92572         i386.
92573         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92574         (inline_syscall*): Add 'err' argument.
92575         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92576         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92577         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92578         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92580         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92581         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92583 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92585         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92587 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92589         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92590         directive.
92592 2011-08-24  David S. Miller  <davem@davemloft.net>
92594         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92596 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92598         * elf/Makefile: Add rules to build and run unload8 test.
92599         * elf/unload8.c: New file.
92600         * elf/unload8mod1.c: New file.
92601         * elf/unload8mod1x.c: New file.
92602         * elf/unload8mod2.c: New file.
92603         * elf/unload8mod3.c: New file.
92605         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92606         it wasn't used.
92608 2011-08-23  David S. Miller  <davem@davemloft.net>
92610         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92611         subtract stack bias.
92612         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92613         %sp not %fp in calculations.
92614         (_JMPBUF_UNWINDS_ADJ): Likewise.
92616         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92617         (aio_suspend): Call it to force an exception region around the
92618         AIO_MISC_WAIT() invocation.
92620 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92622         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92623         backslash.
92625 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92627         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92628         protection macro.
92629         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92630         and <dl-machine.h>.
92631         (Elf64_FuncDesc): Remove.
92633 2011-08-22  David S. Miller  <davem@davemloft.net>
92635         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92636         sigaltstack check, add missing cfi directives.
92637         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92638         missing cfi directives, and sigaltstack handling.
92640 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92642         [BZ #11724]
92643         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92644         object is seen twice.
92645         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92647         * elf/Makefile (distribute): Add tst-initorder2.c.
92648         (tests): Add tst-initorder2.
92649         (modules-names): Add tst-initorder2a tst-initorder2b
92650         tst-initorder2c tst-initorder2d.  Add rules to build them.
92651         ($(objpfx)tst-initorder2.out): New rule.
92652         * elf/tst-initorder2.c: New file.
92653         * elf/tst-initorder2.exp: New file.
92655 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92657         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92659         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92660         dependencies back to end of function.
92662         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92663         $(elfobjdir)/ld.so.
92665 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92667         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92668         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92669         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92670         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92671         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92672         of __vdso_gettimeofday.
92673         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92674         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92675         attribute_hidden.
92676         (_libc_vdso_platform_setup): Remove initialization of
92677         __vdso_gettimeofday and __vdso_time.
92679 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92681         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92682         and fgetc_unlocked.
92683         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92684         getc_unlocked.
92686         * elf/dl-open.c (add_to_global): Report additions to the global scope
92687         for LD_DEBUG=scopes.
92688         (dl_open_worker): Also print scope of newly loaded dependencies.
92689         (_dl_show_scope): Indicate if there is no scope.
92691         [BZ #13114]
92692         * stdio-common/Makefile (tests): Add bug24.
92693         * stdio-common/bug24.c: New file.
92695 2011-08-19  Andreas Jaeger  <aj@suse.de>
92697         [BZ #13114]
92698         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92699         non-existant file when using close-on-exec mode.
92701 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92703         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92704         the very first instruction.
92706         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92707         the CFI state in the end.
92708         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92709         inclusion of dl-trampoline.h.
92710         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92712 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92714         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92715         expectations for long double.
92717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92718         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92720 2011-08-14  David S. Miller  <davem@davemloft.net>
92722         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92723         artificual limit depends upon the system page size.
92725 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92727         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92728         * resolv/Makefile: Define CFLAGS-libresolv.
92730 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92732         * nss/makedb.c (compute_tables): Make variables used in nested
92733         function static.
92735 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92737         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92738         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92739         if buffer was too small.
92741         * elf/pldd.c (main): Attach to all threads in the process.
92742         Rewrite /proc handling to use *at functions.
92744 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92746         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92747         specifies first scope to show.
92748         (dl_open_worker): Update callers.  Move printing scope of new
92749         object to before the relocation.
92750         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92751         * sysdeps/generic/ldsodefs.h: Update declaration.
92753         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92754         string for the scope number.
92756 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92758         * nscd/servicescache.c (cache_addserv): Make sure written is always
92759         initialized.
92761 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92763         * sysdeps/i386/i486/bits/atomic.h
92764         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92765         statement expression, so as to suppress "set but not used" warning.
92766         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92768         * string/strncat.c (STRNCAT): Use prototype definition.
92770         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92771         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92772         -Iprograms here.
92773         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92774         (localedef-modules): Add localedef.
92775         (locale-modules): Add locale.
92777         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92778         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92779         to avoid a warning.
92781 2011-08-14  David S. Miller  <davem@davemloft.net>
92783         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92784         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92786 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92788         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92789         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92790         * elf/rtld.c (dl_main): Set l_name of vDSO.
92791         Call _dl_show_scope when DL_DEBUG_SCOPES.
92792         (process_dl_debug): Recognize scopes flag and also set it for all.
92793         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92794         Declare _dl_show_scope.
92796         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92797         (do_dlopen): Pass caller_dlopen to dl_open.
92798         (__libc_dlopen_mode): Initialize caller_dlopen.
92800         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92801         of libc.  Make tolower call locale-independent.  Optimize a bit by
92802         using isdigit instead of isalnum.
92803         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92805 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92807         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92808         was a dependency or dynamically loaded.
92810 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92812         * intl/l10nflist.c: Allow architecture-specific pop function.
92813         * sysdeps/x86_64/l10nflist.c: New file.
92815         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92816         classification.
92818 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92820         * include/dirent.h: Add libc_hidden_proto for scandirat and
92821         scandirat64.  Don't declare __scandirat64.
92822         * dirent/scandirat.c: Add libc_hidden_def.
92823         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92824         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92826 2011-08-10  David S. Miller  <davem@davemloft.net>
92828         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92829         enum.
92830         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92831         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92832         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92834 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92836         * Versions.def [libc]: Add GLIBC_2.15.
92837         * dirent/Makefile (routines): Add scandirat and scandirat64.
92838         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92839         GLIBC_2.15.
92840         * dirent/dirent.h: Declare scandirat and scandirat64.
92841         * dirent/scandirat.c: New file.
92842         * dirent/scandirat64.c: New file.
92843         * sysdeps/wordsize-64/scandirat.c: New file.
92844         * sysdeps/wordsize-64/scandirat64.c: New file.
92845         * dirent/opendir.c: Define opendirat.
92846         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92847         using scandirat.
92848         * dirent/scandir64.c: Adjust for scandir.c change.
92849         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92850         __scandirat64, and __scandir_cancel_handler.
92851         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92852         additional parameter and use openat instead of open (outside of ld.so).
92853         Add new __opendir as wrapper around __opendirat.
92854         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92855         here without requiring old scandirat implementation.
92857 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92859         * dirent/scandir.c (cancel_handler): Renamed to
92860         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92861         defined.  Adjust users.
92862         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92863         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92865 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92867         * string/test-string.h (IMPL): Use __STRING to expand name and then
92868         stringify it.
92870         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92871         of cleanups.
92873 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92875         * string/Makefile: Update.
92876         (strop-tests): Append strncat.
92877         * string/test-wcscmp.c: New file.
92878         New comprehensive test for wcscmp.
92879         * string/test-strcmp.c: Update.
92880         (WIDE): New define.
92882 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92884         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92885         line.
92887 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92890         encoding to ACE if AI_IDN.
92892 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92894         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92895         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92897 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92899         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92900         Fix overflow bug in strncat.
92901         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92903         * string/test-strncat.c: Update.
92904         Add new tests for checking overflow bugs.
92906 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92908         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92909         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92910         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92911         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92912         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92913         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92914         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92915         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92916         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92918         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92919         (USE_AS_STRCAT): Define.
92920         Add strcat and strncat support.
92921         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92923 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92925         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92926         __n bigger than INT_MAX+1.
92927         (__strncmp_g): Likewise.
92929 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92931         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92932         * libio/stido.h: Likewise.
92934         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92935         (AF_NFC): Define.
92936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92937         (AF_NFC): Define.
92939         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92940         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92941         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92942         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92943         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92945         [BZ #13021]
92946         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92947         installed.
92949         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92950         typo.
92951         (_dl_x86_64_save_sse): Likewise.
92953 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92956         OSXSAVE.
92957         (_dl_x86_64_save_sse): Likewise.
92959         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92961         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92963 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92965         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92966         change.
92967         (_dl_x86_64_save_sse): Use correct AVX check.
92969 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92971         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92972         bug in strncpy/strncat.
92973         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92975 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92977         * string/tester.c (test_strcat): Add tests for different alignments
92978         of source and destination.
92979         (test_strncat): Likewise.
92981 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92983         [BZ #12852]
92984         * posix/glob.c (glob): Check passed in values before using them in
92985         expressions to avoid some overflows.
92986         (glob_in_dir): Likewise.
92988         [BZ #13007]
92989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92990         check for AVX enablement so that we don't crash with old kernels and
92991         new hardware.
92992         * elf/tst-audit4.c: Add same checks here.
92993         * elf/tst-audit6.c: Likewise.
92995         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92997 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92999         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93001 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93003         * po/cs.po: Update from translation team.
93004         * po/bg.po: Likewise.
93006 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
93008         * misc/sys/cdefs.h: Add support for const attribute.
93009         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93010         to gnu_dev_{major,minor,makedev} functions.
93012 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
93014         * intl/dcigettext.c (get_output_charset): Add missing bracket.
93016 2011-07-20  Andreas Schwab  <schwab@redhat.com>
93018         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93019         strlen results.
93021 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93023         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93024         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93025         register in order to avoid conflicts with the soft frame pointer
93026         being held in r11 when necessary.
93027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93028         (INTERNAL_VSYSCALL_NCS): Likewise.
93030 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
93032         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93033         * elf/dl-fini.c (_dl_fini): Adjust caller.
93034         * elf/dl-close.c (_dl_close_worker): Likewise.
93035         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93037 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93039         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93040         "aux_cache->nlibs < 0".
93042         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93043         in the reload-count case.
93045 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93048         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93049         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93050         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93051         * sysdeps/x86_64/multiarch/strcat.S: New file.
93052         * sysdeps/x86_64/multiarch/strncat.S: New file.
93053         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93054         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93055         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93056         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93057         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93058         (USE_AS_STRCAT): Define.
93059         Add strcat and strncat support.
93060         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93061         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93062         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93063         * string/strncat.c: Update.
93064         (USE_AS_STRNCAT): Define.
93065         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93066         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93067         and i7.
93068         * sysdeps/x86_64/multiarch/init-arch.h
93069         (bit_Prefer_PMINUB_for_stringop): New.
93070         (index_Prefer_PMINUB_for_stringop): Likewise.
93071         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93072         bit_Prefer_PMINUB_for_stringop.
93074 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93076         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93077         buffer64.
93078         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93079         of casting of buffer.
93080         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93081         buffer32 and buffer64.
93082         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93083         writes instead of casting of buffer.
93084         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93085         buffer32.
93086         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93087         casting of buffer.
93089 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93091         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93093 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93095         * nscd/nscd.c (termination_handler): Don't do anything for a database
93096         if it has not yet been initialized.
93098 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93100         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93102 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93104         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93106 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93108         * po/nl.po: Update from translation team.
93109         * po/sv.po: Likewise.
93111 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93113         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93114         now disallowed by GCC.
93116         * configure.in (use-default-link): Default to yes if a test -shared
93117         link meets our qualifications.
93118         * configure: Regenerated.
93120         * config.make.in (output-format): New variable.
93121         * configure.in: Check for ld --print-output-format support.
93122         * configure: Regenerated.
93123         * Makerules ($(common-objpfx)format.lds)
93124         [$(output-format) != unknown]: Just use $(output-format),
93125         instead of the linker-script munging.
93127 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93129         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93130         of $(common-objpfx)shlib.lds.
93131         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93133         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93134         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93136         * configure.in (-z relro check): Adjust test code to add a large
93137         writable data section after it.
93138         * configure: Regenerated.
93140 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93142         * configure.in (-z relro check): Fix test code to make the variable
93143         truly const.
93144         * configure: Regenerated.
93146 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93148         * nscd/nscd.h (struct traced_file): Define.
93149         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93150         elements.  Add traced_files.
93151         (inotify_fd): Declare.
93152         (register_traced_file): Declare.
93153         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93154         (inotify_fd): Export.
93155         (resolv_conf_descr): Remove.
93156         (nscd_init): Move inotify descriptor creation to main.
93157         Don't register files for notification here.
93158         (register_traced_file): New function.
93159         (invalidate_cache): Don't use reset_res to determine whether to call
93160         res_init, go through the list of registered files.
93161         (main_loop_poll): The inotify descriptors are now stored in the
93162         structures for the traced files.
93163         (main_loop_epoll): Likewise.
93164         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93165         to __nss_disable_nscd.
93166         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93167         for a database anymore.  Check the records for all the registered
93168         files instead.
93169         * nss/Makefile (libnss_files-routines): Add files-init.
93170         (libnss_db-routines): Add db-init.
93171         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93172         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93173         * nss/nss_db/db-init.c: New file.
93174         * nss/nss_files/files-init.c: New file.
93175         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93176         __nss_lookup_function.
93177         (__nss_lookup_function): Call nss_load_library.
93178         (nss_load_all_libraries): New function.
93179         (__nss_disable_nscd): Take parameter with callback function for files
93180         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93181         used for the cached services.
93182         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93183         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93184         options for features to all the files in nscd.
93186         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93188 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93190         * csu/elf-init.c (__libc_csu_init): Comment typo.
93192 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93194         * po/pl.po: Update from translation team.
93195         * po/ja.po: Likewise.
93196         * po/ru.po: Likewise.
93197         * po/ko.po: Likewise.
93198         * po/fr.po: Likewise.
93200 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93202         * configure.in (.ctors/.dtors header and trailer check):
93203         Use an empirical test on a built program.
93204         * configure: Regenerated.
93206         * configure.in (-z relro check): Use an empirical test on a built DSO.
93207         Detect, but do not require, on ia64.
93208         * configure: Regenerated.
93210         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93211         Update tests that use readelf to use $READELF instead.
93212         * configure: Regenerated.
93214 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93216         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93217         if the result is not used.
93219 2011-07-05  Andreas Jaeger  <aj@suse.de>
93221         [BZ #9696]
93222         * stdlib/tst-strtod.c: Add testcase.
93224 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93226         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93227         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93228         The latter has a higher limit.  Take additional parameter to pass to
93229         the new function.
93230         (__pathconf): Pass file to __statfs_link_max.
93231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93232         __statfs_link_max.
93233         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93234         __statfs_link_max.
93236         [BZ #12868]
93237         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93238         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93239         Handle Lustre.
93240         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93241         (__statfs_filesize_max): Likewise.
93242         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93244 2011-07-05  Andreas Jaeger  <aj@suse.de>
93246         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93248 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93250         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93251         `status' variable.
93252         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93253         Likewise.
93255 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93257         * Makefile (strop-tests): Add strncat.
93258         * string/test-strncat.c: New file.
93260 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93262         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93264 2011-06-21  Andreas Jaeger  <aj@suse.de>
93266         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93267         Copy rule from iconvdata/Makefile.
93269 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93271         [BZ #12922]
93272         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93273         but no long options are defined, just return 'W'.
93275 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93277         [BZ #9696]
93278         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93280 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93282         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93283         netgroups to read.
93284         (innetgr): Likewise.
93286 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93288         * config.make.in (install_root): Default to $(DESTDIR).
93290 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93292         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93294 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93296         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93298         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93299         containing directory rather than embedding absolute directory names.
93301         * scripts/check-local-headers.sh: Rewritten using awk.
93302         Match by word, not by line.  Print error messages for matches.
93303         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93305         * Makerules [shlib-lds-flags empty]:
93306         ($(common-objpfx)libc_pic.opts): New target.
93307         ($(common-objpfx)libc_pic.os.clean): New target.
93308         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93310         * config.make.in (OBJCOPY): New variable.
93311         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93312         * configure: Regenerated.
93314         * config.make.in (use-default-link): New variable.
93315         * configure.in (use_default_link): Grok --with-default-link to set it.
93316         * configure: Regenerated.
93317         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93318         (shlib-lds, shlib-lds-flags): Define to empty.
93320         * Makerules (shlib-lds): New variable.
93321         (shlib-lds-flags): New variable.
93322         (build-shlib, build-moduile, build-module-asneeded): Use it.
93323         ($(common-objpfx)libc.so): Use $(shlib-lds).
93324         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93325         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93327         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93328         DT_FLAGS/DT_FLAGS_1 with zero flags.
93330         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93331         linker script munging.
93333 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93335         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93336         as 128-bit value.
93337         * crypt/sha512.c (sha512_process_block): Perform total addition using
93338         128-bit if possible.
93339         (__sha512_finish_ctx): Likewise.
93340         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93341         as 64-bit value.
93342         * crypt/sha256.c (SWAP64): Define.
93343         (sha256_process_block): Perform total addition using 64-bit if
93344         possible.
93345         (__sha256_finish_ctx): Likewise.
93347 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93349         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93350         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93351         * nscd/hstcache.c (cache_addhst): Likewise.
93352         * nscd/grpcache.c (cache_addgr): Likewise.
93353         * nscd/aicache.c (addhstaiX): Likewise.
93354         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93356 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93358         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93360         * nscd/hstcache.c (cache_addhst): Likewise.
93361         * nscd/grpcache.c (cache_addgr): Likewise.
93362         * nscd/aicache.c (addhstaiX): Likewise.
93364 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93366         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93367         domain only when needed.
93369 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93372         is always restored.
93374 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93376         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93377         are re-adding the entry.
93378         * nscd/servicescache.c (cache_addserv): Likewise.
93380 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93382         * sysdeps/generic/dl-irel.h: fix protection against multiple
93383         inclusions.
93384         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93386 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93388         [BZ #12935]
93389         * malloc/memusage.sh: Fix quoting in message.
93390         * debug/xtrace.sh: Likewise.
93392         * configure.in: Remove support for --experimental-malloc option, make
93393         it the default.
93394         * config.make.in: Likewise.
93395         * malloc/Makefile: Likewise.
93397 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93399         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93400         two-byte characters.
93402 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93404         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93405         AC_CACHE_CHECK invocation.
93406         * configure: Regenerated.
93408         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93410 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93412         [BZ #12350]
93413         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93414         bit from old_res_options.
93416         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93418         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93419         value type for setfct.
93421 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93424         __gettimeofday instead of gettimeofday.
93426 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93428         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93430 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93432         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93435         info.
93437 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93440         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93441         strcpy-sse2-unaligned strncpy-sse2-unaligned
93442         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93443         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93444         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93445         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93446         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93447         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93449         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93450         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93451         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93452         (STRCPY): Support SSE2 and SSSE3 versions.
93454 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93456         [BZ #12874]
93457         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93458         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93459         kernels which artificially limit size of requests.
93461 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93464         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93465         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93466         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93467         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93468         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93469         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93470         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93472         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93473         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93474         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93475         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93476         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93477         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93478         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93479         Enable unaligned load optimization for Intel Core i3, i5 and i7
93480         processors.
93481         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93482         Define.
93483         (index_Fast_Unaligned_Load): Define.
93484         (HAS_FAST_UNALIGNED_LOAD): Define.
93486 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93488         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93490 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93492         [BZ #12907]
93493         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93494         until it is clear that the information is realy needed.
93495         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93497 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93501 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93503         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93504         /sys/devices/system/cpu/online if it is usable.
93506         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93507         reading the information from the /proc filesystem to once a second.
93509 2011-06-21  Andreas Jaeger  <aj@suse.de>
93511         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93512         NULL after inclusion of kernel headers.
93514 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93516         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93517         calls to internal_setent.
93519         [BZ #12885]
93520         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93521         addresses using gethostbyname4_r ignore IPv4 addresses.
93523         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93524         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93526         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93528 2011-06-20  David S. Miller  <davem@davemloft.net>
93530         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93531         inclusions.
93532         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93534         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93535         (elf_irel): Use it.
93536         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93537         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93538         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93539         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93540         * sysdeps/x86_64/dl-irel.h: Likewise.
93542         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93543         * elf/dl-sym.c: Likewise.
93545 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93547         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93548         need to dereference resplen2.
93550 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93552         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93554 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93556         * Makeconfig: Define vardbdir and inst_vardbdir.
93557         * nss/Makefile: Add rules to install db-Makefile.
93559         * nss/nss_db/db-XXX.c: Cleanup.
93561         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93562         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93563         GLIBC_PRIVATE.
93564         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93565         * nss/makedb.c: Implement -g option to specify that value strings
93566         are generated and should not be added to table iterated over for
93567         get*ent calls.
93568         * nss/nss_db/db-initgroups.c: New file.
93570         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93571         interface.
93573         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93574         (internal_getgrouplist): Adjust to name change.
93575         Update use_initgroups_entry if this is not the first call.
93576         * nss/databases.def: Add initgroups entry.
93578         * nss/makedb.c (compute_tables): Check result of multiple hash table
93579         sizes to minimize maximum chain length.
93581 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93583         * Versions.def: Add entry for libnss_db.
93584         * shlib-versions: Likewise.
93585         * nss/Makefile: Add rules to build libnss_db.
93586         * nss/Versions: Add libnss_db information.  Organize libnss_files
93587         entries better.
93588         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93589         makedb progra.  Some minor improvements to generate smaller files.
93590         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93591         here from...
93592         * nss/makedb.c: ...here.
93593         Improve database format to be smaller and require less memory at
93594         runtime.
93595         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93596         db anymore.
93597         * nss/nss_db/db-netgrp.c: Likewise.
93598         * nss/nss_db/db-open.c: Likewise.
93599         * nss/nss_files/flies-XXX.x: Adjust comments.
93600         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93601         * nss/nss_files/files-grp.c: Likewise.
93602         * nss/nss_files/files-hosts.c: Likewise.
93603         * nss/nss_files/files-network.c: Likewise.
93604         * nss/nss_files/files-proto.c: Likewise.
93605         * nss/nss_files/files-pwd.c: Likewise.
93606         * nss/nss_files/files-rpc.c: Likewise.
93607         * nss/nss_files/files-service.c: Likewise.
93608         * nss/nss_files/files-sgrp.c: Likewise.
93609         * nss/nss_files/files-spwd.c: Likewise.
93610         * nss/nss_db/db-alias.c: Removed.
93611         * nss/nss_db/dummy-db.h: Removed.
93613 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93615         * nss/makedb.c: Rewritten to not use database library.
93616         * nss/Makefile: Update to build new makedb program.
93618 2011-06-14  Andreas Jaeger  <aj@suse.de>
93620         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93621         memset declaration.
93623 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93626         tmpbuf.
93628 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93630         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93631         * elf/Makefile ($(objpfx)ld.so): Likewise.
93633         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93634         Don't list ld.so twice in dependencies.
93636         * posix/bug-regex31.c: Include <stdlib.h>.
93638         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93640         * nis/nss_compat/compat-spwd.c
93641         (getspent_next_nss_netgr): Remove unused variable.
93642         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93644         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93645         nonmembers" output to use the right array.
93647         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93649         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93651         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93652         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93653         * catgets/gencat.c (read_input_file): Likewise.
93654         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93656         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93657         variable definition inside #if's controlling its use.
93659         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93661         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93663         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93665         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93666         unreachable code.
93668         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93670         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93671         * configure: Regenerated.
93673         * Makerules: Revert last change.
93674         * elf/Makefile: Likewise.
93676 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93678         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93679         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93680         (reloc-link): Likewise.
93682 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93684         * elf/Makefile: Add rules to build pldd.
93685         * elf/pldd.c: New file.
93686         * elf/pldd-xx.c: New file.
93688 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93690         * version.h: Update for 2.15 development version.
93692 2011-06-07  David S. Miller  <davem@davemloft.net>
93694         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93695         ifuncs.
93696         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93697         elf_machine_lazy_rel): Likewise.
93698         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93699         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93700         elf_machine_lazy_rel): Likewise.
93701         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93702         dl_hwcap via passed in argument.
93703         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93704         Likewise.
93706 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93708         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93710 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93712         [BZ #12849]
93713         * manual/fdl-1.1.texi: New file, verbatim from:
93714         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93715         * manual/lgpl-2.1.texi: New file, verbatim from:
93716         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93717         * manual/Makefile (licenses): New variable, list those new file names.
93718         (texis): Use it.
93719         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93721         * manual/fdl.texi: File removed.
93722         * manual/lesser.texi: File removed.
93723         * manual/libc.texinfo (Copying, Documentation License):
93724         Use new @include file names, put @appendix directive before @include.
93726 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93728         [BZ #12841]
93729         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93730         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93731         (mq_open): Add __NTH.
93733 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93736         Assume Intel Core i3/i5/i7 processor if AVX is available.
93738 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93740         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93741         typo.
93743 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93745         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93746         memory.  Use alloca_account.  Fix memory leak when retrying.
93748 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93750         * version.h (RELEASE): Bump for 2.14 release.
93751         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93753         * config.make.in (RANLIB): Remove entry.
93755 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93757         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93758         (libc.pot): Work around missing support for .ksh extension in xgettext.
93760         [BZ #12684]
93761         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93762         if both request failed.
93763         (send_dg): In case of server errors clear resplen or *resplen2.
93765         [BZ #12454]
93766         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93767         when there are multiple maps.
93768         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93769         (_dl_fini): Remove test here.
93771         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93773 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93775         [BZ #12350]
93776         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93777         bit from old_res_options.
93778         (gaih_inet): Likewise.
93780         [BZ #11099]
93781         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93782         as signed.
93784         * resolv/res_init.c (res_setoptions): Make the code more compact.
93786         [BZ #11558]
93787         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93788         set RES_USEVC.
93790         [BZ #11634]
93791         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93793         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93795         [BZ #11781]
93796         * malloc/malloc.h: Declare malloc hook variables as volatile.
93798         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93799         in last patch.
93801         [BZ #11799]
93802         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93803         raise in the comment.
93804         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93805         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93806         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93808 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93810         [BZ #12811]
93811         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93812         grow the buffers more if it already has to be sufficient.
93813         (build_wcs_upper_buffer): Likewise.
93814         * posix/regexec.c (check_matching): Likewise.
93815         (clean_state_log_if_needed): Likewise.
93816         (extend_buffers): Don't enlarge buffers beyond size of the input
93817         buffer.
93818         Patches mostly by Emil Wojak <emil@wojak.eu>.
93819         * posix/bug-regex32.c: New file.
93820         * posix/Makefile (tests): Add bug-regex32.
93822         * locale/findlocale.c (_nl_find_locale): Return right away if
93823         _nl_explode_name failed.
93824         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93826         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93828         * debug/xtrace.sh: Unify messages.
93829         * malloc/memusage.sh: Likewise.
93831         [BZ #12813]
93832         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93833         time symbol from vDSO.  Substitute with vsyscall if not available.
93834         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93835         __vdso_time.
93837         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93838         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93839         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93840         Add sendmmsg and internal_sendmmsg.
93841         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93842         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93843         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93845         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93846         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93847         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93849 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93851         [BZ #12813]
93852         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93853         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93854         available.
93855         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93856         __vdso_getcpu.
93858         [BZ #12814]
93859         * iconvdata/Makefile (tests): Add bug-iconv9.
93860         * iconvdata/bug-iconv9.c: New file.
93862 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93864         [BZ #12814]
93865         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93867 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93869         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93870         (struct user_regs_struct): Change intcs field back to cs.
93872 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93874         * po/ja.po: Update from translation team.
93876 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93878         [BZ #12795]
93879         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93880         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93882 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93884         * stdlib/longlong.h: Update from GCC.
93886 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93888         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93889         parameter name.
93890         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93891         Add parameter name.
93892         (__sysconf): Pass it down.
93894 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93896         [BZ #12671]
93897         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93898         some situations.
93899         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93900         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93901         add in in __libc_use_alloca calls.  Adjust callers.
93902         (glob): Use malloc in some situations.
93904         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93905         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93906         pltexit.
93908 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93910         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93911         and CLOCK_BOOTTIME_ALARM.
93913         [BZ #12782]
93914         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93915         is returned.
93917         * string/_strerror.c (__strerror_r): Print negative errors as signed
93918         numbers.
93920         [BZ #12777]
93921         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93922         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93923         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93925         * configure.in: Fix typo in redirection and correct removal of test
93926         files in two cases.
93928         [BZ #12788]
93929         * locale/setlocale.c (new_composite_name): Fix test to check for
93930         identical name of all categories.
93932         [BZ #12792]
93933         * libio/filedoalloc.c (local_isatty): New function.
93934         (_IO_file_doallocate): Use local_isatty.
93935         * stdio-common/perror.c (perror): In case a new stream is used
93936         forward the stream error.
93937         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93938         error flag.
93940 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93942         [BZ #11884]
93943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93944         alloca.
93945         * include/alloca.h (extend_alloca_account): Define.
93947         [BZ #11857]
93948         * posix/regex.h: Fix comments with documentation of user-accessible
93949         fields after compilation and describe correct free'ing of pattern
93950         after re_compile_pattern.
93951         Patch by Reuben Thomas <rrt@sc3d.org>.
93953 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93955         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93956         and -mno-altivec to prevent the compiler from using Altivec and/or
93957         VSX instructions when the corresponding registers are not available.
93959 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93961         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93963 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93965         * libio/freopen.c (freopen): Use __dup2, not dup2.
93966         * libio/freopen64.c (freopen64): Likewise.
93968 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93970         [BZ #12775]
93971         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93972         * math/Makefile (tests): Add test-powl.
93973         (CFLAGS-test-powl.c): Define.
93974         * math/test-powl.c: New file.
93976 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93978         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93980 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93982         [BZ #11837]
93983         * iconvdata/gb18030.c: Update to GB18020-2005.
93985 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93987         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93988         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93989         Patch by Aharon Robbins <arnold@skeeve.com>.
93991         [BZ #11892]
93992         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93993         on the stack.
93995         [BZ #11895]
93996         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93997         through underflows.
93999         [BZ #12766]
94000         * misc/error.c (error_at_line): Ensure file_name and old_file_name
94001         point to strings before performing equality test for error_one_per_line
94002         mode.
94004         [BZ #11697]
94005         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94007         [BZ #11820]
94008         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94009         (struct user_fpregs_struct): Avoid __uint*_t types.
94011         [BZ #6420]
94012         * malloc/mtrace.c (tr_where): Add additional parameter to point to
94013         symbol info.  Use it instead of calling _dl_addr locally.
94014         (lock_and_info): New function.
94015         (tr_freehook): Call lock_and_info and pass symbol info as additional
94016         parameter to tr_where.
94017         (tr_mallochook): Likewise.
94018         (tr_reallochook): Likewise.
94019         (tr_memalignhook): Likewise.
94021         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
94022         used and couldn't be at all thread-safe.
94024 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
94026         * libio/freopen.c (freopen): Don't close old file descriptor
94027         before the new one is opened.  Instead dup the new file descriptor
94028         to the old one after the new stream is created.
94029         * libio/freopen64.c (freopen64): Likewise.
94030         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94031         * libio/fileops.c (_IO_new_file_close_it): Handle new
94032         _IO_FLAGS2_NOCLOSE flag.
94033         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94034         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94035         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94036         _IO_FLAGS2_NOCLOSE flag.
94037         * include/unistd.h: Add hidden_proto for dup3.
94038         Define __have_dup3.
94039         * io/dup3.c: Define hidden symbol.
94040         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94042         [BZ #7101]
94043         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94044         when an incomplete long option is used.
94045         * posix/tst-getopt_long1.c: New file.
94046         * posix/Makefile (tests): Add tst-getopt_long1.
94048         [BZ #10138]
94049         * scripts/config.guess: Update from autoconf-2.68.
94050         * scripts/config.sub: Likewise.
94052         [BZ #10157]
94053         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94054         tests into ...
94055         (has_cpuclock): ...this.  New function.
94056         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94057         macro here based on has_cpuclock code.
94059         [BZ #10149]
94060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94061         First byte (not low byte) is now always NUL.
94062         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94064         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94065         Use non-cancelable interfaces.
94067         [BZ #9809]
94068         * locale/iso-639.def: Add entry for Sorani.
94070         [BZ #11901]
94071         * include/stdlib.h: Move include protection to the right place.
94072         Define abort_msg_s.  Declare __abort_msg with it.
94073         * stdlib/abort.c (__abort_msg): Adjust type.
94074         * assert/assert.c (__assert_fail_base): New function.  Majority
94075         of code from __assert_fail.  Allocate memory for __abort_msg with
94076         mmap.
94077         (__assert_fail): Now call __assert_fail_base.
94078         * assert/assert-perr.c: Remove bulk of implementation.  Use
94079         __assert_fail_base.
94080         * include/assert.hL Declare __assert_fail_base.
94081         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94082         mmap.
94083         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94085 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94087         [BZ #11952]
94088         [BZ #12453]
94089         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94090         until all modules are registered in the DTV.
94091         * elf/Makefile: Add rules to build and run tst-tls19.
94092         * elf/tst-tls19.c: New file.
94093         * elf/tst-tls19mod1.c: New file.
94094         * elf/tst-tls19mod2.c: New file.
94095         * elf/tst-tls19mod3.c: New file.
94096         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94098         [BZ #12083]
94099         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94100         correctly.
94102         [BZ #12601]
94103         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94104         two-byte sequence errors.
94105         * iconvdata/Makefile (tests): Add bug-iconv8.
94106         * iconvdata/bug-iconv8.c: New file.
94108         [BZ #12626]
94109         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94110         buf2 definition.
94112         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94114         [BZ #12432]
94115         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94116         (dummy_getcfa): New function.
94117         (init): Get _Unwind_GetCFA address, use dummy if not found.
94118         (backtrace_helper): In recursion check, also check whether CFA changes.
94119         (__backtrace): Completely initialize arg.
94121         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94122         storing incomplete byte sequence in state object.  Avoid testing for
94123         guaranteed too small input if we know there is enough data available.
94125 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94127         * Makeconfig (+link-pie): Indent.
94128         * Rules (binaries-pie): Define if $(have-fpie) and
94129         $(build-shared).
94130         (binaries-shared): Also filter out $(binaries-pie).
94131         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94132         * nscd/Makefile (others-pie): Add nscd.
94133         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94134         ($(objpfx)nscd): Remove command override.
94135         * login/Makefile (others-pie): Add pt_chown.
94136         ($(objpfx)pt_chown): Remove command override.
94137         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94138         remove command overrides.
94140 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94142         * libio/tst_putwc.c: Fix error messages.
94144         [BZ #12724]
94145         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94146         currently writing and seek to current position when not.
94147         * libio/Makefile (tests): Add bug-fclose1.
94148         * libio/bug-fclose1.c: New file.
94150 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94152         [BZ #12511]
94153         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94154         don't set DF_1_NODELETE here.
94155         (do_lookup_x): When entering new entry test for copy relocation
94156         and if necessary set DF_1_NODELETE flag.
94157         * elf/tst-unique4.cc: New file.
94158         * elf/tst-unique4.h: New file.
94159         * elf/tst-unique4lib.cc: New file.
94160         * elf/Makefile: Add rules to build and run tst-unique4.
94161         Patch by Piotr Bury <pbury@goahead.com>.
94163 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94165         [BZ #12052]
94166         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94168         [BZ #12625]
94169         * misc/mntent_r.c (addmntent): Flush the stream after the output
94171         [BZ #12393]
94172         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94173         (is_trusted_path_normalize): Skip initial colon.  Append slash
94174         to empty buffer.  Duplicate is_trusted_path code but allow
94175         constructed patch to be prefix.
94176         (is_dst): Allow $ORIGIN followed by /.
94177         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94178         Correct testing of result of is_trusted_path_normalize
94179         (decompose_rpath): Fix warning.
94181 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94183         [BZ #11257]
94184         * grp/initgroups.c (internal_getgrouplist): When we found the service
94185         list through the initgroups entry in nsswitch.conf do not always
94186         continue on a successful lookup.  Don't always use the
94187         __nss_group_database value if it is set.
94188         * nss/nsswitch.conf (initgroups): Change action for successful db
94189         lookup to continue for compatibility.
94191 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94193         [BZ #11532]
94194         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94195         and CP774 modules.
94196         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94197         and CP774 modules.
94198         * iconvdata/tst-tables.sh: Likewise.
94199         * iconvdata/cp770.c: New file.
94200         * iconvdata/cp771.c: New file.
94201         * iconvdata/cp772.c: New file.
94202         * iconvdata/cp773.c: New file.
94203         * iconvdata/cp774.c: New file.
94204         * iconvdata/testdata/CP770: New file.
94205         * iconvdata/testdata/CP770..UTF8: New file.
94206         * iconvdata/testdata/CP771: New file.
94207         * iconvdata/testdata/CP771..UTF8: New file.
94208         * iconvdata/testdata/CP772: New file.
94209         * iconvdata/testdata/CP772..UTF8: New file.
94210         * iconvdata/testdata/CP773: New file.
94211         * iconvdata/testdata/CP773..UTF8: New file.
94212         * iconvdata/testdata/CP774: New file.
94213         * iconvdata/testdata/CP774..UTF8: New file.
94215         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94216         END CHARMAP line.
94217         * iconvdata/gen-8bit-gap.sh: Likewise.
94218         * iconvdata/gen-8bit.sh: Likewise.
94220         * locale/iso-639.def: Add ary entry.
94222         [BZ #11258]
94223         * locale/C-translit.h.in: Add U20A1 transliteration.
94225         [BZ #12178]
94226         * locale/iso-639.def: Add wae entry.
94227         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94229         [BZ #12545]
94230         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94231         for n.
94233         [BZ #12711]
94234         * locale/C-translit.h.in: Add entry for U20B9.
94235         Patch by pravin.d.s@gmail.com.
94237 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94239         [BZ #12713]
94240         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94241         ENAMETOOLONG use generic getcwd.
94242         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94243         in rtld.  Use *stat64.
94244         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94245         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94246         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94247         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94248         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94249         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94250         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94251         __fstatat64 macros.
94252         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94253         * dirent/rewinddir.c: Add libc_hidden_def.
94254         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94255         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94257         * include/dirent.h (__alloc_dir): Add flags parameter.
94258         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94259         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94260         __alloc_dir.
94261         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94262         from fdopendir if O_CLOEXEC is already set.
94264 2011-03-15  Alan Modra  <amodra@gmail.com>
94266         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94267         l_tls_firstbyte_offset non-zero.  Save padding offset in
94268         l_tls_firstbyte_offset for later use.
94269         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94270         freeing static tls block.
94272 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94274         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94275         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94276         being defined by the kernel headers.
94278 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94280         [BZ #12734]
94281         * resolv/resolv.h: Define RES_NOTLDQUERY.
94282         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94283         no-tld-query and set RES_NOTLDQUERY.
94284         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94285         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94286         modern BIND to search name as TLD unless forbidden.
94288 2011-05-07  Petr Baudis  <pasky@suse.cz>
94289             Ulrich Drepper  <drepper@gmail.com>
94291         [BZ #12393]
94292         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94293         (is_trusted_path): ...to here.
94294         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94295         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94296         using is_trusted_path_normalize() in setuid scripts.
94298 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94300         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94301         __BEGIN/__END_DECLS.
94303 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94305         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94306         NSS_STATUS_NOTFOUND if no record was found.
94308 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94310         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94311         (headers-not-in-tirpc): Remove rpc/netdb.h
94312         * resolv/netdb.h: Revert last change.
94314 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94316         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94317         circular dependency between libgcc.a and libc.a.
94319 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94321         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94322         * nis/Makefile: Don't install rpcsvc/*.
94323         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94324         instead of <rpc/types.h>.
94325         (MAXHOSTNAMELEN): Define.
94327 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94329         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94331 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94333         [BZ #12714]
94334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94335         gethostbyname4_r when IPv6 results are possible.
94337 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94339         [BZ #12723]
94340         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94341         _PC_PIPE_BUF handling.
94343 2011-04-30  Bruno Haible  <bruno@clisp.org>
94345         [BZ #12717]
94346         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94347         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94348         to 'int'.
94349         * inet/getnameinfo.c (getnameinfo): Likewise.
94351 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94353         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94354         to groups setting in database lookup.
94355         * nss/nsswitch.conf: Add initgroups entry.
94357 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94359         [BZ #12685]
94360         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94361         mode string.
94362         Patch by Eric Blake <eblake@redhat.com>.
94364 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94366         * sunrpc/Makefile (need-export-routines): Add svc_run.
94367         (routines): Remove svc_run.
94368         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94369         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94370         * sunrpc/svc_run.c (svc_run): Likewise.
94371         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94373 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94375         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94376         problem in reallocation in last patch.
94378 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94380         * sunrpc/Makefile: Move inclusion of Rules.
94382 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94384         * nss/nss_files/files-initgroups.c: New file.
94385         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94386         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94387         _nss_files_initgroups_dyn.
94389 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94391         * elf/elf.h (R_ARM_IRELATIVE): Define.
94393 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94395         * po/ru.po: Update from translation team.
94397 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94399         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94400         dependencies.
94402 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94404         [BZ #12653]
94405         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94406         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94407         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94408         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94409         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94411 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94413         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94414         differing bytes.
94415         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94416         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94417         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94419 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94421         [BZ #12420]
94422         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94423         storing it.
94424         * stdlib/bug-getcontext.c: New file.
94425         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94427 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94429         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94430         instructions into .machine "z9-109".
94431         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94432         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94434 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94436         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94437         between environment variables and auxiliary vector.
94439 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94441         * Makefile: Add rules to build linkobj/libc.so.
94442         * include/libc-symbols.h: Define libc_hidden_nolink.
94443         * include/rpc/auth.h: Mark functions which are to be hidden.
94444         * include/rpc/auth_des.h: Likewise.
94445         * include/rpc/auth_unix.h: Likewise.
94446         * include/rpc/clnt.h: Likewise.
94447         * include/rpc/des_crypt.h: Likewise.
94448         * include/rpc/key_prot.h: Likewise.
94449         * include/rpc/pmap_clnt.h: Likewise.
94450         * include/rpc/pmap_prot.h: Likewise.
94451         * include/rpc/pmap_rmt.h: Likewise.
94452         * include/rpc/rpc_msg.h: Likewise.
94453         * include/rpc/svc.h: Likewise.
94454         * include/rpc/svc_auth.h: Likewise.
94455         * include/rpc/xdr.h: Likewise.
94456         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94457         * nss/Makefile: Likewise.
94458         * sunrpc/Makefile: Don't install headers.  Build library with normal
94459         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94460         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94461         for the compat linking library.  Remove use of INTDEF/INTUSE.
94462         * sunrpc/auth_none.c: Likewise.
94463         * sunrpc/auth_unix.c: Likewise.
94464         * sunrpc/authdes_prot.c: Likewise.
94465         * sunrpc/authuxprot.c: Likewise.
94466         * sunrpc/clnt_gen.c: Likewise.
94467         * sunrpc/clnt_perr.c: Likewise.
94468         * sunrpc/clnt_raw.c: Likewise.
94469         * sunrpc/clnt_simp.c: Likewise.
94470         * sunrpc/clnt_tcp.c: Likewise.
94471         * sunrpc/clnt_udp.c: Likewise.
94472         * sunrpc/clnt_unix.c: Likewise.
94473         * sunrpc/des_crypt.c: Likewise.
94474         * sunrpc/des_soft.c: Likewise.
94475         * sunrpc/get_myaddr.c: Likewise.
94476         * sunrpc/key_call.c: Likewise.
94477         * sunrpc/key_prot.c: Likewise.
94478         * sunrpc/netname.c: Likewise.
94479         * sunrpc/pm_getmaps.c: Likewise.
94480         * sunrpc/pm_getport.c: Likewise.
94481         * sunrpc/pmap_clnt.c: Likewise.
94482         * sunrpc/pmap_prot.c: Likewise.
94483         * sunrpc/pmap_prot2.c: Likewise.
94484         * sunrpc/pmap_rmt.c: Likewise.
94485         * sunrpc/publickey.c: Likewise.
94486         * sunrpc/rpc_cmsg.c: Likewise.
94487         * sunrpc/rpc_common.c: Likewise.
94488         * sunrpc/rpc_dtable.c: Likewise.
94489         * sunrpc/rpc_prot.c: Likewise.
94490         * sunrpc/rpc_thread.c: Likewise.
94491         * sunrpc/rtime.c: Likewise.
94492         * sunrpc/svc.c: Likewise.
94493         * sunrpc/svc_auth.c: Likewise.
94494         * sunrpc/svc_authux.c: Likewise.
94495         * sunrpc/svc_raw.c: Likewise.
94496         * sunrpc/svc_run.c: Likewise.
94497         * sunrpc/svc_simple.c: Likewise.
94498         * sunrpc/svc_tcp.c: Likewise.
94499         * sunrpc/svc_udp.c: Likewise.
94500         * sunrpc/svc_unix.c: Likewise.
94501         * sunrpc/svcauth_des.c: Likewise.
94502         * sunrpc/xcrypt.c: Likewise.
94503         * sunrpc/xdr.c: Likewise.
94504         * sunrpc/xdr_array.c: Likewise.
94505         * sunrpc/xdr_float.c: Likewise.
94506         * sunrpc/xdr_intXX_t.c: Likewise.
94507         * sunrpc/xdr_mem.c: Likewise.
94508         * sunrpc/xdr_rec.c: Likewise.
94509         * sunrpc/xdr_ref.c: Likewise.
94510         * sunrpc/xdr_sizeof.c: Likewise.
94511         * sunrpc/xdr_stdio.c: Likewise.
94513 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94515         [BZ #12650]
94516         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94517         * sysdeps/ia64/dl-tls.h: Likewise.
94518         * sysdeps/powerpc/dl-tls.h: Likewise.
94519         * sysdeps/s390/dl-tls.h: Likewise.
94520         * sysdeps/sh/dl-tls.h: Likewise.
94521         * sysdeps/sparc/dl-tls.h: Likewise.
94522         * sysdeps/x86_64/dl-tls.h: Likewise.
94523         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94525 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94527         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94528         rpath element also skip the following colon.
94529         (expand_dynamic_string_token): Add is_path parameter and pass
94530         down to DL_DST_REQUIRED and _dl_dst_substitute.
94531         (decompose_rpath): Call expand_dynamic_string_token with
94532         non-zero is_path.  Ignore empty rpaths.
94533         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94534         with zero is_path.
94536 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94539         Make cancelable.
94541 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94543         [BZ #12655]
94544         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94545         Patch by Filipe David Manana <fdmanana@apache.org>.
94547 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94550         Maintain aligned stack.
94551         (CHECK_RSP): Remove unused macro.
94553 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94555         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94556         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94558 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94560         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94562         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94564 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94566         [BZ #12518]
94567         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94568         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94569         * sysdeps/x86_64/memmove.c: New file.
94570         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94571         (memcpy): Renamed to ...
94572         (__new_memcpy): This.
94573         (memcpy): Provide GLIBC_2_14 memcpy.
94574         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94575         (memcpy): Provide GLIBC_2_2_5 memcpy.
94577 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94579         [BZ #12631]
94580         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94582 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94584         * misc/syncfs.c: New file.
94585         * misc/Makefile (routines): Add syncfs.
94586         * posix/unistd.h: Declare syncfs.
94587         * sysdeps/unix/syscalls.list: Add syncfs.
94589 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94591         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94592         open_by_handle_at.
94593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94594         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94598         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94599         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94601 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94604         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94605         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94606         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94607         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94609         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94611         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94612         sync_file_range.c with -fexceptions.
94613         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94614         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94615         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94616         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94617         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94618         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94620         sync_file_range as cancellation point
94621         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94622         now a wrapper around __call_sync_file_range with cancellation handling.
94623         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94624         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94625         function name to __call_sync_file_range.
94626         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94627         Add call_sync_file_range.
94629 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94632         bits/timex.h.
94634 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94636         * iconv/iconv.h: Fix typo in comment.
94637         * io/fcntl.h: Likewise.
94638         * libio/stdio.h: Likewise.
94639         * posix/spawn.h: Likewise.
94640         * posix/unistd.h: Likewise.
94641         * stdlib/stdlib.h: Likewise.
94642         * time/time.h: Likewise.
94643         * wcsmbs/wchar.h: Likewise.
94645         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94646         open_by_handle): Add.
94647         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94648         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94649         Augment a few comments.
94650         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94652         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94654         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94655         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94656         open_by_handle.
94658         * io/fcntl.h (AT_EMPTY_PATH): Define.
94660 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94662         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94663         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94664         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94665         to...
94666         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94667         * Versions.def: Add GLIBC_2.14.
94668         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94669         Export.
94671 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94673         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94674         round counter.
94675         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94677 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94679         [BZ #12597]
94680         * string/test-strncmp.c (do_page_test): New function.
94681         (check2): Likewise.
94682         (test_main): Call check2.
94683         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94685 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94687         [BZ #12587]
94688         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94689         Handle cache information in CPU leaf 4.
94690         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94692 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94694         [BZ #12583]
94695         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94696         character representation.
94697         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94699 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94701         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94702         END(__isnan) to END(__isnanf) to match function entry point/label
94703         EALIGN(__isnanf,...).
94705 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94707         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94709 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94711         [BZ #12510]
94712         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94713         copy from the symbol referenced in the relocation to initialize the
94714         used variable.
94715         Patch by Piotr Bury <pbury@goahead.com>.
94716         * elf/Makefile: Add rules to build and tst-unique3.
94717         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94718         * elf/tst-unique3.cc: New file.
94719         * elf/tst-unique3.h: New file.
94720         * elf/tst-unique3lib.cc: New file.
94721         * elf/tst-unique3lib2.cc: New file.
94723         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94725 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94727         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94728         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94729         to _start.
94731 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94733         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94734         to-be-loaded object along a path to loader is ld.so.
94736 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94737             Ulrich Drepper  <drepper@gmail.com>
94739         * sysdeps/x86_64/memset.S: After aligning destination, code
94740         branches to different locations depending on the value of
94741         misalignment, when multiarch is enabled. Fix this.
94743 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94745         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94746         Set _x86_64_preferred_memory_instruction for AMD processsors.
94747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94748         Set bit_Prefer_SSE_for_memop for AMD processors.
94750 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94752         * libio/fmemopen.c (fmemopen): Optimize a bit.
94754 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94756         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94758 2011-03-03  Roland McGrath  <roland@redhat.com>
94760         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94762 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94764         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94765         __bzero_ultra1 instead of __memset_ultra1.
94767 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94768             Ulrich Drepper  <drepper@gmail.com>
94770         [BZ #12509]
94771         * include/link.h (struct link_map): Add l_orig_initfini.
94772         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94773         returning unsuccessfully.
94774         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94775         close of a file loaded at startup, restore the original l_initfini
94776         list.
94777         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94778         list, store the pointer.
94779         * elf/Makefile ($(objpfx)noload-mem): New rule.
94780         (noload-ENV): Define.
94781         (tests): Add $(objpfx)noload-mem.
94782         * elf/noload.c: Include <memcheck.h>.
94783         (main): Call mtrace.  Close all opened handles.
94785 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94787         [BZ #12454]
94788         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94789         dependencies are missing.
94791 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94793         Fix __if_freereq crash: Unlike the generic version which uses free,
94794         Hurd needs munmap.
94795         * sysdeps/mach/hurd/ifreq.h: New file.
94797 2011-01-27  Petr Baudis  <pasky@suse.cz>
94798             Ulrich Drepper  <drepper@gmail.com>
94800         [BZ 12445]#
94801         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94802         to extend_alloca().
94803         * stdio-common/bug23.c: New file.
94804         * stdio-common/Makefile (tests): Add bug23.
94806 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94807             Ulrich Drepper  <drepper@gmail.com>
94809         [BZ #12489]
94810         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94811         before performing relro protection.  At old place add assertion
94812         to make sure nothing changed.
94814 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94815             Glauber de Oliveira Costa  <glommer@gmail.com>
94817         * elf/elf.h: Add new ARM TLS relocs.
94819 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94822         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94823         cast from r3.
94824         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94825         'tests' variable.
94826         * sysdeps/wordsize-64/tst-writev.c: New file.
94828 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94830         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94831         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94832         insns in _dl_start to prevent a TOC reference before relocs are
94833         resolved.
94835 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94837         [BZ #12469]
94838         * Makeconfig: Remove RANLIB definition.
94839         * Makerules: Don't use RANLIB.
94840         * aclocal.m4: Remove ranlib test.
94841         * configure.in: No need to check for ranlib.
94842         * elf/rtld-Rules: Don't use RANLIB.
94844 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94846         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94847         protection macro.
94848         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94849         inclusion protection macro.
94851         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94852         SIGRTMIN and SIGRTMAX and print information in that case only when
94853         SIGRTMIN is defined.
94855 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94857         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94858         arginfo fn returning -1.
94860         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94861         and thousands string is zero terminated.
94863 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94865         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94866         sysdeps/unix/sysv/linux/bits/socket.h.
94868 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94870         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94871         (__CPU_COUNT): Remove old macros.
94872         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94873         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94874         (__CPU_ALLOC, __CPU_FREE): Add macros.
94875         (__sched_cpualloc, __sched_cpufree): Add declarations.
94877 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94879         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94880         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94881         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94882         (readdhstai): Return value of addhstaiX call.
94883         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94884         (addgrbyX): Return value returned by cache_addgr.
94885         (readdgrbyname): Return value returned by addgrbyX.
94886         (readdgrbygid): Likewise.
94887         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94888         (addpwbyX): Return value returned by cache_addpw.
94889         (readdpwbyname): Return value returned by addhstbyX.
94890         (readdpwbyuid): Likewise.
94891         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94892         (addservbyX): Return value returned by cache_addserv.
94893         (readdservbyname): Return value returned by addservbyX:
94894         (readdservbyport): Likewise.
94895         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94896         (addhstbyX): Return value returned by cache_addhst.
94897         (readdhstbyname): Return value returned by addhstbyX.
94898         (readdhstbyaddr): Likewise.
94899         (readdhstbynamev6): Likewise.
94900         (readdhstbyaddrv6): Likewise.
94901         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94902         (readdinitgroups): Return value returned by addinitgroupsX.
94903         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94904         (prune_cache): Keep track of timeout value of re-added entries.
94905         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94906         * nscd/nscd.h: Adjust prototypes of readd* functions.
94908 2011-02-04  Roland McGrath  <roland@redhat.com>
94910         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94911         (nis_stats): Likewise.
94912         * nis/nis_modify.c (nis_modify): Likewise.
94913         * nis/nis_remove.c (nis_remove): Likewise.
94914         * nis/nis_add.c (nis_add): Likewise.
94916         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94918         * posix/fnmatch_loop.c: Add some consts.
94920         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94922 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94924         [BZ #12460]
94925         * config.make.in (config-cflags-novzeroupper): Define.
94926         * configure.in: Substitute libc_cv_cc_novzeroupper.
94927         * elf/Makefile (AVX-CFLAGS): Define.
94928         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94929         (CFLAGS-tst-auditmod4a.c): Likewise.
94930         (CFLAGS-tst-auditmod4b.c): Likewise.
94931         (CFLAGS-tst-auditmod6b.c): Likewise.
94932         (CFLAGS-tst-auditmod6c.c): Likewise.
94933         (CFLAGS-tst-auditmod7b.c): Likewise.
94934         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94936 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94938         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94939         function to the callback.
94940         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94942 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94944         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94945         of errno.
94947 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94949         [BZ #11724]
94950         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94951         of constructors.
94952         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94953         of destructors.
94954         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94956         [BZ #11724]
94957         * elf/Makefile: Add rules to build and run new test.
94958         * elf/tst-initorder.c: New file.
94959         * elf/tst-initorder.exp: New file.
94960         * elf/tst-initordera1.c: New file.
94961         * elf/tst-initordera2.c: New file.
94962         * elf/tst-initordera3.c: New file.
94963         * elf/tst-initordera4.c: New file.
94964         * elf/tst-initorderb1.c: New file.
94965         * elf/tst-initorderb2.c: New file.
94966         * elf/tst-order-a1.c: New file.
94967         * elf/tst-order-a2.c: New file.
94968         * elf/tst-order-a3.c: New file.
94969         * elf/tst-order-a4.c: New file.
94970         * elf/tst-order-b1.c: New file.
94971         * elf/tst-order-b2.c: New file.
94972         * elf/tst-order-main.c: New file.
94973         New test case by George Gensure <werkt0@gmail.com>.
94975 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94978         decoding ACE if AI_CANONIDN.
94980 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94982         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94984 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94986         * version.h (RELEASE): Bump for 2.13 release.
94987         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94989         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94991         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94992         MADV_NOHUGEPAGE.
94993         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94994         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94995         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94996         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94997         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94998         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95000         * posix/getconf.c: Update copyright year.
95001         * catgets/gencat.c: Likewise.
95002         * csu/version.c: Likewise.
95003         * debug/catchsegv.sh: Likewise.
95004         * debug/xtrace.sh: Likewise.
95005         * elf/ldconfig.c: Likewise.
95006         * elf/ldd.bash.in: Likewise.
95007         * elf/sprof.c (print_version): Likewise.
95008         * iconv/iconv_prog.c: Likewise.
95009         * iconv/iconvconfig.c: Likewise.
95010         * locale/programs/locale.c: Likewise.
95011         * locale/programs/localedef.c: Likewise.
95012         * malloc/memusage.sh: Likewise.
95013         * malloc/mtrace.pl: Likewise.
95014         * nscd/nscd.c (print_version): Likewise.
95015         * nss/getent.c: Likewise.
95017         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95018         PF_CAIF, and PF_ALG.
95019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95021 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
95023         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95024         (modules-names): Use them.
95025         (ifunc-test-modules, ifunc-pie-tests): Define.
95026         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95027         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95028         (test-extras): Likewise.
95029         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95030         $(compile-command.c).
95031         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95032         (all-built-dso): Define.
95033         (check-textrel.out, check-execstack.out): Depend on it.
95035         * configure.in: Don't override --enable-multi-arch.
95037 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95039         [BZ #6812]
95040         * nscd/hstcache.c (tryagain): Define.
95041         (cache_addhst): Return tryagain not notfound for temporary errors.
95042         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95043         failed.
95045 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95047         [BZ #10563]
95048         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95049         to make the syscall.
95050         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95052         [BZ #12378]
95053         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95054         and fall back to matching as normal character if the string ends before
95055         the matching ']' is found.  This is what POSIX requires.
95056         * posix/testfnm.c: Adjust test result.
95057         * posix/globtest.sh: Adjust test result.  Add new test.
95058         * posix/tst-fnmatch.input: Likewise.
95059         * posix/tst-fnmatch2.c: Add new test.
95061 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95063         * elf/Makefile (check-execstack): Revert last change.  Depend on
95064         check-execstack.h.
95065         (check-execstack.h): New target.
95066         (generated): Add check-execstack.h.
95067         * elf/check-execstack.c: Include "check-execstack.h".
95068         (main): Revert last change.
95069         (handle_file): Return zero if GNU_STACK is absent and
95070         DEFAULT_STACK_PERMS doesn't include PF_X.
95072 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95074         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95075         in child fails because the descriptor is already closed.
95076         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95077         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95078         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95080         [BZ #12397]
95081         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95082         syscall.
95084         [BZ #10484]
95085         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95086         temporary buffer used to handle multi lookups locally.
95087         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95089 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95091         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95092         loader is ld.so.
95094 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95096         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95097         alignment for SSE2.
95099 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95101         [BZ #12394]
95102         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95103         characters.  When rounding increased number of integer digits recompute
95104         number of groups.
95105         * stdio-common/tst-grouping.c: New file.
95106         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95108 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95110         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95111         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95113         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95114         void.
95115         * bits/select.h: Likewise.
95117 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95119         * po/ja.po: Update from translation team.
95121 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95123         [BZ #11155]
95124         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95125         implementation just like for lxstat, fxstatat, et al.
95127 2010-12-27  Jim Meyering  <meyering@redhat.com>
95129         [BZ #12348]
95130         * posix/regexec.c (build_trtable): Return failure indication upon
95131         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95133 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95135         [BZ #12201]
95136         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95137         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95138         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95139         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95141         [BZ #12207]
95142         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95144         [BZ #12204]
95145         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95146         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95148 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95150         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95151         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95152         script has SORT_BY_INIT_PRIORITY.
95153         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95154         NO_CTORS_DTORS_SECTIONS is defined.
95155         * elf/soinit.c: Likewise.
95156         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95157         NO_CTORS_DTORS_SECTIONS is defined.
95158         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95159         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95160         * sysdeps/sh/init-first.c: Likewise.
95161         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95163 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95165         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95166         always use the slow path.
95168 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95170         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95171         similar rule which adds the sysdep directories to the header search in
95172         order to pick up the correct platform stackinfo.h.
95173         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95174         perform test if it is, otherwise return successfully without testing.
95175         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95176         DEFAULT_STACK_PERMS define in stackinfo.h.
95177         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95178         defined in stackinfo.h.
95179         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95180         DEFAULT_STACK_PERMS defined in stackinfo.h.
95181         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95182         * sysdeps/ia64/stackinfo.h: Likewise.
95183         * sysdeps/s390/stackinfo.h: Likewise.
95184         * sysdeps/sh/stackinfo.h: Likewise.
95185         * sysdeps/sparc/stackinfo.h: Likewise.
95186         * sysdeps/x86_64/stackinfo.h: Likewise.
95187         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95188         PF_X for powerpc64.  Retain PF_X for powerpc32.
95190 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95192         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95193         accurately.
95194         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95195         GETDENTS_64BIT_ALIGNED.
95197 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95199         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95201 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95203         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95204         _GNU_SOURCE.
95206         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95207         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95208         Remove __restrict.
95209         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95210         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95212 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95214         [BZ #11655]
95215         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95216         are initialized.
95218 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95220         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95222 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95224         * po/it.po: Update from translation team.
95226 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95228         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95229         unused codes.
95231 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95233         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95235 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95237         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95238         specially.
95239         (gaih_getanswer_slice): Likewise.
95241 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95245 2010-05-31  Petr Baudis  <pasky@suse.cz>
95247         [BZ #11149]
95248         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95249         silently even in the chroot mode.
95251 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95253         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95254         last patch a bit.  Pretty printing
95256 2010-05-31  Petr Baudis <pasky@suse.cz>
95258         [BZ #10085]
95259         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95260         initialization of skip_initgroups_dyn.
95262 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95264         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95265         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95267 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95269         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95271 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95273         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95274         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95275         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95276         ($(objpfx)tst-fnmatch-mem): New rule.
95277         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95278         * posix/tst-fnmatch.c (main): Call mtrace.
95280 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95283         Support Intel processor model 6 and model 0x2c.
95285 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95287         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95288           signed comparison.
95290 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95292         [BZ #12205]
95293         * string/test-strncasecmp.c (check_result): New function.
95294         (do_one_test): Use it.
95295         (check1): New function.
95296         (test_main): Use it.
95297         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95298         Support strcasecmp and strncasecmp.
95300 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95302         [BZ #12194]
95303         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95304         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95306 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95308         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95309         IFUNC support.
95310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95311         memset-x86-64.
95312         * sysdeps/x86_64/multiarch/bzero.S: New file.
95313         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95314         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95315         * sysdeps/x86_64/multiarch/memset.S: New file.
95316         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95318         Set bit_Prefer_SSE_for_memop for Intel processors.
95319         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95320         Define.
95321         (index_Prefer_SSE_for_memop): Define.
95322         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95324 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95326         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95327         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95329 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95331         [BZ #12191]
95332         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95333         (__x86_64_raw_data_cache_size_half): Likewise.
95334         (__x86_64_raw_shared_cache_size): Likewise.
95335         (__x86_64_raw_shared_cache_size_half): Likewise.
95337         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95338         (__x86_64_raw_data_cache_size_half): Likewise.
95339         (__x86_64_raw_shared_cache_size): Likewise.
95340         (__x86_64_raw_shared_cache_size_half): Likewise.
95341         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95342         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95343         and __x86_64_raw_shared_cache_size_half.  Round
95344         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95345         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95346         to multiple of 256 bytes.
95348 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95350         [BZ #12167]
95351         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95352         of inacessible symlinks.  Verify result of symlink before returning it.
95353         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95354         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95356 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95358         * math/math.h (isinf): Fix typo in comment.
95360 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95362         * po/da.po: Update from translation team.
95364 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95366         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95367         is added to the list.
95369 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95370             Ulrich Drepper  <drepper@gmail.com>
95372         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95373         the global list here.  Move code to...
95374         (_dl_add_to_namespace_list): ...here.  New function.
95375         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95376         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95377         * elf/dl-load.c (lose): Don't remove the element from the list.
95378         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95379         (_dl_map_object): Likewise.
95381 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95383         [BZ #12159]
95384         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95385         into all bytes of SSE register.
95386         Patch by Richard Li <richardpku@gmail.com>.
95388 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95390         [BZ #12140]
95391         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95392         perturbing.
95394 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95396         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95397         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95398         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95399         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95401         submachine.
95402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95404 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95406         * include/dlfcn.h (__RTLD_SECURE): Define.
95407         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95408         mode & __RTLD_SECURE instead.
95409         (open_path): Rename preloaded parameter to secure.
95410         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95411         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95412         * elf/dl-deps.c (openaux): Likewise.
95413         * elf/rtld.c (struct map_args): Remove is_preloaded.
95414         (map_doit): Don't use it.
95415         (dl_main): Likewise.
95416         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95417         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95419 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95421         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95422         (sysd-rules-targets): Remove duplicates.
95423         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95424         rtld-%.$o dependency.
95426 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95428         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95429         _dl_map_object do it.
95431 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95433         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95434         fast fma builtins, define the macros in the C99 standard.
95435         (FP_FAST_FMAF): Likewise.
95436         (FP_FAST_FMAL): Likewise.
95437         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95439         * bits/mathdef.h: Update copyright year.
95440         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95442 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95444         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95445         builtins, define the macros in the C99 standard.
95446         (FP_FAST_FMAF): Likewise.
95447         (FP_FAST_FMAL): Likewise.
95448         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95449         multiply/add.
95450         (FP_FAST_FMAF): Likewise.
95452 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95454         [BZ #3268]
95455         * math/libm-test.inc (fma_test): Some new testcases.
95456         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95457         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95458         y and infinite z.  Do multiplication by C already in long double.
95459         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95460         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95461         y and infinite z.  Do bitwise or of inexact bit into u.d.
95462         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95463         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95464         * sysdeps/i386/fpu/s_fma.S: Removed.
95465         * sysdeps/i386/fpu/s_fmal.S: Removed.
95467 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95469         [BZ #3268]
95470         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95472         computation is not scheduled after fetestexcept.  Fix value
95473         of minimum denormal long double.
95475 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95477         [BZ #3268]
95478         * math/libm-test.inc (fma_test): Add some more tests.
95479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95480         correctly.
95482 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95484         * scripts/data/localplt-s390-linux-gnu.data: New file.
95485         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95487 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95489         [BZ #3268]
95490         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95491         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95492         instead of dbl-64.
95493         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95494         inlines.
95495         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95497         if one of x and y is very large and the other is subnormal.
95498         * sysdeps/s390/fpu/s_fmaf.c: New file.
95499         * sysdeps/s390/fpu/s_fma.c: New file.
95500         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95501         * sysdeps/powerpc/fpu/s_fma.S: New file.
95502         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95503         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95504         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95506 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95508         [BZ #3268]
95509         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95510         fma tests.
95511         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95512         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95513         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95514         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95515         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95516         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95517         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95519 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95521         [BZ #12078]
95522         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95523         * posix/bug-regex31.input: Add test case.
95525 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95527         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95528         * posix/bug-regex31.input: New file.
95530         [BZ #12078]
95531         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95532         (parse_sub_exp): Fix last change, use postorder.
95534         * posix/bug-regex31.c: New file.
95535         * posix/Makefile: Add rules to build and run bug-regex31.
95537         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95539         [BZ #12078]
95540         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95542         [BZ #12108]
95543         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95544         to have entries in sys_siglist.
95546         [BZ #12093]
95547         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95548         be NULL.
95550 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95552         [BZ #3268]
95553         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95554         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95555         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95556         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95557         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95558         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95559         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95560         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95561         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95562         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95563         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95564         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95565         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95566         * math/ftestexcept.c (fetestexcept): Likewise.
95567         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95568         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95569         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95570         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95571         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95572         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95573         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95575 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95577         [BZ #12107]
95578         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95579         newline.
95581 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95583         * string/bug-strstr1.c: New file.
95584         * string/Makefile: Add rules to build and run bug-strstr1.
95586 2010-10-05  Eric Blake  <eblake@redhat.com>
95588         [BZ #12092]
95589         * string/str-two-way.h (two_way_long_needle): Always clear memory
95590         when skipping input due to the shift table.
95592 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95594         [BZ #12005]
95595         * malloc/mcheck.c: Handle large requests.
95597         [BZ #12077]
95598         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95599         for strncmp and strncasecmp.
95600         * string/stratcliff.c: Add tests for strcmp and strncmp.
95601         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95603 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95605         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95606         __set_fpscr.
95608 2010-09-30  Andreas Jaeger  <aj@suse.de>
95610         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95611         (CGROUP_SUPER_MAGIC): Define.
95612         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95613         Handle btrfs and cgroup file systems.
95614         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95615         Likewise.
95617 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95619         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95620         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95622 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95624         [BZ #12067]
95625         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95626         trying to locate the ELF header.
95628 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95630         [BZ #11611]
95631         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95632         Mask out sign-bit copies when constructing f_fsid.
95634 2010-09-24  Petr Baudis <pasky@suse.cz>
95636         * debug/stack_chk_fail_local.c: Add missing licence exception.
95637         * debug/warning-nop.c: Likewise.
95639 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95641         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95642         implementing getdents64 using getdents syscall, set d_type if
95643         __ASSUME_GETDENTS32_D_TYPE.
95645 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95647         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95648         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95650 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95652         [BZ #12037]
95653         * posix/unistd.h: Undo change of feature selection for ftruncate from
95654         2010-01-11.
95656 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95658         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95659         detection.
95661 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95663         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95664         fanotify_mark.
95665         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95667 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95669         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95670         variables after CHECK_SP call.
95671         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95673 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95674             Ulrich Drepper  <drepper@redhat.com>
95676         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95677         re-relocationg ld.so.
95678         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95679         _dl_init_paths call.
95680         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95681         here anymore.
95683 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95685         * resolv/res_init.c (__res_vinit): Count the default server we added.
95687 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95688             Ulrich Drepper  <drepper@redhat.com>
95690         [BZ #11968]
95691         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95692         (____longjmp_chk): Use %ebx for saving value across system call.
95693         Add unwind info.
95695 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95697         * manual/Makefile: Don't mix pattern rules with normal rules.
95699 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95701         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95702         operation.
95703         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95704         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95705         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95706         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95708         Likewise.
95710 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95712         [BZ #11979]
95713         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95714         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95716 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95718         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95719         * sysdeps/x86_64/addmul_1.S: Likewise.
95720         * sysdeps/x86_64/lshift.S: Likewise.
95721         * sysdeps/x86_64/mul_1.S: Likewise.
95722         * sysdeps/x86_64/rshift.S: Likewise.
95723         * sysdeps/x86_64/sub_n.S: Likewise.
95724         * sysdeps/x86_64/submul_1.S: Likewise.
95726 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95728         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95729         Define __sched_param instead of SCHED_* and sched_param when
95730         <bits/sched.h> is included with __need_schedparam defined.
95731         * bits/sched.h [__need_schedparam]
95732         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95733         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95734         (__defined_schedparam): Define to 1.
95735         (__sched_param): New structure, identical to sched_param.
95736         (__need_schedparam): Undefine.
95738 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95740         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95741         (epoll_create1): Declare.
95743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95745 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95747         [BZ #7066]
95748         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95749         shifting retval into place.
95751 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95753         * nis/rpcsvc/nis.h: Update copyright notice.
95754         * nis/rpcsvc/nis.x: Likewise.
95755         * nis/rpcsvc/nis_callback.h: Likewise.
95756         * nis/rpcsvc/nis_callback.x: Likewise.
95757         * nis/rpcsvc/nis_object.x: Likewise.
95758         * nis/rpcsvc/nis_tags.h: Likewise.
95759         * nis/rpcsvc/yp.h: Likewise.
95760         * nis/rpcsvc/yp.x: Likewise.
95761         * nis/rpcsvc/ypupd.h: Likewise.
95762         * nis/yp_xdr.c: Likewise.
95763         * nis/ypupdate_xdr.c: Likewise.
95765         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95766         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95767         (pmap_getport): Use __libc_rpc_getport.
95768         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95769         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95770         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95772 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95775         fanotify_mark.
95777 2010-08-27  Roland McGrath  <roland@redhat.com>
95779         * sysdeps/i386/i686/multiarch/Makefile
95780         (CFLAGS-varshift.c): New variable.
95782 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95784         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95785         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95787         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95789         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95791 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95793         * sysdeps/x86_64/strlen.S: Unroll the loop.
95794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95795         strlen-sse2 strlen-sse2-bsf.
95796         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95797         __strlen_no_bsf if bit_Slow_BSF is set.
95798         (__strlen_sse42): Removed.
95799         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95800         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95802 2010-08-25  Roland McGrath  <roland@redhat.com>
95804         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95805         * sysdeps/x86_64/multiarch/varshift.c: New file.
95806         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95807         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95808         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95809         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95811 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95814         strlen-sse2 strlen-sse2-bsf.
95815         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95816         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95817         (__strlen_sse2): Removed.
95818         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95819         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95821         bit_Slow_BSF for Atom.
95822         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95823         (index_Slow_BSF): Define.
95824         (HAS_SLOW_BSF): Define.
95826 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95828         [BZ #10851]
95829         * resolv/res_init.c (__res_vinit): When no server address at all
95830         is given default to loopback.
95832 2010-08-24  Roland McGrath  <roland@redhat.com>
95834         * configure.in: Remove config-name.h generation.
95835         * configure: Regenerated.
95836         * config-name.in: File removed.
95837         * scripts/config-uname.sh: New file.
95838         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95839         ($(objdir)config-name.h): New target.
95841         * sunrpc/rpc_parse.h: Avoid nested comment.
95843 2010-08-24  Richard Henderson  <rth@redhat.com>
95844             Ulrich Drepper  <drepper@redhat.com>
95845             H.J. Lu  <hongjiu.lu@intel.com>
95847         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95849         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95850         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95851         _mm_alignr_epi8 with _mm_loadu_si128.
95852         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95853         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95854         (__m128i_shift_right): Removed.
95855         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95856         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95857         * sysdeps/x86_64/multiarch/varshift.h: New file.
95858         * sysdeps/x86_64/multiarch/varshift.S: New file.
95860 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95862         * configure.in: Move assembler checks to before sysdep dir checking.
95864 2010-08-20  Petr Baudis  <pasky@suse.cz>
95866         * LICENSES: Sync the sunrpc license.
95868 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95870         * sunrpc/auth_des.c: Update copyright notice once again.
95871         * sunrpc/auth_none.c: Likewise.
95872         * sunrpc/auth_unix.c: Likewise.
95873         * sunrpc/authdes_prot.c: Likewise.
95874         * sunrpc/authuxprot.c: Likewise.
95875         * sunrpc/bindrsvprt.c: Likewise.
95876         * sunrpc/clnt_gen.c: Likewise.
95877         * sunrpc/clnt_perr.c: Likewise.
95878         * sunrpc/clnt_raw.c: Likewise.
95879         * sunrpc/clnt_simp.c: Likewise.
95880         * sunrpc/clnt_tcp.c: Likewise.
95881         * sunrpc/clnt_udp.c: Likewise.
95882         * sunrpc/clnt_unix.c: Likewise.
95883         * sunrpc/des_crypt.c: Likewise.
95884         * sunrpc/des_soft.c: Likewise.
95885         * sunrpc/get_myaddr.c: Likewise.
95886         * sunrpc/getrpcport.c: Likewise.
95887         * sunrpc/key_call.c: Likewise.
95888         * sunrpc/key_prot.c: Likewise.
95889         * sunrpc/openchild.c: Likewise.
95890         * sunrpc/pm_getmaps.c: Likewise.
95891         * sunrpc/pm_getport.c: Likewise.
95892         * sunrpc/pmap_clnt.c: Likewise.
95893         * sunrpc/pmap_prot.c: Likewise.
95894         * sunrpc/pmap_prot2.c: Likewise.
95895         * sunrpc/pmap_rmt.c: Likewise.
95896         * sunrpc/rpc/auth.h: Likewise.
95897         * sunrpc/rpc/auth_unix.h: Likewise.
95898         * sunrpc/rpc/clnt.h: Likewise.
95899         * sunrpc/rpc/des_crypt.h: Likewise.
95900         * sunrpc/rpc/key_prot.h: Likewise.
95901         * sunrpc/rpc/netdb.h: Likewise.
95902         * sunrpc/rpc/pmap_clnt.h: Likewise.
95903         * sunrpc/rpc/pmap_prot.h: Likewise.
95904         * sunrpc/rpc/pmap_rmt.h: Likewise.
95905         * sunrpc/rpc/rpc.h: Likewise.
95906         * sunrpc/rpc/rpc_des.h: Likewise.
95907         * sunrpc/rpc/rpc_msg.h: Likewise.
95908         * sunrpc/rpc/svc.h: Likewise.
95909         * sunrpc/rpc/svc_auth.h: Likewise.
95910         * sunrpc/rpc/types.h: Likewise.
95911         * sunrpc/rpc/xdr.h: Likewise.
95912         * sunrpc/rpc_clntout.c: Likewise.
95913         * sunrpc/rpc_cmsg.c: Likewise.
95914         * sunrpc/rpc_common.c: Likewise.
95915         * sunrpc/rpc_cout.c: Likewise.
95916         * sunrpc/rpc_dtable.c: Likewise.
95917         * sunrpc/rpc_hout.c: Likewise.
95918         * sunrpc/rpc_main.c: Likewise.
95919         * sunrpc/rpc_parse.c: Likewise.
95920         * sunrpc/rpc_parse.h: Likewise.
95921         * sunrpc/rpc_prot.c: Likewise.
95922         * sunrpc/rpc_sample.c: Likewise.
95923         * sunrpc/rpc_scan.c: Likewise.
95924         * sunrpc/rpc_scan.h: Likewise.
95925         * sunrpc/rpc_svcout.c: Likewise.
95926         * sunrpc/rpc_tblout.c: Likewise.
95927         * sunrpc/rpc_util.c: Likewise.
95928         * sunrpc/rpc_util.h: Likewise.
95929         * sunrpc/rpcinfo.c: Likewise.
95930         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95931         * sunrpc/rpcsvc/key_prot.x: Likewise.
95932         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95933         * sunrpc/rpcsvc/mount.x: Likewise.
95934         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95935         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95936         * sunrpc/rpcsvc/rex.x: Likewise.
95937         * sunrpc/rpcsvc/rstat.x: Likewise.
95938         * sunrpc/rpcsvc/rusers.x: Likewise.
95939         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95940         * sunrpc/rpcsvc/spray.x: Likewise.
95941         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95942         * sunrpc/rtime.c: Likewise.
95943         * sunrpc/svc.c: Likewise.
95944         * sunrpc/svc_auth.c: Likewise.
95945         * sunrpc/svc_authux.c: Likewise.
95946         * sunrpc/svc_raw.c: Likewise.
95947         * sunrpc/svc_run.c: Likewise.
95948         * sunrpc/svc_simple.c: Likewise.
95949         * sunrpc/svc_tcp.c: Likewise.
95950         * sunrpc/svc_udp.c: Likewise.
95951         * sunrpc/svc_unix.c: Likewise.
95952         * sunrpc/svcauth_des.c: Likewise.
95953         * sunrpc/xcrypt.c: Likewise.
95954         * sunrpc/xdr.c: Likewise.
95955         * sunrpc/xdr_array.c: Likewise.
95956         * sunrpc/xdr_float.c: Likewise.
95957         * sunrpc/xdr_mem.c: Likewise.
95958         * sunrpc/xdr_rec.c: Likewise.
95959         * sunrpc/xdr_ref.c: Likewise.
95960         * sunrpc/xdr_sizeof.c: Likewise.
95961         * sunrpc/xdr_stdio.c: Likewise.
95963         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95964         handling.
95966 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95968         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95970 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95972         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95973         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95974         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95975         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95976         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95977         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95978         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95979         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95980         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95981         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95982         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95983         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95984         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95985         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95987 2010-07-26  Anton Blanchard  <anton@samba.org>
95989         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95990         * malloc/arena.c (heap_trim): Likewise.
95992 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95994         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95995         here.  Not...
95996         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95997         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95999 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
96001         * sysdeps/i386/elf/Makefile: New file.
96003 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96005         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96006         from fanotify_init.
96007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96010 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
96012         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96013         of strncasecmp_l.
96014         * sysdeps/multiarch/strcmp.S: Likewise.
96016 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
96018         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96019         strncase_l-nonascii.
96020         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96021         Add strncase_l-ssse3.
96022         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96023         * sysdeps/x86_64/strcmp.S: Likewise.
96024         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96025         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96026         * sysdeps/x86_64/strncase.S: New file.
96027         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96028         * sysdeps/x86_64/strncase_l.S: New file.
96029         * string/Makefile (strop-tests): Add strncasecmp.
96030         * string/test-strncasecmp.c: New file.
96032         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96033         warning.
96035         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96036         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96038 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96040         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96042 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96044         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96045         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96046         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96048 2010-05-01  Alan Modra  <amodra@gmail.com>
96050         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96051         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96052         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96053         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96054         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96055         tidying.  Don't tail-call __sigjmp_save for static lib.
96056         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96057         save location.
96058         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96059         (CALL_MCOUNT): Add eh info, and nop after bl.
96060         (TAIL_CALL_SYSCALL_ERROR): New macro.
96061         (PSEUDO_RET): Use it.
96062         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96063         Correct save location of integer regs and cr.
96064         (_dl_profile_resolve): Correct cr save location.  Delete nops
96065         after bl when SHARED.  Reduce cfi size a little by better
96066         placement of cfi directives.
96067         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96068         make a stack frame.  Instead use parm save area as a temp.
96069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96070         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96072         Don't make a stack frame for parent, use parm save area.
96073         Increase child stack frame to 112 bytes.  Don't save unused reg,
96074         and adjust reg usage.  Set up cfi on error recovery and
96075         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96077         (__makecontext): Add dummy nop after jump to exit.
96078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96079         Use correct parm save area and cr save, reduce stack frame.
96080         Correct cfi for possible PSEUDO_RET frame setup.
96081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96082         Branch to local label emitted by PSEUDO_RET rather than
96083         __syscall_error.
96085 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96087         [BZ #11904]
96088         * locale/programs/locale.c (print_assignment): New function.
96089         (show_locale_vars): Use it.
96091 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96093         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96094         field.
96095         (struct statfs64): Likewise.
96096         (_STATFS_F_FLAGS): Define.
96097         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96098         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96099         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96100         (ST_VALID): Define locally.
96101         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96102         __statvfs_getflags, use the provided value.
96103         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96104         __ASSUME_STATFS_F_FLAGS.
96106         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96108         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96109         Add sys/fanotify.h.
96110         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96111         fanotify_mask for GLIBC_2.13.
96112         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96113         fanotify_init and fanotify_mark.
96114         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96115         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96117         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96118         Add prlimit.
96119         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96120         prlimit64 for GLIBC_2.13.
96121         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96122         prlimit64.
96123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96124         syscall.
96125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96126         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96127         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96128         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96129         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96130         add prlimit alias.
96131         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96133         [BZ #11903]
96134         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96135         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96137         * nss/Makefile: Add rules to build and run tst-nss-test1.
96138         * shlib-versions: Add entry for libnss_test1.
96139         * nss/nss_test1.c: New file.
96140         * nss/tst-nss-test1.c: New file.
96142         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96143         (__nss_configure_lookup): Set appropriate entry in
96144         __nss_configure_lookup to true.
96145         * nss/nsswitch.h: Define enum with indeces of databases in
96146         databases and __nss_database_custom arrays.  Declare
96147         __nss_database_custom.
96148         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96149         to avoid using nscd when custom rules are installed.
96150         * nss/getXXbyYY_r.c: Likewise.
96151         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96153         * nss/nss_files/files-parse.c: Whitespace fixes.
96155 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96157         [BZ #11883]
96158         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96159         * posix/fnmatch_loop.c: Likewise.
96161 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96163         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96164         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96165         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96166         * Versions.def [GLIBC_2.13]: Add.
96168 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96170         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96171         Also fail if tpwd after pwuid call is NULL.
96173 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96175         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96176         when converting to ms.
96178 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96180         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96181         EOPNOTSUPP errors with ENOTTY.
96182         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96183         EOPNOTSUPP errors with ENOTTY.
96185 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96187         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96188         Add strcasecmp_l-ssse3.
96189         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96190         strcasecmp.
96191         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96192         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96193         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96195 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96197         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96199         * string/Makefile (strop-tests): Add strcasecmp.
96200         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96201         strcasecmp_l-nonascii.
96202         (gen-as-const-headers): Add locale-defines.sym.
96203         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96204         * sysdeps/x86_64/strcasecmp.S: New file.
96205         * sysdeps/x86_64/strcasecmp_l.S: New file.
96206         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96207         * sysdeps/x86_64/locale-defines.sym: New file.
96208         * string/test-strcasecmp.c: New file.
96210         * string/test-strcasestr.c: Test both ends of the range of characters.
96211         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96213 2010-07-29  Roland McGrath  <roland@redhat.com>
96215         [BZ #11856]
96216         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96218 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96220         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96221         for ld.so.
96223 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96225         * manual/memory.texi (Malloc Tunable Parameters): Document
96226         M_PERTURB.
96228 2010-07-26  Roland McGrath  <roland@redhat.com>
96230         [BZ #11840]
96231         * configure.in (-fgnu89-inline check): Set and substitute
96232         gnu89_inline, not libc_cv_gnu89_inline.
96233         * configure: Regenerated.
96234         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96236 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96238         * string/test-strnlen.c: New file.
96239         * string/Makefile (strop-tests): Add strnlen.
96240         * string/tester.c (test_strnlen): Add a few more test cases.
96241         * string/tst-strlen.c: Better error reporting.
96243         * sysdeps/x86_64/strnlen.S: New file.
96245 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96247         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96248         lower-latency instructions.
96250 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96252         * string/test-strcasestr.c: New file.
96253         * string/test-strstr.c: New file.
96254         * string/Makefile (strop-tests): Add strstr and strcasestr.
96255         * string/str-two-way.h: Don't undefine MAX.
96256         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96258 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96261         strcasestr-nonascii.
96262         (CFLAGS-strcasestr-nonascii.c): Define.
96263         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96264         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96265         Remove unused attribute.
96267 2010-07-20  Roland McGrath  <roland@redhat.com>
96269         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96270         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96271         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96272         like LD_HWCAP_MASK can disable hwcaps.
96274 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96276         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96278 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96280         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96281         call in strcasestr.
96282         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96283         __strcasestr_sse42_nonascii.
96284         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96285         strcasestr-nonascii.c.
96286         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96288 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96290         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96291         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96292         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96293         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96295 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96297         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96298         fcntl.
96300 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96302         [BZ #11577]
96303         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96304         dl_signal_cerror.
96306 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96308         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96309         _PC_PIPE_BUF using F_GETPIPE_SZ.
96311 2010-07-05  Roland McGrath  <roland@redhat.com>
96313         * manual/arith.texi (Rounding Functions): Fix rint description
96314         implicit in round description.
96316 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96318         * elf/Makefile: Fix linking for a few tests to make recent linker
96319         happy.
96321 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96323         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96324         $(common-objpfx)libc_nonshared.a.
96326 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96328         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96329         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96330         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96331         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96332         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96333         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96334         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96335         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96350         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96351         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96352         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96353         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96354         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96355         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96356         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96357         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96358         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96359         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96360         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96361         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96377 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96379         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96380         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96381         * string/memmove.c (memmove): Renamed to ...
96382         (MEMMOVE): ...this.  Default to memmove.
96383         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96384         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96385         (END_CHK): Define.
96386         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96387         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96388         mempcpy-ssse3-back memmove-ssse3-back.
96389         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96390         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96392         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96393         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96394         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96395         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96396         * sysdeps/x86_64/multiarch/memmove.c: New file.
96397         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96398         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96399         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96400         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96401         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96402         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96403         Define.
96404         (index_Fast_Copy_Backward): Define.
96405         (HAS_ARCH_FEATURE): Define.
96406         (HAS_FAST_REP_STRING): Define.
96407         (HAS_FAST_COPY_BACKWARD): Define.
96409 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96411         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96412         Restore proper fallback handling.
96414 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96416         [BZ #11701]
96417         * posix/group_member.c (__group_member): Correct checking loop.
96419         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96420         OOM in getpwuid_r correctly.  Return error number when the caller
96421         should return, otherwise -1.
96422         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96423         call returning > 0 value.
96424         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96426 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96428         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96429         libc_nonshared.a from targets in modules-names.
96431 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96433         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96434         requires it.
96436 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96438         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96439         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96440         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96441         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96443 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96445         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96447 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96449         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96450         and F_GETPIPE_SZ.
96451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96452         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96455         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96456         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96458 2010-06-14  Roland McGrath  <roland@redhat.com>
96460         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96462 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96464         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96465         __REDIRECT followed by __THROW.
96466         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96467         * posix/getopt.h (getopt): Likewise.
96469 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96471         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96472         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96473         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96474         in AT_FLAGS.
96475         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96476         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96478 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96480         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96482 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96484         [BZ #11640]
96485         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96486         Properly check family and model.
96488 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96490         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96492 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96494         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96496 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96498         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96499         symbol reference.
96501 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96503         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96504         symbol reference.
96506 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96508         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96509         and internal_recvmmsg.
96510         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96511         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96512         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96513         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96515         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96516         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96517         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96519 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96521         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96523 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96525         POWER7 optimizations.
96526         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96527         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96529 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96531         * version.h: Update for 2.13 development version.
96533 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96535         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96536         exceptions.  Return 0.
96538 2010-05-07  Roland McGrath  <roland@redhat.com>
96540         * elf/ldconfig.c (main): Add a const.
96542 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96544         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96545         (args_options): Add no-idn option.
96546         (ahosts_keys_int): Add idn_flags to ai_flags.
96547         (parse_option): Handle 'i' option to clear idn_flags.
96549         * malloc/malloc.c (_int_free): Possible race in the most recently
96550         added check.  Only act on the data if no current modification
96551         happened.
96553 See ChangeLog.17 for earlier changes.